Preserving Structure
A linear transformation is a function that preserves vector operations: and . Transforming a sum equals summing the transforms.
Every linear transformation between finite spaces is a matrix: . To find , evaluate on the basis vectors; their outputs form the columns.
| Transformation | Behavior | Matrix Example |
|---|---|---|
| Rotation | Rotates vectors | Preserves lengths |
| Projection | Flattens space | Drops dimensions |
Common pitfall: Assuming every function is linear. A translation () is not linear because it moves the origin. Linearity strictly demands .
Composition and Anatomy
Because transformations are matrices, composing them means multiplying their matrices. Order matters: rotate-then-reflect reflect-then-rotate.
Two structural quantities define a transformation:
- Kernel: The set of vectors sent to the zero vector.
- Image: The set of all reachable output vectors.
A transformation is invertible if and only if its matrix has a nonzero determinant.
Linear transformations drive computing: 3D graphics pipelines chain matrix transformations, and neural network layers apply linear transformations followed by nonlinear activations.