In the proof that Dim$(U_1+U_2)=DimU_1+DimU_2-Dim(U_1 \cap U_2)$
In "Linear Algebra Done Right" by Sheldon Axler:
Theorem 2.18:
If $U_1$ and $U_2$ are subspaces of a finite dimensional vector space, then:
$\dim(U_1+U_2)=\text{dim}(U_1)+\text{dim}(U_2)-\text{dim}(U_1 \cap U_2)$
PROOF (in short):
Let $(u_1,u_2,...)$ be a basis of $U_1\cap U_2$. This can be extended to a basis $(u_1,u_2,...,u_m,v_1,v_2,...,v_j)$ of $U_1$. Also, it can be extended to a basis $(u_1,u_2,...,u_m,w_1,w_2,...,w_k)$ of $U_2$.
Clearly $\text{span}(u_1,...,u_m,v_1,...,v_j,w_1,...,w_k)$ is $U_1 + U_2$. To show that this list is a basis of $U_1+U_2$ we just need to show that it is linearly independent.
I cannot understand why $\text{span}(u_1,...,u_m,v_1,...,v_j,w_1,...,w_k)$ is $U_1 + U_2$. Can someone help explain this to me?