0

I need to know if this statement is true or false:

If $g\circ f$ is injective then $g$ is injective.

I couldn't try to prove this statement. I was thinking to show a counter-example: $$\begin{array}{lll} f\colon\{1\}\to\{2,3\},&f(1)=1&\\g\colon\{2,3\}\to\{1\},&g(2)=1,&g(3)=1 \end{array}$$ But then I can't seem to show that $g\circ f$ is injective.

I would really appreciate any help on this. Thanks in advance.

matan
  • 471

1 Answers1

2

(I assume that you mean $f(1)=2$, because $f(1)=1$ is not possible since $f\colon\{1\}\rightarrow\{2,3\}$).

Note that $g\circ f$ has domain $\{1\}$. Since the domain has only one element, $g\circ f$ is necessarily injective. Indeed, there does not exist $x,y$, different elements such that $f(x)=f(y)$. Thus the statement

If $g\circ f$ is injective then $g$ is injective.

is false.

zarathustra
  • 4,891