I have this problem on my hands right now:
Let $$f:A\to B$$ and $$g:B\to A$$ be two functions. If $$g \circ f(a) = a, \forall a\in A$$ and if $$f \circ g(b) = b, \forall b\in B$$ then $f$ is a bijection.
Here are the things that are needed for $f$ to be a bijection:
It has to be injective meaning: $$F(x)=F(y)\implies x=y$$ and it has to be surjective meaning: $$\forall b\in B, \exists a\in A : F(a)=b$$
If this is true, could anyone give me a head start on how to approach this with Induction? Or how to set this up. I have searched on the internet, but have not found this specific problem and I have no idea how to approach this.. Thank you.