MTH 210 · Linear Algebra
Our notes
2 min readDefinition
A subset W of a vector space V is a subspace if W is itself a vector space with the same operations.
The subspace test
W is a subspace of V if and only if:
- W is not empty (usually: 0 is in W),
- u, v in W ⟹ u + v in W,
- u in W, α in ℝ ⟹ αu in W.
(Equivalently: 0 ∈ W and αu + βv ∈ W for all u, v ∈ W.)
Worked example. W = {(x, y, z) : x − 2y + z = 0} in ℝ³. (0, 0, 0) satisfies it. If u and v satisfy it, so does αu + βv, since α(x₁ − 2y₁ + z₁) + β(x₂ − 2y₂ + z₂) = 0. So W is a subspace (a plane through the origin).
Worked example (not a subspace). W = {(x, y) : x + y = 1}. (0, 0) is not in W. Not a subspace (a line that misses the origin).
Worked example. W = {(x, y) : xy ≥ 0} (first and third quadrants). (1, 0) and (0, −1) are in W, but their sum (1, −1) is not. Not closed: not a subspace.
Subspaces of ℝ² and ℝ³
- ℝ²: {0}, lines through the origin, ℝ² itself.
- ℝ³: {0}, lines through the origin, planes through the origin, ℝ³ itself.
Span
The span of vectors v₁, ..., vₖ is the set of all their linear combinations, written span{v₁, ..., vₖ}. It is always a subspace (the smallest one containing them).
Worked example. span{(1, 0, 1), (0, 1, 1)} = {(a, b, a + b)}: the plane z = x + y.
Spanning set: v₁, ..., vₖ span V if every vector of V is a combination of them.
Worked example. Do (1, 1) and (1, −1) span ℝ²? For (a, b): α + β = a, α − β = b gives α = (a + b)/2, β = (a − b)/2, which always exist. Yes.
Intersection and sum
- The intersection U ∩ W of two subspaces is a subspace.
- The union usually is not: the x-axis ∪ y-axis contains (1, 0) and (0, 1) but not (1, 1).
- The sum U + W = {u + w} is a subspace. If U ∩ W = {0}, the sum is direct, written U ⊕ W, and each vector splits uniquely.
- dim(U + W) = dim U + dim W − dim(U ∩ W).
Important subspaces of a matrix A (m × n)
- Null space N(A) = {x : Ax = 0}, a subspace of ℝⁿ.
- Column space (range) = span of the columns, a subspace of ℝᵐ.
- Row space = span of the rows.
Exams usually ask: use the subspace test on given sets (often one is and one is not); find the span of given vectors; show the union of two subspaces need not be a subspace; dimension of a sum.
Common mistake: forgetting the zero vector. If 0 is not in the set, stop: it is not a subspace.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Interactive Linear Algebra, 2.6 Subspaces
(opens textbooks.math.gatech.edu in a new tab)
Margalit and Rabinoff, Interactive Linear Algebra, Interactive Linear Algebra, 2.6 Subspaces, GNU FDL · licence
-
Linear subspace
(opens en.wikipedia.org in a new tab)
Wikipedia, Linear subspace, CC BY-SA 4.0 · licence
Watch
-
Subspaces and Span
6 min · ≈ 27 MB · about ₦15
(opens youtube.com in a new tab)
-
Vector Subspaces and Subspace Test Explained | Linear Algebra
15 min · ≈ 68 MB · about ₦38
(opens youtube.com in a new tab)
-
Prove the Set is a Subspace with Subspace Test | Linear Algebra Exercises
9 min · ≈ 41 MB · about ₦23
(opens youtube.com in a new tab)
-
Vector Subspaces | MIT 18.06SC Linear Algebra, Fall 2011
9 min · ≈ 41 MB · about ₦23
(opens youtube.com in a new tab)
-
Linear subspaces | Vectors and spaces | Linear Algebra | Khan Academy
23 min · ≈ 104 MB · about ₦58
(opens youtube.com in a new tab)
-
10. The Four Fundamental Subspaces
49 min · ≈ 221 MB · about ₦124
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.