Picture the plane through the origin in space and a parallel copy lifted one unit higher. Both look flat and endless, yet they react differently to vector arithmetic. Add two vectors that end in the first plane and the sum ends there too, but double a vector that ends in the lifted plane and its tip leaves the plane. This lesson turns that difference into an exact test, shows which familiar sets pass it, and compares sums, intersections and unions of subspaces.
Key terms
Subspace
Definition Throughout, a tuple such as stands for a column vector. Let be a subset of . The set is closed under addition if lies in for all and in . It is closed under scalar multiplication, or scaling, if lies in for every in and every real number . A subspace of is a subset that contains the zero vector and is closed under addition and under scalar multiplication. The whole space and the zero subspace are subspaces of .
In plain words A subspace is a set that contains the origin and that you cannot leave by adding its members or by stretching, shrinking or reversing them. Closure under addition speaks about every pair of members, and closure under scaling about every member and every real scalar, negative ones included, so a few examples that work prove nothing.
Example The line of all multiples in is a subspace. It contains . For any members and and any real ,
and both results are again multiples of . By contrast, the quadrant of vectors with and contains and is closed under addition, but it is not a subspace, because leaves it.
Subspace test
Definition For a subset of the following three statements are equivalent.
- The set is a subspace, that is, it contains and is closed under addition and scalar multiplication.
- The set is nonempty and closed under addition and scalar multiplication.
- The set is a vector space in its own right, with the addition and scalar multiplication of .
The reason is that a nonempty has some member , and closure then gives and in . The other vector space rules, such as associativity and the distributive laws, already hold for all vectors of , so they hold in . To prove that a set is a subspace, check and then take arbitrary members and an arbitrary real scalar. To prove that it is not, one specific failure is enough. The empty set is never a subspace, since it has no zero vector.
In plain words Check three things, zero, sums and multiples, with letters rather than numbers. Everything else a vector space needs comes for free from .
Example Let be the set of vectors in with . The zero vector is in because . Take and in , so and . The third entry of is
the sum of its first two entries. For a real , the third entry of is . So is a subspace of . Specific vectors agree with the proof. The vectors and lie in , and so do their sum and the multiple .
Solution set of a homogeneous system
Definition Let be a real matrix. The solution set of the homogeneous system ,
is a subspace of . Indeed , and if and , then and for every real . The argument uses one fixed matrix for both solutions, since solutions of two different systems say nothing about closure. In the same way, the span of any finite list in is a subspace of . All coefficients zero give , adding two combinations adds their coefficients entry by entry, and scaling a combination scales every coefficient.
In plain words Everything a fixed matrix sends to zero forms a subspace, and so does everything you can build from a fixed list of vectors. These are the two standard ways to describe a subspace, by equations or by generators.
Example The system , has the augmented matrix
The step turns the second row into , so and then . With free, the solutions are , the line through the origin. The plane from the subspace test is also a span, since every member equals .
Affine set
Definition Let be a subspace of and a vector in . The translate
is called an affine set. It is a subspace exactly when lies in , and then . If the system has a particular solution , its solution set is the affine set . When the zero vector is not a solution, so that solution set is not a subspace. An inconsistent system has an empty solution set, which is not a subspace either.
In plain words An affine set is a subspace slid along a fixed vector. It keeps the shape and the directions of the subspace, but once it misses the origin, the sum of any two of its members lands off it.
Example Let be the set of vectors with , the solution set of . Every member can be written as
so for the plane above. The zero vector is not in , because is false. Scaling fails too. The vector is in , but is not, since .
Intersection and sum of subspaces
Definition Let and be subspaces of . Their intersection is the set of vectors that lie in both and . Their sum is the set of all sums of a vector in and a vector in ,
Both are subspaces of . For the intersection, lies in both, and sums and multiples of shared members stay in each subspace. For the sum, is a member, and two members add as
with in and in . Likewise with in and in . The sum contains and , because , and it is the smallest subspace that contains both. If and are spanned by two lists, then is spanned by the two lists joined together.
In plain words The intersection keeps only what the two subspaces share. The sum collects everything you can reach by taking one step in and one step in .
Example In let be the -plane of vectors and the -plane of vectors . A vector in both has third entry and second entry , so is the -axis . The sum is all of , since every vector splits as
For instance lies in although it lies in neither plane. The split is not unique here. The same vector also equals , because a piece of the shared -axis can move from one part to the other.
Union of subspaces
Definition The union of two subspaces of is the set of vectors that lie in or in . It contains and is closed under scalar multiplication, but it is usually not closed under addition. Precisely, is a subspace if and only if or . If one contains the other, the union is simply the larger subspace. If neither contains the other, pick in but not in and in but not in . If were in , then would be in , and similarly for , so lies outside .
In plain words Pooling the members of two subspaces usually does not give a subspace, because adding a vector from each can land outside both. The sum repairs this, since it includes every such vector.
Example In take the -axis and the -axis. Their union contains , and multiples of a horizontal or vertical vector stay horizontal or vertical. But lies on neither axis, so the union is not a subspace. Their intersection is , which is a subspace, the smallest one there is. The same failure happens for the two coordinate planes above, where lies in neither plane.
Check yourself
- Which of these subsets of are subspaces? (a) The line . (b) The line .
Show the answer
(a) Yes. It is the solution set of the homogeneous equation , and it equals .
(b) No. The zero vector fails, because is false. This line is the affine set .
- The set of vectors with contains , and it is closed under scalar multiplication because . Is a subspace of ?
Show the answer
No. Passing the zero test and the scaling test is not enough. The vectors and lie in , since both products equal . Their sum has product , so is not closed under addition. In fact is the union of the closed first and third quadrants, and as with the union of the two axes, addition is the condition that fails.
- In let be the plane and the plane . Find and show that .
Show the answer
A vector in both satisfies and , so and the vector is . Hence
For the sum, write any as
The first vector lies in , because , and the second lies in , because its first two entries are equal. So every vector of is in . For example .