LINEAR-ALGEBRA Β· Interactive Practice | Unit 7 Β· Video 1

When Elimination Hits a Zero

IKey Formulas

Formula Name Description
rank(A)=r\text{rank}(A) = r Rank Number of pivots in echelon form
Free variables =nβˆ’r= n - r Free variable count Total columns minus rank
dim⁑(Null(A))=nβˆ’r\dim(\text{Null}(A)) = n - r Null space dimension Equals number of free variables
Pivot columns β†’\to independent Column classification Columns containing pivots are linearly independent

IIVisualization 1 β€” When a Zero Pivot Appears

Elimination drives this 3Γ—43\times4 matrix toward echelon form β€” what happens when a pivot position turns up zero?

matrix

pivot free column zero pivot
Step 0 Β· Original A
Hidden structure: c2=2c1c_2 = 2c_1 and R3=R1+R2R_3 = R_1 + R_2 β€” elimination will expose both.
Step 1 Β· Clear column 1
R2←R2βˆ’2R1R_2 \leftarrow R_2 - 2R_1. Pivot a11=1a_{11}=1; row 2 becomes [ 0β€…β€Š0β€…β€Š2β€…β€Š4 ][\,0\;0\;2\;4\,].
Step 2 Β· Zero in the pivot
R3←R3βˆ’3R1R_3 \leftarrow R_3 - 3R_1 leaves (2,2)=0(2,2)=0 with (3,2)=0(3,2)=0 below it β€” no row to swap, so skip column 2.
Step 3 Β· Echelon form U
R3←R3βˆ’R2R_3 \leftarrow R_3 - R_2 zeroes row 3. Pivots in columns 1 and 3 β†’ rank =2=2; columns 2 and 4 are free.

IIIVisualization 2 β€” Pivot Columns vs. Free Columns

What decides whether a column keeps a pivot or turns free once elimination finishes?

original A

echelon form U

IVVisualization 3 β€” How Rank Splits the Variables

Rank rr splits nn columns into rr pivot and nβˆ’rn-r free variables β€” when is the null space trivial?

πŸ’‘ The row count mm only caps how large rr can be (r≀min⁑(m,n)r \le \min(m,n)); the free-variable count nβˆ’rn-r β€” and with it the null-space dimension β€” depends on nn and rr alone.

VQuiz Questions

Question 1

Given the echelon form: U=[122200240000]U = \begin{bmatrix} 1 & 2 & 2 & 2 \\ 0 & 0 & 2 & 4 \\ 0 & 0 & 0 & 0 \end{bmatrix}

What is the rank of the original matrix AA?

βœ… Correct! There are 2 pivots (at positions (1,1) and (2,3)), so the rank is 2.

❌ Not quite. Count the leading nonzero entries β€” one per nonzero row of U.

Show solution

Solution:

The rank equals the number of pivots (leading nonzero entries in each nonzero row) in echelon form.

Looking at UU:

  • Row 1: Leading entry is 11 in column 1 β†’ Pivot #1
  • Row 2: Leading entry is 22 in column 3 β†’ Pivot #2
  • Row 3: All zeros β†’ no pivot

rank(A)=numberΒ ofΒ pivots=2\text{rank}(A) = \text{number of pivots} = 2

Question 2

In the same echelon form UU above, which variables are the free variables?

βœ… Correct! Columns 2 and 4 have no pivots, so x2x_2 and x4x_4 are free variables.

❌ Not quite. Free variables correspond to columns without pivots. Check which columns contain the leading nonzero entry of each row.

Show solution

Solution:

Columns with pivots β†’ pivot variables. Columns without pivots β†’ free variables.

From U=[122200240000]U = \begin{bmatrix} 1 & 2 & 2 & 2 \\ 0 & 0 & 2 & 4 \\ 0 & 0 & 0 & 0 \end{bmatrix}:

Column Pivot? Variable type
Column 1 Yes (the 1 in row 1) x1x_1 is pivot
Column 2 No x2x_2 is free βœ“
Column 3 Yes (the 2 in row 2) x3x_3 is pivot
Column 4 No x4x_4 is free βœ“

The free variables are x2x_2 and x4x_4.

Question 3

True or False: Row reduction (elimination) preserves the column space of a matrix.

That is, if UU is obtained from AA by row operations, then the column space of UU equals the column space of AA.

βœ… Correct! Elimination preserves the null space (and row space), but not the column space. For column space analysis, always use the original matrix AA.

❌ Not quite. Row operations modify the entries in each column. The columns of UU are different vectors from the columns of AA, so the spaces they span are generally different.

Show solution

Solution: False.

Row operations change the actual entries in each column, so the column space of UU is generally different from the column space of AA.

What elimination does preserve:

Property Preserved? Why?
Null space βœ… Yes Ax=0Ax = 0 and Ux=0Ux = 0 have identical solutions
Row space βœ… Yes Row operations keep rows in the same span
Column space ❌ No The columns of UU are different vectors
Rank βœ… Yes Same number of pivots

Rule of thumb: For null space questions, use UU. For column space questions, go back to AA.

Question 4

A 5Γ—75 \times 7 matrix AA has rank 3. What is the dimension of the null space of AA?

βœ… Correct! With n=7n = 7 columns and rank r=3r = 3, the null space has dimension 7βˆ’3=47 - 3 = 4.

❌ Not quite. Use the formula: null space dimension = n βˆ’ r, where n is the number of columns (not rows).

Show solution

Solution:

The null space dimension equals the number of free variables:

dim⁑(Null(A))=nβˆ’r\dim(\text{Null}(A)) = n - r

where nn = number of columns and rr = rank.

dim⁑(Null(A))=7βˆ’3=4\dim(\text{Null}(A)) = 7 - 3 = 4

The null space is a 4-dimensional subspace of R7\mathbb{R}^7.

Important: The number of rows (m=5m = 5) does not appear in this formula. Only nn (columns) and rr (rank) determine the null space dimension.

  • r=3r = 3 pivot variables (determined by back-substitution)
  • nβˆ’r=4n - r = 4 free variables (can be set to any value)

Solved: 0 / 4