Find the inverse of a linear or rational function f(x) = (ax + b)/(cx + d) — with the domain of each and a graph showing the reflection over y = x.
Works for f(x) = (a·x + b)/(c·x + d). Set c = 0 and d = 1 for a simple linear function a·x + b.
A function and its inverse are mirror images across the line y = x.