Matrix Transformations
of Vectors
Discover how matrix multiplication transforms vectors in the plane: rotations, reflections, scaling, and more, all through the power of linear algebra.
What Is a Vector?
A vector describes a quantity with both magnitude and direction. In precalculus, we write a 2D vector as a column matrix:
What Is a Matrix?
A matrix is a rectangular array of numbers arranged in rows and columns. For transforming 2D vectors, we use a \(2 \times 2\) matrix:
Multiplying a Matrix by a Vector
When we multiply a \(2 \times 2\) matrix by a \(2 \times 1\) vector, we produce a new \(2 \times 1\) vector: the transformed vector.
The Core Formula
The result is a linear combination of the matrix columns, weighted by the vector's components. This is the foundation of every matrix transformation.
Geometric Meaning
Matrix-vector multiplication transforms the plane. Every point moves according to the matrix's rules. The entire grid warps, but lines stay straight and the origin stays fixed.
Types of Transformations
Scalar vs. Matrix Multiplication
| Scalar \(\cdot\) Vector | Matrix \(\cdot\) Vector | |
|---|---|---|
| Operation | \(k\vec{v}\) | \(A\vec{v}\) |
| Effect | Scales magnitude only | Rotates, scales, reflects, shears |
| Direction | Same or reversed | Can change to any direction |
| Result size | \(2 \times 1\) | \(2 \times 1\) |
| Example | \(3\begin{bmatrix}1\\2\end{bmatrix} = \begin{bmatrix}3\\6\end{bmatrix}\) | \(\begin{bmatrix}0 & -1\\1 & 0\end{bmatrix}\begin{bmatrix}1\\2\end{bmatrix} = \begin{bmatrix}-2\\1\end{bmatrix}\) |
How to Compute \(A\vec{v}\)
Example 1: Basic Multiplication
Compute the product:
Example 2: \(90^\circ\) Rotation
The matrix for a \(90^\circ\) counterclockwise rotation is \(\begin{bmatrix}0 & -1 \\ 1 & 0\end{bmatrix}\). Apply it to \(\vec{v} = \begin{bmatrix}3 \\ 1\end{bmatrix}\):
Example 3: Reflection over the \(x\)-axis
Reflect \(\vec{v} = \begin{bmatrix}2\\3\end{bmatrix}\) over the \(x\)-axis using the matrix \(\begin{bmatrix}1 & 0 \\ 0 & -1\end{bmatrix}\):
Dimension Compatibility
Matrix-vector multiplication only works when the inner dimensions match. The result inherits the outer dimensions:
Special Matrices: Identity and Zero
Leaves every vector unchanged: the "do nothing" transformation.
Collapses every vector to the origin: all information is lost.
Common Mistakes
Summary of Matrix Transformations
| Transformation | Matrix | Effect on \(\begin{bmatrix}1\\0\end{bmatrix}\) |
|---|---|---|
| Identity | \(\begin{bmatrix}1&0\\0&1\end{bmatrix}\) | \(\begin{bmatrix}1\\0\end{bmatrix}\) |
| \(90^\circ\) Rotation | \(\begin{bmatrix}0&-1\\1&0\end{bmatrix}\) | \(\begin{bmatrix}0\\1\end{bmatrix}\) |
| Reflect over \(x\)-axis | \(\begin{bmatrix}1&0\\0&-1\end{bmatrix}\) | \(\begin{bmatrix}1\\0\end{bmatrix}\) |
| Scale by 2 | \(\begin{bmatrix}2&0\\0&2\end{bmatrix}\) | \(\begin{bmatrix}2\\0\end{bmatrix}\) |
| Shear (\(k=1\)) | \(\begin{bmatrix}1&1\\0&1\end{bmatrix}\) | \(\begin{bmatrix}1\\0\end{bmatrix}\) |
Question 1 of 5
What is the result of \(\begin{bmatrix}3 & 0 \\ 0 & 2\end{bmatrix}\begin{bmatrix}4\\-5\end{bmatrix}\)?
Question 2 of 5
Which matrix represents a \(90^\circ\) counterclockwise rotation?
Question 3 of 5
A \(3 \times 2\) matrix multiplied by a \(2 \times 1\) vector produces a vector of what size?
Question 4 of 5
What does the identity matrix \(\begin{bmatrix}1&0\\0&1\end{bmatrix}\) do to any vector \(\vec{v}\)?
Question 5 of 5
Compute \(\begin{bmatrix}1 & 2\\3 & 4\end{bmatrix}\begin{bmatrix}1\\1\end{bmatrix}\):