5B

Inverse functions and their derivatives

One-to-one functions and inverse functions, reflection in y = x, swapping domain and range, restricting a domain to create an inverse, and the derivative of an inverse function using dy/dx = 1 ÷ dx/dy.

You restricted sine, cosine and tangent in Chapter 4 to give them inverses. This section does the same thing for any function, and then answers a calculus question: if you know how steep $f$ is, how steep is $f^{-1}$? That is the key to differentiating the inverse trig functions in 5C.

Inverse functions

The inverse of a function undoes it: if $f(2) = 5$, then $f^{-1}(5) = 2$. Every point $(a, b)$ on $y = f(x)$ becomes $(b, a)$ on $y = f^{-1}(x)$. Swapping $x$ and $y$ is a reflection in the line $y = x$, and it also swaps the domain and the range.

Example 1●

Find the inverse of $f(x) = \dfrac{x^3}{8} + 1$.

$x = \dfrac{y^3}{8} + 1$
Swap x and y.
$y^3 = 8(x - 1)$, so $f^{-1}(x) = 2\sqrt[3]{x - 1}$.
Make y the subject: subtract 1, multiply by 8, take the cube root.

Restricting the domain

A function that is not one-to-one, like a parabola, can still have an inverse if you keep only one side of it. The natural split is at the turning point.

Example 2●●

$f(x) = (x - 2)^2 + 1$ is restricted to $x \ge 2$. Find $f^{-1}(x)$ with its domain and range.

Domain of $f$: $x \ge 2$. Range of $f$: $y \ge 1$.
On x ≥ 2 the parabola is increasing, so it is one-to-one. Its range is y ≥ 1.
$x = (y - 2)^2 + 1$, so $y - 2 = +\sqrt{x - 1}$ and $f^{-1}(x) = 2 + \sqrt{x - 1}$.
Swap and solve. Take the positive square root because the inverse's range must be y ≥ 2.
$f^{-1}$ has domain $x \ge 1$ and range $y \ge 2$.
Domain and range swap over.

Because $f^{-1}$ undoes $f$: $f^{-1}(f(x)) = x$ for $x$ in the domain of $f$, and $f(f^{-1}(x)) = x$ for $x$ in the domain of $f^{-1}$. If $f$ is increasing, any intersection of $y = f(x)$ and $y = f^{-1}(x)$ lies on the line $y = x$, so you can solve $f(x) = x$ instead.

The derivative of an inverse function

Reflecting in $y = x$ swaps "rise" and "run", so the gradient of the inverse at $(b, a)$ is the reciprocal of the gradient of $f$ at $(a, b)$. In Leibniz notation, with $x$ and $y$ swapping roles:

Derivative of an inverse
$$\frac{dy}{dx} = \frac{1}{dx/dy}$$
Gradients of a function and its inverse

Solid: y = x³/8 + 1. Dashed: its inverse y = 2∛(x − 1). Drag P along the solid curve.

Try this

Multiply the two gradients in the readout. What do you always get? Now drag $P$ to $x = 0$. What happens to the gradient of the inverse at the mirror point $(1, 0)$, and what does the dashed curve look like there?

Example 3●●

$f(x) = x^3 + 2x - 1$. Find the gradient of $y = f^{-1}(x)$ at $x = 2$.

First find which $x$ gives $f(x) = 2$: $x^3 + 2x - 3 = 0$, and $x = 1$ works.
f'(x) = 3x² + 2 > 0, so f is increasing and has an inverse.
$f'(1) = 3 + 2 = 5$, so the gradient of $f^{-1}$ at $x = 2$ is $\tfrac15$.
So the inverse passes through (2, 1). Its gradient there is 1 over the gradient of f at (1, 2).
Example 4●●

If $x = y^3 + y$, find $\dfrac{dy}{dx}$ in terms of $y$.

$\dfrac{dx}{dy} = 3y^2 + 1$
x is given in terms of y, so differentiate with respect to y.
$\dfrac{dy}{dx} = \dfrac{1}{3y^2 + 1}$

Your turn

$f(x) = x^5 + 3x$. Find the gradient of $y = f^{-1}(x)$ at the point where $x = 4$.

Show the working

$f(1) = 1 + 3 = 4$, so $f^{-1}(4) = 1$. $f'(x) = 5x^4 + 3$, so $f'(1) = 8$. The gradient of the inverse at $x = 4$ is $\tfrac18$.

Flashcards
Domain and range of $f^{-1}$
Domain of $f^{-1}$ = range of $f$; range of $f^{-1}$ = domain of $f$.
Derivative of an inverse
$\dfrac{dy}{dx} = \dfrac{1}{dx/dy}$
Test for an inverse function
One-to-one: every horizontal line meets the graph at most once.
Practice
  1. Which function has an inverse function on its natural domain?

  2. $f(x) = 3x - 6$. Find $f^{-1}(0)$.

  3. The inverse of $y = e^x + 2$ is:

  4. $f(x) = \sqrt{x - 3} + 1$. The domain of $f^{-1}$ is $x \ge c$. Find $c$.

  5. $f(x) = x^3 + 2x - 1$. Find the gradient of $y = f^{-1}(x)$ at $x = 2$.

  6. $f(x) = x^2 - 6x + 5$ is restricted to $x \ge k$ so that it has an inverse. Find the smallest possible $k$.

  7. If $x = y^3 + y$, then $\dfrac{dy}{dx} =$

  8. The gradient of $y = f(x)$ at $(3, 7)$ is $4$. The gradient of $y = f^{-1}(x)$ at $(7, 3)$ is:

  9. Exam style: $f(x) = e^{2x} + x$. Find the gradient of $y = f^{-1}(x)$ at $x = 1$, correct to $2$ decimal places.

  10. Exam style: $f(x) = \sqrt{x + 6}$ is increasing. Find the $x$-coordinate of the point where $y = f(x)$ meets $y = f^{-1}(x)$.

Formula sheet