LINEAR-ALGEBRA · Unit 13 · Video 2 · Interactive Practice

How Ax = 0 Splits Rⁿ into Two Perpendicular Pieces

IKey Formulas

Formula Name Description
Ax=0    rowix=0 iAx = 0 \;\Longleftrightarrow\; \text{row}_i \cdot x = 0\ \forall\, i Null space condition xx is perpendicular to every row of AA
Null(A)=Row(A)\text{Null}(A) = \text{Row}(A)^{\perp} Fundamental Theorem (Part 2) Null space is the orthogonal complement of the row space
r+(nr)=nr + (n - r) = n Rank–Nullity Theorem dim(Row space)+dim(Null space)=n\dim(\text{Row space}) + \dim(\text{Null space}) = n
x=xrow+xnull,  xrowxnullx = x_{\text{row}} + x_{\text{null}},\; x_{\text{row}} \perp x_{\text{null}} Orthogonal decomposition Every xRnx \in \mathbb{R}^n splits into \perp components

IIVisualization 1 — Finding a Null-Space Vector

For A=[1252410]A=\begin{bmatrix}1&2&5\\2&4&10\end{bmatrix}, Ax=0Ax=0 holds exactly when both rows are perpendicular to xx — that is, when both dot products vanish.

💡 Challenge: drive both bars to 00 — e.g. x=(2,1,0)x=(-2,1,0). Because the null space is a whole plane, infinitely many xx work.

IIIVisualization 2 — Null Space \perp Row Space

A vector lies in the null space exactly when it is perpendicular to the row space — the two are orthogonal complements.

💡 In the video's 2×32\times3 example the null space is a 2-D plane (dim 1+2=31+2=3); this R2\mathbb{R}^2 companion A=[1224]A=\begin{bmatrix}1&2\\2&4\end{bmatrix} collapses it to the perpendicular line (dim 1+1=21+1=2) — the same orthogonal-complement principle.

IVVisualization 3 — Orthogonal vs. Orthogonal Complement

Two orthogonal subspaces are complements only when their dimensions add up to nn, leaving no perpendicular direction uncaptured.

VQuiz Questions

Question 1

For A=[1252410]A = \begin{bmatrix} 1 & 2 & 5 \\ 2 & 4 & 10 \end{bmatrix}, which vector is in Null(A)\text{Null}(A)?

(Hint: check which vector satisfies x1+2x2+5x3=0x_1 + 2x_2 + 5x_3 = 0.)

Correct! We have 1+2(3)+5(1)=16+5=01 + 2(-3) + 5(1) = 1 - 6 + 5 = 0.

Not quite. Compute x1+2x2+5x3x_1 + 2x_2 + 5x_3 for your chosen vector — it should equal zero.

Show solution

Solution:

Since row2_2 = 2 \cdot row1_1, we only need x1+2x2+5x3=0x_1 + 2x_2 + 5x_3 = 0:

Vector x1+2x2+5x3x_1 + 2x_2 + 5x_3 In Null(A)?
(1,3,1)(1, -3, 1) 16+5=01 - 6 + 5 = 0 ✅ Yes
(5,1,1)(5, -1, -1) 525=25 - 2 - 5 = -2 ❌ No
(1,2,5)(1, 2, 5) 1+4+25=301 + 4 + 25 = 30 ❌ No
(2,1,0)(2, 1, 0) 2+2+0=42 + 2 + 0 = 4 ❌ No

The answer is x=(1,3,1)x = (1, -3, 1).

Question 2

True or False: If every vector in subspace UU is perpendicular to every vector in subspace WW, then WW must be the orthogonal complement UU^{\perp}.

Correct! Orthogonal \neq orthogonal complement. The complement must leave no perpendicular direction uncaptured, requiring dimensions to sum to nn.

Not quite. Think about the counterexample: two perpendicular lines in R3\mathbb{R}^3 are orthogonal but miss the third dimension.

Show solution

Solution: False.

Orthogonality alone is not enough. The orthogonal complement UU^{\perp} must capture all perpendicular directions.

Counterexample (from the video): In R3\mathbb{R}^3, let UU = the xx-axis and WW = the yy-axis.

  • Every vector in UU is \perp to every vector in WW
  • But dim(U)+dim(W)=1+1=23\dim(U) + \dim(W) = 1 + 1 = 2 \neq 3
  • The zz-axis direction (0,0,1)(0,0,1) is perpendicular to UU but is not in WW

The actual complement UU^{\perp} is the entire yzyz-plane (dimension 2). Being a complement requires dim(U)+dim(W)=n\dim(U) + \dim(W) = n.

Question 3

A 4×64 \times 6 matrix AA has rank 22. What is the dimension of Null(A)\text{Null}(A)?

Correct! By rank-nullity: nullity =nr=62=4= n - r = 6 - 2 = 4.

Not quite. Remember: nullity =nr= n - r, where nn is the number of columns (not rows).

Show solution

Solution:

Apply the Rank–Nullity Theorem: dim(Row space)+dim(Null space)=n(number of columns)\dim(\text{Row space}) + \dim(\text{Null space}) = n \quad (\text{number of columns}) 2+dim(Null space)=62 + \dim(\text{Null space}) = 6 dim(Null space)=62=4\dim(\text{Null space}) = 6 - 2 = \boxed{4}

Key point: Use n=6n = 6 (number of columns), not m=4m = 4 (number of rows). The null space lives in Rn=R6\mathbb{R}^n = \mathbb{R}^6.

Question 4

The Fundamental Theorem of Linear Algebra (Part 2) identifies two orthogonal complement pairs. In Rm\mathbb{R}^m, which subspace is the orthogonal complement of the column space?

Correct! Null(AT)\text{Null}(A^T) contains every vector in Rm\mathbb{R}^m perpendicular to the column space, with dimensions r+(mr)=mr + (m-r) = m.

Not quite. Think about which subspace lives in Rm\mathbb{R}^m and consists of vectors perpendicular to every column of AA. What does ATy=0A^T y = 0 tell you?

Show solution

Solution:

The four fundamental subspaces form two orthogonal complement pairs:

Pair Space 1 Space 2 Lives in
1 Row space (dim rr) Null space (dim nrn-r) Rn\mathbb{R}^n
2 Column space (dim rr) Left null space (dim mrm-r) Rm\mathbb{R}^m

The left null space Null(AT)\text{Null}(A^T) is the orthogonal complement of the column space.

Why? The rows of ATA^T are the columns of AA. So ATy=0A^T y = 0 means yy is perpendicular to every column of AA — i.e., perpendicular to the entire column space. Dimension check: r+(mr)=mr + (m - r) = m ✓.

Solved: 0 / 4