Question
Finding the inverse of a rational function with x over x plus 2
Original question: 11. f(x)=\frac{x}{x+2} y=\frac{x}{x+2} Swap x,y x=\frac{y}{y+2} Multiplying both sides by y+2 to find of function
Expert Verified Solution
Key concept: This problem tests inverse-function algebra for a rational expression, where the key step is clearing the denominator after swapping variables.
Step by step
Start with the original function
We are given
To find the inverse, replace with and then swap and :
Swap the variables:
Solve for y carefully
Multiply both sides by :
Distribute :
Move the terms to one side:
Factor out on the right side:
Now divide by :
So the inverse is
Why this works
Inverse functions undo the original function. The original rule takes an input, divides it by the input plus 2, and the inverse must reverse that process.
A good algebra check is to substitute the inverse back into the original function and simplify. If the result returns the original variable, the inverse is correct.
Important domain idea
The original function cannot use , because that would make the denominator zero. The inverse also has a restriction: , so . Domain and range switch roles when you find an inverse.
Common algebra pattern
For rational inverses, the main challenge is clearing the denominator without losing terms. Multiply both sides by the full denominator before expanding. That keeps the equation accurate and avoids mistakes with fractions.
Pitfall alert
A common mistake is multiplying only one term by the denominator instead of the entire left side. In , the factor must multiply the whole left side, giving . Another frequent error is stopping after obtaining an equation like and forgetting to isolate . Also watch the domain: the inverse cannot include values that make its denominator zero, so you must state for the inverse. Those restrictions matter just as much as the algebraic formula.
Try different conditions
If the function were changed to , the same swap-and-solve method would work, but the algebra would produce a different inverse. Starting from , you would get , then , and finally . If the numerator were instead of , such as , the inverse would also change because the scaling affects every step of the isolation process.
Further reading
rational function, inverse function, domain and range
FAQ
How do you find the inverse of a rational function after swapping x and y?
Write the function with y, swap x and y, multiply by the denominator, and isolate y. For x=y/(y+2), the algebra leads to y=2x/(1-x), so the inverse is f^{-1}(x)=2x/(1-x).
What domain restriction appears in the inverse of x over x plus 2?
The inverse has denominator 1-x, so x cannot equal 1. This restriction comes from the algebra and matches the fact that the original function cannot take x=-2.