Inverse Function

Definitionnoun

What is an inverse function?

An inverse function undoes another function: if f sends a to b, its inverse f−1 sends b back to a. For f(x) = 2x + 3, the inverse is f−1(x) = x − 32. Only one-to-one functions have inverses, and the graph of f−1 is the mirror image of f across y = x.

In Spanish
función inversa
Also called
inverse of a function, f inverse, f^-1
Grade level
Algebra 2
Algebra 2PrecalculusCCSS HSF-BF.B.4CCSS HSF-BF.B.4.aSATACTACCUPLACERAP

Inverse Function in a picture

A function and its inverse reflected across y = xThe green line f(x) = 2x – 2 and the blue line f inverse (x) = (x + 2)/2 are mirror images across the dashed line y = x. Matching points swap coordinates: (3, 4) and (4, 3), (0, -2) and (-2, 0). Both lines meet at (2, 2) on y = x.−2−112345−2−112345xy(3, 4)(4, 3)(0, −2)(−2, 0)f(x) = 2x − 2f⁻¹(x) = (x + 2) ÷ 2y = x
Every point (a, b) on f has a partner (b, a) on f−1, so the two graphs are reflections of each other across y = x.

Formal definition and notation

Let f be a one-to-one function with domain A and range B. Its inverse is the function f−1 with domain B and range A such that f−1(y) = x exactly when f(x) = y. Equivalently, f−1(f(x)) = x for every x in A and f(f−1(y)) = y for every y in B. The −1 is notation, not an exponent: f−1(x) ≠ 1f(x) in general.

Symbol Read it as Meaning
f−1(x) f inverse of x the inverse function of f, not a reciprocal
f−1(f(x)) = x f inverse of f of x equals x the inverse undoes the function
y = x y equals x the mirror line between the graphs of f and f−1

Key facts

  • The inverse reverses the steps in reverse order: f multiplies by 2 then adds 3, so f−1 subtracts 3 then divides by 2.
  • Inputs and outputs trade places: if (4, 11) is on f, then (11, 4) is on f−1.
  • The domain of f−1 is the range of f, and the range of f−1 is the domain of f.
  • A function has an inverse only if it is one-to-one: it passes the horizontal line test.
  • f(x) = x2 is not one-to-one, but restricted to x ≥ 0 it has the inverse √x.
  • Exponential and logarithmic functions are inverses: y = 10x and y = log x.

How to find an inverse

How to find an inverse
y = f(x) ⇒ swap x, y ⇒ solve for y
x
after the swap, the input of the inverse (an output of f)
y
after solving, the formula for f−1(x)

Check the answer by composing: both f(f−1(x)) and f−1(f(x)) must simplify to x.

Try it: run the inverse

Interactive

This machine is f−1 for f(x) = 3x + 2: it subtracts 2, then divides by 3. Feed it the outputs of f for 1, 2 and 4, which are 5, 8 and 14, and you get 1, 2 and 4 back. Hide the rule and see if a friend can find it.

This interactive needs JavaScript. The worked examples below show the same ideas step by step.

Inverse Function examples, step by step

Example 1: Undo the steps

Warm-up

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

  1. Write y = 4x − 3 and swap x and y: x = 4y − 3.
  2. Add 3: x + 3 = 4y.
  3. Divide by 4: y = x + 34.
  4. Check: f( x + 34 ) = (x + 3) − 3 = x.

Answer: f−1(x) = x + 34, which is (x + 3)/4.

Example 2: A cubic

Core

Find f−1(x) for f(x) = 2x3, then find f−1(16).

  1. Swap: x = 2y3.
  2. Divide by 2: y3 = x2.
  3. Cube root: f−1(x) = 3√x2.
  4. f−1(16) = 3√8 = 2. Check: f(2) = 2 · 8 = 16.

Answer: f−1(x) = 3√x2, so f^-1(16) = 2.

Example 3: Use the inverse to find a constant

Test-style

For f(x) = 3x + b, you know that f−1(10) = 2. What is b?

  1. f−1(10) = 2 means f(2) = 10.
  2. So 3(2) + b = 10.
  3. 6 + b = 10, so b = 4.

