A Matrix Is a Linear Transformation
The previous section said that once you know where the basis vectors and go, the whole linear transformation is determined. A matrix is the table that records this “destination”.
Suppose the linear transformation satisfies:
then record it with a 2×2 matrix:
- Column 1 = the new position of
- Column 2 = the new position of
Each column of a matrix is the image of the corresponding basis vector.
For an arbitrary vector , linearity gives:
This is the definition of matrix multiplication:
The rule of computation
“Row times column”: the -th component of the result = the -th row of the matrix multiplied component by component with the vector and then summed.
Example: M = [[2, 0], [0, 0.5]] (x stretched by 2, y compressed by half)
M·(1, 1) = (2×1 + 0×1, 0×1 + 0.5×1) = (2, 0.5)
Key observations:
- column 1 of the matrix = the new position of the blue basis vector
- column 2 of the matrix = the new position of the red basis vector
- change the matrix entries → the grid changes with it → a matrix and a transformation are two ways of writing the same thing
This Is the Most Important Sentence in Linear Algebra
A matrix is a linear transformation, and a linear transformation is a matrix. When you see a matrix, ask yourself: “where does it send and ?”
Once this intuition is in place, a matrix is no longer a pile of numbers but a transformation that “moves”.
| Matrix | Transformation | Geometric effect |
|---|---|---|
| the identity transformation | nothing changes | |
| a 90° rotation | a quarter turn counterclockwise | |
| a scaling | x stretched by 2, y compressed by half | |
| a horizontal shear | the vertical direction is unchanged, the horizontal is offset by y | |
| a reflection | a mirror image about the y-axis |
Verifying the rotation matrix: , — after a counterclockwise rotation by 90°, the positive x-axis turns into the positive y-axis, and the positive y-axis turns into the negative x-axis ✓
Substitute into the matrix multiplication:
It picks out exactly column 1. Similarly picks out column 2. This is the algebraic proof of “column = the image of a basis vector”.
Symbols Used in This Article
| Symbol | Type | Pronunciation/Explanation | Meaning in This Article |
|---|---|---|---|
| Mathematical symbol | i hat, j hat | The unit basis vectors of the two-dimensional plane | |
| Mathematical symbol | T of i-hat, T of j-hat | The images of the basis vectors, that is, the columns of the matrix | |
| Mathematical symbol | 2 by 2 matrix | The 2×2 matrix recording the linear transformation | |
| Mathematical symbol | M times v | The matrix times a vector, giving | |
| Mathematical symbol | a c transpose | Column 1 of the matrix, the image of | |
| Mathematical symbol | vector v | An arbitrary input vector |
