Proof
Choose a basis of \(U\cap W\):
Thus, \(\dim(U\cap W)=k\). Next, since \(U \cap W \subseteq U\), the linearly independent list \(b_1,\ldots,b_k\) can be extended basis of \(U\). Hence, add vectors \(u_1,\ldots,u_m\), giving
Therefore, \(\dim(U)=k+m.\) Similarly, Since \(U\cap W\subseteq W\), we can also extend \(b_1,\ldots,b_k\) to a basis of \(W\). Add vectors \(w_1,\ldots,w_n\), giving
Therefore, \(\dim W=k+n\). Consider the combined list
We claim that \(\mathcal B\) is a basis of \(U+W\). To prove this claim, we must show two things: \(\mathcal B\) spans \(U+W\) and \(\mathcal B\) is linearly independent. Next, we’ll prove that it spans \(U+W\). Take any \(x\in U+W\). By the definition of \(U+W\),
for some \(u\in U\) and \(w\in W\). Because
is a basis of \(U\), the vector \(u\) is a linear combination of the \(b_i\)’s and \(u_j\)’s. Similarly, because
is a basis of \(W\), the vector \(w\) is a linear combination of the \(b_i\)’s and \(w_\ell\)’s. Therefore, \(x=u+w\) is a linear combination of
Thus, \(\mathcal B\) spans \(U+W\). Next, we show independence. Suppose a linear combination of the vectors in \(\mathcal B\) equals zero:
We need to prove that every coefficient is zero:
Rearrange the equation:
and let
We claim \(x \in U\cap W\). This is because the left-hand side belongs to \(U\) since it’s a combination of vectors in \(U\), while right-hand expression is a linear combination of vectors in \(W\). We know that \(x\in U\cap W\).
Next, since \(b_1,\ldots,b_k\) is a basis of \(U\cap W\), there are scalars \(\alpha_1,\ldots,\alpha_k\) such that
But we also know
Subtracting both equations, we obtain
The list \(b_1,\ldots,b_k,w_1,\ldots,w_n\) is a basis of \(W\), so it is linearly independent. Hence all its coefficients must be zero:
In particular,
Since \(\gamma_1=\cdots=\gamma_n=0\), then (1) becomes
But \(b_1,\ldots,b_k,u_1,\ldots,u_m\) is a basis of \(U\), so it is linearly independent. Therefore,
and
Thus, every coefficient in the original equation is zero, proving that our proposed basis for \(U+W\) is linearly independent. Hence
both spans \(U+W\) and is linearly independent. Therefore, it is a basis of \(U+W\). This basis contains \(k+m+n\) vectors, so
We also know that
Therefore,
Hence,
as we wanted to show. \(\blacksquare\)
References
- Linear Algebra Done Right by Sheldon Axler
- Lecture Notes from Math725 by Matthias Beck