$V$ and $W$ are vector spaces with $dim(V)=n$. Prove that a linear transformation $T:V\rightarrow W$ is injective if and only if for a basis $B=(f_1,\ldots,f_n)$ of $V$, $T(f_1),\ldots,T(f_n)$ are linearly independent.
I'm first trying to prove the forward direction, by assuming that $T:V\rightarrow W$ is injective and showing that $T(f_1),\ldots,T(f_n)$ are linearly independent. So, by assumption, for any $r_1,r_2\in V$, $T(r_1)=T(r_2)\rightarrow r_1=r_2$. However, I don't see how I can use this to show that $T(f_1),\ldots,T(f_n)$ are linearly independent. I have to show that only the trivial relation holds in $c_1T(f_1)+\cdots+c_nT(f_n)$ for scalars $c_1,\ldots,c_n$, so $c_1=\cdots=c_n=0$, but how does this following from the transformation being injective alone?