Tutorials › Linear Algebra › Kernel, Image, and Isomorphism Tests

Isomorphisms · Tutorial 453 of 1000

Kernel, Image, and Isomorphism Tests

Use the kernel, image, and matrix row reduction to test whether concrete linear maps are isomorphisms.

Intermediate 10 min read

What You'll Learn

  • Define the kernel and image of a linear map.
  • Prove that a map is injective exactly when its kernel is trivial.
  • Prove that a map is surjective exactly when its image equals the codomain.
  • Combine the tests to characterize isomorphisms.
  • Apply row reduction to test maps represented by matrices.
  • Distinguish maps that are injective but not surjective, or surjective but not injective.

Three Tests for One Question

An isomorphism preserves the structure of a vector space without losing or missing any vectors. For a linear map \(T:V\to W\), the question is whether every vector of \(W\) is reached and whether distinct vectors of \(V\) remain distinct. The kernel and image translate these two questions into concrete tests. These tests apply whether or not \(V\) and \(W\) have the same dimension.

Throughout, take \(V\) and \(W\) to be vector spaces over \(\mathbb{R}\), and let \(T:V\to W\) be linear. The kernel collects the inputs sent to the zero vector, while the image collects all outputs the map can produce.

Definition: The kernel and image of \(T:V\to W\) are \(\ker T=\{\mathbf{v}\in V:T(\mathbf{v})=\mathbf{0}\}\) and \(\operatorname{im}T=\{T(\mathbf{v}):\mathbf{v}\in V\}\subseteq W\). The map is injective if \(T(\mathbf{v}_1)=T(\mathbf{v}_2)\) implies \(\mathbf{v}_1=\mathbf{v}_2\). It is surjective if every \(\mathbf{w}\in W\) equals \(T(\mathbf{v})\) for some \(\mathbf{v}\in V\). An isomorphism is a linear map that is both injective and surjective.

The kernel and image answer different questions. A trivial kernel means the only input mapped to zero is zero; it tests whether inputs can collapse together. The image tells us which outputs can be reached; it tests whether the map covers the codomain. For the kernel, “trivial” means \(\ker T=\{\mathbf{0}\}\), not merely that the kernel contains no vectors other than zero as a subset of the domain.

Why the Kernel Tests Injectivity

Theorem: A linear map \(T:V\to W\) is injective if and only if \(\ker T=\{\mathbf{0}\}\).

Proof. First suppose \(T\) is injective. If \(\mathbf{v}\in\ker T\), then \(T(\mathbf{v})=\mathbf{0}=T(\mathbf{0})\), since linearity gives \(T(\mathbf{0})=\mathbf{0}\). Injectivity implies \(\mathbf{v}=\mathbf{0}\). Also, \(\mathbf{0}\in\ker T\), so \(\ker T=\{\mathbf{0}\}\). Conversely, suppose \(\ker T=\{\mathbf{0}\}\), and suppose \(T(\mathbf{v}_1)=T(\mathbf{v}_2)\). Linearity gives \(T(\mathbf{v}_1-\mathbf{v}_2)=T(\mathbf{v}_1)-T(\mathbf{v}_2)=\mathbf{0}\). Thus \(\mathbf{v}_1-\mathbf{v}_2\in\ker T\), so \(\mathbf{v}_1-\mathbf{v}_2=\mathbf{0}\), which means \(\mathbf{v}_1=\mathbf{v}_2\). Hence \(T\) is injective. \(\square\)

The key step is to compare two inputs by subtracting them. If they produce the same output, their difference belongs to the kernel. A nonzero kernel vector therefore gives a direct witness that injectivity fails: if \(\mathbf{v}\ne\mathbf{0}\) and \(T(\mathbf{v})=\mathbf{0}\), then \(T(\mathbf{v})=T(\mathbf{0})\) even though \(\mathbf{v}\ne\mathbf{0}\).

Why the Image Tests Surjectivity

Theorem: A map \(T:V\to W\) is surjective if and only if \(\operatorname{im}T=W\).

Proof. By definition, \(\operatorname{im}T\) consists exactly of the outputs \(T(\mathbf{v})\) as \(\mathbf{v}\) ranges over \(V\), and it is a subset of \(W\). If \(T\) is surjective, then for every \(\mathbf{w}\in W\) there is a \(\mathbf{v}\in V\) such that \(T(\mathbf{v})=\mathbf{w}\). Hence every \(\mathbf{w}\in W\) belongs to \(\operatorname{im}T\), so \(\operatorname{im}T=W\). Conversely, if \(\operatorname{im}T=W\), then every \(\mathbf{w}\in W\) belongs to the image and therefore equals \(T(\mathbf{v})\) for some \(\mathbf{v}\in V\). This is precisely surjectivity. \(\square\)

