Sum of Subspaces — Definition, Formula & Example
The sum of subspaces is the set you get by adding every vector from one subspace to every vector from another. It is the smallest subspace that contains both of the original subspaces.
Let and be subspaces of a vector space over a field . Their sum is . It is a subspace of , and it equals . When is finite-dimensional, its dimension satisfies the formula below. The sum is called direct exactly when .
Key Formula
Where:
- = Finite-dimensional subspaces of the same vector space
- = The sum: all vectors of the form w₁ + w₂
- = The intersection: vectors that lie in both subspaces
Worked Example
Problem: In ℝ³, let W₁ be the xy-plane, W₁ = {(a, b, 0)}, and let W₂ be the yz-plane, W₂ = {(0, c, d)}. Find W₁ + W₂ and its dimension. Is the sum direct?
Step 1: Write any vector (x, y, z) as a sum of a vector from each plane. One choice works for every vector in ℝ³, so W₁ + W₂ = ℝ³.
Step 2: Find the intersection. A vector in both planes has first and third coordinates equal to 0, so the intersection is the y-axis, which has dimension 1. Check the dimension formula.
Step 3: Because the intersection is not just the zero vector, decompositions are not unique. For example, (3, 5, 7) splits in two different ways.
Answer: W₁ + W₂ = ℝ³, which has dimension 3. The sum is not direct, because the two planes share the y-axis and vectors decompose in more than one way.
Why It Matters
In a first linear algebra course, the dimension formula lets you find the dimension of a span without row-reducing, provided you already know the dimension of the intersection. Sums of subspaces also set up direct sums and eigenspace decompositions, which you use to diagonalize matrices.
Common Mistakes
Mistake: Treating the sum W₁ + W₂ as the union W₁ ∪ W₂.
Correction: The union of two subspaces is usually not a subspace. The x-axis and y-axis in ℝ² contain (1, 0) and (0, 1), but their union does not contain (1, 1). The sum includes all such combinations, so it is the whole plane ℝ².
