Skip to content

Inverse Functions

In this lesson you’ll learn what an inverse function is, how to find the inverse of a function, and how to check that two functions are inverses of each other.

An inverse function “undoes” what the original function does. If f(x) turns input x into output y, then the inverse f⁻¹(x) turns that output back into the original input.

Key idea:

f(f1(x))=xandf1(f(x))=xf(f^{-1}(x)) = x \quad \text{and} \quad f^{-1}(f(x)) = x

How to find the inverse:

  1. Replace f(x) with y
  2. Swap x and y
  3. Solve for y
  4. Replace y with f⁻¹(x)

Example: find the inverse of f(x) = 2x + 3.

y=2x+3x=2y+3x3=2yy=x32\begin{aligned} y &= 2x + 3 \\[1em] x &= 2y + 3 \\[1em] x - 3 &= 2y \\[1em] y &= \frac{x - 3}{2} \end{aligned}

So f⁻¹(x) = (x − 3) / 2.

To verify: plug the inverse into the original and vice versa. Both should give x.

1. Find the inverse of f(x) = 3x − 6

y=3x6x=3y6x+6=3yy=x+63\begin{aligned} y &= 3x - 6 \\[1em] x &= 3y - 6 \\[1em] x + 6 &= 3y \\[1em] y &= \frac{x + 6}{3} \end{aligned}

So f⁻¹(x) = (x + 6) / 3.

2. Verify they are inverses

f(f1(x))=f ⁣(x+63)=3 ⁣(x+63)6=x+66=x  f(f^{-1}(x)) = f\!\left(\frac{x + 6}{3}\right) = 3\!\left(\frac{x + 6}{3}\right) - 6 = x + 6 - 6 = x \;\checkmark

3. Find the inverse of g(x) = x² + 4 (domain restricted to x ≥ 0)

y=x2+4x=y2+4x4=y2y=x4\begin{aligned} y &= x^2 + 4 \\[1em] x &= y^2 + 4 \\[1em] x - 4 &= y^2 \\[1em] y &= \sqrt{x - 4} \end{aligned}

We take the positive root because the domain was restricted to x ≥ 0. So g⁻¹(x) = √(x − 4).

Inverse functions are very useful in real life:

  • Converting temperature: Fahrenheit to Celsius and back again are inverses.
  • Undoing a discount: if a store applies 20% off, the inverse tells you the original price.
  • Finding how long it takes to earn a certain amount: if earnings = rate × time, the inverse finds time given earnings.
  • In finance: finding the interest rate needed to reach a savings goal.

Example: a phone plan costs c(t) = 25 + 0.12t dollars for t texts. The inverse would tell you how many texts you sent if you know the total bill.

If $f(x) = 4x - 8$, what is $f^{-1}(x)$?
Which statement is true about inverse functions?
A function doubles a number and adds 5. What does its inverse do?
Why do we sometimes need to restrict the domain when finding an inverse?
Find the inverse of $f(x) = \frac{x}{3} + 7$.