Let \(\{\uu_1,\ldots, \uu_m\}\) be a basis of \(U\text{.}\) Since \(U\subseteq V\text{,}\) the set \(\{\uu_1,\ldots, \uu_m\}\) is a linearly independent subset of \(V\text{.}\) Since any linearly independent set can be extended to a basis of \(V\text{,}\) there exist vectors \(\ww_1,\ldots,\ww_n\) such that
\begin{equation*}
\{\uu_1,\ldots, \uu_m,\ww_1,\ldots, \ww_n\}
\end{equation*}
is a basis of \(V\text{.}\)
Now, let
\(W = \spn\{\ww_1,\ldots, \ww_n\}\text{.}\) Then
\(W\) is a subspace, and
\(\{\ww_1,\ldots, \ww_n\}\) is a basis for
\(W\text{.}\) (It spans, and must be independent since itβs a subset of an independent set.)
We know \(U+W=V\text{,}\) since \(U+W\) contains the basis for \(V\) weβve constructed. To show the sum is direct, it suffices to show that \(U\cap W = \{\zer\}\text{.}\) To that end, suppose that \(\vv\in U\cap W\text{.}\) Since \(\vv\in U\text{,}\) we have
\begin{equation*}
\vv=a_1\uu_1+\cdots +a_m\uu_m
\end{equation*}
for scalars \(a_1,\ldots, a_m\text{.}\) Since \(\vv\in W\text{,}\) we can write
\begin{equation*}
\vv=b_1\ww_1+\cdots + b_n\ww_n
\end{equation*}
for scalars \(b_1,\ldots, b_n\text{.}\) But then
\begin{equation*}
\zer=\vv-\vv=a_1\uu_1+\cdots a_m\uu_m-b_1\ww_1-\cdots -b_n\ww_n.
\end{equation*}
Since \(\{\uu_1,\ldots, \uu_m,\ww_1,\ldots, \ww_n\}\) is a basis for \(V\text{,}\) itβs independent, and therefore, all of the \(a_i,b_j\) must be zero, and therefore, \(\vv=\zer\text{.}\)