Combining the two tests gives the desired characterization, with no restriction that the spaces be finite-dimensional or have the same dimension.

Theorem (Kernel–image isomorphism test): A linear map \(T:V\to W\) is an isomorphism if and only if \(\ker T=\{\mathbf{0}\}\) and \(\operatorname{im}T=W\).

Proof. If \(T\) is an isomorphism, it is injective and surjective. The first theorem gives \(\ker T=\{\mathbf{0}\}\), and the second gives \(\operatorname{im}T=W\). Conversely, if both equalities hold, the first theorem implies that \(T\) is injective and the second implies that it is surjective. Since \(T\) is already a linear map, it is an isomorphism by definition. \(\square\)

Matrix Tests for Maps Between Coordinate Spaces

For a linear map \(T:\mathbb{R}^n\to\mathbb{R}^m\) represented by an \(m\times n\) matrix \(\mathbf{A}\), the equation \(T(\mathbf{x})=\mathbf{A}\mathbf{x}\) makes both tests computational. The kernel consists of solutions to \(\mathbf{A}\mathbf{x}=\mathbf{0}\); the image is the set of all combinations of the columns of \(\mathbf{A}\). Thus, to test whether the map is an isomorphism, determine whether the homogeneous system has only the zero solution and whether \(\mathbf{A}\mathbf{x}=\mathbf{b}\) can be solved for every \(\mathbf{b}\in\mathbb{R}^m\).

Here is how row reduction expresses those conditions. Row operations are reversible, so they preserve the solutions of a homogeneous system. They also replace \(\mathbf{A}\) by \(\mathbf{R}=\mathbf{E}\mathbf{A}\) for an invertible matrix \(\mathbf{E}\): the new output is \(\mathbf{E}\) times the old output. Consequently, the kernel is unchanged, and the image is all of \(\mathbb{R}^m\) before the operations exactly when it is all of \(\mathbb{R}^m\) afterward.

Matrix test: For \(\mathbf{A}\in\mathbb{R}^{m\times n}\), the map \(\mathbf{x}\mapsto\mathbf{A}\mathbf{x}\) is injective exactly when the RREF of \(\mathbf{A}\) has a pivot in every column. It is surjective exactly when the RREF has a pivot in every row. It is an isomorphism exactly when both conditions hold.

Justification. In the homogeneous system given by the RREF, a column without a pivot corresponds to a free variable. If one exists, set that free variable to \(1\), set the other free variables to \(0\), and solve for the pivot variables; this produces a nonzero solution. If every column has a pivot, there are no free variables and the homogeneous system has only the zero solution. This proves the injectivity test by the kernel theorem. For surjectivity, if every row has a pivot, the reduced system can be solved for any right-hand side by assigning the free variables value \(0\) and solving for the pivot variables. If some row has no pivot, the RREF has a zero row, so every output of the reduced matrix has zero in that row and the image is not all of \(\mathbb{R}^m\). Reversibility of the row operations transfers this conclusion to the original matrix. The isomorphism test now follows from the kernel–image theorem. \(\square\)

Worked Tests

Worked Example: A Map That Is an Isomorphism

Let \(T:\mathbb{R}^2\to\mathbb{R}^2\) be given by \(T(\mathbf{x})=\mathbf{A}\mathbf{x}\), where \(\mathbf{A}=\begin{bmatrix}1&2\\3&4\end{bmatrix}\). Test its kernel and image.

To test the image, solve \(\mathbf{A}\mathbf{x}=\mathbf{b}\) for an arbitrary \(\mathbf{b}=(b_1,b_2)^\top\). Row-reduce the augmented matrix:

$$ \begin{bmatrix}1&2&\mid&b_1\\3&4&\mid&b_2\end{bmatrix} \sim \begin{bmatrix}1&2&\mid&b_1\\0&-2&\mid&b_2-3b_1\end{bmatrix} \sim \begin{bmatrix}1&2&\mid&b_1\\0&1&\mid&\frac{3b_1-b_2}{2}\end{bmatrix} \sim \begin{bmatrix}1&0&\mid&b_2-2b_1\\0&1&\mid&\frac{3b_1-b_2}{2}\end{bmatrix}. $$

The operations are \(R_2\to R_2-3R_1\), \(R_2\to-\tfrac12R_2\), and \(R_1\to R_1-2R_2\). For every \(\mathbf{b}\), a solution is \(\mathbf{x}=(b_2-2b_1,\frac{3b_1-b_2}{2})^\top\). Therefore every vector in the codomain is reached. Setting \(b_1=b_2=0\) gives the only homogeneous solution \(\mathbf{x}=\mathbf{0}\), so the kernel is trivial as well.

