← Linear algebra

Matrices of transformations

Which matrix rotates, reflects or stretches?

Start this lesson

A 2×2 matrix is a function that moves points in the plane. Its columns show where the unit vectors ⟨1, 0⟩ and ⟨0, 1⟩ land. Rotation by 90° counterclockwise is [0, −1; 1, 0]; reflection over the x-axis is [1, 0; 0, −1]; scaling by k is [k, 0; 0, k].

Example: Where does [0, −1; 1, 0] send ⟨3, 2⟩?

  1. ⟨0(3) − 1(2), 1(3) + 0(2)⟩ — Matrix times vector
  2. ⟨−2, 3⟩ — Rotated 90° counterclockwise

Why it works: A matrix is decided by where it sends the basic arrows. Its columns are those arrows, and every other vector follows.

Tip: To find the matrix of a transformation, find where ⟨1, 0⟩ and ⟨0, 1⟩ go and use those as columns.