LINEAR-ALGEBRA Β· Unit 11 Β· Video 3 Β· Interactive Practice

Rank-One Matrices: The Building Blocks

IKey Formulas

Formula Name Description
A=uvTA = \mathbf{u}\mathbf{v}^T Outer product Column Γ—\times row β†’\to matrix
Aij=uiβ‹…vjA_{ij} = u_i \cdot v_j Entry formula Each entry is the product of corresponding components
A=βˆ‘k=1rukvkTA = \sum_{k=1}^{r} \mathbf{u}_k \mathbf{v}_k^T Rank decomposition A rank-rr matrix is a sum of rr rank-one matrices
rank(A+B)≀rank(A)+rank(B)\text{rank}(A + B) \leq \text{rank}(A) + \text{rank}(B) Rank inequality The rank of a sum cannot exceed the sum of ranks

IIVisualization 1 β€” The Outer Product Table

Every entry of A=uvTA = \mathbf{u}\mathbf{v}^T is a single product: Aij=uiΓ—vjA_{ij} = u_i \times v_j.

Every row of AA is a multiple of vT\mathbf{v}^T and every column a multiple of u\mathbf{u} β€” that single-direction structure is exactly what rank one means.

IIIVisualization 2 β€” Columns and Rows Collapse to Lines

For A=uvTA = \mathbf{u}\mathbf{v}^T, every column is a multiple of u\mathbf{u} and every row a multiple of v\mathbf{v}.

Send u\mathbf{u} or v\mathbf{v} to the origin and AA becomes the zero matrix β€” rank 00, and both lines disappear.

IVVisualization 3 β€” When Does Rank Add Up?

Adding two rank-one matrices, rank(M1+M2)\text{rank}(M_1 + M_2) can hit the bound 22 β€” or fall below it.

Since the sum can land at rank 00, 11, or 22, rank-one matrices are not closed under addition β€” they do not form a subspace.

VQuiz Questions

Question 1 Β· Outer Product Entry

Given u=[3βˆ’1]\mathbf{u} = \begin{bmatrix} 3 \\ -1 \end{bmatrix} and vT=[24]\mathbf{v}^T = \begin{bmatrix} 2 & 4 \end{bmatrix}, what is entry (2,1)(2, 1) of the matrix A=uvTA = \mathbf{u}\mathbf{v}^T?

βœ… Correct! Entry (2,1) = uβ‚‚ Β· v₁ = (βˆ’1)(2) = βˆ’2.

❌ Not quite. Remember: entry (i,j) = uα΅’ Γ— vβ±Ό. For position (2,1), use uβ‚‚ = βˆ’1 and v₁ = 2.

Show solution

Solution:

Entry (i,j)(i, j) of A=uvTA = \mathbf{u}\mathbf{v}^T is uiβ‹…vju_i \cdot v_j.

For entry (2,1)(2, 1): u2β‹…v1=(βˆ’1)Γ—2=βˆ’2u_2 \cdot v_1 = (-1) \times 2 = -2

The full matrix: A=[3βˆ’1][24]=[3Γ—23Γ—4(βˆ’1)Γ—2(βˆ’1)Γ—4]=[612βˆ’2βˆ’4]A = \begin{bmatrix} 3 \\ -1 \end{bmatrix} \begin{bmatrix} 2 & 4 \end{bmatrix} = \begin{bmatrix} 3 \times 2 & 3 \times 4 \\ (-1) \times 2 & (-1) \times 4 \end{bmatrix} = \begin{bmatrix} 6 & 12 \\ -2 & -4 \end{bmatrix}

Common mistakes:

  • Choosing 6 means you used entry (1,1)=u1β‹…v1(1,1) = u_1 \cdot v_1 β€” wrong row
  • Choosing 12 means you used entry (1,2)=u1β‹…v2(1,2) = u_1 \cdot v_2 β€” wrong row and column
  • Choosing -4 means you used entry (2,2)=u2β‹…v2(2,2) = u_2 \cdot v_2 β€” wrong column

Question 2 Β· Subspace Property

True or False: The set of all 2Γ—22 \times 2 rank-one matrices forms a subspace of the vector space of all 2Γ—22 \times 2 matrices.

βœ… Correct! Rank-one matrices are not closed under addition, so they cannot form a subspace.

❌ Not quite. Consider adding [[1,0],[0,0]] and [[0,0],[0,1]]. What rank does the sum have?

Show solution

Solution: False.

Rank-one matrices are not closed under addition, which is required for a subspace.

Counterexample:

M1=[1000]β€…β€Š(rankΒ 1),M2=[0001]β€…β€Š(rankΒ 1)M_1 = \begin{bmatrix} 1 & 0 \\ 0 & 0 \end{bmatrix} \;\text{(rank 1)}, \qquad M_2 = \begin{bmatrix} 0 & 0 \\ 0 & 1 \end{bmatrix} \;\text{(rank 1)}

M1+M2=[1001]=I2β€…β€Š(rankΒ 2,Β notΒ rankΒ 1!)M_1 + M_2 = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = I_2 \;\text{(rank 2, not rank 1!)}

Since the sum of two rank-one matrices can have rank 2, the set fails the closure-under-addition requirement for a subspace.

(Note: the set also doesn't contain the zero matrix, which has rank 0, not rank 1.)

Question 3 Β· Rank after Cancellation

Matrix AA has rank 3. Let B=βˆ’AB = -A. What is rank(A+B)\text{rank}(A + B)?

βœ… Correct! A + (βˆ’A) = 0, the zero matrix, which has rank 0. The rank inequality permits dramatic cancellation.

❌ Not quite. What is A + (βˆ’A)? And what is the rank of that resulting matrix?

Show solution

Solution:

A+B=A+(βˆ’A)=0A + B = A + (-A) = \mathbf{0}

The zero matrix has rank 0 β€” it has no nonzero columns at all.

This shows the rank inequality can be extremely strict:

rank(A+B)=0β€…β€Šβ‰ͺβ€…β€Šrank(A)+rank(B)=3+3=6\text{rank}(A + B) = 0 \;\ll\; \text{rank}(A) + \text{rank}(B) = 3 + 3 = 6

The upper bound allows rank up to 6, but the actual rank is 0. Complete cancellation is always possible when B=βˆ’AB = -A, regardless of what AA looks like.

Question 4 Β· Rank-One Decomposition

A 10Γ—1010 \times 10 matrix AA has rank 4. What is the minimum number of rank-one matrices needed to write AA as their sum?

βœ… Correct! A rank-r matrix decomposes into exactly r rank-one pieces, regardless of the matrix dimensions.

❌ Not quite. The number of rank-one pieces equals the rank, not the matrix size or number of entries.

Show solution

Solution:

A matrix of rank rr decomposes into exactly rr rank-one matrices β€” no fewer.

Since rank(A)=4\text{rank}(A) = 4:

A=u1v1T+u2v2T+u3v3T+u4v4TA = \mathbf{u}_1\mathbf{v}_1^T + \mathbf{u}_2\mathbf{v}_2^T + \mathbf{u}_3\mathbf{v}_3^T + \mathbf{u}_4\mathbf{v}_4^T

The matrix dimensions (10Γ—10=10010 \times 10 = 100 entries) are irrelevant β€” only the rank determines the count. The specific vectors uk,vk\mathbf{u}_k, \mathbf{v}_k are not unique (many valid decompositions exist), but the minimum number of rank-one pieces always equals the rank.

  • 1 is too few (would give a rank-1 matrix, not rank 4)
  • 10 confuses the matrix dimension with the rank
  • 100 confuses the number of entries with the rank

Solved: 0 / 4