If $f:S\to T$ and $g:R\to S$ are functions such that $f \circ g$ is injective, then prove that $g$ must be injective.
I dont know how to prove it. I only know that composition of two injective functions is an injective function and composition of two surjective functions is surjective.
If there are some $x,y \in \Bbb{R}$ such that $x \neq y$ and $g(x) = g(y)$, then $f\circ g(x) = f\circ g(y)$; hence $f\circ g$ is not injective, a contradiction.