Linear transformations · Definition
Kernel and image
Before you start you need to know
These two subspaces measure what information a transformation destroys and which values it reaches; together they decide whether it is injective or surjective.
Definition
The kernel \(\ker T\) of a linear transformation \(T\) is the set of vectors it sends to zero; the image \(\operatorname{Im}T\) is the set of all vectors it produces.
Both sets are subspaces: the kernel lives in the domain and the image in the codomain. If \(T(u)=0\) and \(T(v)=0\), then \(T(au+bv)=0\); and a combination of values \(T(u)\) and \(T(v)\) is the value \(T(au+bv)\). Hence both always contain the zero vector, since \(T(0)=0\).
When \(T(x)=Ax\), the kernel is the set of solutions of \(Ax=0\) and the image is the set of linear combinations of the columns of \(A\). Example: for \(T(x,y,z)=(x+y,\,y+z)\), solving \(x+y=0\), \(y+z=0\) gives \(x=z=-y\), so the kernel is the line spanned by \((1,-1,1)\); the columns \((1,0)\), \((1,1)\) and \((0,1)\) span all of \(\mathbb{R}^2\), so the image is \(\mathbb{R}^2\).
The kernel detects injectivity: \(T\) is injective exactly when its kernel is \(\{0\}\), because \(T(u)=T(v)\) is equivalent to \(u-v\in\ker T\). The image detects surjectivity: \(T\) is surjective when the image is the whole codomain.
Typical mistake: believing the kernel is empty when \(T\) is injective. It is never empty, since it always contains zero; injective means it contains only zero. The dimensions of the kernel and the image are tied together precisely, and that is exactly the rank–nullity theorem.
Think about it
Can the kernel of a linear transformation be the empty set?
No: since \(T(0)=0\), the zero vector always belongs to the kernel.
If \(T(u)=T(v)\), which vector is in the kernel of \(T\)?
The vector \(u-v\), because \(T(u-v)=T(u)-T(v)=0\).
Exercises 10
- Let \(T(x,y,z)=(x+y,\,y+z)\). Which of these vectors is in the kernel of \(T\)?
- Let \(T(x,y,z)=(x,y,0)\). What is the image of \(T\)?
- Let \(T(x,y)=(2x,\,3y)\). What is the kernel of \(T\)?
- What is true of the kernel of any linear transformation?
- Let \(T(x,y)=(x,\,y,\,x+y)\) from \(\mathbb{R}^2\) to \(\mathbb{R}^3\). What is its image?
- Let \(T(x)=Ax\) with \(A=\begin{pmatrix}1&2&0\\2&4&0\end{pmatrix}\). What is the dimension of its kernel?
- Let \(T(x)=Bx\) with \(B=\begin{pmatrix}1&0&1\\0&1&1\\1&1&2\end{pmatrix}\). What is the dimension of its image?
- Let \(T(x)=Ax\) with \(A=\begin{pmatrix}1&2\\2&4\end{pmatrix}\). Which of these vectors is in the image of \(T\)?
- A linear transformation \(T\) is injective if and only if…
- Let \(T(x,y)=(x-y,\,2x-2y)\). Which statement correctly describes its kernel and image?
What comes next
References
- Gilbert Strang, Introduction to Linear Algebra, 6th edition, Wellesley-Cambridge Press, 2023. §3.2 y §8.1
- Sheldon Axler, Linear Algebra Done Right, 4th edition, Springer, 2024. §3.B
- David C. Lay, Steven R. Lay, Judi J. McDonald, Linear Algebra and Its Applications, 6th edition, Pearson, 2021. §4.2