Prove that if $f:A\rightarrow B$ and $g:B\rightarrow A$ are such functions, that $gf = I_A$, then $f$ is 1-1 and $g$ is onto.
Knowing that $gf = I_A \equiv gf : A\rightarrow A$, I had an idea to present $gf$ function as
$$gf(x) = x$$
Then for any element $x\in A$, function $gf$ is true.
But what should I do next in order to prove that $f$ is 1-1 and $g$ is onto?
Prove that if $f:A\rightarrow B$ and $g:B\rightarrow A$ are such functions, that $gf = I_A$, then $f$ is 1-1 and $g$ is onto.
elementary-set-theory
Related Question
- [Math] Suppose $f: A\rightarrow B,g:B\rightarrow C, h:B\rightarrow C$. Pro that If $f$ is onto $B$ and $g\circ f$= $h\circ f$, then $g=h$
- [Math] Prove that if $g \circ f$ is onto and $g$ is one-to-one, then $f$ is onto
- [Math] $f:A\to B$ and $g:B\to A$ two functions such that $f\circ g\circ f$ is bijective. Then so are $f, g$
Best Answer
For every $x\in A$, $x=gf(x)$, so $g$ in onto.
For every $x,y\in A$, if $f(x)=f(y)$ then $x=gf(x)=gf(y)=y$, so $f$ is 1-1.