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.

Isibonelo esisebenza · 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]

Isigaba

  1. \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.

  2. \left[\begin{matrix}1 & 2 & 3\\0 & -3 & -6\\7 & 8 & 9\end{matrix}\right]

    R2 ← R2 − (\(4\))·R1 to clear column 1.

  3. \left[\begin{matrix}1 & 2 & 3\\0 & -3 & -6\\0 & -6 & -12\end{matrix}\right]

    R3 ← R3 − (\(7\))·R1 to clear column 1.

  4. \left[\begin{matrix}1 & 2 & 3\\0 & 1 & 2\\0 & -6 & -12\end{matrix}\right]

    R2 ← R2 / \(-3\) to make the pivot 1.

  5. \left[\begin{matrix}1 & 0 & -1\\0 & 1 & 2\\0 & -6 & -12\end{matrix}\right]

    R1 ← R1 − (\(2\))·R2 to clear column 2.

  6. \left[\begin{matrix}1 & 0 & -1\\0 & 1 & 2\\0 & 0 & 0\end{matrix}\right]

    R3 ← R3 − (\(-6\))·R2 to clear column 2.

  7. \left[\begin{matrix}1\\-2\\1\end{matrix}\right]

    Basis of the null space (1 vector).

Bonisa impendulo
\left[\begin{matrix}1\\-2\\1\end{matrix}\right]

Manje Khetha izinkinga, noma ubhale noma udwebe zakho. Isigaba ngasinye, isithombe, impendulo ifihlakele kuze kube ubuza.

Qhubeka usebenza

I-akhawunti emahhala ifaka iziphawulo kulesifundo ngasinye, irekhodi lokuthi yini oqedile, izinkinga zakho ezixazululiwe endaweni eyodwa, nodokotela owaziyo ongabuza mayelana nalekhasi. I-matematics ivulekile kubo bonke, noma ngabe babhalise noma cha.

Bhala Ngena

Amaphawu asetshenziswa lapha

Chofoza noma yiluphi uphawu lwesibonakaliso ukuze uthole ukuchaza okuphelele, isithombe, kanye nokuthi iyiphi inhlamvu ekhona ekhuluma ngaso.

Indlela: The null space of a matrix

  1. Row-reduce A to reduced row-echelon form.
  2. Mark the pivot columns; the other columns give the free variables.
  3. Write each pivot variable in terms of the free ones.
  4. For each free variable, set it to 1 and the others to 0: the vectors you get are a basis of the null space.

Imibuzo abantu bebuza

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.

Okuningi Linear Algebra