Linear-Algebra-Done-Right · Unit 6 · Video 4 · Interactive Practice

Column Rank Equals Row Rank: Column-Row Factorization

IKey Formulas

FormulaNameSetting
dim⁡span⁡(A⋅,1,…,A⋅,n)≤min⁡{m,n}\dim \operatorname{span}(A_{\cdot,1}, \dots, A_{\cdot,n}) \le \min\{m, n\}Column rank of AA: the dimension of the column span, a subspace of Fm,1\mathbf{F}^{m,1}A∈Fm,nA \in \mathbf{F}^{m,n}; the row rank dim⁡span⁡(A1,⋅,…,Am,⋅)\dim \operatorname{span}(A_{1,\cdot}, \dots, A_{m,\cdot}) obeys the same bound
(At)k,j=Aj,k(A^{\mathrm{t}})_{k,j} = A_{j,k},  (AC)t=CtAt\ (AC)^{\mathrm{t}} = C^{\mathrm{t}} A^{\mathrm{t}}TransposeA∈Fm,nA \in \mathbf{F}^{m,n}, At∈Fn,mA^{\mathrm{t}} \in \mathbf{F}^{n,m}, C∈Fn,pC \in \mathbf{F}^{n,p}
A=CRA = CR,  C∈Fm,c\ C \in \mathbf{F}^{m,c}, R∈Fc,nR \in \mathbf{F}^{c,n}Column–row factorizationColumn rank c≥1c \ge 1; the columns of CC are a basis of the column span chosen from the columns of AA
rank⁡A=column rank of A=row rank of A\operatorname{rank} A = \text{column rank of } A = \text{row rank of } ARank of a matrixEvery A∈Fm,nA \in \mathbf{F}^{m,n}

Key Insight: Read A=CRA = CR by columns and each column of AA combines the cc columns of CC; read it by rows and each row of AA combines the cc rows of RR, so row rank ≤c\le c. Applying that to AtA^{\mathrm{t}} gives the reverse inequality.

IIBuilding C and R from Any Matrix

Keep each column of AA not in the span of the kept ones; the kept columns form CC, the coefficients form RR.

IIIOne Product, Read Two Ways

Columns of CRCR combine the columns of CC; rows of CRCR combine the cc rows of RR, which bounds the row rank by cc.

💡 In the 3×33 \times 3 example, three rows of AA lie in the span of only two rows of RR, so the row rank is at most 22 even though m=3m = 3.

IVThe Transpose Swaps Rows and Columns

Column kk of AA becomes row kk of AtA^{\mathrm{t}}, so the column rank of AtA^{\mathrm{t}} is the row rank of AA.

VQuiz Questions

Problem 1 · Compute a Column Rank

Given: A=(1203241736110)∈F3,4A = \begin{pmatrix} 1 & 2 & 0 & 3 \\ 2 & 4 & 1 & 7 \\ 3 & 6 & 1 & 10 \end{pmatrix} \in \mathbf{F}^{3,4}. Find the column rank of AA.

✅ Correct! Columns 11 and 33 form a basis of the column span. The rows agree: row 33 is row 11 plus row 22, and rows 11, 22 are not multiples, so the row rank is 22 as well.
❌ Not quite. 44 is the number of columns, not the dimension of their span. Column 22 is 22 times column 11, so the list is not linearly independent; besides, a subspace of F3,1\mathbf{F}^{3,1} has dimension at most 33.
❌ Not quite. min⁡{3,4}=3\min\{3, 4\} = 3 is only an upper bound. Column 44 equals 3⋅3 \cdot column 11 ++ column 33, so after removing columns 22 and 44 only two columns remain in a basis.
❌ Not quite. Column 1=(1,2,3)t1 = (1, 2, 3)^{\mathrm{t}} and column 3=(0,1,1)t3 = (0, 1, 1)^{\mathrm{t}} are not scalar multiples of each other, so the span has dimension at least 22.
Show solution

