Let A be a non-empty set and $f : A → A$ be a function.
Prove that f has a left inverse in $F_{A}$ if and only if f is injective (one-to-one).
$\leftarrow$ assume f is injective then $\forall x\in A \space \space \space \space \space \space \space \space \space f(x) \in A $ such that if $f(x)=f(y) $ then $ x=y$
something something $g(f(x)) = x \space \space \space \space \forall x\in A$
$\rightarrow$ assume f has a left inverse in $F_{A}$ then $\forall x\in A$
$g(f(x)) = x$ something says that x must be one to one?
Im really confused by this question First of all f must be a bijection if it is one to one from $ A \to A $ is it not?
Can someone help me out with this proof?