I have a question regarding graphical intersection between a continuous function and its inverse (if exists).
Suppose $f$ is a real continuous function and $f^{-1}$ exists.
Can anyone assist in proving the following problem:
If $f$ and $f^{-1}$ intersect graphically at some points, then the points must lie on the line $y=x$.(*)
For here, I have some trouble regarding the meaning of "some" points.
If it is uncountable many points of intersection, $y=\frac{1}{x}$ is a counterexample.
What if it is countable (including finite many or countably infinite)?
Intuitively, (*) is true when we draw the functions pictorially, but can anyone provide hints or steps to the proof?
If the statement is wrong at the first place, how should we amend?
Thank you in advance.