Finding Inverse Functions Algebraically
You'll learn the swap-and-solve method to algebraically find the inverse of a function by switching variables and solving.
What Is the Swap-and-Solve Method?
Once you know a function is one-to-one (from our previous lesson), you can find its inverse algebraically. The swap-and-solve method is a three-step process:
- Replace f(x) with y to make the equation easier to work with
- Swap x and y — this reverses the input-output relationship
- Solve for y — isolate y on one side of the equation
The result is your inverse function, which you can write as f⁻¹(x).
Why Does This Work?
Think of a function as a machine: you put in x, it outputs y. The inverse function reverses this: you put in y (from the original output), and it gives you back the original x. By swapping x and y, you're essentially "running the machine backwards," then solving for y tells you the new rule.
Example
Find the inverse of f(x) = 2x + 3.
Step 1: Write as y = 2x + 3
Step 2: Swap x and y to get x = 2y + 3
Step 3: Solve for y:
- x = 2y + 3
- x - 3 = 2y
- y = (x - 3)/2
Therefore, f⁻¹(x) = (x - 3)/2.
You can verify: if f(5) = 13, then f⁻¹(13) should equal 5. Check: (13 - 3)/2 = 10/2 = 5 ✓
When to Use This
Use the swap-and-solve method whenever you need an explicit formula for an inverse function. Just remember: the original function must be one-to-one, or the inverse won't be a function!
Key Takeaway: To find f⁻¹(x) algebraically, replace f(x) with y, swap x and y, then solve for y — the result is your inverse function.