4.14 Kernel and image

4.14.1 Definition of kernel and image

To every linear transformation we associate two important subspaces.

Definition 4.14.1.

let T:V→W be linear.

  1. 1.

    the kernel of T, written ker⁡T, is {𝐯∈V:T⁢(𝐯)=𝟎W}

  2. 2.

    the image of T, written im⁡T, is {T⁢(𝐯):𝐯∈V}

In other words, the image is what we normally mean by the image of a function.

An important family of examples are the linear maps TA:𝔽n→𝔽m defined by left-multiplication by an m×n matrix A with entries from the field 𝔽. In that case the image im⁡TA is equal to the column space C⁢(A) by Proposition 3.2.1, and the kernel ker⁡TA is the nullspace N⁢(A).

4.14.2 A property of all linear maps

Lemma 4.14.1.

Let T:V→W be a linear map. Then T⁢(𝟎V)=𝟎W.

Proof.
T⁢(𝟎V) =T⁢(𝟎V+𝟎V)
=T⁢(𝟎V)+T⁢(𝟎V)

by the second part of the definition of linearity. Now add −T⁢(𝟎V) to both sides:

T⁢(𝟎V)−T⁢(𝟎V) =T⁢(𝟎V)+T⁢(𝟎V)−T⁢(𝟎V)
𝟎W =T⁢(𝟎V)∎

4.14.3 Kernels and images are subspaces

Lemma 4.14.2.

Let T:V→W be linear. Then ker⁡T⩽V and im⁡T⩽W.

Proof.

To show something is a subspace you must check the three conditions: it contains the zero vector, it is closed under addition, it is closed under scalar multiplication.

First, the kernel.

  1. 1.

    To show that the kernel contains 𝟎V, we must show that T⁢(𝟎V)=𝟎W. That’s exactly Lemma 4.14.1.

  2. 2.

    If 𝐯,𝐰∈ker⁡T then T⁢(𝐯+𝐰)=T⁢(𝐯)+T⁢(𝐰)=𝟎W+𝟎W=𝟎W, so 𝐯+𝐰∈ker⁡T.

  3. 3.

    If 𝐯∈ker⁡T and λ∈𝔽 then T⁢(λ⁢𝐯)=λ⁢T⁢(𝐯) by the second part of the definition of linearity, and this is λ⁢𝟎W which equals 𝟎W. Since T⁢(λ⁢𝐯)=𝟎W, we have λ⁢𝐯∈ker⁡T.

Next, the image.

  1. 1.

    We know from Lemma 4.14.1 that T⁢(𝟎V)=𝟎W, so 𝟎W∈im⁡T.

  2. 2.

    Any two elements of im⁡T have the form T⁢(𝐮),T⁢(𝐯) some 𝐮,𝐯∈V. Then T⁢(𝐮)+T⁢(𝐯)=T⁢(𝐮+𝐯) (second part of the linearity definition), which is an element if im⁡T, so im⁡T is closed under addition.

  3. 3.

    If T⁢(𝐮)∈im⁡T and λ∈𝔽 then λ⁢T⁢(𝐮)=T⁢(λ⁢𝐮) by the second part of the definition of linearity, and this is an element of im⁡T as it is T applied to something, so im⁡T is closed under scalar multiplication.

∎

Example 4.14.1.

Let A=(0100) so that we have a linear map TA:ℝ2→ℝ2 given by TA⁢(𝐱)=A⁢𝐱. We will find im⁡TA and ker⁡TA.

im⁡TA ={TA⁢(xy):x,y∈ℝ}
={(0100)⁢(xy):x,y∈ℝ}
={(y0):x,y∈ℝ}

Another way to write this is that im⁡TA=span⁡(10), and so dimim⁡TA=1.

Now we’ll do the kernel.

ker⁡TA ={(xy)∈ℝ2:TA⁢(xy)=(00)}
={(xy)∈ℝ2:(0100)⁢(xy)=(00)}
={(xy)∈ℝ2:(y0)=(00)}
={(x0):x∈ℝ}

Again we could write this as ker⁡TA=span⁡(10). The kernel and image are equal in this case.

Example 4.14.2.

Let D:ℝ⩽n⁢[x]→ℝ⩽n⁢[x] be D⁢(f)=d⁢fd⁢x. We will describe ker⁡D and im⁡D.

A polynomial has derivative zero if and only if it is constant, so ker⁡D is the set of all constant polynomials. This is spanned by any (nonzero) constant polynomial, so it has dimension one.

Next consider im⁡D. Let S⩽ℝ⩽n⁢[x] be the subspace spanned by 1,x,…,xn−1, that is, the subspace consisting of all polynomials of degree at most n−1. Certainly im⁡D⩽S, since when you differentiate a polynomial of degree at most n you get a polynomial of degree at most n−1. But if s⁢(x)∈S then s⁢(x) has an indefinite integral t⁢(x) in ℝ⩽n⁢[x] and D⁢(t)=s, so every s∈S is in im⁡D, so im⁡D=S.

A useful property of the kernel of a linear map is that it tells you whether or not the map is injective.

Proposition 4.14.3.

Let T be a linear map T:U→V.

  1. 1.

    T is injective if and only if ker⁡T={𝟎U}.

  2. 2.

    T is surjective if and only if dimim⁡T=dimV.

Proof.
  1. 1.

    Suppose T is injective. By Lemma 4.14.1, T⁢(𝟎U)=𝟎V, so 𝟎U∈ker⁡T. Now if 𝐮∈ker⁡T then T⁢(𝐮)=𝟎V so T⁢(𝐮)=T⁢(𝟎U), so by injectivity 𝐮=𝟎U. It follows ker⁡T={𝟎U}.

    Conversely suppose ker⁡T={𝟎U} and that T⁢(𝐱)=T⁢(𝐲). By linearity T⁢(𝐱−𝐲)=𝟎V, so 𝐱−𝐲∈ker⁡T, so 𝐱−𝐲=𝟎U, so 𝐱=𝐲 and T is injective.

  2. 2.

    If T is surjective then im⁡T=V so certainly dimim⁡T=dimV.

    Conversely, suppose dimim⁡T=dimV. The image im⁡T is a subspace of V by Lemma 4.14.2. It has the same dimension as V so it equals V by Proposition 4.12.3. We have shown im⁡T=V, so T is surjective.

∎