How Do You Find the Dimensions of Subspace Sums and Intersections?
At a glance
- 1. Identify the operations
For subspaces U and V, distinguish their sum, intersection, and union; these do not have the same properties.
- 2. Find the intersection
Determine the vectors that belong to both subspaces and find a basis for that intersection.
- 3. Apply the formula
Subtract the intersection dimension from the sum of the two individual dimensions.
- 4. Check special cases
If the intersection is only the zero vector, the sum is direct; a union is usually not a subspace.
When people ask about the “operations” on subspaces, they usually mean the sum, intersection, and sometimes the union of two subspaces. The key dimension rule concerns the sum and intersection: it counts the dimensions of both subspaces, then subtracts the dimension they share.
Assume throughout that the vector spaces are finite-dimensional. The union needs separate treatment because it is usually not a subspace at all.
The dimension formula
For subspaces and of a finite-dimensional vector space, their sum is
It is the smallest subspace containing both and , and it is also the span of . Their intersection consists of vectors that lie in both. The dimensions satisfy
The subtraction matters because a direction in the intersection is counted once in and again in . Subtracting removes the duplicate count.
A worked example in
Let
Each subspace has dimension . Both contain , and every vector in has third coordinate , while every vector in has first coordinate . Thus their intersection is exactly
which has dimension . Therefore,
Indeed, the vectors , , and all lie in and form a basis for . So .
Why the formula works
Take a basis for and extend it to a basis for each of and . Write the shared basis as ; add vectors to complete a basis of , and vectors to complete a basis of .
The combined list
is a basis for . It spans the sum because it includes bases for both subspaces. It is linearly independent because any combination of the added -vectors that equals a combination of the added -vectors must lie in ; the basis extensions ensure that this can happen only when those added-vector coefficients are zero. Hence
while , , and . Substitution gives the formula.
Direct sums and useful bounds
The sum is called a direct sum, written , when . Since the zero subspace has dimension , the formula becomes
For example, the -plane and the -axis in intersect only at the zero vector, so their direct sum is all of and has dimension .
The formula also gives bounds on the intersection. Since is a subspace of the ambient space ,
For instance, two planes in must intersect in at least a line: the lower bound is .
What about the union?
The union is usually not a subspace. A subspace must be closed under addition, but a vector from added to a vector from need not belong to either one.
In , let be the -axis and the -axis. The vectors and have sum , which belongs to neither axis. Thus is not a subspace and does not have a vector-space dimension. For two subspaces, the union is a subspace exactly when one is contained in the other; then the union is simply the larger subspace.
Common mistakes
- Adding dimensions without subtracting the overlap: this is correct only when .
- Treating the union as the sum: contains vectors from either subspace; also contains sums of vectors from the two subspaces.
- Calling a zero intersection “empty”: every pair of subspaces contains the zero vector in its intersection. A trivial intersection means .
- Using the formula without finite dimensions: the stated arithmetic formula is intended for finite-dimensional subspaces; infinite-dimensional settings require more care with dimension conventions.
References
- Linear Algebra Done Right, Sheldon Axler
- Linear Algebra, Stephen H. Friedberg, Arnold J. Insel, and Lawrence E. Spence
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.