Here's an easy way to find the inverse when both numerator and denominator are
linear:
The inverse of a rational function with a linear numerator and denominator is also a rational
function with a linear numerator and denominator.
We know that f(x) has a vertical asymptote at x = 2 and a horizontal asymptote at y = 1,
So we know that f-1(x) has a vertical asymptote at x=1 and a horizontal asymptote at y = 2,
so we know the denominator could be , and if it were, the numerator would have to be
2x + something, so we have:
Now since f(x) goes through (0,-1), f-1 goes through (-1,0), so
and A has to be 2
So .
You could just about do that in your head.
Edwin