Linear Transformations

⚡ Key Takeaways

A linear transformation is a function T:V→WT: V \to W 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.

💡 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 TT 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

DefinitionLinear Transformation

Let VV and WW be vector spaces over a field F\mathbb{F}. A function T:V→WT: V \to W is a linear transformation (or linear map) if for all u,v∈V\mathbf{u}, \mathbf{v} \in V and all scalars c∈Fc \in \mathbb{F}:

1
T(u+v)=T(u)+T(v)\quad T(\mathbf{u} + \mathbf{v}) = T(\mathbf{u}) + T(\mathbf{v})

Derivation hint: this is the additivity axiom; it states TT is a homomorphism of the underlying abelian groups.

2
T(c v)=c T(v)\quad T(c\,\mathbf{v}) = c\,T(\mathbf{v})

Derivation hint: this is the homogeneity axiom; combined with [1] it makes TT respect all linear combinations. Here u,v\mathbf{u},\mathbf{v} are vectors in the domain VV, cc is a scalar from F\mathbb{F}, and T(u),T(v)T(\mathbf{u}), T(\mathbf{v}) live in the codomain WW. Both axioms combine into the single superposition principle:

3
T(c1v1+c2v2+⋯+cnvn)=c1T(v1)+c2T(v2)+⋯+cnT(vn)\quad T(c_1\mathbf{v}_1 + c_2\mathbf{v}_2 + \cdots + c_n\mathbf{v}_n) = c_1 T(\mathbf{v}_1) + c_2 T(\mathbf{v}_2) + \cdots + c_n T(\mathbf{v}_n)

Derivation hint: apply [1] repeatedly to split the sum, then [2] to pull each scalar out; proven by induction on nn.

TheoremMatrix Representation Theorem

Let VV be an nn-dimensional vector space with ordered basis B=(b1,…,bn)\mathcal{B} = (\mathbf{b}_1, \ldots, \mathbf{b}_n) and WW an mm-dimensional space with ordered basis C=(c1,…,cm)\mathcal{C} = (\mathbf{c}_1, \ldots, \mathbf{c}_m). Then every linear transformation T:V→WT: V \to W is represented by a unique m×nm \times n matrix A=[T]CBA = [T]_{\mathcal{C}}^{\mathcal{B}} such that

4
[T(v)]C=A [v]B\quad [T(\mathbf{v})]_{\mathcal{C}} = A\,[\mathbf{v}]_{\mathcal{B}}

Derivation hint: the jj-th column of AA is [T(bj)]C[T(\mathbf{b}_j)]_{\mathcal{C}}, the coordinate vector of the image of the jj-th basis vector; uniqueness follows since coordinate maps are bijections. Moreover, composition of linear maps corresponds to matrix multiplication: if S:W→US: W \to U has matrix BB, then S∘TS \circ T has matrix BABA.

DefinitionKernel and Image

For a linear transformation T:V→WT: V \to W, the kernel (null space) and image (range) are:

5
ker⁡(T)={v∈V:T(v)=0},im⁡(T)={T(v):v∈V}\quad \ker(T) = \{\mathbf{v} \in V : T(\mathbf{v}) = \mathbf{0}\}, \qquad \operatorname{im}(T) = \{T(\mathbf{v}) : \mathbf{v} \in V\}

Derivation hint: both are subspaces — closure under addition and scalar multiplication follows directly from linearity [1]–[2]. The rank is dim⁡(im⁡(T))\dim(\operatorname{im}(T)) and the nullity is dim⁡(ker⁡(T))\dim(\ker(T)). They satisfy the Rank–Nullity Theorem:

6
dim⁡(V)=rank⁡(T)+nullity⁡(T)\quad \dim(V) = \operatorname{rank}(T) + \operatorname{nullity}(T)

Derivation hint: extend a basis of ker⁡(T)\ker(T) to a basis of VV; the images of the added vectors form a basis of im⁡(T)\operatorname{im}(T).

Why It Holds / Derivation

ProofMatrix Representation — Construction and Uniqueness

We show every linear T:V→WT: V \to W is captured by a unique matrix.

Step 1 — Coordinates exist. Since B=(b1,…,bn)\mathcal{B} = (\mathbf{b}_1,\ldots,\mathbf{b}_n) is a basis, any v∈V\mathbf{v} \in V has a unique expansion

v=x1b1+⋯+xnbn,\mathbf{v} = x_1\mathbf{b}_1 + \cdots + x_n\mathbf{b}_n,

so [v]B=(x1,…,xn)⊤[\mathbf{v}]_{\mathcal{B}} = (x_1,\ldots,x_n)^\top is well-defined.

Step 2 — Apply linearity. Using superposition [3],

T(v)=T ⁣(∑j=1nxjbj)=∑j=1nxj T(bj).T(\mathbf{v}) = T\!\left(\sum_{j=1}^n x_j \mathbf{b}_j\right) = \sum_{j=1}^n x_j\, T(\mathbf{b}_j).

Thus T(v)T(\mathbf{v}) is determined entirely by the nn vectors T(b1),…,T(bn)T(\mathbf{b}_1), \ldots, T(\mathbf{b}_n).

