maths.free › Linear Algebra › The null space of a matrix
The null space of a matrix
Solving Ax = 0 by row reduction, free variables, and a basis of the solutions.
The null space (kernel) of \( A \) is the set of all vectors \( \mathbf{v} \) with \( A\mathbf{v} = \mathbf{0} \). It always contains \( \mathbf{0} \); it contains more exactly when the columns are dependent. To find it, row-reduce \( A \) to reduced echelon form, call the variables of the non-pivot columns free, and write each pivot variable in terms of them. Setting one free variable to 1 and the rest to 0, in turn, gives a basis.
The worked example reduces the same matrix as the rank lesson to \( \begin{bmatrix} 1 & 0 & -1 \\ 0 & 1 & 2 \\ 0 & 0 & 0 \end{bmatrix} \). Column 3 is free: with \( z = 1 \), the rows say \( x = 1 \) and \( y = -2 \), so the null space is every multiple of \( (1, -2, 1) \). Check it: column 1 \( - 2 \times \) column 2 \( + \) column 3 is the zero vector.
Picture it: the matrix flattens space onto a plane, and the null space is the line of vectors it crushes to the origin. Think it: every solution of \( A\mathbf{x} = \mathbf{b} \) is one particular solution plus a vector of the null space, so the null space measures exactly how far from unique the answers are.
Kushanda muenzaniso · nullspace of [[1,2,3],[4,5,6],[7,8,9]]
Nullspace of [[1,2,3],[4,5,6],[7,8,9]]
Step by step
- \left[\begin{matrix}1 & 2 & 3\\4 & 5 & 6\\7 & 8 & 9\end{matrix}\right]
Solve Av = 0: row-reduce, then express the pivot variables in terms of the free ones.
- \left[\begin{matrix}1 & 2 & 3\\0 & -3 & -6\\7 & 8 & 9\end{matrix}\right]
R2 ← R2 − (\(4\))·R1 to clear column 1.
- \left[\begin{matrix}1 & 2 & 3\\0 & -3 & -6\\0 & -6 & -12\end{matrix}\right]
R3 ← R3 − (\(7\))·R1 to clear column 1.
- \left[\begin{matrix}1 & 2 & 3\\0 & 1 & 2\\0 & -6 & -12\end{matrix}\right]
R2 ← R2 / \(-3\) to make the pivot 1.
- \left[\begin{matrix}1 & 0 & -1\\0 & 1 & 2\\0 & -6 & -12\end{matrix}\right]
R1 ← R1 − (\(2\))·R2 to clear column 2.
- \left[\begin{matrix}1 & 0 & -1\\0 & 1 & 2\\0 & 0 & 0\end{matrix}\right]
R3 ← R3 − (\(-6\))·R2 to clear column 2.
- \left[\begin{matrix}1\\-2\\1\end{matrix}\right]
Basis of the null space (1 vector).
Kuratidza mhinduro
Zvino iwe Choose a problem, or type or draw your own. Every step, a picture, the answer hidden until you ask.
Mubhadharo wakasununguka unowedzera mazita ezvidzidzo, zvinyorwa zvezvidzidzo zvawakati wazvigadzirira, zvidzidzo zvawave uchizvigadzirisa, uye mudzidzisi waungabvunza nezvechidzidzo ichi. Maths inowanikwa kune vese, vasiri vadzidzi kana vadzidzi. Kuwana mazita ezvidzidzo zvinodiwa kunogona kuitwa pawebsite ye Maths.
Kutanga KupindaMazita anoshandiswa pano
Tinya chero chiratidzo kuti uone chirevo chakazara, vhidhiyo, uye kuti chii chinoreva chero chiratidzo.
Maitiro: The null space of a matrix
- Row-reduce A to reduced row-echelon form.
- Mark the pivot columns; the other columns give the free variables.
- Write each pivot variable in terms of the free ones.
- For each free variable, set it to 1 and the others to 0: the vectors you get are a basis of the null space.
Mabvunzo vanhu vanobvunza
How many vectors does the basis have?
One per free variable: the number of columns minus the rank. If every column has a pivot, the null space is only the zero vector and the columns are independent.
What does a determinant mean geometrically?
It is the factor by which the matrix scales area (2×2) or volume (3×3), with a negative sign if orientation flips. Zero means the matrix flattens space and cannot be undone.
What is an eigenvector?
A direction the matrix does not turn: it only stretches it by the eigenvalue. Along eigenvectors a complicated matrix acts like multiplication by a number.
Why is matrix multiplication not commutative?
Because a matrix is a transformation and AB means "do B, then A". Rotating then reflecting is not the same as reflecting then rotating.
More in Linear Algebra
DeterminantsMatrix inverseEigenvalues and eigenvectorsMatrix multiplicationRow reductionThe rank of a matrixVector spaces, span and linear independenceOrthogonality, projections and least squaresDiagonalisation and matrix powersLinear transformations and change of basis