Finding a Basis
for a Subspace
Learn how to identify a minimal spanning set of linearly independent vectors that defines any subspace in \(\mathbb{R}^n\).
What Is a Subspace?
A subspace \(W\) of \(\mathbb{R}^n\) is a set of vectors that is closed under addition and scalar multiplication and contains the zero vector \(\mathbf{0}\).
What Is a Basis?
A basis for a subspace \(W\) is a set of vectors \(\{\mathbf{v}_1, \mathbf{v}_2, \dots, \mathbf{v}_k\}\) that satisfies two conditions simultaneously:
Visualizing a Basis in \(\mathbb{R}^2\)
The Basis Theorem
Finding a Basis via Row Reduction
The most common method: place the vectors as rows of a matrix, reduce to row echelon form, and read off the nonzero rows.
Spanning Set vs. Basis vs. Lin. Independent
| Spanning Set | Basis | Lin. Independent | |
|---|---|---|---|
| Spans \(W\)? | ✓ Yes | ✓ Yes | ✕ Maybe not |
| Lin. Independent? | ✕ Maybe not | ✓ Yes | ✓ Yes |
| Minimal? | May have extras | ✓ Exactly right | May be too few |
| Size | \(\geq \dim(W)\) | \(= \dim(W)\) | \(\leq \dim(W)\) |
How to Find a Basis: Step by Step
Example 1: Basis for Row Space
Find a basis for the row space of $$A = \begin{pmatrix} 1 & 2 & 3 \\ 2 & 4 & 6 \\ 0 & 1 & 1 \end{pmatrix}$$
Example 2: Basis for Column Space
Find a basis for the column space of $$B = \begin{pmatrix} 1 & 3 & 5 \\ 2 & 6 & 10 \\ 1 & 4 & 7 \end{pmatrix}$$
Example 3: Basis for the Null Space
Find a basis for \(\text{Nul}(A)\) where \(A = \begin{pmatrix} 1 & 2 & 1 \\ 2 & 4 & 2 \end{pmatrix}\).
Three Fundamental Subspaces
The Standard Basis for \(\mathbb{R}^n\)
The simplest basis for \(\mathbb{R}^n\) is the set of standard unit vectors:
Which Approach to Use?
| Goal | Method | Key Step |
|---|---|---|
| Basis for Row Space | Row reduce, take nonzero rows | Use echelon rows |
| Basis for Column Space | Row reduce, find pivot columns | Use original columns |
| Basis for Null Space | Solve \(A\mathbf{x} = \mathbf{0}\) | Parametrize free variables |
| Basis for Span of vectors | Vectors as rows, row reduce | Discard zero rows |
Common Mistakes to Avoid
Question 1 of 5
A basis for a subspace must satisfy which two properties?
Question 2 of 5
After row reducing a matrix to echelon form, you find 3 nonzero rows and 2 zero rows. What is the dimension of the row space?
Question 3 of 5
To find a basis for the column space of a matrix \(A\), after row reducing you should:
Question 4 of 5
A \(4 \times 6\) matrix \(A\) has rank 3. By the Rank-Nullity Theorem, what is \(\dim(\text{Nul}(A))\)?
Question 5 of 5
Which of the following sets is a basis for \(\mathbb{R}^2\)?