Union of subspaces
Mathematically, if and are two subspaces then is not a valid subspace.
To get a concrete example, let’s restrict ourselves to an consider two subspaces and . In two subspaces are represented by two infinite lines going through the origin. Visually we can see of we take any two vector from and , the summation of them is not contained in .
It also holds true in where the two subspaces are two planes going through the origin.
One important thing to mention here, does contain the zero vector and closed under scalar multiplication. The property that fails is addition operation.
Intersection of subspaces
Mathematically, if and are two subspaces then is also a subspace.
To get a concrete example, let’s restrict ourselves to an consider two subspaces and . The intersection will only contain the zero vector. We know that is subspace.
In , the intersection is a line that goes through the origin which is subspace itself.