Step 3 — Express images in C\mathcal{C}. Each T(bj)∈WT(\mathbf{b}_j) \in W has a coordinate vector [T(bj)]C=(a1j,…,amj)⊤[T(\mathbf{b}_j)]_{\mathcal{C}} = (a_{1j}, \ldots, a_{mj})^\top. Define AA to have these as its columns: Aij=aijA_{ij} = a_{ij}.

Step 4 — Verify [4]. Taking coordinates of T(v)T(\mathbf{v}) in C\mathcal{C}:

[T(v)]C=∑j=1nxj[T(bj)]C=∑j=1nxj(column j of A)=A[v]B.[T(\mathbf{v})]_{\mathcal{C}} = \sum_{j=1}^n x_j [T(\mathbf{b}_j)]_{\mathcal{C}} = \sum_{j=1}^n x_j (\text{column } j \text{ of } A) = A[\mathbf{v}]_{\mathcal{B}}.

Step 5 — Uniqueness. If A′A' also satisfies [4], then A[v]B=A′[v]BA[\mathbf{v}]_{\mathcal{B}} = A'[\mathbf{v}]_{\mathcal{B}} for all v\mathbf{v}. Choosing v=bj\mathbf{v} = \mathbf{b}_j gives [bj]B=ej[\mathbf{b}_j]_{\mathcal{B}} = \mathbf{e}_j, so column jj of AA equals column jj of A′A'. Hence A=A′A = A'. ■\blacksquare

∎
ProofRank–Nullity Theorem

Step 1. Let dim⁡V=n\dim V = n and let {u1,…,uk}\{\mathbf{u}_1, \ldots, \mathbf{u}_k\} be a basis of ker⁡(T)\ker(T), so nullity⁡(T)=k\operatorname{nullity}(T) = k.

Step 2. Extend to a basis {u1,…,uk,w1,…,wn−k}\{\mathbf{u}_1, \ldots, \mathbf{u}_k, \mathbf{w}_1, \ldots, \mathbf{w}_{n-k}\} of VV.

Step 3 — Spanning. For any v=∑aiui+∑bjwj\mathbf{v} = \sum a_i\mathbf{u}_i + \sum b_j\mathbf{w}_j, linearity gives T(v)=∑bjT(wj)T(\mathbf{v}) = \sum b_j T(\mathbf{w}_j) (kernel terms vanish). So {T(w1),…,T(wn−k)}\{T(\mathbf{w}_1),\ldots,T(\mathbf{w}_{n-k})\} spans im⁡(T)\operatorname{im}(T).

Step 4 — Independence. Suppose ∑cjT(wj)=0\sum c_j T(\mathbf{w}_j) = \mathbf{0}. Then T(∑cjwj)=0T(\sum c_j\mathbf{w}_j) = \mathbf{0}, so ∑cjwj∈ker⁡(T)\sum c_j\mathbf{w}_j \in \ker(T), hence ∑cjwj=∑diui\sum c_j\mathbf{w}_j = \sum d_i\mathbf{u}_i. Linear independence of the full basis forces all cj=0c_j = 0.

Step 5. Therefore {T(wj)}\{T(\mathbf{w}_j)\} is a basis of im⁡(T)\operatorname{im}(T), so rank⁡(T)=n−k\operatorname{rank}(T) = n - k, giving n=rank⁡(T)+nullity⁡(T)n = \operatorname{rank}(T) + \operatorname{nullity}(T). ■\blacksquare

∎
mathematician · 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 2×22\times2 and 3×33\times3 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

🧠 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.

Figure
Action of a linear map: the unit square (grid corners e1,e2\mathbf{e}_1,\mathbf{e}_2) is sent to a parallelogram spanned by T(e1),T(e2)T(\mathbf{e}_1), T(\mathbf{e}_2).
e₁ e₂ Domain V T T(e₁) T(e₂) Codomain W

Worked Examples

ExampleRotation in the Plane

Given: A counterclockwise rotation Rθ:R2→R2R_\theta: \mathbb{R}^2 \to \mathbb{R}^2 by θ=90∘\theta = 90^\circ. Find its matrix and apply it to v=(3,1)\mathbf{v} = (3, 1).

Step 1 — Track basis vectors. Rotating e1=(1,0)\mathbf{e}_1 = (1,0) by 90∘90^\circ gives (0,1)(0,1). Rotating e2=(0,1)\mathbf{e}_2 = (0,1) by 90∘90^\circ gives (−1,0)(-1,0).

Step 2 — Assemble columns.

A=(0−110).A = \begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}.

Step 3 — Apply to v\mathbf{v}.

A(31)=(0⋅3+(−1)⋅11⋅3+0⋅1)=(−13).A\begin{pmatrix}3\\1\end{pmatrix} = \begin{pmatrix} 0\cdot3 + (-1)\cdot1 \\ 1\cdot3 + 0\cdot1 \end{pmatrix} = \begin{pmatrix} -1 \\ 3 \end{pmatrix}.

Step 4 — Check. Length preserved: ∥(3,1)∥=10=∥(−1,3)∥\|(3,1)\| = \sqrt{10} = \|(-1,3)\|. ✓

