LINEAR-ALGEBRA Β· Unit 5 Β· Video 4 Β· Interactive Practice

The Column Space of a Matrix

IKey Formulas

Formula Name Description
Ax=x1a1+x2a2+β‹―+xnanA\mathbf{x} = x_1\mathbf{a}_1 + x_2\mathbf{a}_2 + \cdots + x_n\mathbf{a}_n Column view of AxA\mathbf{x} Matrix-vector product as linear combination of columns
C(A)={b:b=AxΒ forΒ someΒ x}C(A) = \{\mathbf{b} : \mathbf{b} = A\mathbf{x} \text{ for some } \mathbf{x}\} Column space Set of all reachable outputs of AA
Ax=bA\mathbf{x} = \mathbf{b} is solvable β€…β€ŠβŸΊβ€…β€Š\iff b∈C(A)\mathbf{b} \in C(A) Solvability theorem Solution exists iff b\mathbf{b} is in the column space
C(A)βŠ†RmC(A) \subseteq \mathbb{R}^m for AA of size mΓ—nm \times n Ambient space Column space lives in Rm\mathbb{R}^m (the row count)

IIVisualization 1 β€” Ax as a Combination of Columns

Every output Ax=x1a1+x2a2A\mathbf{x} = x_1\mathbf{a}_1 + x_2\mathbf{a}_2 is the columns scaled and added tip-to-tail.

πŸ’‘ The column space is a subspace: it always contains 0\mathbf{0} (set both weights to zero).

IIIVisualization 2 β€” When the Span Collapses

Independent columns fill the plane; align a2\mathbf{a}_2 with a1\mathbf{a}_1 and C(A)C(A) collapses to a line.

πŸ’‘ 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.

IVVisualization 3 β€” Is b Reachable?

Ax=bA\mathbf{x} = \mathbf{b} is solvable exactly when b\mathbf{b} lies in the column space C(A)C(A).

πŸ’‘ These columns are dependent, so C(A)C(A) is only a line β€” most targets b\mathbf{b} are unreachable.

VQuiz Questions

Question 1

Which of the following best describes the column space C(A)C(A) of a matrix AA?

βœ… Correct! The column space is exactly the span of the columns β€” all possible linear combinations.

❌ Not quite.

Show solution

Solution: The set of all linear combinations of the columns of AA.

The column space is defined as: C(A)={x1a1+x2a2+β‹―+xnan∣xi∈R}={Ax∣x∈Rn}C(A) = \{x_1\mathbf{a}_1 + x_2\mathbf{a}_2 + \cdots + x_n\mathbf{a}_n \mid x_i \in \mathbb{R}\} = \{A\mathbf{x} \mid \mathbf{x} \in \mathbb{R}^n\}

Why the others are wrong:

  • "The set of columns" β€” That's only nn individual vectors. C(A)C(A) is the span of those vectors, which includes infinitely many linear combinations.
  • "Solutions to Ax=0A\mathbf{x} = \mathbf{0}" β€” That's the null space N(A)N(A), a completely different subspace.
  • "All vectors in Rn\mathbb{R}^n" β€” The column space lives in Rm\mathbb{R}^m (not Rn\mathbb{R}^n), and it's usually a proper subspace, not all of Rm\mathbb{R}^m.

Question 2

True or False: The column space of a 4Γ—34 \times 3 matrix is a subspace of R3\mathbb{R}^3.

βœ… Correct! The columns have 4 entries, so they live in R⁴. The column space is a subspace of R⁴, not RΒ³.

❌ Not quite. Think carefully: how many entries does each column vector have?

Show solution

Answer: False

A 4Γ—34 \times 3 matrix has 4 rows and 3 columns. Each column is a vector with 4 entries, so each column lives in R4\mathbb{R}^4.

Since C(A)C(A) is the span of these columns, we have C(A)βŠ†R4C(A) \subseteq \mathbb{R}^4, not R3\mathbb{R}^3.

Key rule: For an mΓ—nm \times n matrix, the column space lives in Rm\mathbb{R}^m (determined by the number of rows). The number of columns nn limits the dimension of C(A)C(A) to at most nn, but the ambient space is always Rm\mathbb{R}^m.

Question 3

For A=[132341]A = \begin{bmatrix} 1 & 3 \\ 2 & 3 \\ 4 & 1 \end{bmatrix}, which of the following vectors b\mathbf{b} makes Ax=bA\mathbf{x} = \mathbf{b} solvable?

Hint: try to write each b\mathbf{b} as x1(1,2,4)+x2(3,3,1)x_1(1,2,4) + x_2(3,3,1).

βœ… Correct! With x = (1, 1) we get 1Β·(1,2,4) + 1Β·(3,3,1) = (4,5,5).

❌ Not quite. Try plugging each option into the system and check whether the third equation causes a contradiction.

Show solution

Answer: b = (4, 5, 5)

We need b=x1(1,2,4)+x2(3,3,1)\mathbf{b} = x_1(1,2,4) + x_2(3,3,1). Try x1=1,β€…β€Šx2=1x_1 = 1,\; x_2 = 1:

1β‹…(124)+1β‹…(331)=(1+32+34+1)=(455)β€…β€Šβœ“1 \cdot \begin{pmatrix}1\\2\\4\end{pmatrix} + 1 \cdot \begin{pmatrix}3\\3\\1\end{pmatrix} = \begin{pmatrix}1+3\\2+3\\4+1\end{pmatrix} = \begin{pmatrix}4\\5\\5\end{pmatrix} \;\checkmark

For the other choices, the system leads to a contradiction. For example, b=(0,0,1)\mathbf{b} = (0,0,1):

  • From eq. 1 and eq. 2: x1=0,β€…β€Šx2=0x_1 = 0,\; x_2 = 0.
  • Eq. 3: 4(0)+1(0)=0β‰ 14(0) + 1(0) = 0 \neq 1. Contradiction β€” no solution.

Geometrically, (4,5,5)(4,5,5) lies on the column space plane while the others do not.

Question 4

A 3Γ—23 \times 2 matrix has two nonzero columns that are scalar multiples of each other (a2=k a1\mathbf{a}_2 = k\,\mathbf{a}_1 for some kβ‰ 0k \neq 0). What is C(A)C(A)?

βœ… Correct! Dependent columns collapse the column space β€” every combination points along one direction.

❌ Not quite.

Show solution

Answer: A line through the origin in RΒ³

If a2=k a1\mathbf{a}_2 = k\,\mathbf{a}_1, every linear combination simplifies:

x1a1+x2a2=x1a1+x2 k a1=(x1+kx2) a1x_1\mathbf{a}_1 + x_2\mathbf{a}_2 = x_1\mathbf{a}_1 + x_2\,k\,\mathbf{a}_1 = (x_1 + kx_2)\,\mathbf{a}_1

No matter what x1,x2x_1, x_2 you choose, the result is always a scalar multiple of a1\mathbf{a}_1. That traces out a line through the origin.

Why the others are wrong:

  • Plane β€” A plane needs two independent columns. Dependent columns collapse one dimension.
  • All of RΒ³ β€” Even two independent columns in RΒ³ only span a plane, never all of RΒ³.
  • Just the zero vector β€” Since a1β‰ 0\mathbf{a}_1 \neq \mathbf{0}, the span includes the full line, not just the origin.

Solved: 0 / 4