Let $f : A \mapsto B$ and $g : B' \mapsto C$ where $B'$ is the range of $f$. Give a proof or a counter-example of the following.
(a) $\text{If }g \circ f \text{ is injective, }f\text{ is injective.}$
(b) $\text{If }g \circ f \text{ is injective, }g\text{ is injective.}$
(c) $\text{If }g \circ f \text{ is surjective, }f\text{ is surjective.}$
(d) $\text{If }g \circ f \text{ is surjective, }g\text{ is surjective.}$
I know the definitions for when a function is injective, surjective, bijective, etc. However, I am not sure what the notation of $f : A \mapsto B$ and $g : B' \mapsto C$ where $B'$ is the range of $f$ means in this case, Wikipedia's tells me on its injective function that a function is injective if f(x) = f(y). How does function composition tie in to that? Possibly g(f(x)) = g(f(y))?