R90∘(3,1)=(−1, 3)\boxed{R_{90^\circ}(3,1) = (-1,\,3)}
ExampleDifferentiation as a Linear Map

Given: Let V=P3V = P_3, the space of real polynomials of degree ≤3\le 3, with basis B=(1,x,x2,x3)\mathcal{B} = (1, x, x^2, x^3). Find the matrix of the derivative operator D=ddx:P3→P3D = \frac{d}{dx}: P_3 \to P_3, then apply it to p(x)=2+5x−x2+4x3p(x) = 2 + 5x - x^2 + 4x^3.

Step 1 — Differentiate basis vectors. D(1)=0,D(x)=1,D(x2)=2x,D(x3)=3x2.D(1)=0,\quad D(x)=1,\quad D(x^2)=2x,\quad D(x^3)=3x^2.

Step 2 — Coordinate vectors of images (in basis 1,x,x2,x31,x,x^2,x^3): [0]=(0,0,0,0)[0]=(0,0,0,0), [1]=(1,0,0,0)[1]=(1,0,0,0), [2x]=(0,2,0,0)[2x]=(0,2,0,0), [3x2]=(0,0,3,0)[3x^2]=(0,0,3,0).

Step 3 — Assemble matrix.

[D]=(0100002000030000).[D] = \begin{pmatrix} 0&1&0&0\\ 0&0&2&0\\ 0&0&0&3\\ 0&0&0&0 \end{pmatrix}.

Step 4 — Apply to [p]=(2,5,−1,4)⊤[p]=(2,5,-1,4)^\top.

[D](25−14)=(5−2120),[D]\begin{pmatrix}2\\5\\-1\\4\end{pmatrix} = \begin{pmatrix}5\\-2\\12\\0\end{pmatrix},

which decodes to 5−2x+12x25 - 2x + 12x^2.

Step 5 — Verify directly: ddx(2+5x−x2+4x3)=5−2x+12x2\frac{d}{dx}(2 + 5x - x^2 + 4x^3) = 5 - 2x + 12x^2. ✓

D p=5−2x+12x2\boxed{D\,p = 5 - 2x + 12x^2}

Note nullity⁡(D)=1\operatorname{nullity}(D)=1 (constants) and rank⁡(D)=3\operatorname{rank}(D)=3, confirming 4=3+14 = 3+1 by Rank–Nullity [6].

Common Misconceptions

⚠️ Common mistake

"Linear" does not mean "graph is a line." A function like f(x)=mx+bf(x) = mx + b with b≠0b \neq 0 is not a linear transformation — it fails f(0)=0f(0) = 0. Such maps are called affine. Every linear transformation must send 0\mathbf{0} to 0\mathbf{0}, because T(0)=T(0⋅0)=0⋅T(0)=0T(\mathbf{0}) = T(0\cdot\mathbf{0}) = 0\cdot T(\mathbf{0}) = \mathbf{0} by axiom [2]. Always check this first as a quick necessary test.

CounterexampleMaps that look linear but aren't
  • T(x,y)=(x2,y)T(x,y) = (x^2, y) fails homogeneity: T(2,0)=(4,0)≠2T(1,0)=(2,0)T(2,0)=(4,0) \neq 2T(1,0)=(2,0).
  • T(x)=∣x∣T(x) = |x| fails homogeneity for negative scalars: T(−1⋅1)=1≠−1⋅T(1)=−1T(-1\cdot 1)=1 \neq -1\cdot T(1)=-1.
  • T(x,y)=(x+1,y)T(x,y) = (x+1, y) fails because T(0)=(1,0)≠0T(\mathbf{0}) = (1,0) \neq \mathbf{0}.
  • T(x,y)=(xy,0)T(x,y) = (xy, 0) fails additivity: T((1,0)+(0,1))=T(1,1)=(1,0)T((1,0)+(0,1)) = T(1,1) = (1,0), but T(1,0)+T(0,1)=(0,0)T(1,0)+T(0,1)=(0,0).

Conversely, T(x,y)=(3x−y, 2y, x+y)T(x,y) = (3x - y,\, 2y,\, x+y) is linear (each output coordinate is a homogeneous degree-1 polynomial with no constant term).

Connections

connection

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 Ax=bA\mathbf{x}=\mathbf{b} is asking whether b∈im⁡(T)\mathbf{b} \in \operatorname{im}(T)). The set of all linear maps V→FV \to \mathbb{F} forms the Dual Space, and the algebra of operators V→VV \to V generalizes to Group Representation Theory and Functional Analysis in infinite dimensions.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1750: Cramer publishes Cramer's Rule, implicitly treating systems of linear equations as a unified object.
- 1844: Hermann Grassmann's Ausdehnungslehre introduces abstract nn-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

open-problem

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 L2L^2) 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 ω=2\omega = 2?) remain open.

See Also

Matrix Algebra · Vector Spaces · Eigenvalues and Eigenvectors · Diagonalization · Singular Value Decomposition · Dual Space · Change of Basis · Rank–Nullity Theorem · Group Representation Theory