Inverse functions: reflection in y = x
About this app
Reflect points across y = x to explore inverse functions, domain restrictions and reciprocal slopes using exponential, quadratic and cubic examples.
The idea
The inverse function f⁻¹ undoes f: from y = f(x) you get x = f⁻¹(y). Geometrically, its graph is the reflection of the graph of f in the line y = x, because every point (a, f(a)) becomes (f(a), a). Domain and range swap roles. A function has an inverse only if every value is taken exactly once, as with strictly monotonic functions. For the slopes, (f⁻¹)′(f(a)) = 1/f′(a).
What the app shows
A point P = (a, f(a)) moves along the graph of f, and its mirror image P′ = (f(a), a) moves along f⁻¹. The segment joining them is perpendicular to y = x and is bisected by it at M. Four pairs are available: eˣ and ln x, x² and √x, x³ and ∛x, and cos and arccos. For x² and cos the app marks the restricted domain. Tangents at P and P′ show the slopes, and a status line confirms that they are reciprocals.
Things to try
Drag P along the curve or press “Mirror” to let it travel along the graph. Notice that the product f′(a) · (f⁻¹)′ is always 1. Choose x²: without restricting it to x ≥ 0, one y-value would have two preimages and the reflection would no longer be the graph of a function.
Frequently asked questions
- Why is the graph of an inverse function reflected in y = x?
- The inverse swaps input and output: if (a, b) lies on the graph of f, then (b, a) lies on the graph of f⁻¹. Swapping the coordinates is exactly the reflection in the line y = x.
- When does a function have an inverse?
- A function is invertible when it is one-to-one, meaning it never takes the same value twice. Strictly monotonic functions satisfy this. For x² or cos you restrict the domain, for example to x ≥ 0 or to [0, π], so that the inverse √x or arccos exists.
- How do you find the derivative of an inverse function?
- It is (f⁻¹)′(y) = 1/f′(x) with y = f(x), provided f′(x) ≠ 0. Example: for f(x) = eˣ, f′(x) = eˣ = y, so (ln y)′ = 1/y. Geometrically, reflecting a slope triangle swaps its rise and run.
- Which functions can I reflect in the app?
- The app offers four pairs: eˣ and ln x, x² and √x, x³ and ∛x, and cos and arccos. You drag a point on f and see its mirror image, the perpendicular bisector and the slopes of both tangents.
Subject: Analysis (one-dimensional)
More from Analysis (one-dimensional)
- Derivative as a sequence of secants
- Bounded growth
- Units of an integral: rate times time
- Exponential growth and decay
- Optimisation: the largest rectangle
- Area between curves
- Area function is an antiderivative
- Sequential continuity
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps