Maths WorkshopMaths problems with full solutions
Exercise 1219Linear algebra › Vector spaces and subspacesL1Added 3 Nov 2026

Kernel of a 3×3 matrix and basis

#kernel#basis#matrix#rank-nullity

Statement

Find a basis of ker⁡(A)\ker(A) for
A=(12−12111−12).A = \begin{pmatrix} 1 & 2 & -1 \\ 2 & 1 & 1 \\ 1 & -1 & 2 \end{pmatrix}.

Hint

Solve Ax=0Ax=0 by row reduction.

Show solutionHide solution

Solution

Row reduction. L2←L2−2L1L_2\leftarrow L_2-2L_1, L3←L3−L1L_3\leftarrow L_3-L_1:
(12−10−330−33).\begin{pmatrix} 1 & 2 & -1 \\ 0 & -3 & 3 \\ 0 & -3 & 3 \end{pmatrix}.
L3←L3−L2L_3\leftarrow L_3-L_2:
(12−10−33000).\begin{pmatrix} 1 & 2 & -1 \\ 0 & -3 & 3 \\ 0 & 0 & 0 \end{pmatrix}.
Rank is 22, so dim⁡ker⁡A=1\dim\ker A=1.

Solve. From −3y+3z=0-3y+3z=0, y=zy=z. From x+2y−z=0x+2y-z=0, x=−2y+z=−zx=-2y+z=-z. So (x,y,z)=(−z,z,z)=z(−1,1,1)(x,y,z)=(-z,z,z)=z(-1,1,1).

Conclusion. ker⁡A=span⁡((−1,1,1))\ker A=\operatorname{span}((-1,1,1)), a line.