Because linear subspaces are special sets, we can apply the known operations on sets to linear subspaces. The intersection of two linear subspaces yields a linear subspace, but the union, in general, does not. In order to be able to discuss the smallest linear subspace containing two linear subspaces, we introduce the notion of sum of two linear subspaces.
The sum of two linear subspaces and of a vector space , denoted as , is the set of all vectors of the form for and .
The vector space is the sum of the -axis and the -axis:
In the same way, we can define sums of more than two subsets of . For instance,
If the subsets are linear subspaces, then so is their sum:
Let and be linear subspaces of a vector space .
The following two subsets of are linear subspaces:
- The sum is equal to the span of and . This is the smallest linear subspace of containing both and .
- The intersection of and is a linear subspace of . It is the largest linear subspace contained in both and .
Because of the definition of span, is contained in . On the other hand is a linear subspace of :
Any linear combination of two vectors from is again a vector in : if , and , , and , are scalars, then
is the sum of the vector of and vector of .
Moreover, belongs to .
Because is a linear subspace of that contains (each element of can be written as ), and (likewise) , it contains . Because is also contained in , the two subspaces and coincide.
The fact that the intersection is a linear subspace of has been proven before. If there would be a greater linear subspace contained in both and in , then it would contain a vector outside or outside , a contradiction. Therefore, is the largest linear subspace contained in both and .
The union itself is not a linear subspace of unless it is equal to . For example, if we let and let be the -axis (the -dimensional linear subspace spanned by ) and the -axis (the -dimensional linear subspace spanned by ), then is nothing but the union of these two axes, while it is known that together they span the whole space . Specifically: the sum of the vectors and does not belong to .
Here are some simple but useful properties of sum and average.
Let and be linear subspaces of the vector space .
- If , then , with equality if and only if .
- .
- .
Choose a basis of .
1. According to the Growth criterion for independence, a basis of can be extended to a basis of . As a consequence, . If , it goes without saying that .
Now suppose . Then the extension of a basis of to a basis of is empty so is spanned by the basis of . This means that coincides with . This proves the first statement.
2. This rule applies even if and are subsets of . After all, the equality at each of the two sides means that each element of also belongs to .
3. Each vector in also belongs to . So if , each vector in belongs to ; this is the meaning of . Conversely, if , then already spanned by , so .
The distributive laws for three sets , , of read
In general, these laws do not apply if we take , , to be linear subspaces of and replace by the sum. For example, if , , and in , then
Later we will encounter special cases where these laws do apply.
Because the intersection and sum of two linear subspaces are both linear subspaces again, they have a basis and a dimension, which we will consider here.
Let and be linear subspaces of a vector space with finite dimensions and . Let be a basis of are. Extend the basis with a basis of , where , and also with a basis of , where . Then is a basis of .
In particular,
According to the definition of linear span,
It remains to prove that this set of vectors is linearly independent. Because is linearly independent (since it is a basis of ), according to the Growth criterion for independence, we only need show that each is linearly independent of . If not, then there are scalars , , such that Then the vector belongs to and is not equal to (for are linearly independent), and is contained in . But this means that , so, according to the Growth criterion for independence, is a linearly independent system in . This contradicts the fact that is a basis of . We conclude that the vectors are linearly independent.
The last statement follows directly from:
Set , (the -plane) and (the - plane). Then because all of the standard basis vectors occur as spanning vectors of or . We also see that contains the -dimensional subspace (the -axis), since this vector occurs in the set spanning of both and . In order to determine that coincides with the -axis we use the Dimension theorem: From and we conclude .
The dimension need not be finite. This is because the whole event takes place within the linear subspace , which is finite-dimensional. In fact, the dimension of is at most , since it is spanned by the union of a basis of and a basis of .