1.) Prove that $f$ has a left inverse if and only if $f$ is injective.
2.) Prove that $f$ has a right inverse if and only if $f$ is surjective.
My first attempt for 1.):
$$f\text{ is injective.}$$ $$\iff$$ $$f(a)=f(b)\implies a=b$$ $$\iff$$ $$g(f(a))=g(f(b))$$
A left inverse is a transformation such that $A^LA=I$. A transformation is injective if and only if
$$A\vec{v}=A\vec{x}\to\vec{v}=\vec{x}$$
By counterexample, suppose that $A$ is not injective:
$$(\exists\vec{v})\,(\exists\vec{x})\,A\vec{v}=A\vec{x}\land\vec{v}\ne\vec{x}$$
$$A^LA\vec{v}=A^LA\vec{x}\implies{I}\vec{v}=I\vec{x}$$
This does not hold true in all cases if $A$ is not injective, so $A$ must be injective.