01 / 21

Finding & Verifying
Inverse Functions

Learn how to reverse any function, find its inverse algebraically, and prove it works using composition.

Math 3

What Is an Inverse Function?

An inverse function "undoes" what the original function does. If \( f \) takes an input \( x \) and produces output \( y \), then the inverse \( f^{-1} \) takes \( y \) back to \( x \).

\( f(x) \)
Maps input \( x \) to output \( y \)
\( f^{-1}(x) \)
Maps output \( y \) back to input \( x \)

The Reflection Property

The graph of \( f^{-1} \) is the reflection of \( f \) across the line \( y = x \). Every point \( (a, b) \) on \( f \) becomes \( (b, a) \) on \( f^{-1} \).

\( y = x \)
\( f(x) \)
\( f^{-1}(x) \)
(4, 3)
(3, 4)
x
y

The One-to-One Requirement

Not every function has an inverse. A function must be one-to-one (each output comes from exactly one input) for its inverse to also be a function.

✓ One-to-One
Passes the Horizontal Line Test: no horizontal line hits the graph more than once.
✕ Not One-to-One
A horizontal line crosses the graph in two or more places: the inverse is not a function.

The Verification Theorem

Two functions \( f \) and \( g \) are inverses of each other if and only if both compositions return the input:

\( f \)
\( g \)
x
y
x
\( g(f(x)) = x \)
\( f(g(x)) = x \)

Both directions must hold. Checking only one composition is not sufficient for a complete proof.

Domain and Range Swap

When you find an inverse, the domain and range switch roles:

\( f \)
Domain: \( A \)
Range: \( B \)
\( f^{-1} \)
Domain: \( B \)
Range: \( A \)

\( f^{-1}(x) \) vs. \( \frac{1}{f(x)} \)

These two notations look similar but mean completely different things. Confusing them is one of the most common errors in this topic.

\( f^{-1}(x) \) \( \frac{1}{f(x)} \)
Meaning Inverse function Reciprocal of output
Operation Undoes \( f \) Divides 1 by \( f(x) \)
Example If \( f(x) = 2x + 3 \), then \( f^{-1}(x) = \frac{x-3}{2} \) \( \frac{1}{2x+3} \)
Composition test \( f(f^{-1}(x)) = x \) ✓ \( f\!\left(\frac{1}{f(x)}\right) \neq x \) ✕

How to Find an Inverse

1
Replace \( f(x) \) with \( y \). Write the equation as \( y = \text{expression} \).
2
Swap \( x \) and \( y \). This reflects the function over \( y = x \).
3
Solve for \( y \). Isolate \( y \) on one side using algebra.
4
Replace \( y \) with \( f^{-1}(x) \). Write the final answer in inverse notation.
5
Verify using composition. Confirm \( f(f^{-1}(x)) = x \) and \( f^{-1}(f(x)) = x \).

Example 1: Linear Function

Find the inverse of \( f(x) = 3x - 5 \).

1
Write: \( y = 3x - 5 \)
2
Swap: \( x = 3y - 5 \)
3
Solve: \( x + 5 = 3y \), so \( y = \frac{x + 5}{3} \)
4
Result: \( f^{-1}(x) = \frac{x + 5}{3} \)

Example 2: Rational Function

Find the inverse of \( f(x) = \frac{2x + 1}{x - 3} \), where \( x \neq 3 \).

1
Write: \( y = \frac{2x + 1}{x - 3} \)
2
Swap: \( x = \frac{2y + 1}{y - 3} \)
3
Cross-multiply: \( x(y - 3) = 2y + 1 \), so \( xy - 3x = 2y + 1 \)
4
Collect \( y \)-terms: \( xy - 2y = 3x + 1 \), factor: \( y(x - 2) = 3x + 1 \)
5
Result: \( f^{-1}(x) = \frac{3x + 1}{x - 2} \), where \( x \neq 2 \)

Verifying Example 2

We claimed \( f(x) = \frac{2x+1}{x-3} \) and \( f^{-1}(x) = \frac{3x+1}{x-2} \). Let's check both compositions.

Example 3: Restricted Domain

Find the inverse of \( f(x) = x^2 + 1 \) for \( x \ge 0 \).

1
Write: \( y = x^2 + 1 \)
2
Swap: \( x = y^2 + 1 \)
3
Solve: \( y^2 = x - 1 \), so \( y = \pm\sqrt{x - 1} \)
4
Since the original domain is \( x \ge 0 \), the range of \( f^{-1} \) must be \( \ge 0 \). Take the positive root.
5
Result: \( f^{-1}(x) = \sqrt{x - 1} \), domain \( x \ge 1 \)

Graphing \( f \) and \( f^{-1} \)

1
2
3
4
5
6
7
1
2
3
4
5
\( f(x) = x^2+1 \)
\( f^{-1}(x) = \sqrt{x-1} \)
\( y = x \)
x
y

When Inverses Don't Exist

Some functions fail the horizontal line test and cannot have an inverse unless we restrict the domain.

\( f(x) = x^2 \)
Fails HLT on \( (-\infty, \infty) \). Restrict to \( x \ge 0 \) or \( x \le 0 \).
\( f(x) = |x| \)
Fails HLT everywhere. Restrict to \( x \ge 0 \) or \( x \le 0 \).
\( f(x) = \sin x \)
Periodic, fails HLT. Restrict to \( \left[-\frac{\pi}{2}, \frac{\pi}{2}\right] \).

Common Mistakes to Avoid

✕ Confusing \( f^{-1} \) with \( \frac{1}{f} \)
\( f^{-1}(x) \) is the inverse function, not the reciprocal \( \frac{1}{f(x)} \). They produce completely different results.
✕ Forgetting to swap \( x \) and \( y \)
If you just solve for \( x \) in terms of \( y \) without swapping first, you get the original function rearranged, not the inverse.
✕ Ignoring domain restrictions
For functions like \( x^2 \), forgetting to restrict the domain leads to an "inverse" that isn't actually a function.

Summary Reference Table

Function \( f(x) \) Inverse \( f^{-1}(x) \) Domain of \( f^{-1} \)
\( 3x - 5 \) \( \frac{x + 5}{3} \) \( (-\infty, \infty) \)
\( x^2 + 1 \), \( x \ge 0 \) \( \sqrt{x - 1} \) \( x \ge 1 \)
\( \frac{2x+1}{x-3} \) \( \frac{3x+1}{x-2} \) \( x \ne 2 \)
\( x^3 \) \( \sqrt[3]{x} \) \( (-\infty, \infty) \)
\( e^x \) \( \ln x \) \( x > 0 \)

Question 1 of 5

What is the inverse of \( f(x) = 4x + 7 \)?

Question 2 of 5

If \( f(3) = 10 \), what is \( f^{-1}(10) \)?

Question 3 of 5

To verify that \( f \) and \( g \) are inverses, you must show that:

Question 4 of 5

What is the inverse of \( f(x) = x^2 - 4 \) for \( x \ge 0 \)?

Question 5 of 5

The graph of \( f^{-1} \) is obtained by reflecting the graph of \( f \) across which line?