Suppose U and W are subspaces of V such that V=U⊕W. Suppose also that u1,…,um is a basis of U and w1,…,wn is a basis of W.
Prove that
u1,…,um,w1,…,wn
Is a basis of V.
It's clearly spanning since U+W=V , so we must show it's independent. Suppose
a1u1+⋯+amum+b1w1+⋯+bnwn=0
Then
a1u1+⋯+amum=−(b1w1+⋯+bnwn)
The left side is in U and the right side is in W, since U∩W={0} (because it's a direct sum) both sides must be zero, and since the u's and w's are independent among themselves this implies ak=0 and bk=0 for all k. This completes the proof of independence, thus they are a basis of V.