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.
Exemple résolu · nullspace of [[1,2,3],[4,5,6],[7,8,9]]
Nullspace of [[1,2,3],[4,5,6],[7,8,9]]
Étape par étape
- \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).
Révèle la réponse
À vous Choisissez un problème, ou tapez ou dessinez le vôtre. Chaque étape, une image, la réponse cachée jusqu'à ce que vous le demandiez.
Un compte gratuit ajoute des notes sur chaque leçon, un enregistrement de ce que vous avez terminé, vos problèmes résolus en un seul endroit, et un tuteur que vous pouvez demander sur cette page. Les maths eux-mêmes sont ouverts à tout le monde, signé ou non.
Inscription ConnexionSymboles utilisés ici
Appuyez sur n'importe quel symbole pour la définition complète, une image et ce que signifie chaque lettre.
Comment faire: 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.
Questions posées par les gens
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.
Plus en 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