LINEAR-ALGEBRA Β· Unit 6 Β· Video 2 Β· Interactive Practice

Column Space of a Matrix

IKey Formulas

Formula Name Description
Ax=x1a1+x2a2+β‹―+xnanAx = x_1\mathbf{a}_1 + x_2\mathbf{a}_2 + \cdots + x_n\mathbf{a}_n Matrix-vector product AxAx is a linear combination of AA's columns
C(A)={Ax:x∈Rn}C(A) = \{Ax : x \in \mathbb{R}^n\} Column space Set of all possible output vectors
rank(A)=dim⁑C(A)\text{rank}(A) = \dim C(A) Rank Equals the number of pivot (independent) columns
Ax=bAx = b solvable β€…β€ŠβŸΊβ€…β€Šb∈C(A)\iff b \in C(A) Solvability bb must lie in the column space

IIVisualization 1 β€” The Redundant Column

The third column a3=a1+a2\mathbf{a}_3 = \mathbf{a}_1 + \mathbf{a}_2 adds no new reach β€” its weight redistributes onto the first two.

πŸ’‘ For the video's AA with a1=(1,2,3,4)\mathbf{a}_1=(1,2,3,4), a2=(1,1,1,1)\mathbf{a}_2=(1,1,1,1), a3=(2,3,4,5)=a1+a2\mathbf{a}_3=(2,3,4,5)=\mathbf{a}_1+\mathbf{a}_2, replacing x3a3x_3\mathbf{a}_3 by x3a1+x3a2x_3\mathbf{a}_1+x_3\mathbf{a}_2 gives weights x1β€²=x1+x3x_1'=x_1+x_3, x2β€²=x2+x3x_2'=x_2+x_3. The axes are coordinates inside C(A)C(A), measured against the pivot columns a1,a2\mathbf{a}_1,\mathbf{a}_2.

IIIVisualization 2 β€” Seeing the Column Space

Two independent columns fill the whole plane; slide a2\mathbf{a}_2 parallel to a1\mathbf{a}_1 and C(A)C(A) collapses to a line.

πŸ’‘ A 2-D stand-in for the video's plane in R4\mathbb{R}^4. Challenge: move a2\mathbf{a}_2 until det⁑[ a1Β Β a2 ]=0\det[\,\mathbf{a}_1\ \ \mathbf{a}_2\,]=0 β€” the instant the plane becomes a line, and a3=a1+a2\mathbf{a}_3=\mathbf{a}_1+\mathbf{a}_2 collapses onto it too.

IVVisualization 3 β€” Is b Reachable?

Ax=bA\mathbf{x}=\mathbf{b} is solvable exactly when b\mathbf{b} lands on the column-space line β€” predict, then reveal.

πŸ’‘ These columns are dependent (a2=2a1\mathbf{a}_2 = 2\mathbf{a}_1), so C(A)C(A) is only a line and most targets are unreachable β€” the same reasoning that left b=(0,0,0,1)\mathbf{b}=(0,0,0,1) outside the video's rank-2 column space.

VQuiz Questions

Question 1

When you compute the matrix-vector product AxAx, the result is best described as:

βœ… Correct! Each entry of x weights one column of A, and the output is their weighted sum.

❌ Not quite. Think about what each entry of x does β€” it scales one column of A.

Show solution

Solution:

The matrix-vector product AxAx equals: Ax=x1a1+x2a2+β‹―+xnanAx = x_1\mathbf{a}_1 + x_2\mathbf{a}_2 + \cdots + x_n\mathbf{a}_n

Each entry xix_i acts as a weight on column ai\mathbf{a}_i. The result is a linear combination of the columns of AA, with xx providing the weights. This is the fundamental column-space interpretation of matrix multiplication.

Question 2

The video's matrix AA is 4Γ—34 \times 3 with columns a1,a2,a3\mathbf{a}_1, \mathbf{a}_2, \mathbf{a}_3 where a3=a1+a2\mathbf{a}_3 = \mathbf{a}_1 + \mathbf{a}_2. What is dim⁑C(A)\dim C(A)?

