1G

Inverse function notation

One-to-one functions, the notation f⁻¹(x), the composition test f(f⁻¹(x)) = x, restricting a domain so the inverse is a function, and where f meets its inverse.

Last section dealt with inverse relations in general. Now we stick to the case that matters most: functions whose inverse is also a function. This is the groundwork for the inverse trig functions in Year 12, where restricting the domain is the whole story.

One-to-one functions

Every function passes the vertical line test: each $x$ gives one $y$. If it also passes the horizontal line test, each $y$ in the range comes from exactly one $x$. Then inputs and outputs are paired off perfectly, and we call the function one-to-one.

The notation f⁻¹(x)

When $f$ is one-to-one, its inverse function is written $f^{-1}(x)$. For example, if $f(x) = x^3$ then $f^{-1}(x) = \sqrt[3]{x}$.

Undoing: f⁻¹(f(x)) = x

$f$ sends $x$ to $f(x)$, and $f^{-1}$ sends it straight back. So doing one then the other, in either order, leaves every number where it started:

Function and inverse cancel
$$f^{-1}\big(f(x)\big) = x \text{ for all } x \text{ in the domain of } f$$ $$f\big(f^{-1}(x)\big) = x \text{ for all } x \text{ in the domain of } f^{-1}$$

This works as a definition, too: $g$ is the inverse of $f$ exactly when both composites give back $x$. It is also the standard way to check an inverse you've found.

Finding f⁻¹(x)

  1. Write $y = f(x)$, with any restriction.
  2. Swap $x$ and $y$ everywhere, including the restriction.
  3. Make $y$ the subject, and turn the restriction into one on $x$.
  4. Write the answer as $f^{-1}(x) = \ldots$, with its domain.
Example 1●●

$f(x) = 8 - 4x$, where $x \gt 1$. Find $f^{-1}(x)$ and its domain, then check both composites.

$x = 8 - 4y$, where $y \gt 1$
Write it with y, then swap x and y, restriction included.
$y = 2 - \tfrac14 x$
Make y the subject.
$2 - \tfrac14 x \gt 1$, so $x \lt 4$
Replace y by its formula in the restriction (y greater than 1).
$f^{-1}(x) = 2 - \tfrac14 x$, where $x \lt 4$
$f^{-1}(f(x)) = 2 - \tfrac14(8 - 4x) = 2 - 2 + x = x$, and $f(f^{-1}(x)) = 8 - 4\left(2 - \tfrac14 x\right) = 8 - 8 + x = x$
Substitute each into the other and simplify.
Example 2: y appears twice●●●

Find the inverse of $f(x) = \dfrac{x + 2}{x - 1}$.

$x = \dfrac{y + 2}{y - 1}$
Swap x and y.
$xy - x = y + 2$
Multiply out the denominator so y is no longer in a fraction.
$xy - y = x + 2$, so $y(x - 1) = x + 2$
Collect every y-term on one side, and factor y out, so y appears only once.
$f^{-1}(x) = \dfrac{x + 2}{x - 1}$

Surprise: this $f$ is its own inverse, so applying it twice sends every number back to itself. Try it: $f(3) = \tfrac52$ and $f\left(\tfrac52\right) = \tfrac{4.5}{1.5} = 3$. Its graph must be symmetric about the line $y = x$.

Restricting the domain

$f(x) = x^2$ is not one-to-one, since $f(3) = f(-3) = 9$. But if we keep only the right half, $x \ge 0$, every horizontal line meets it once, and the inverse is $\sqrt{x}$. That is exactly why the $\sqrt{\ }$ symbol means the positive square root. The usual choice is the largest piece containing the important part of the graph, cut at a turning point.

f(x) = (x − 1)², x ≥ 1, and its inverse

Orange: f with domain x ≥ 1 (the faint left half is removed). Blue: f⁻¹(x) = 1 + √x. Drag P along f and watch its mirror point.

Try this

Drag $P$ until it lands on the blue curve. Predict first: will that meeting point be on the line $y = x$? Then check by solving $(x - 1)^2 = x$.

Example 3●●●

$f(x) = (x - 1)^2$, where $x \ge 1$. Find $f^{-1}(x)$.

$x = (y - 1)^2$, where $y \ge 1$
Swap x and y, including the restriction.
$y - 1 = \sqrt{x}$
Square root both sides. Since y ≥ 1, y − 1 is not negative, so take the positive root only.
$f^{-1}(x) = 1 + \sqrt{x}$, where $x \ge 0$
The range of f is y ≥ 0, which becomes the domain of the inverse.

Your turn

$f(x) = x^2 + 6x$, where $x \ge -3$. Find $f^{-1}(x)$ and its domain.

Show the working

Complete the square: $f(x) = (x + 3)^2 - 9$, with range $y \ge -9$. Swap: $x = (y + 3)^2 - 9$ with $y \ge -3$. So $(y + 3)^2 = x + 9$, and since $y + 3 \ge 0$, $y + 3 = \sqrt{x + 9}$. So $f^{-1}(x) = -3 + \sqrt{x + 9}$, where $x \ge -9$.

Flashcards
One-to-one
Each $y$ in the range comes from exactly one $x$ (passes the horizontal line test).
$f^{-1}(f(x))$ and $f(f^{-1}(x))$
Both equal $x$, on the domains of $f$ and $f^{-1}$ respectively.
Domain of $f^{-1}$
The range of $f$.
$f^{-1}(x)$ vs $dfrac{1}{f(x)}$
Inverse function vs reciprocal. Not the same.
Practice
  1. If $f(x) = x^3$, then $f^{-1}(x)$ is:

  2. $f$ is one-to-one and $f(6) = 11$. Find $f^{-1}(11)$.

  3. $f(x) = 3x - 5$. Find $f^{-1}(7)$.

  4. $f$ is one-to-one. Find $f\big(f^{-1}(2.5)\big)$.

  5. Which function is one-to-one?

  6. $f(x) = 8 - 4x$, where $x \gt 1$. The domain of $f^{-1}$ is $x \lt k$. Find $k$.

  7. The inverse of $f(x) = \dfrac{x + 2}{x - 1}$ is:

  8. $f(x) = x^2 + 6x$, $x \ge -3$, has inverse $f^{-1}(x) = -3 + \sqrt{x + 9}$. Its domain is $x \ge k$. Find $k$.

  9. Exam style: $f(x) = (x - 1)^2$, $x \ge 1$. Find the $x$-coordinate where $y = f(x)$ meets $y = f^{-1}(x)$, correct to 2 decimal places.

  10. Exam style: $f(x) = x^2 - 4x + 1$. The largest domain of the form $x \ge a$ on which $f$ has an inverse function starts at $a$. Find $a$.

Formula sheet