Linear Transformations
A linear transformation is a function between vector spaces that preserves vector addition and scalar multiplication. Key result: every linear transformation between finite-dimensional spaces (once bases are chosen) corresponds to a unique matrix, and matrix multiplication encodes composition. Applies to: geometry, differential equations, quantum mechanics, computer graphics, data science. Foundational to all of linear algebra; formalized in the 19th–20th centuries by Cayley, Grassmann, Peano, and Noether.
A linear transformation between vector spaces over a field is a map satisfying and . These two conditions — together called linearity — are the precise mathematical expression of "respecting the structure" of a vector space. Linear transformations matter because an enormous range of operations (rotation, projection, differentiation, integration, Fourier analysis) are linear, and linearity makes them tractable: the behavior of on an infinite space is determined by its behavior on a finite basis. The surprising fact is that, despite their abstract definition, every linear transformation between finite-dimensional spaces is "just a matrix" — the entire theory of linear maps and the entire theory of matrices are one and the same, viewed through different lenses.
The Core Insight
A linear transformation is completely determined by its action on a basis. If you know where each basis vector goes, you know where every vector goes, because every vector is a unique linear combination of basis vectors and commutes with linear combinations. This single fact collapses an infinite amount of information into a finite table of numbers — the matrix of the transformation — and turns the study of functions into the study of arrays.
Formal Statement
Linear Transformation
Let and be vector spaces over a field . A function is a linear transformation (or linear map) if for all and all scalars :
Here are vectors in the domain , is a scalar from , and live in the codomain . Both axioms combine into the single superposition principle:
Matrix Representation Theorem
Let be an -dimensional vector space with ordered basis and an -dimensional space with ordered basis . Then every linear transformation is represented by a unique matrix such that
Moreover, composition of linear maps corresponds to matrix multiplication: if has matrix , then has matrix .
Kernel and Image
For a linear transformation , the kernel (null space) and image (range) are:
The rank is and the nullity is . They satisfy the Rank–Nullity Theorem:
Why It Holds / Derivation
Matrix Representation — Construction and Uniqueness
We show every linear is captured by a unique matrix.
Step 1 — Coordinates exist. Since is a basis, any has a unique expansionRank–Nullity Theorem
Step 1. Let and let be a basis of , so . Step 2. Extend to a basis of . Step 3 — Spanning. For any , linearity gives (kernel terms vanish). So spans . Step 4 — Independence. Suppose . Then , so , hence . Linear independence of the full basis forces all . Step 5. Therefore is a basis of , so , giving .Arthur Cayley | 1821–1895
Cayley introduced matrices as objects in their own right in his 1858 Memoir on the Theory of Matrices, defining matrix addition, multiplication, and the inverse, and recognizing that matrices compose the way linear substitutions do. He observed that a matrix satisfies its own characteristic equation — the Cayley–Hamilton theorem. Though he worked largely with concrete and cases, Cayley's abstraction of "a single quantity" representing a whole system of linear equations was the decisive step toward viewing linear transformations as algebraic entities, paving the way for the modern coordinate-free theory developed later by Peano, Grassmann, and Emmy Noether.
Building Intuition
Picture a linear transformation as a way of stretching, rotating, shearing, and projecting space while keeping the origin fixed and keeping grid lines straight, parallel, and evenly spaced. That geometric picture is linearity. Equation [1] says "the image of a sum is the sum of images" — if you add two vectors then transform, you get the same result as transforming each and adding. Equation [2] says scaling commutes with the map — doubling the input doubles the output.
The deepest intuition is that a linear map can't introduce curves, can't move the origin, and can't bend straight lines. Lines map to lines (or points). Parallelograms map to parallelograms. This rigidity is exactly what lets a finite matrix capture an infinite function: you only need to track where the "grid corners" — the basis vectors — land, and linearity rigidly fills in everything else.
Action of a linear map: the unit square (grid corners $\mathbf{e}_1,\mathbf{e}_2$) is sent to a parallelogram spanned by $T(\mathbf{e}_1), T(\mathbf{e}_2)$.
Worked Examples
Rotation in the Plane
Given: A counterclockwise rotation by . Find its matrix and apply it to . Step 1 — Track basis vectors. Rotating by gives . Rotating by gives . Step 2 — Assemble columns.Differentiation as a Linear Map
Given: Let , the space of real polynomials of degree , with basis . Find the matrix of the derivative operator , then apply it to . Step 1 — Differentiate basis vectors. Step 2 — Coordinate vectors of images (in basis ): , , , . Step 3 — Assemble matrix.Note (constants) and , confirming by Rank–Nullity [6].
Common Misconceptions
"Linear" does not mean "graph is a line." A function like with is not a linear transformation — it fails . Such maps are called affine. Every linear transformation must send to , because by axiom [2]. Always check this first as a quick necessary test.Maps that look linear but aren't
- fails homogeneity: .
- fails homogeneity for negative scalars: .
- fails because .
- fails additivity: , but .
Conversely, is linear (each output coordinate is a homogeneous degree-1 polynomial with no constant term).
Connections
Linear transformations sit at the hub of linear algebra. They are the morphisms in the category of vector spaces, connecting to Matrix Algebra (the coordinate representation) and Vector Spaces (the objects they act between). The study of which vectors a map merely stretches leads to Eigenvalues and Eigenvectors, and the search for the "best basis" yields Diagonalization and the Singular Value Decomposition. The kernel and image link to Systems of Linear Equations (solving is asking whether ). The set of all linear maps forms the Dual Space, and the algebra of operators generalizes to Group Representation Theory and Functional Analysis in infinite dimensions.
Real-World Applications
- Computer graphics: rotation, scaling, shearing, and (with homogeneous coordinates) translation of 3D models are matrix-vector products performed billions of times per second on GPUs.
- Quantum mechanics: observables are linear (Hermitian) operators on Hilbert space; time evolution is the unitary linear map .
- Principal Component Analysis (PCA): dimensionality reduction projects data onto eigenvectors of the covariance matrix — a linear transformation that maximizes retained variance.
- Signal processing: the Discrete Fourier Transform is a linear map (a fixed matrix) converting time-domain samples to frequency components; convolution filters are linear too.
- Markov chains & PageRank: state evolution is repeated application of a stochastic linear map; the stationary distribution is its dominant eigenvector.
- Differential equations: solving linear ODE/PDE systems exploits that differentiation and the solution operator are linear, enabling superposition of solutions.
- Cryptography & coding theory: Hill ciphers and linear error-correcting codes (e.g., Hamming codes) encode/decode via matrix multiplication over finite fields.
Historical Development
- 1750: Cramer publishes Cramer's Rule, implicitly treating systems of linear equations as a unified object.
- 1844: Hermann Grassmann's Ausdehnungslehre introduces abstract -dimensional vector spaces and linear independence, far ahead of its time.
- 1858: Arthur Cayley's Memoir on the Theory of Matrices formally defines matrix operations and links them to linear substitutions.
- 1878: Frobenius develops the theory of rank, canonical forms, and the connection between matrices and bilinear forms.
- 1888: Giuseppe Peano gives the first fully axiomatic definition of a vector space and of linear maps in modern abstract form.
- 1900s: Hilbert and Schmidt extend linear operator theory to infinite-dimensional spaces, founding functional analysis.
- 1918–1930s: Emmy Noether and the German school recast linear algebra in coordinate-free, module-theoretic language.
- 1936–1948: Development of numerical linear algebra and (with Turing, von Neumann) practical matrix computation for early computers.
- 1965: Cooley and Tukey's Fast Fourier Transform makes a key linear transform computationally explosive in importance.
Subtleties & Limits
In finite dimensions the theory is essentially complete: every linear map is a matrix, and structure is captured by rank, eigenvalues, and canonical forms (Jordan, rational, SVD). The genuine subtleties appear in infinite dimensions, where the correspondence breaks down. Not every linear operator is bounded/continuous, the spectrum can be continuous rather than a discrete set of eigenvalues, and unbounded operators (like differentiation on ) require careful domain specification. The invariant subspace problem — does every bounded operator on a separable infinite-dimensional Hilbert space have a nontrivial closed invariant subspace? — remains open and is among the deepest unresolved questions in operator theory. Even in finite dimensions over arbitrary fields, computing canonical forms efficiently and stably (numerically) is an active area, and questions about matrix multiplication complexity (is the exponent ?) remain open.