Subspaces &
Subspace Tests
Learn how to identify subspaces of vector spaces using the three-condition test and see why closure under addition and scalar multiplication is the key idea.
What Is a Vector Space?
A vector space \(V\) over a field \(\mathbb{F}\) is a set equipped with two operations: vector addition and scalar multiplication, satisfying ten axioms (associativity, commutativity, distributivity, existence of zero, etc.).
What Is a Subspace?
A subspace \(W\) of a vector space \(V\) is a non-empty subset that is itself a vector space under the same operations inherited from \(V\). In other words, \(W \subseteq V\) and \(W\) "lives inside" \(V\) while obeying all the same rules.
Why Do Subspaces Matter?
Subspaces appear everywhere in linear algebra. Every time you solve a system \(A\mathbf{x} = \mathbf{0}\), the set of solutions forms a subspace. Understanding subspaces helps you analyze null spaces, column spaces, eigenspaces, and more.
The Subspace Test
To prove that a non-empty subset \(W \subseteq V\) is a subspace, verify three conditions:
Visualizing the Three Conditions
Subspace vs. Subset
Every subspace is a subset, but not every subset is a subspace. The difference is algebraic structure: a subspace must respect the vector space operations.
| Subspace | Arbitrary Subset | |
|---|---|---|
| Contains \(\mathbf{0}\) | Always | Not necessarily |
| Closed under \(+\) | Yes | Not guaranteed |
| Closed under \(c \cdot\) | Yes | Not guaranteed |
| Example in \(\mathbb{R}^2\) | Line through origin | A circle of radius 1 |
The Two-in-One Shortcut
You can combine conditions 2 and 3 into a single test. If \(W\) is non-empty, then \(W\) is a subspace if and only if for all \(\mathbf{u}, \mathbf{v} \in W\) and all scalars \(c, d \in \mathbb{F}\):
This is called closure under linear combinations. Setting \(c = d = 0\) automatically gives \(\mathbf{0} \in W\), so you don't need to check condition 1 separately.
How to Apply the Test
Example 1: Is This a Subspace?
Let \(W = \{(x, y, z) \in \mathbb{R}^3 : x + 2y - z = 0\}\). Is \(W\) a subspace of \(\mathbb{R}^3\)?
Example 2: Not a Subspace
Let \(S = \{(x, y) \in \mathbb{R}^2 : x + y = 1\}\). Is \(S\) a subspace of \(\mathbb{R}^2\)?
Example 3: A Trickier Case
Let \(W = \{(x, y) \in \mathbb{R}^2 : xy \ge 0\}\). This is the set of all points in the first and third quadrants (including axes). Is \(W\) a subspace?
Classic Subspaces of \(\mathbb{R}^n\)
Span Is Always a Subspace
If \(\mathbf{v}_1, \mathbf{v}_2, \ldots, \mathbf{v}_k \in V\), then \(\text{span}(\mathbf{v}_1, \ldots, \mathbf{v}_k)\) is always a subspace of \(V\). Here's why:
Common Mistakes
Summary Table
| Candidate Set | \(\mathbf{0} \in W\)? | Closed \(+\)? | Closed \(c \cdot\)? | Subspace? |
|---|---|---|---|---|
| \(\{(x,y,z):x+2y-z=0\}\) | ✓ | ✓ | ✓ | Yes |
| \(\{(x,y):x+y=1\}\) | ✕ | -- | -- | No |
| \(\{(x,y):xy \ge 0\}\) | ✓ | ✕ | ✓ | No |
| \(\text{span}(\mathbf{v}_1,\ldots,\mathbf{v}_k)\) | ✓ | ✓ | ✓ | Always |
Question 1 of 5
Which of the following is always a subspace of \(\mathbb{R}^n\)?
Question 2 of 5
Let \(W = \{(x,y,z) \in \mathbb{R}^3 : 3x - y + 4z = 0\}\). Which condition does not need a separate check if you use the "closure under linear combinations" shortcut?
Question 3 of 5
The set \(S = \{(x,y) \in \mathbb{R}^2 : y = x^2\}\) is not a subspace. Which condition fails first?
Question 4 of 5
Which of these is a subspace of \(\mathbb{R}^3\)?
Question 5 of 5
To disprove that a set \(W\) is a subspace, what is the most efficient strategy?