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.
工作范例 · nullspace of [[1,2,3],[4,5,6],[7,8,9]]
Nullspace of [[1,2,3],[4,5,6],[7,8,9]]
一步
- \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).
发送答案
现在轮到你 选择问题, 输入或绘制您自己的 。 每一步, 图片, 答案隐藏到您询问 。
此处所用符号
输入完整定义、图片和其中每个字母的含义的符号。
如何: 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.
人们对人们提出的问题
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.
更多 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