Linear Transformation and their Matrices
June 17, 2019
Projection is a linear transformation, for example. Its linear transformation is . Linear transformation can happen without any coordinates or matrices.
Rules for linear transformation:
It’s like what we can do with vectors. Shifting a vector by is not linear since does not end up with . Taking a vector's norm is also not linear since .
In fact, all transformation produced by matrix are linear transformations.
This satisfies the rules above easily. Some easy matrices:
- Flip a graph along x-axis:
- Rotate a graph counterclockwise 90 degrees:
How much do we need to know about a transformation to know ? We only need to know the effect of for any input basis . We do not need to know its effect to all vectors but only the basis.
Write a transformation into Matrix
In fact, all the things we need to write a transformation with matrix is
- Basis for the input
- Basis for the output
Then a matrix with size , its numbers are, in fact the a’s are the elements in the matrix (more details in next lectures). Picking the right basis is important. The linear combination of the basis gives the coordinates . But different bases give different coordinates.
Pick the good basis
Let’s take projection as an example. If we want a projection in that project the vectors into the 45 degrees line (but they are both in ), if we use a regular basis (for input and output basis) , then the transformation matrix will be . But if we just pick the (it’s like cheating but ok) 45 degree line and its perpendicular one as basis, then’ll be left with because we’re like clearing the vector’s y coordinates.