I am working on the following problem.
Let $g : V\to V$ be linear and injective, where $V$ is a vector space over the field K.
Prove that, if $V$ is finite-dimensional, then $g$ is surjective.
In an attempt to solve the problem, I have done the following.
I first chose a basis $\{e_1, \ldots, e_n\}$ for $V$ (assuming that $\dim(V) = n$) and considered the images under g of $e_1, \ldots, e_n.$
I then attempted to prove the required statement by contradiction.
I assumed that $g$ is not surjective.
Then $\exists \space v_d\in V$ s.t. (such that), $\forall \space v_c \in V \space \forall \space \gamma_1, \ldots, \gamma_n \in K$, we have that $\gamma_1 g(e_1) + \ldots + \gamma_n g(e_n) \not= v_d.$ $(*)$
My next thought was that, if I could show that the vectors $g(e_1), \ldots, g(e_n)$ formed a basis of $V$, then $(*)$ would imply that no linear combination of these vectors was equal to $v_d$, contradicting the definition of a basis.
Consequently, I managed to show that $g(e_1), \ldots, g(e_n)$ are linearly independent.
However, I am now struggling to show that $g(e_1), \ldots, g(e_n)$ span $V$.
I would appreciate any hints which could help me progress.
NB:
Firstly, the question tells me not to use the Rank-Nullity Theorem.
Secondly, I am aware that, since $g$ is injective, $\ker(g) = \{0\}.$