Let $f: \mathbb{R} \rightarrow \mathbb{R}$. Is it true that $f \circ f = f \iff f \upharpoonright rng(f) = id_{rng(f)}$?

24 Views Asked by At

I think the answer is no, because we can take $f(x) = -x$. Then $f \circ f = f$, but $f \upharpoonright rng(f) = - id_{rng(f)} \neq id_{rng(f)}$.

1

There are 1 best solutions below

0
On BEST ANSWER

Your example satisfies a similar equation: $f\circ f={\rm id}$.

In fact, $f\circ f=f\iff\forall x:f(f(x))=f(x) \iff\forall y\in{\rm range}(f):f(y)=y$.