One semester I was asked to find the inverse of f(x)=2x+13x−5
Later, I had to find the inverse of f(x)=4x−32x+7
It occurred to me that a general formula would a handy tool.
Especially since I planned to teach Mathematics and I might
be teaching this very topic every semester.
So I solved it for: f(x)=cx+dax+b
And arrived at: f-1(x)=-cx+adx−b
This is easily remembered . . .
(1) Switch the coefficients on the main diagonal (a and d).
(2) Change the signs on the minor diagonal (b and c).