If $g\circ f$ is a bijection then $f$ and $g$ are bijection too.

elementary-set-theory

Statement

Let $f:X\rightarrow Y$ and $g:Y\rightarrow Z$ function. If $(g\circ f)$ is a bijection then $f$ and $g$ are bijection too.

So if $(g\circ f)$ is a bijection then it is a injection and surjection too.

So if $(f\circ g)$ is a injection then there exist a function $h:Z\rightarrow X$ such that $(h\circ g)\circ f=h\circ (g\circ f)=\text{Id}_X$ so that $f$ is an injection.

Then if $(f\circ g)$ is a surjection then by $\text{AC}$ there exist a function $k:Z\rightarrow X$ such that $g\circ (f\circ k)=(g\circ f)\circ k=\text{Id}_Z$ so that $g$ is a surjection.

Now unfortunately I don't be able to understand if $f$ is a surjection and if $g$ is an injection. So could someone help me, please?

Best Answer

If $f,g:\mathbb{N}\to \mathbb{N}$ such that for every $n\ge 1$ $f(n)=n+1$ and for every $n\ge 1$ $g(n)=n-1$ if $n>1$ and $g(1)=1$ then $f\circ g=\mathrm{identity}$ ($f$ acts first) but $f,g$ and $g\circ f$ are not bijections.