Go through the columns, keeping each one that is not in the span of the columns already kept.

  • Column 1=(1,2,3)t1 = (1, 2, 3)^{\mathrm{t}} is nonzero: keep it.
  • Column 2=(2,4,6)t=2⋅2 = (2, 4, 6)^{\mathrm{t}} = 2 \cdot column 11: remove it.
  • Column 3=(0,1,1)t3 = (0, 1, 1)^{\mathrm{t}} is not a multiple of column 11 (its first entry is 00 but it is nonzero): keep it.
  • Column 4=(3,7,10)t=3 (1,2,3)t+(0,1,1)t4 = (3, 7, 10)^{\mathrm{t}} = 3\,(1, 2, 3)^{\mathrm{t}} + (0, 1, 1)^{\mathrm{t}}: remove it.

Columns 11 and 33 are linearly independent and span the column span, so

column rank of A=2.\text{column rank of } A = 2.

Check with rows: (3,6,1,10)=(1,2,0,3)+(2,4,1,7)(3, 6, 1, 10) = (1, 2, 0, 3) + (2, 4, 1, 7), and the first two rows are not multiples of each other, so the row rank is also 22.

Problem 2 · Sizes in A = CR

Given: A∈F5,3A \in \mathbf{F}^{5,3} has column rank 22, and A=CRA = CR is its column–row factorization. Find the sizes of CC and RR.

✅ Correct! CC holds c=2c = 2 basis columns with m=5m = 5 entries each, and RR holds one coefficient column (length 22) for each of the n=3n = 3 columns of AA.
❌ Not quite. The middle size is the column rank c=2c = 2, not n=3n = 3: CC keeps only a basis of the column span, which has length 22.
❌ Not quite. The columns of CC are columns of AA, so each has m=5m = 5 entries: CC is 5×25 \times 2, not 2×52 \times 5. And CC times your RR would not even be defined.
❌ Not quite. RR has one column per column of AA, so it has n=3n = 3 columns. With R∈F2,5R \in \mathbf{F}^{2,5} the product CRCR would be 5×55 \times 5, not 5×35 \times 3.
Show solution

The theorem: if A∈Fm,nA \in \mathbf{F}^{m,n} has column rank c≥1c \ge 1, then A=CRA = CR with C∈Fm,cC \in \mathbf{F}^{m,c} and R∈Fc,nR \in \mathbf{F}^{c,n}.

  • CC: its cc columns are a basis of the span of the columns of AA, each an element of Fm,1\mathbf{F}^{m,1}. So CC is m×c=5×2m \times c = 5 \times 2.
  • RR: column kk of RR lists the cc coefficients that express column kk of AA in the columns of CC, for k=1,…,nk = 1, \dots, n. So RR is c×n=2×3c \times n = 2 \times 3.

Size check: (5×2)(2×3)=5×3(5 \times 2)(2 \times 3) = 5 \times 3, the size of AA.

Problem 3 · Find R

Given: A=(315−12140)A = \begin{pmatrix} 3 & 1 & 5 & -1 \\ 2 & 1 & 4 & 0 \end{pmatrix}, and C=(3121)C = \begin{pmatrix} 3 & 1 \\ 2 & 1 \end{pmatrix} is formed from its first two columns. Find the matrix RR with A=CRA = CR.

