Skip to content

Linear Maps

A linear map is a function between vector spaces that preserves addition and scalar multiplication. In quantum mechanics, ordinary state-space operators are linear maps: their action on a superposition is determined by their action on the pieces.

The physical page Operators explains what operators mean in the Core Formalism. This page owns the underlying linear algebra.

Let VV and WW be vector spaces over the same field, usually C\mathbb C in quantum mechanics. The complex-scalar case is developed in Complex Vector Spaces. A map

T:V→WT:V\to W

is linear if, for all v,w∈Vv,w\in V and scalars a,ba,b,

T(av+bw)=aT(v)+bT(w).T(av+bw) = aT(v)+bT(w).

Equivalently, a linear map preserves every finite linear combination:

T(∑iaivi)=∑iaiT(vi).T\left(\sum_i a_i v_i\right) = \sum_i a_i T(v_i).

This is why knowing TT on a basis determines TT everywhere.

The kernel of T:V→WT:V\to W is the set of vectors mapped to zero:

ker⁡T={v∈V:T(v)=0}.\ker T = \{v\in V:T(v)=0\}.

The image, or range, is the set of vectors in WW that are actually hit:

im⁡T={T(v)∈W:v∈V}.\operatorname{im}T = \{T(v)\in W:v\in V\}.

Both are subspaces: ker⁡T\ker T is a subspace of VV, and im⁡T\operatorname{im}T is a subspace of WW.

In finite dimension, the rank-nullity theorem says

dim⁡V=dim⁡ker⁡T+dim⁡im⁡T.\dim V = \dim\ker T+\dim\operatorname{im}T.

This theorem is a bookkeeping identity for how many independent directions are killed and how many independent directions survive.

If

T:U→V,S:V→W,T:U\to V, \qquad S:V\to W,

then the composition S∘T:U→WS\circ T:U\to W is

(S∘T)(u)=S(T(u)).(S\circ T)(u)=S(T(u)).

The composition of linear maps is linear:

(S∘T)(au+bv)=a(S∘T)(u)+b(S∘T)(v).(S\circ T)(au+bv) = a(S\circ T)(u)+b(S\circ T)(v).

Composition is usually not commutative. In quantum mechanics, this noncommutativity becomes the algebraic origin of commutators such as [A,B]=AB−BA[A,B]=AB-BA.

A linear map T:V→WT:V\to W is invertible if there is a linear map

T−1:W→VT^{-1}:W\to V

such that

T−1T=IV,TT−1=IW.T^{-1}T=I_V, \qquad TT^{-1}=I_W.

In finite dimension, a linear map between vector spaces of the same dimension is invertible exactly when its kernel is zero:

ker⁡T={0}.\ker T=\{0\}.

Equivalently, its image is all of WW.

After choosing a basis of VV and a basis of WW, a linear map T:V→WT:V\to W is represented by a matrix. If V=W=CnV=W=\mathbb C^n with the standard basis, the formula is the familiar one:

(Tv)i=∑jTijvj.(Tv)^i = \sum_j T^i{}_j v^j.

The matrix depends on the chosen bases. The linear map does not. This distinction is essential when translating between abstract operator equations and matrix calculations.

A linear map from a vector space to itself is often called an operator or endomorphism:

A:V→V.A:V\to V.

Quantum mechanics mainly uses operators on Hilbert spaces. In finite dimension, this is straightforward:

A:H→H.A:\mathcal H\to\mathcal H.

In infinite-dimensional Hilbert spaces, many important operators are not defined on all of H\mathcal H. A differential operator may instead be a map

A:D(A)→H,D(A)⊆H.A:\mathcal D(A)\to\mathcal H, \qquad \mathcal D(A)\subseteq\mathcal H.

The domain D(A)\mathcal D(A) is part of the operator. Suppressing it is often harmless in a first finite-dimensional example and dangerous in a rigorous wave-mechanics problem.

Define T:C2→C2T:\mathbb C^2\to\mathbb C^2 by

T(xy)=(x+y0).T \begin{pmatrix} x\\ y \end{pmatrix} = \begin{pmatrix} x+y\\ 0 \end{pmatrix}.

This map is linear because

T(a(x1y1)+b(x2y2))=aT(x1y1)+bT(x2y2).T \left( a \begin{pmatrix} x_1\\ y_1 \end{pmatrix} + b \begin{pmatrix} x_2\\ y_2 \end{pmatrix} \right) = aT \begin{pmatrix} x_1\\ y_1 \end{pmatrix} + bT \begin{pmatrix} x_2\\ y_2 \end{pmatrix}.

Its kernel consists of vectors with x+y=0x+y=0:

ker⁡T={(x−x):x∈C}.\ker T = \left\{ \begin{pmatrix} x\\ -x \end{pmatrix} :x\in\mathbb C \right\}.

Its image is the one-dimensional subspace

im⁡T={(z0):z∈C}.\operatorname{im}T = \left\{ \begin{pmatrix} z\\ 0 \end{pmatrix} :z\in\mathbb C \right\}.

Thus dim⁡ker⁡T=1\dim\ker T=1 and dim⁡im⁡T=1\dim\operatorname{im}T=1, matching dim⁡C2=2\dim\mathbb C^2=2.

  • Calling a map linear because it is written with a formula.
  • Forgetting that linearity requires preservation of both addition and scalar multiplication.
  • Treating a matrix as the map itself rather than a representation in chosen bases.
  • Assuming composition commutes.
  • Ignoring the domain of an operator in infinite-dimensional examples.
  • Confusing invertibility with having no zero entries in a matrix.
  • S. Axler, Linear Algebra Done Right, 3rd ed., Springer, 2015.
  • G. Strang, Linear Algebra and Its Applications, 4th ed., Brooks/Cole, 2006.
  • P. R. Halmos, Finite-Dimensional Vector Spaces, 2nd ed., Springer, 1974.
  • B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013.
  1. Let T:C2→C2T:\mathbb C^2\to\mathbb C^2 be
T(xy)=(xx+y).T \begin{pmatrix} x\\ y \end{pmatrix} = \begin{pmatrix} x\\ x+y \end{pmatrix}.

Show that TT is linear.

Solution

For vectors u=(x1,y1)Tu=(x_1,y_1)^T and v=(x2,y2)Tv=(x_2,y_2)^T,

T(au+bv)=(ax1+bx2a(x1+y1)+b(x2+y2))=aT(u)+bT(v).T(au+bv) = \begin{pmatrix} ax_1+bx_2\\ a(x_1+y_1)+b(x_2+y_2) \end{pmatrix} = aT(u)+bT(v).

Hence TT is linear.

  1. For the map in the first exercise, find the kernel.
Solution

The equation T(x,y)T=0T(x,y)^T=0 gives

x=0,x+y=0.x=0, \qquad x+y=0.

Thus x=0x=0 and y=0y=0, so

ker⁡T={0}.\ker T=\{0\}.
  1. Give an example of a map C→C\mathbb C\to\mathbb C that is not linear.
Solution

The map F(z)=∣z∣2F(z)=\lvert z\rvert^2 is not linear. For example,

F(iz)=∣iz∣2=∣z∣2,F(iz)=\lvert iz\rvert^2=\lvert z\rvert^2,

but

iF(z)=i∣z∣2,iF(z)=i\lvert z\rvert^2,

which is not equal to F(iz)F(iz) unless z=0z=0.