So, here's a corollary that I'm trying to prove using the theorem. I've already proved it and my proof has been verified in a previous post that I made.
Let $f: V \to W$ be a linear map such that $\dim(V) = \dim(W)$. Then, $f$ is surjective if and only if it is injective.
Proof Attempt:
Let $f$ be surjective. Then, $f(V) = Im(f) = W$. Then:
$\dim(Ker(f)) + rank(f) = \dim(V)$
$\implies \dim(Ker(f)) + \dim(W) = \dim(V)$
$\implies \dim(Ker(f)) = 0$
Now, let $v_1, v_2 \in V$ such that $f(v_1)=f(v_2)$. Then:
$f(v_1)-f(v_2) = 0$
$\implies f(v_1-v_2) = 0$
$\implies v_1-v_2 \in Ker(f)$
$\implies v_1 = v_2$
That proves injectivity.
Now, suppose that $f$ is injective. Then, we need to show that $f(V) = W$. Since $f$ is injective, it follows that $Ker(f) = \{0\}$ and $\dim(Ker(f)) = 0$. So, we have:
$rank(f) = \dim(Im(f)) = \dim(V) = \dim(W)$.
Let $\alpha$ be the basis of $W$ and $\beta$ be the basis of $Im(f)$. Clearly, the basis lengths are the same based on the analysis above. Now, $\beta$ is a basis for $W$ by a trivial application of the Basis Extension Theorem. So:
$L(\beta) = Im(f)$
$L(\beta) = W$
$\implies W = Im(f)$
And that proves surjectivity. This proves the desired result.
The only part where I'm a bit hesitant about the quality of my argument is the last portion. I'm not quite sure how I can phrase it in a better way. Does my proof above work or no? If so, how can I fix it?