[step:Show that adjoining $b$ preserves dimension exactly when $b$ is already in the span]
We prove the elementary dimension fact needed here. Let $V$ be a finite-dimensional [vector space](/page/Vector%20Space) over $k$, let $U \subseteq V$ be a subspace, and let $v \in V$. Then $\dim_k \operatorname{span}_k(U \cup \{v\})=\dim_k U$ if and only if $v \in U$.
If $v \in U$, then $\operatorname{span}_k(U \cup \{v\})=U$, so the dimensions are equal.
Conversely, suppose $v \notin U$. Let $(u_1,\dots,u_r)$ be a basis of $U$, where $r=\dim_k U$. We claim that $(u_1,\dots,u_r,v)$ is linearly independent. Indeed, if scalars $c_1,\dots,c_r,c \in k$ satisfy $\sum_{i=1}^r c_i u_i + c v = 0$, then $c \neq 0$ would imply $v=-c^{-1}\sum_{i=1}^r c_i u_i \in U$, contradicting $v \notin U$. Hence $c=0$, and then the [linear independence](/page/Linear%20Independence) of $(u_1,\dots,u_r)$ gives $c_1=\cdots=c_r=0$. Thus $(u_1,\dots,u_r,v)$ is linearly independent and spans $\operatorname{span}_k(U \cup \{v\})$, so $\dim_k \operatorname{span}_k(U \cup \{v\})=r+1>\dim_k U$. This proves the equivalence.
[/step]