✅ Correct! Column 33: 1 (3,2)t+2 (1,1)t=(5,4)t1\,(3, 2)^{\mathrm{t}} + 2\,(1, 1)^{\mathrm{t}} = (5, 4)^{\mathrm{t}}. Column 44: −1 (3,2)t+2 (1,1)t=(−1,0)t-1\,(3, 2)^{\mathrm{t}} + 2\,(1, 1)^{\mathrm{t}} = (-1, 0)^{\mathrm{t}}.
❌ Not quite. Row 11 of RR holds the coefficients of column 11 of CC. With your column 33: 2 (3,2)t+1 (1,1)t=(7,5)t≠(5,4)t2\,(3, 2)^{\mathrm{t}} + 1\,(1, 1)^{\mathrm{t}} = (7, 5)^{\mathrm{t}} \ne (5, 4)^{\mathrm{t}}.
❌ Not quite. Check column 44: 1 (3,2)t+2 (1,1)t=(5,4)t1\,(3, 2)^{\mathrm{t}} + 2\,(1, 1)^{\mathrm{t}} = (5, 4)^{\mathrm{t}}, not (−1,0)t(-1, 0)^{\mathrm{t}}. The coefficient of column 11 of CC must be −1-1.
❌ Not quite. These are the right numbers in the wrong shape: this is RtR^{\mathrm{t}}. RR must be c×n=2×4c \times n = 2 \times 4, with the coefficients for column kk of AA written as column kk of RR.
Show solution

The columns (3,2)t(3, 2)^{\mathrm{t}} and (1,1)t(1, 1)^{\mathrm{t}} are not multiples of each other, so they are linearly independent; they span F2,1\mathbf{F}^{2,1}, and the column rank of AA is 22. Column kk of RR holds the coefficients a,ba, b with a (3,2)t+b (1,1)t=A⋅,ka\,(3, 2)^{\mathrm{t}} + b\,(1, 1)^{\mathrm{t}} = A_{\cdot,k}.

  • Columns 11 and 22 of AA are the columns of CC: coefficients (1,0)(1, 0) and (0,1)(0, 1).
  • Column 33: 3a+b=53a + b = 5, 2a+b=42a + b = 4. Subtracting gives a=1a = 1, then b=2b = 2.
  • Column 44: 3a+b=−13a + b = -1, 2a+b=02a + b = 0. Subtracting gives a=−1a = -1, then b=2b = 2.
A=(3121)(101−10122)A = \begin{pmatrix} 3 & 1 \\ 2 & 1 \end{pmatrix}\begin{pmatrix} 1 & 0 & 1 & -1 \\ 0 & 1 & 2 & 2 \end{pmatrix}

Row check: row 11 of AA is 3 (1,0,1,−1)+1 (0,1,2,2)=(3,1,5,−1)3\,(1, 0, 1, -1) + 1\,(0, 1, 2, 2) = (3, 1, 5, -1) ✓.

Problem 4 · What Must Be True?

Given: A∈F4,6A \in \mathbf{F}^{4,6} is any 4×64 \times 6 matrix. Which statement must be true?

✅ Correct! The column rank is at most min⁡{4,6}=4\min\{4, 6\} = 4. If the 66 columns were linearly independent they would be a basis of their span, forcing the column rank to be 66.
❌ Not quite. Nothing forces that: the zero matrix in F4,6\mathbf{F}^{4,6} has row rank 00. The row rank can be anything from 00 to 44.
❌ Not quite. The row span is spanned by 44 rows, so its dimension is at most 44. Rows living in F1,6\mathbf{F}^{1,6} only gives the weaker bound 66.
❌ Not quite. AtA^{\mathrm{t}} has only 44 columns, so its column rank is at most 44. In fact the column rank of AtA^{\mathrm{t}} equals the row rank of AA, which is at most 44.
Show solution

Here m=4m = 4 and n=6n = 6. Both ranks are at most min⁡{m,n}=4\min\{m, n\} = 4:

  • the column span is a subspace of F4,1\mathbf{F}^{4,1}, which has dimension 44;
  • the row span is spanned by the 44 rows, and a spanning list is at least as long as the dimension.

(d) If the 66 columns were linearly independent, they would form a basis of their span, and the column rank would be 6>46 > 4. So they are linearly dependent, for every A∈F4,6A \in \mathbf{F}^{4,6}.

(a) fails for A=0A = 0. (b) fails because row rank ≤4\le 4. (c) fails because the columns of AtA^{\mathrm{t}} are the rows of AA written as columns, so the column rank of AtA^{\mathrm{t}} is the row rank of AA, at most 44.

Solved: 0 / 4