I have been trying following question and was unable to solve.
Let $f: X \to X$ such that $f(f(x)) = x$ for all $x\in X. \space$ Then:
- Is $f$ 1-1?
- Is $f$ onto?
Clearly $f$ is 1-1 . But I am unable to deduce why $f$ must be onto or not.
I have been trying following question and was unable to solve.
Let $f: X \to X$ such that $f(f(x)) = x$ for all $x\in X. \space$ Then:
Clearly $f$ is 1-1 . But I am unable to deduce why $f$ must be onto or not.
If $f$ were not onto, since $f:X\to X$, $f(X)\subset X$ and this containment is proper. Then $f(f(X))\subset f(X)\subset X$, but this contradicts $f(f(x))=x$ for every $x\in X$.
If $z$ is an arbitrary element of $X$ then map it to get $f(z)$ which complies $f(f(z))=z$, so $f(z)$ is the preimage of $z$. Hence $f$ is surjective.