Linear Transformations and Their Matrices
One-line statement: Every linear transformation between finite-dimensional vector spaces, once bases are chosen, is represented uniquely by a matrix, and composition of transformations corresponds to matrix multiplication. Key result in words: Linear maps and matrices are two faces of the same object; the matrix entries are the coordinates of the images of basis vectors. Where it applies: Linear algebra, differential equations, computer graphics, quantum mechanics, data science, control theory — anywhere structure-preserving maps appear. Who/when: Crystallized by Cayley, Sylvester, and Grassmann (1840s–1850s); the abstract framework matured with Peano (1888) and the 20th-century axiomatization of vector spaces.A linear transformation is a function between vector spaces that preserves the two fundamental operations: vector addition and scalar multiplication. Once we fix a basis for the domain and a basis for the codomain , the transformation is completely determined by a finite array of scalars — its matrix. This matters because it converts abstract, coordinate-free questions about maps (injectivity, surjectivity, eigenstructure) into concrete computations with numbers. The surprising fact is the depth of the correspondence: not only does every linear map between finite-dimensional spaces arise from a matrix, but the operations of composing maps, inverting them, and changing coordinates all translate into clean matrix algebra. The matrix is not the transformation — it is the transformation wearing the clothes of a particular pair of bases.
The Core Insight
A linear transformation is determined entirely by what it does to a basis. If spans the domain, then knowing pins down for every , because is a unique linear combination of the basis vectors and respects combinations. Pack the coordinate vectors of as columns, and you have the matrix. Matrix columns are images of basis vectors.
Formal Statement
Linear Transformation
Let and be vector spaces over a field (typically or ). A function is a linear transformation (or linear map) if for all and all scalars :
Here is the domain, the codomain. The symbols denote vectors, a scalar. Both conditions together are equivalent to preservation of arbitrary linear combinations.
Matrix of a Linear Transformation
Let be linear, with , . Choose an ordered basis for and for . Each image expands uniquely as
The scalars form the matrix of with respect to and :
Fundamental Correspondence
Fix bases for and for . Let denote the coordinate column vector of . Then for every :
Moreover, the assignment is a bijective linear isomorphism between (the space of linear maps) and . Composition corresponds to matrix multiplication:
Why It Holds / Derivation
Proof of the Fundamental Correspondence, Equation 5
Step 1. Let . Since is a basis, writeArthur Cayley | 1821–1895
The English mathematician Arthur Cayley introduced matrices as standalone algebraic objects in his 1858 "A Memoir on the Theory of Matrices," where he defined matrix addition, scalar multiplication, and — crucially — matrix multiplication as the operation that composes the linear substitutions the matrices represent. Cayley recognized that the strange-looking multiplication rule was forced by the requirement that matrices represent composed linear changes of variables. He also stated (verifying it for and cases) what is now the Cayley–Hamilton theorem. A barrister by profession for fourteen years, Cayley published nearly 1000 papers and helped found the abstract, structural style of modern algebra in which linear transformations and their matrices are inseparable.
Building Intuition
Think of a linear transformation as a way of re-stretching and re-shearing space while keeping the origin fixed and grid lines straight, parallel, and evenly spaced. The defining axioms [1] and [2] are exactly the conditions that guarantee this: lines map to lines, parallelograms to parallelograms, and the origin stays put.
Now picture the standard grid of with basis arrows and . To know everything does, you only need to know where these two arrows land — say and . Place those two landing vectors side by side as columns and you have the matrix. To transform any point, decompose it along the grid (its coordinates) and follow the warped arrows the same distances. That's why a matrix-vector product is "a weighted recipe of the columns": the input coordinates are the weights, the columns are the transformed basis vectors.
The change-of-basis idea adds one twist: the same transformation looks like different matrices in different bases, the way the same physical rotation has different numerical descriptions in different coordinate systems. The transformation is the invariant truth; the matrix is the dialect.
A linear map of the unit square: basis vectors become matrix columns
Worked Examples
Rotation in the Plane
Given: Find the matrix of the counterclockwise rotation by angle , using the standard basis, then apply it to . Step 1 — Image of . Rotating by gives . This is the first column. Step 2 — Image of . Rotating by gives . This is the second column. Step 3 — Assemble the matrix.Differentiation as a Matrix on Polynomials
Given: Let , the space of polynomials of degree , with basis . Let with basis . Find the matrix of the derivative operator , , and apply it to . Step 1 — Differentiate each basis vector. , , , . Step 2 — Coordinate columns in .Common Misconceptions
A function that "looks linear" need not be a linear transformation. The map from school algebra is affine, not linear, whenever : it violates , which every linear map must satisfy (set in [2]). Likewise, , , and are all nonlinear. Every linear transformation sends .A second trap: the matrix of depends on the chosen bases. The phrase "the matrix of " is meaningless without specifying and . Two correct-looking matrices can represent the very same map; they are related by change-of-basis (similarity, when domain = codomain). See Change of Basis.
Consider defined by . Test additivity with , :
Connections
Linear transformations and their matrices sit at the hub of linear algebra. The column space of is the image of and the null space is its kernel, linking directly to the Rank-Nullity Theorem, which states . The question "when is invertible?" connects to the Determinant (nonzero iff invertible, for square matrices) and to Systems of Linear Equations (a unique solution exists iff is bijective). When domain equals codomain, the search for bases in which is diagonal leads to Eigenvalues and Eigenvectors and the Spectral Theorem. The dependence of on the chosen basis is governed by Change of Basis and similarity transformations . Finally, the space of all linear maps is itself a vector space isomorphic to , tying back to Vector Spaces and Dual Spaces.
Real-World Applications
- Computer graphics & games. Rotations, scalings, shears, and (in homogeneous coordinates) translations and perspective projections are all matrix transformations; the GPU pipeline multiplies vertex vectors by model–view–projection matrices millions of times per frame.
- Quantum mechanics. Observables are linear (Hermitian) operators; their matrices in a chosen basis encode measurable spectra. The evolution operator is a unitary linear transformation. See Spectral Theorem.
- Principal Component Analysis (data science). PCA finds the linear transformation (an orthogonal change of basis) that diagonalizes the covariance matrix, compressing high-dimensional data along directions of maximal variance.
- Control theory & robotics. State-space models use matrices to describe how linear systems evolve; controllability and stability are read off matrix structure (eigenvalues of ).
- Markov chains. A transition matrix is the linear transformation advancing a probability distribution one step; long-run behavior comes from its dominant eigenvector.
- Differential equations. Systems are solved by exponentiating the matrix; diagonalization decouples the equations.
- Cryptography & coding theory. Linear (Hamming, Reed–Muller) codes encode messages as via a generator matrix , a linear transformation over a finite field.
Historical Development
- 1683 / 1693 — Seki Takakazu in Japan and Leibniz in Europe independently study determinants while solving linear systems, an early hint of arrays governing linear relations.
- 1750 — Cramer publishes Cramer's rule, expressing solutions of linear systems through determinants.
- 1844 — Hermann Grassmann's Ausdehnungslehre introduces an abstract, coordinate-free theory of linear combinations and dimension — far ahead of its time and poorly understood by contemporaries.
- 1850 — James Joseph Sylvester coins the term "matrix" (Latin for "womb"), viewing it as an array from which minors and determinants are born.
- 1858 — Arthur Cayley's Memoir on the Theory of Matrices defines matrix algebra abstractly and establishes that matrix multiplication encodes composition of linear substitutions.
- 1878 — Georg Frobenius systematizes rank, canonical forms, and the theory of linear substitutions, proving the Cayley–Hamilton theorem in general.
- 1888 — Giuseppe Peano gives the first modern axiomatic definition of a vector space (his "linear systems"), placing linear transformations on rigorous footing.
- 1918 — Hermann Weyl, in Space, Time, Matter, and the broader development of functional analysis extend linear operators to infinite-dimensional spaces.
- 1920s–1930s — The matrix formulation of quantum mechanics (Heisenberg, Born, Jordan, 1925) makes linear operators and their matrices central to physics, cementing the topic's universal importance.
Subtleties & Limits
The clean matrix correspondence is a finite-dimensional luxury. In infinite-dimensional spaces (function spaces, Hilbert spaces), linear operators need not be represented by finite matrices, and new phenomena appear: unbounded operators (like differentiation), operators with continuous spectrum, and the failure of every operator to have eigenvalues. The invariant subspace problem — does every bounded linear operator on an infinite-dimensional separable Hilbert space have a nontrivial closed invariant subspace? — remains open in general (Enflo and Read settled the Banach-space case negatively in the 1980s, but the Hilbert-space case is unresolved). Even in finite dimensions, classification up to similarity over a non-algebraically-closed field is intricate, requiring rational canonical form; and numerically, computing eigenstructure of nearly-defective matrices is ill-conditioned, a practical limit on how faithfully a matrix reveals its transformation's behavior.