Linear Transformations
Functions between vector spaces that preserve addition and scaling â and why every such function is represented by a matrix.
The red and green arrows are the columns of the matrix. Once those are known, every point in the plane follows.
A linear transformation (or linear map) is a function between vector spaces that preserves addition and scalar multiplication:
- (additivity)
- (homogeneity)
Equivalently: .
Every linear transformation from to can be represented as multiplication by a matrix : .
- always â a necessary (but not sufficient) condition for linearity
- Linear transformations preserve straight lines, the origin, and parallelism
- The composition of two linear transformations is itself linear
- A linear transformation is fully determined by its effect on any basis of the domain
- Confusing linear with affine: translations, and any "" shift, are not linear transformations â they fail
- Assuming linearity from one test point: checking alone isn't enough â both additivity and homogeneity must hold for every input
- Rotation by :
- Scaling:
- Reflection across x-axis:
- Projection onto x-axis:
Each is a linear transformation with its matrix representation.
Is the function (translation by 1 in the x direction) a linear transformation? Why or why not?
Solution
No. Additivity fails: , but . These differ.
Also: , which violates a necessary condition ( for any linear transformation).
Translations are affine transformations, not linear. In homogeneous coordinates, can be represented linearly as â extending the space by one dimension.