If a transformation on a vector is linear then it can be done with a matrix. If a transformation on a vector can be done with a matrix, then it is linear.
Let v and w be vectors that can be added together to make a third vector that we call “v+w”.
Let M be a matrix that can operate on these three vectors. The operation is matrix multiplication.
- Let M(v) be the vector we get if M operates on v.
- Let M(w) be the vector we get if M operates on w.
- Let M(v+w) be the vector we get if M operates on the “v+w” vector.
M(v+w) = M(v) + M(w)
Let a be a scalar.
Let av be the vector we get from multiplying v by a.
M(av) = a M(v)
When you look at the two equations below, you see the definition of Linear:
- M(v+w) = M(v) + M(w)
- M(av) = a M(v)
As an alternative
- M(av + bw) = aM(v) + bM(w)
The above equation proves that m is a linear transformation because we see both additivity and scalar multiplication in it.
Appendix A – Example
The last matrix shows that A operating on v+w has all the terms of A operating on v and A operating on w — A(v+w) = A(v) + A(w).