Drag the point P and observe the path traced by its reflection P' (reflected along line y = x)or press play to follow step by step construction

:

The path traced by P' is same as the graph of the inverse of function f.