The external direct sum of vector spaces consists of pairs with componentwise operations. For subspaces of one ambient space, the sum of vector subspaces is . The addition map from the external direct sum onto this subspace is surjective, with kernel . This kernel is isomorphic to the intersection. The rank-nullity theorem, together with , proves the dimension formula for a sum of subspaces.
For the supplied bases, solving for annihilating linear forms gives
Each basis has rank three, so these hyperplanes are the whole subspaces. The two independent equations make the intersection two-dimensional. Imposing the requested zero components yields
Both satisfy the two equations and are independent, since their first components differ while . Hence they form the required basis.
Let . Choose a basis of the intersection of vector subspaces, extend it to a basis of , and independently extend it to a basis of . The combined list
spans the sum of vector subspaces . It is also linearly independent: a vanishing linear combination says that a combination of the belongs to , and its expression in the chosen basis of forces all its coefficients to vanish; the coefficients of the then vanish in the same way. This proves the dimension formula for a sum of subspaces
Parametrize the two linear subspaces as
Putting a vector of in first forces its fourth coordinate to vanish; the remaining defining equation is then automatic. Thus
and the dimension formula gives .
The linear functional
vanishes on each displayed generator of and . Its kernel is three-dimensional because , so the inclusion between two three-dimensional subspaces is equality.