Column and Null Spaces of Matrices


Column and Null Spaces of Matrices

Hope
Welcome back, Maria. Today we're going to tie together a lot of matrix ideas—column spaces, null spaces, linear independence, and bases. Let's start with a specific matrix A that has four column vectors in R3.

Maria
Okay. And the column space is just the span of those column vectors, right? So for A, it's the span of v1, v2, v3, and v4. That's straightforward, but we don't know if they're independent or if they form a basis.

Hope
Exactly. And independence is tied to the null space. If the null space only contains the zero vector, the columns are independent. So we need to find the null space of A. A shortcut is to put A into reduced row echelon form—that gives the same null space.

Maria
Right, because solving Ax=0 just depends on the row operations. So let's do that: we row reduce A to RREF. The first pivot is in column 1, and after some operations we get a second pivot in column 2. The third and fourth columns don't have pivots.

Hope
That means x3 and x4 are free variables. From the RREF, we can write x1 = -3x3 - 2x4 and x2 = 2x3 + x4. So the null space consists of all linear combinations of two vectors: (-3,2,1,0) and (-2,1,0,1). That's definitely more than just the zero vector.

Maria
So the null space has non-zero vectors, which means the columns of A are linearly dependent. And that makes sense: we have four vectors in R3, so they have to be dependent.

Hope
Precisely. And because they're dependent, they don't form a basis for the column space. But they do span it. To get a basis, we need to throw out the redundant vectors—the ones that can be written as combinations of the others.

Maria
How do we find which ones are redundant? I think it's connected to the free variables. Each free variable corresponds to a column that can be expressed in terms of the pivot columns.

Hope
Exactly. For our matrix, the pivot columns are the first two. So let's see if v3 (associated with free variable x3) can be written as a combination of v1 and v2. We can set x4=0 and x3=-1, then solve for x1 and x2 using the null space equations.

Maria
If x4=0 and x3=-1, then x1 = -3(-1) - 2(0) = 3, and x2 = 2(-1) + 0 = -2. So 3*v1 - 2*v2 should equal v3. Let me check: (3-2,6-2,9-8) = (1,4,1)—yes, it works!

Hope
Great. Similarly, we can set x3=0 and x4=-1 to get x1 = 2, x2 = -1, so 2*v1 - v2 = v4. That checks out. So both v3 and v4 are linear combinations of v1 and v2. They are redundant.

Maria
So the column space is actually just the span of v1 and v2. And are v1 and v2 linearly independent? They're not scalar multiples of each other, so they are independent. That makes them a basis for the column space.

Hope
Right. A basis means the set spans the space and is linearly independent. Here, {v1, v2} does both. So the column space of A is a 2-dimensional subspace of R3—a plane through the origin.

Maria
And we can visualize that plane. In the next video, we'll probably sketch it out. But for now, the big takeaway is how null space tells us about independence, and how pivot columns give a basis for the column space.

Hope
Exactly. So to sum up: we found the column space by spanning the columns, used RREF to get the null space, saw free variables meant dependency, then used the null space equations to express dependent columns in terms of pivot columns, giving us a basis.

Maria
It's a clean method: the pivot columns from the original matrix always form a basis for the column space. No need to guess—just row reduce, identify the pivots, and take those original columns.

Hope
And that's what we did here. So next time we'll look at the geometry of that plane. Until then, keep practicing!

Ask anything
We've read this whole study set, so questions about it get the best answers.