1

My guess is that it's not possible since I couldn't find an example to fit the scenario. However, I can't seem to prove either, so I'm not sure if my guess was correct or not.

On a similar note, is it possible for one of them to not be injective but the composition still be injective?

  • You should read https://math.stackexchange.com/questions/1324627/composition-of-functions-injective-implies-one-of-them-is-injective – Mundron Schmidt Nov 11 '17 at 23:42

2 Answers2

2

If $f$ is not injective, then there exist $x$ and $y$ such that $f(x)=f(y)$. This necessarily implies $g(f(x))=g(f(y))$, so $g\circ f$ is not injective either. Note that no properties of $g$ (besides the fact that it is a function) were needed to arrive at this conclusion.

angryavian
  • 89,882
0

You must have $f$ injective, but $g$ need not be, for instance $f(x)=e^x$ and $g(x)=x^2$.

Angina Seng
  • 158,341