Let $U$ and $V$ be finite dimensional vector spaces, and let $A\in \operatorname{Hom}(U,V)$. Show that if $A$ is injective, then there exists $B\in \operatorname{Hom}(U,V)$ such that $BA=1_U$.
Assume $A$ is injective. Let $\{y_1,\dots, y_n\}$ be a basis for $U$. Define $x_i=Ay_i$ for all $i$. Clearly, $x_i$ is unique. I do not know if $\{x_1,\dots, x_n\}$ spans $V$, but I guess that it is linearly independent, which will be shown. Let $\alpha_i\neq 0$ be some given scalars, then $0=\sum_{i=1}^n\alpha x_i=A(\sum_{i=1}^n \alpha y_i)$ by linearity of $A$. Then it implies that $\alpha_i=0$ for all $i$, which is a contradiction. Hence $\{x_1,\dots, x_n\}$ is linearly independent. Now we can define a linear map $B:V\to U$ by $Bx_i=y_i$ for all $i$. This clearly shows that $B$ is a left inverse of $A$, proving this problem. I am not sure if this answers the problem. If there is a way to fix this or another shorter way to prove, please enlighten me.