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 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
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 :
Derivation hint: This is the additivity axiom; it is taken as a defining property, not derived. Apply to a sum and require equality with the sum of images.
Derivation hint: Homogeneity axiom. Combined with [1], it gives by applying [1] then [2]. Here is the domain, the codomain. The symbols denote vectors, a scalar. Both conditions together are equivalent to preservation of arbitrary linear combinations.
Let be linear, with , . Choose an ordered basis for and for . Each image expands uniquely as
Derivation hint: , and is a basis, so unique coordinates exist by the definition of basis (spanning + linear independence). The scalars form the matrix of with respect to and :
Derivation hint: Collect the coordinate column of as the -th column. The first index is the row (output basis index), the second index is the column (input basis index).
Fix bases for and for . Let denote the coordinate column vector of . Then for every :
Derivation hint: Write , apply linearity, substitute [3], and reindex. The matrix-times-vector product reproduces exactly the coordinate computation. Moreover, the assignment is a bijective linear isomorphism between (the space of linear maps) and . Composition corresponds to matrix multiplication:
Derivation hint: Apply [5] twice. The associativity of map composition forces the matrix product (and is the conceptual reason matrix multiplication is defined the way it is).
Why It Holds / Derivation
Step 1. Let . Since is a basis, write
so that is its coordinate vector.
Step 2. Apply and use linearity (equations [1] and [2] extended to combinations):
Step 3. Substitute the expansion [3], :
Step 4. Read off the -th coordinate of in basis :
This is precisely the -th entry of the matrix product .
Step 5. Hence as required.
Bijectivity: Given any matrix , define by and extend linearly; this is well-defined because the are a basis (a linear map is uniquely determined by, and freely specifiable on, basis vectors). The inverse maps back to , so the correspondence is a bijection. Linearity in follows entry-wise.
∎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.
Worked Examples
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.
Step 4 — Apply to via equation [5].
Answer:
The length is preserved: , as expected for a rotation (units: same as input, here dimensionless plane coordinates).
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 .
Step 3 — Assemble the matrix (equation [4]).
Step 4 — Apply via [5]. :
Step 5 — Translate back. Coordinates in mean .
Answer:
Verify directly: . ✓
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 , :
Since , equation [1] fails — is not linear, despite being a "simple" polynomial of the coordinates. No matrix can represent it. Multilinear (here bilinear) does not mean linear; the product of coordinates is the classic non-example.
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
Historical Development
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.
See Also
Vector Spaces · Basis and Dimension · Rank-Nullity Theorem · Eigenvalues and Eigenvectors · Change of Basis · Determinant · Matrix Multiplication · Spectral Theorem · Dual Spaces · Systems of Linear Equations