NC.M3.F-BF.4Print or save as PDF
Inverse Functions
An inverse function undoes the original. Learn how to find one from an equation, a table, or a graph, how to tell whether one exists, and how to use it to work backward in a real situation.
Source: Authored for NCMath (not from the PDF prototype) — needs teacher review
What an inverse does
They undo each other — f⁻¹(f(x)) = x and f(f⁻¹(x)) = x
Points swap — (a, b) is on f ⇔ (b, a) is on f⁻¹
A function f takes an input and gives an output. Its inverse, f⁻¹, takes that output and gives back the original input.
So if f(a) = b, then f⁻¹(b) = a. Inputs and outputs trade places.
That means every point (a, b) on the graph of f becomes the point (b, a) on the graph of f⁻¹.
Example
Let f(x) = 2x + 1. Then f(3) = 7. What is f⁻¹(7)?
f⁻¹ must undo f, so it sends 7 back to 3. Using f⁻¹(x) = (x − 1)/2: f⁻¹(7) = (7 − 1)/2 = 3.
f⁻¹ must undo f, so it sends 7 back to 3. Using f⁻¹(x) = (x − 1)/2: f⁻¹(7) = (7 − 1)/2 = 3.
A notation trap
f⁻¹(x) is not 1/f(x)
The small −1 in f⁻¹ means "inverse function." It is not an exponent, and it does not mean reciprocal.
The reciprocal 1/f(x) is a different function, and its values are different.
Example
For f(x) = 2x + 1, compare f⁻¹(3) with 1/f(3).
f⁻¹(3) = (3 − 1)/2 = 1. But f(3) = 7, so 1/f(3) = 1/7. They are not equal.
f⁻¹(3) = (3 − 1)/2 = 1. But f(3) = 7, so 1/f(3) = 1/7. They are not equal.
Trap: Do not flip f into a fraction to find the inverse. To find f⁻¹, swap the roles of x and y and solve (next section).
Finding an inverse from an equation
- Write the function as y = f(x).
- Swap x and y.
- Solve the new equation for y.
- Name the result f⁻¹(x). Check that f(f⁻¹(x)) = x.
Memory hook: Swap x and y, then solve for y. Points flip, and the graph mirrors across the line y = x.
Three inverse pairs
Linear and linear
The inverse of a linear function (with a nonzero slope) is another linear function. If the slope of f is 2, the slope of f⁻¹ is ½.
The blue line and the orange line are mirror images across the dashed line y = x. The point (1, 3) on f matches (3, 1) on f⁻¹.
Example
Find the inverse of f(x) = 2x + 1.
y = 2x + 1. Swap: x = 2y + 1. Solve: y = (x − 1)/2. So f⁻¹(x) = (x − 1)/2. Check: f(f⁻¹(x)) = 2 · (x − 1)/2 + 1 = x.
y = 2x + 1. Swap: x = 2y + 1. Solve: y = (x − 1)/2. So f⁻¹(x) = (x − 1)/2. Check: f(f⁻¹(x)) = 2 · (x − 1)/2 + 1 = x.
Exponential and logarithmic
The inverse of an exponential function is a logarithm. log₂(x) asks: 2 to what power gives x?
The exponential f(x) = 2ˣ has outputs only above 0, so its inverse log₂(x) has inputs only above 0.
f⁻¹(8) = log₂(8) = 3 because 2³ = 8.
Example
Find the inverse of f(x) = 3 · 2ˣ.
y = 3 · 2ˣ. Swap: x = 3 · 2ʸ. Divide by 3: x/3 = 2ʸ. Rewrite as a logarithm: y = log₂(x/3). So f⁻¹(x) = log₂(x/3). Check: f⁻¹(24) = log₂(8) = 3, and f(3) = 3 · 8 = 24.
y = 3 · 2ˣ. Swap: x = 3 · 2ʸ. Divide by 3: x/3 = 2ʸ. Rewrite as a logarithm: y = log₂(x/3). So f⁻¹(x) = log₂(x/3). Check: f⁻¹(24) = log₂(8) = 3, and f(3) = 3 · 8 = 24.
Quadratic and square root
A quadratic is the inverse of a square root only after its domain is restricted. Here f(x) = x² is used only for x ≥ 0.
On that domain, f⁻¹(x) = √x. The point (2, 4) on f matches (4, 2) on f⁻¹.
Example
Find the inverse of f(x) = x² + 3 for x ≥ 0.
y = x² + 3. Swap: x = y² + 3. Solve: y² = x − 3, so y = √(x − 3). Use the positive root because the original inputs were x ≥ 0. So f⁻¹(x) = √(x − 3) for x ≥ 3. Check: f(f⁻¹(x)) = (x − 3) + 3 = x.
y = x² + 3. Swap: x = y² + 3. Solve: y² = x − 3, so y = √(x − 3). Use the positive root because the original inputs were x ≥ 0. So f⁻¹(x) = √(x − 3) for x ≥ 3. Check: f(f⁻¹(x)) = (x − 3) + 3 = x.
Trap: Squaring and square-rooting only undo each other for non-negative numbers. Without the restriction, √(x²) = |x|, not x.
Inverses from a table or a graph
From a table
Swap the two columns. The old outputs become the inputs of f⁻¹.
| x | f(x) |
|---|---|
| 0 | 1 |
| 1 | 3 |
| 2 | 5 |
| 3 | 7 |
A table for f.
Example
Use the table to find f⁻¹(5), and write the table for f⁻¹.
f(2) = 5, so f⁻¹(5) = 2. Swapping columns gives f⁻¹: 1 → 0, 3 → 1, 5 → 2, 7 → 3.
f(2) = 5, so f⁻¹(5) = 2. Swapping columns gives f⁻¹: 1 → 0, 3 → 1, 5 → 2, 7 → 3.
From a graph
Reflect the graph across the line y = x. Equivalently, swap the coordinates of each point.
To find f⁻¹(b) from the graph of f, find the point on f whose y-value is b. Its x-value is the answer.
Example
On the graph of f(x) = 2x + 1, the point (1, 3) is marked. What point is on f⁻¹?
Swap the coordinates: (3, 1). So f⁻¹(3) = 1.
Swap the coordinates: (3, 1). So f⁻¹(3) = 1.
Does an inverse exist?
Table: look for repeated outputs
If any output appears twice, there is no inverse.
| x | f(x) |
|---|---|
| −2 | 4 |
| −1 | 1 |
| 0 | 0 |
| 1 | 1 |
| 2 | 4 |
The outputs 4 and 1 repeat.
Example
Does this table have an inverse?
No. The output 1 comes from both x = −1 and x = 1, so f⁻¹(1) would have two answers.
No. The output 1 comes from both x = −1 and x = 1, so f⁻¹(1) would have two answers.
Graph: the horizontal line test
If any horizontal line crosses the graph more than once, there is no inverse.
The line y = 4 crosses y = x² at (−2, 4) and (2, 4), so y = x² has no inverse as it stands.
Graph: passing the test
If every horizontal line crosses at most once, an inverse exists.
The line y = 4 crosses y = 2ˣ only once, at (2, 4). Every horizontal line does this, so 2ˣ has an inverse.
Equation: look for two inputs with one output
Linear functions with a nonzero slope and exponential functions each give every output from one input only, so each has an inverse.
A quadratic does not. Inputs on either side of the vertex give the same output.
Example
Does f(x) = x² have an inverse?
No. f(−3) = 9 and f(3) = 9, so the output 9 repeats.
No. f(−3) = 9 and f(3) = 9, so the output 9 repeats.
Fixing a quadratic: restrict the domain
Keep only one side of the parabola, starting at the vertex. The remaining piece passes the horizontal line test.
For f(x) = (x − 2)² + 1, the vertex is at x = 2. Keep x ≥ 2.
Example
Find the inverse of f(x) = (x − 2)² + 1 for x ≥ 2.
y = (x − 2)² + 1. Swap: x = (y − 2)² + 1. So (y − 2)² = x − 1, and y − 2 = ±√(x − 1). Since y ≥ 2 (the original inputs), take the plus: y = 2 + √(x − 1). So f⁻¹(x) = 2 + √(x − 1) for x ≥ 1. Check: f(f⁻¹(x)) = (√(x − 1))² + 1 = x.
y = (x − 2)² + 1. Swap: x = (y − 2)² + 1. So (y − 2)² = x − 1, and y − 2 = ±√(x − 1). Since y ≥ 2 (the original inputs), take the plus: y = 2 + √(x − 1). So f⁻¹(x) = 2 + √(x − 1) for x ≥ 1. Check: f(f⁻¹(x)) = (√(x − 1))² + 1 = x.
Trap: The domain you keep decides the sign of the root. If you kept x ≤ 2 instead, the inverse would be 2 − √(x − 1). Always state the restriction and choose the matching sign.
Using an inverse in context
Fahrenheit back to Celsius
The formula F = 1.8C + 32 turns Celsius into Fahrenheit. To go from Fahrenheit to Celsius you need the inverse.
Example
Convert 95°F to Celsius.
F = 1.8C + 32. Solve for C: C = (F − 32)/1.8. Then C = (95 − 32)/1.8 = 63/1.8 = 35. So 95°F = 35°C.
F = 1.8C + 32. Solve for C: C = (F − 32)/1.8. Then C = (95 − 32)/1.8 = 63/1.8 = 35. So 95°F = 35°C.
Finding the time from a value
In growth problems you are often given the amount and need the time. That calls for a logarithm.
Example
A culture grows as N = 500 · 2ᵗ, where t is in hours. When does it reach 4000?
N/500 = 2ᵗ, so t = log₂(N/500). Then t = log₂(4000/500) = log₂(8) = 3. It reaches 4000 after 3 hours.
N/500 = 2ᵗ, so t = log₂(N/500). Then t = log₂(4000/500) = log₂(8) = 3. It reaches 4000 after 3 hours.
At a glance
| Function | Inverse | Watch for |
|---|---|---|
| y = mx + b (m ≠ 0) | y = (x − b)/m | Slope becomes the reciprocal |
| y = bˣ | y = log_b(x) | Inverse needs x > 0 |
| y = x² (x ≥ 0) | y = √x | Must restrict the domain |
Every inverse is the mirror image of the original across y = x, and f⁻¹(x) ≠ 1/f(x).
Practice
1. Let f(x) = 3x − 5. Find f⁻¹(x), and then find f⁻¹(7).
2. The table gives f. Make a table for f⁻¹, and find f⁻¹(11).
| x | f(x) |
|---|---|
| 1 | 5 |
| 2 | 8 |
| 3 | 11 |
| 4 | 14 |
3. Let f(x) = 3ˣ. Find f⁻¹(x), and then find f⁻¹(81).
4. Let f(x) = x² − 5 for x ≥ 0. Find f⁻¹(x), and then find f⁻¹(4).
5. Does the function g in the table have an inverse? Explain.
| x | g(x) |
|---|---|
| −2 | 3 |
| −1 | 0 |
| 0 | −1 |
| 1 | 0 |
| 2 | 3 |
6. Which of these has an inverse function without restricting its domain? f(x) = x² + 1, g(x) = 2ˣ, h(x) = −4x + 3.
7. The graph of f(x) = (x + 1)² − 2 is shown. Does f have an inverse? If not, restrict the domain to x ≥ −1 and find f⁻¹(x). Then sketch the inverse.
8. A collectible is worth V = 50 · 3ᵗ dollars after t years. Write t as a function of V, and find when it is worth $1350.