Finding the Inverse of a Function
Problem
Find the inverse of f(x) = (2x+3)/(x−1). Swap x and y, solve for y.
Explanation
How to find the inverse of a function
The inverse function "undoes" . If takes input and gives output , then takes input and returns . The process: swap and , then solve for .
Step-by-step solution: Find the inverse of
Step 1 — Replace with :
Step 2 — Swap and (this is the key step — every input becomes an output and vice versa):
Step 3 — Solve for . Multiply both sides by :
Expand:
Collect all -terms on one side:
Factor out :
Divide:
Step 4 — Write the answer:
Step 5 — Verify by checking :
Graphical check
The graph of is the reflection of across the line . Every point on corresponds to on .
Common mistakes
- Forgetting to swap and . If you just solve for , you get as a function of — but then you need to relabel for the inverse.
- Domain restrictions. has domain ; has domain . The domain of equals the range of .
Try it in the visualization
Both and are graphed with the mirror line. Point pairs are connected by dashed lines. Drag the test point to verify .
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.