Answer: b = 4

Common mistakes

✗ Mistakef−1(x) = 1f(x): for f(x) = 2x, f−1(x) = 12x.
✓ InsteadFor f(x) = 2x, f−1(x) = x2.

The −1 in f−1 names the inverse; it is not an exponent. 1f(x) is the reciprocal, written (f(x))−1.

✗ MistakeInverse of f(x) = 2x + 3: x2 − 3.
✓ Insteadf−1(x) = x − 32.

Undo the steps in reverse order: f doubles then adds 3, so the inverse subtracts 3 first, then halves. Check: f(4) = 11, and 11 − 32 = 4, but 112 − 3 = 2.5.

✗ MistakeThe inverse of f(x) = x2 is √x for all x.
✓ InsteadOnly after restricting f to x ≥ 0.

f(3) = f(−3) = 9, so “undo 9” has two answers. A function must be one-to-one to have an inverse.

Not to be confused with

Inverse Functionvs.Reciprocal

The reciprocal of the output is 1f(x); the inverse function reverses the input-output pairs. For f(x) = x + 1: reciprocal 1x + 1, inverse x − 1.

Inverse Functionvs.Inverse operations

Inverse operations are single steps that undo each other, like adding 3 and subtracting 3. An inverse function undoes a whole function, using inverse operations in reverse order.

Inverse Functionvs.Negative exponent

x−1 means 1x, a reciprocal. f−1 means inverse function. Same symbol, different meanings.

Quick check: 3 questions

Question 1 of 3

What is the inverse of f(x) = 5x + 1?

Show answer and explanation

Answer: D. Swap and solve: x = 5y + 1, so y = x − 15. The first choice undoes the steps in the wrong order, the second is the reciprocal, and the third only undoes the 1.

Question 2 of 3

If f(7) = 2, what is f−1(2)?

Show answer and explanation

Answer: A. The inverse sends each output back to its input: f takes 7 to 2, so f−1 takes 2 to 7. The fractions treat −1 as an exponent.

Question 3 of 3

Which function does NOT have an inverse over all real numbers?

Show answer and explanation

Answer: B. x2 + 1 gives the same output for x and −x (both 2 and −2 give 5), so it is not one-to-one. The other three always increase or always decrease, so each output comes from one input.

Inverse Function: frequently asked questions

How do you find the inverse of a function?

Replace f(x) with y, swap x and y, and solve the new equation for y. That y is f−1(x). For f(x) = x3 + 4: swap to x = y3 + 4, subtract 4 and multiply by 3 to get f−1(x) = 3x − 12. Then check that f(f−1(x)) = x.

Does every function have an inverse?

No. Only one-to-one functions do, where each output comes from exactly one input. On a graph, every horizontal line must cross the graph at most once: the horizontal line test. A parabola fails it, so y = x2 has no inverse unless you keep only one half, such as x ≥ 0.

How are the graphs of a function and its inverse related?

They are reflections of each other across the line y = x. Swapping the coordinates of every point, as the inverse does, flips the picture over that diagonal. If the graph of f passes through (1, 5), the graph of f−1 passes through (5, 1). Any point where they meet on that line is unchanged.

Practice and tools

Sources

  1. Common Core State Standards, High School Functions, Building Functions (HSF-BF.A.1.c, HSF-BF.B.4)
  2. OpenStax, College Algebra 2e, 3.7 Inverse Functions

Updated November 2026·Reviewed by the Effortless Math team·Standards: CCSS HSF-BF.B.4, CCSS HSF-BF.B.4.a

Cite this entry

Effortless Math Team. “Inverse Function.” Effortless Math Dictionary. Updated November 2026. https://www.effortlessmath.com/math-dictionary/inverse-function/

Flashcard

TermInverse Functionf−1(f(x)) = x
DefinitionThe function that undoes f, swapping inputs and outputs. For f(x) = 2x + 3, f−1(x) = x − 32.
Study the full deck

Browse all terms in the Math Dictionary · More functions terms · Random term