βœ… Correct! Only 2 of the 3 columns are independent, so the column space is 2-dimensional.

❌ Common mistake! Having 3 columns does not mean dim = 3. Column 3 is dependent β€” it's the freeloader!

❌ Not quite. Count the linearly independent columns of A.

Show solution

Solution: dim C(A) = 2

AA has 3 columns, but a3=a1+a2\mathbf{a}_3 = \mathbf{a}_1 + \mathbf{a}_2 means column 3 is linearly dependent. Only columns 1 and 2 are independent β€” these are the pivot columns.

dim⁑C(A)=rank(A)=number of pivot columns=2\dim C(A) = \text{rank}(A) = \text{number of pivot columns} = \boxed{2}

Key lesson: The number of columns does NOT determine the dimension. Only independent columns count!

Question 3

True or False: If AA is a 5Γ—45 \times 4 matrix with rank(A)=3\text{rank}(A) = 3, then Ax=bAx = b is solvable for every b∈R5\mathbf{b} \in \mathbb{R}^5.

βœ… Correct! Rank 3 < 5 rows, so C(A) doesn't fill all of R⁡. Most b vectors are unreachable.

❌ Think again. Compare rank to the number of rows. Does the column space fill all of R⁡?

Show solution

Solution: False

For Ax=bAx = b to be solvable for every b∈R5\mathbf{b} \in \mathbb{R}^5, the column space must fill all of R5\mathbb{R}^5: rank(A)=m=5(full row rank)\text{rank}(A) = m = 5 \quad \text{(full row rank)}

But rank=3<5=m\text{rank} = 3 < 5 = m. The column space C(A)C(A) is only a 3-dimensional subspace of R5\mathbb{R}^5. Most vectors in R5\mathbb{R}^5 lie outside this subspace and are unreachable.

There are 5βˆ’3=25 - 3 = 2 constraints that b\mathbf{b} must satisfy for the system to be solvable.

Question 4

For the matrix A=[112213314415]A = \begin{bmatrix} 1 & 1 & 2 \\ 2 & 1 & 3 \\ 3 & 1 & 4 \\ 4 & 1 & 5 \end{bmatrix}, which vector is NOT in the column space C(A)C(A)?

βœ… Correct! As shown in the video, (0,0,0,1) leads to a contradiction β€” it floats off the column space plane.

❌ Not quite. Try writing each vector as x₁(1,2,3,4) + xβ‚‚(1,1,1,1) and check for contradictions.

Show solution

Solution: (0, 0, 0, 1)

Since rank = 2 with pivot columns a1\mathbf{a}_1 and a2\mathbf{a}_2, we need b=x1(1,2,3,4)+x2(1,1,1,1)\mathbf{b} = x_1(1,2,3,4) + x_2(1,1,1,1).

Check (0, 0, 0, 1):

  • Row 1: x1+x2=0β€…β€ŠβŸΉβ€…β€Šx2=βˆ’x1x_1 + x_2 = 0 \implies x_2 = -x_1
  • Row 2: 2x1+x2=0β€…β€ŠβŸΉβ€…β€Šx1=02x_1 + x_2 = 0 \implies x_1 = 0, so x2=0x_2 = 0
  • Row 4: 4(0)+1(0)=0β‰ 14(0) + 1(0) = 0 \neq 1 β€” Contradiction! ❌

The other three are all in C(A)C(A):

  • (1,2,3,4)=1β‹…a1+0β‹…a2(1,2,3,4) = 1\cdot\mathbf{a}_1 + 0\cdot\mathbf{a}_2 βœ“
  • (2,3,4,5)=1β‹…a1+1β‹…a2(2,3,4,5) = 1\cdot\mathbf{a}_1 + 1\cdot\mathbf{a}_2 βœ“
  • (0,βˆ’1,βˆ’2,βˆ’3)=(βˆ’1)β‹…a1+1β‹…a2(0,-1,-2,-3) = (-1)\cdot\mathbf{a}_1 + 1\cdot\mathbf{a}_2 βœ“

Solved: 0 / 4