Quick Answer
To find the inverse of a function: (1) replace f(x) with y, (2) swap x and y, (3) solve for y, and (4) write the result as f⁻¹(x). To verify, check that f(f⁻¹(x)) = x and f⁻¹(f(x)) = x — both compositions must simplify to x.
What Does an Inverse Function Do?
If f takes an input a and produces output b, then f⁻¹ takes b and produces a. The inverse undoes the original function. Graphically, the inverse is the reflection of the original function across the line y = x.
A function has an inverse function only if it is one-to-one — meaning no two different inputs produce the same output. The horizontal line test checks this: if any horizontal line crosses the graph more than once, the function is not one-to-one.
The Four-Step Algebraic Process
Step 1: Replace f(x) with y.
Step 2: Swap x and y (this reflects the function across y = x).
Step 3: Solve the new equation for y.
Step 4: Replace y with f⁻¹(x).
The notation f⁻¹(x) does not mean 1/f(x). The superscript −1 on a function name always means "inverse function," not "reciprocal."
How to Verify Using Composition
After finding f⁻¹(x), verify it by computing both f(f⁻¹(x)) and f⁻¹(f(x)). Both must simplify to x.
If either composition does not equal x, you made an algebra error in finding the inverse. The composition check is the only reliable way to confirm your answer.
Domain Restrictions
When a function is not one-to-one on its natural domain, restrict the domain to a region where it is one-to-one. For example, f(x) = x² restricted to x ≥ 0 has inverse f⁻¹(x) = √x. The domain of f⁻¹ equals the range of f, and the range of f⁻¹ equals the domain of f.
Worked Examples
Example 1
Find the inverse of f(x) = 3x − 7 and verify it.
Solution
- Step 1: y = 3x − 7.
- Step 2: Swap x and y: x = 3y − 7.
- Step 3: Solve for y: x + 7 = 3y → y = (x + 7)/3.
- Step 4: f⁻¹(x) = (x + 7)/3.
- Verify: f(f⁻¹(x)) = 3·((x+7)/3) − 7 = x + 7 − 7 = x. ✓
- Verify: f⁻¹(f(x)) = ((3x − 7) + 7)/3 = 3x/3 = x. ✓
Answer: f⁻¹(x) = (x + 7)/3.
Example 2
Find the inverse of f(x) = (2x + 1)/(x − 3), x ≠ 3.
Solution
- Step 1: y = (2x + 1)/(x − 3).
- Step 2: Swap: x = (2y + 1)/(y − 3).
- Step 3: Multiply both sides by (y − 3): x(y − 3) = 2y + 1.
- Distribute: xy − 3x = 2y + 1.
- Collect y-terms: xy − 2y = 3x + 1.
- Factor: y(x − 2) = 3x + 1.
- Divide: y = (3x + 1)/(x − 2).
- Step 4: f⁻¹(x) = (3x + 1)/(x − 2), x ≠ 2.
Answer: f⁻¹(x) = (3x + 1)/(x − 2).
Common Mistakes
Confusing f⁻¹(x) with 1/f(x). The −1 superscript on a function name means inverse, not reciprocal.
Skipping the composition check. Without it, an algebra error in Step 3 goes undetected.
Forgetting to state domain restrictions when the original function is not one-to-one.
Swapping x and y but then solving for x instead of y — after swapping, always isolate y.
Practice Problems
Find the inverse of f(x) = 5x + 2.
Hint: Swap x and y, then solve for y.
Find the inverse of f(x) = x³ − 4.
Hint: Cube root both sides after isolating the cube.
Verify that f(x) = 2x − 6 and g(x) = (x + 6)/2 are inverses of each other.
Practice Problem Answers
Related StudyBAP Lessons
Still have a question?
Submit your Algebra question here. The best questions are answered every week on StudyBAP.
Ask a Question