Q. Provide an example of contraction with exactly two fixed points.
My approach: Let T: R->R such that $T(x)=x^2$. Suppose $x$ is a fixed point of $T$ then $x^2 = x$. This implies $x=0$ or $x=1$. Thus, contraction T has two fixed points.
However, it doesn't hold true for suppose T(2) and T(3) as 5 is not less than or equal to 1.
Where am I going wrong?