Skip to content
  • Open the math solver
  • Ask the AI tutor
  • Find an AP course
  • Create a quiz
  • Open the calculator
  • Graphing Calculator
  • Browse all calculators
  • Read math guides
↑ ↓Enter to open · Esc to close
Solve a problem
PrecalculusPrecalculusHigh school

Inverse Functions

Swap x and y, solve, and check both compositions.

An inverse function reverses another: if ff sends 3 to 10, then f−1f^{-1} sends 10 back to 3. Composing them in either order returns the input, f(f−1(x))=xf(f^{-1}(x)) = x and f−1(f(x))=xf^{-1}(f(x)) = x. Graphically, the inverse is the reflection of the original graph across the line y=xy = x.

Only one-to-one functions have inverses, because each output must come from exactly one input. The horizontal line test checks this. Functions that fail, like x2x^2, can be given an inverse by restricting the domain, which is exactly how x\sqrt{x} and sin⁡−1x\sin^{-1} x are defined.

Key terms

Inverse check
f and g are inverses when each undoes the other.
f(g(x))=g(f(x))=xf(g(x)) = g(f(x)) = x

Key ideas

  • To find f−1f^{-1}: write y=f(x)y = f(x), swap xx and yy, solve for yy.
  • The domain of f−1f^{-1} is the range of ff, and vice versa.
  • f−1(x)f^{-1}(x) is not 1f(x)\frac{1}{f(x)}.
  • Verify by composing both ways.

Worked example

Find the inverse of f(x)=2x−13f(x) = \frac{2x - 1}{3}.

  1. Write y=2x−13y = \frac{2x - 1}{3}.
  2. Swap: x=2y−13x = \frac{2y - 1}{3}.
  3. Solve: 3x=2y−13x = 2y - 1, so y=3x+12y = \frac{3x + 1}{2}.
  4. Check: f(f−1(x))=(3x+1)−13=xf(f^{-1}(x)) = \frac{(3x + 1) - 1}{3} = x.

Answer: f−1(x)=3x+12f^{-1}(x) = \frac{3x + 1}{2}

Common mistakes

  • Reading f−1f^{-1} as a reciprocal.
  • Forgetting to restrict the domain of a function that is not one-to-one.
  • Solving for xx without swapping, which only rearranges the original.

Practice questions

Try each one, then open the answer. Numerical answers on this page are verified by an automated calculation check.

  1. 1.If f(x)=4x+7f(x) = 4x + 7, find f−1(15)f^{-1}(15).

    Show answer

    22

  2. 2.If f(x)=x3f(x) = x^3, find f−1(−27)f^{-1}(-27).

    Show answer

    −3-3

  3. 3.If f(x)=exf(x) = e^x, find f−1(1)f^{-1}(1).

    Show answer

    00

Keep practising

More in Precalculus