LINEAR-ALGEBRA ยท Unit 6 ยท Video 3 ยท Interactive Practice

Null Space of a Matrix: Finding All Solutions to Ax = 0

IKey Formulas

Formula Name Description
N(A)={xโˆˆRn:Ax=0}N(A) = \{x \in \mathbb{R}^n : Ax = 0\} Null space definition All vectors mapped to zero by AA
A(v+w)=Av+AwA(v + w) = Av + Aw Distributive property Key to proving closure under addition
A(cv)=c(Av)A(cv) = c(Av) Scalar factoring Key to proving closure under scalar multiplication
Null space โІRn\subseteq \mathbb{R}^n, Column space โІRm\subseteq \mathbb{R}^m Dimension rule nn = number of columns, mm = number of rows

IIVisualization 1 โ€” The Matrix Machine

Feed a vector into AA: which nonzero xx comes out as 0\mathbf{0}?

๐Ÿ’ก Challenge: the columns satisfy c3=c1+c2\mathbf{c}_3 = \mathbf{c}_1 + \mathbf{c}_2. What weights make x1c1+x2c2+x3c3=0x_1\mathbf{c}_1 + x_2\mathbf{c}_2 + x_3\mathbf{c}_3 = \mathbf{0}?

IIIVisualization 2 โ€” Row-Reducing to the Null Space

One free column yields one special solution โ€” and its multiples fill N(A)N(A).

๐Ÿ’ก The special solution (โˆ’1,โˆ’1,1)(-1,-1,1) is just โˆ’(1,1,โˆ’1)-(1,1,-1) โ€” same direction, so N(A)=spanโก{(1,1,โˆ’1)}N(A) = \operatorname{span}\{(1,1,-1)\}.

IVVisualization 3 โ€” A Subspace and Its Shift

Solutions of Ax=0Ax=\mathbf{0} pass through the origin; solutions of Ax=bAx=\mathbf{b} are the same line, pushed off it.

๐Ÿ’ก The two lines share direction (1,1,โˆ’1)(1,1,-1) and never meet: the Ax=bAx=\mathbf{b} line is N(A)N(A) slid onto any one particular solution p=(1,0,0)\mathbf{p}=(1,0,0).

VQuiz Questions

Question 1

Consider the matrix A=[112213314415]A = \begin{bmatrix} 1 & 1 & 2 \\ 2 & 1 & 3 \\ 3 & 1 & 4 \\ 4 & 1 & 5 \end{bmatrix}. Which of the following vectors is in the null space N(A)N(A)?

โœ… Correct! (2, 2, -2) = 2ยท(1, 1, -1) is a scalar multiple of the null space basis vector, so it's in N(A).

โŒ Not quite. The null space consists of all multiples of (1, 1, -1). Check which option is a scalar multiple of this vector.

Show solution

Solution:

The null space is N(A)={c(1,1,โˆ’1):cโˆˆR}N(A) = \{c(1, 1, -1) : c \in \mathbb{R}\}. We check each option:

  • (1, 0, 0): Ax=(1,2,3,4)โ‰ 0Ax = (1, 2, 3, 4) \neq 0 โœ—
  • (2, 2, -2): This is 2โ‹…(1,1,โˆ’1)2 \cdot (1, 1, -1). Check: 1(2)+1(2)+2(โˆ’2)=01(2)+1(2)+2(-2)=0, 2(2)+1(2)+3(โˆ’2)=02(2)+1(2)+3(-2)=0, etc. Ax=(0,0,0,0)Ax = (0,0,0,0) โœ“
  • (1, -1, 0): Ax=(0,1,2,3)โ‰ 0Ax = (0, 1, 2, 3) \neq 0 โœ—
  • (0, 1, -1): Ax=(โˆ’1,โˆ’2,โˆ’3,โˆ’4)โ‰ 0Ax = (-1, -2, -3, -4) \neq 0 โœ—

The answer is (2, 2, -2) since it equals 2โ‹…(1,1,โˆ’1)2 \cdot (1, 1, -1).

Question 2

True or False: The null space of a 4ร—34 \times 3 matrix is a subspace of R4\mathbb{R}^4.

โœ… Correct! The null space lives in Rยณ (determined by the 3 columns), not Rโด. The column space is what lives in Rโด.

โŒ Not quite. Think carefully: which dimension โ€” rows or columns โ€” determines where the null space lives?

Show solution

Solution:

False. The null space of a 4ร—34 \times 3 matrix is a subspace of R3\mathbb{R}^3, not R4\mathbb{R}^4.

The rule: N(A)โІRnN(A) \subseteq \mathbb{R}^n where nn is the number of columns. A 4ร—34 \times 3 matrix has 3 columns, so xx must have 3 entries, meaning N(A)โІR3N(A) \subseteq \mathbb{R}^3.

The column space lives in R4\mathbb{R}^4 (from the 4 rows). The null space and column space occupy entirely different spaces.

Question 3

Suppose vv and ww are both solutions to Ax=bAx = b where bโ‰ 0b \neq 0. What does A(v+w)A(v + w) equal?

โœ… Correct! A(v+w) = Av + Aw = b + b = 2b. Since 2b โ‰  b when b โ‰  0, the sum of two solutions is not a solution.

โŒ Not quite. Apply the distributive property: A(v+w) = Av + Aw. You know Av = b and Aw = b.

Show solution

Solution:

Since Av=bAv = b and Aw=bAw = b, use the distributive property:

A(v+w)=Av+Aw=b+b=2bA(v + w) = Av + Aw = b + b = 2b

This is exactly why the solution set of Ax=bAx = b (with bโ‰ 0b \neq 0) is not a subspace: the sum of two solutions gives 2bโ‰ b2b \neq b, so v+wv + w is not itself a solution. Closure under addition fails.

Compare with the null space: if Av=0Av = 0 and Aw=0Aw = 0, then A(v+w)=0+0=0A(v+w) = 0 + 0 = 0. Closure works when b=0b = 0.

Question 4

The column space and null space are two subspaces attached to every matrix. Which statement best describes how they differ?

โœ… Correct! This is a deep insight: building from generators vs carving from constraints are the two complementary ways subspaces appear throughout linear algebra.

โŒ Not quite. Think about the conceptual difference: one starts with pieces and builds up, the other starts with conditions and filters down.

Show solution

Solution:

The correct answer is: Column space is built from generators; null space is carved out by constraints.

These are the two fundamental ways subspaces arise in linear algebra:

  1. Column space โ€” start with generators (the columns of AA), take all linear combinations. "Here are the pieces; what can I build?"

  2. Null space โ€” start with a constraint (Ax=0Ax = 0), collect everything satisfying it. "Here are the rules; what fits?"

The other options are incorrect:

  • Size comparison depends on the specific matrix
  • They live in different spaces: C(A)โІRmC(A) \subseteq \mathbb{R}^m, N(A)โІRnN(A) \subseteq \mathbb{R}^n
  • Both can be found using elimination

Solved: 0 / 4