[Math] example for a strictly increasing function which has a discontinuous inverse

functionsreal-analysis

I want an example for a function $f$ which is strictly increasing in some subset $S$ of $ℝ$ such that $f^{-1}$ is not continuous on $f(S)$.I came up with my own example but I need to verify it.

$$f(x)=x ; x∊[0,1]$$

$$f(x)=2x; x∊(1,2]$$

I would appreciate if some one could tell if my example is incorrect and if so provide a better example.Thank you

Best Answer

The question does not have a positive answer, the only way to get discontinuity of the inverse or pseudo inverse is for f to be flat in some intervals. As pointed in the comments, if f itself has discontinuities in S then f(S) is going to be a collection of disjoint intervals such that the inverse in continuous in each one of them.