Check: Multiplying the proposed solution back gives \(x_1+2x_2=b_2-2b_1+3b_1-b_2=b_1\) and \(3x_1+4x_2=3b_2-6b_1+6b_1-2b_2=b_2\). Thus \(\mathbf{A}\mathbf{x}=\mathbf{b}\) for every \(\mathbf{b}\), and the map is an isomorphism.

Worked Example: Surjective but Not Injective

Define \(T:\mathbb{R}^3\to\mathbb{R}^2\) by \(T(x_1,x_2,x_3)=(x_1+2x_2,x_2+x_3)\). Its matrix is \(\mathbf{A}=\begin{bmatrix}1&2&0\\0&1&1\end{bmatrix}\). Find its kernel and image.

For an arbitrary \((b_1,b_2)\in\mathbb{R}^2\), choose \((x_1,x_2,x_3)=(b_1,0,b_2)\). Then \(T(b_1,0,b_2)=(b_1,b_2)\), so every codomain vector is reached and \(\operatorname{im}T=\mathbb{R}^2\). To find the kernel, solve \(x_1+2x_2=0\) and \(x_2+x_3=0\). Taking \(x_3=t\) gives \(x_2=-t\) and \(x_1=2t\), so \(\ker T=\{t(2,-1,1):t\in\mathbb{R}\}\), which contains nonzero vectors.

Check: For any \(t\), \(T(2t,-t,t)=(2t-2t,-t+t)=(0,0)\). Also \(T(b_1,0,b_2)=(b_1,b_2)\) directly. Thus the map is surjective but not injective, and so is not an isomorphism.

Worked Example: Injective but Not Surjective

Let \(S:\mathbb{R}^2\to\mathbb{R}^3\) be \(S(x,y)=(x,y,0)\). Its matrix is \(\mathbf{B}=\begin{bmatrix}1&0\\0&1\\0&0\end{bmatrix}\).

If \(S(x,y)=(0,0,0)\), then \(x=0\) and \(y=0\), so \(\ker S=\{(0,0)\}\). The map is injective. Every output has third coordinate \(0\), however, so \(\operatorname{im}S=\{(a,b,0):a,b\in\mathbb{R}\}\), which is not all of \(\mathbb{R}^3\). For example, \((0,0,1)\) is not reached.

Check: Reaching \((0,0,1)\) would require \(x=0\), \(y=0\), and \(0=1\) simultaneously, which is impossible. The kernel is trivial, but the image is not the codomain; therefore \(S\) is not an isomorphism.

A Common Mistake: Checking Only the Kernel

A trivial kernel is enough to conclude that a map is injective, not that it is an isomorphism. For the map \(S(x,y)=(x,y,0)\), the calculation \(S(x,y)=(0,0,0)\Rightarrow x=0,\ y=0\) is correct. The incorrect next step would be to conclude that \(S\) is therefore an isomorphism. That ignores whether the map reaches every vector in its codomain.

The correction is to test the image separately. To reach \((0,0,1)\), one would need \(x=0\), \(y=0\), and \(0=1\); hence this vector is not in the image. The two conditions in the isomorphism test have separate jobs, and neither can be omitted. Similarly, a map with full image need not be injective, as the preceding example shows.

KernelImageConclusion
\(\{\mathbf{0}\}\)All of \(W\)Isomorphism
\(\{\mathbf{0}\}\)A proper subset of \(W\)Injective, not surjective
More than \(\{\mathbf{0}\}\)All of \(W\)Surjective, not injective
More than \(\{\mathbf{0}\}\)A proper subset of \(W\)Neither injective nor surjective

Check Your Understanding

For each map, determine its kernel and image before deciding whether it is an isomorphism.

  1. For \(T:\mathbb{R}^2\to\mathbb{R}^2\) given by \(T(x,y)=(x+y,2x+2y)\), is the map injective, surjective, both, or neither?
  2. Find the kernel and image of \(T:\mathbb{R}^2\to\mathbb{R}^3\), \(T(x,y)=(x,0,y)\). Is it an isomorphism?
  3. For a matrix representing a map \(\mathbb{R}^n\to\mathbb{R}^m\), what pivot conditions test injectivity and surjectivity?
  4. Prove directly from the definitions that if \(\ker T\) contains a nonzero vector, then \(T\) is not injective.
  5. Give an example of a surjective linear map with a nontrivial kernel, and verify both properties.

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon