Finding the Inverse of a Function — Cheat sheet

Choose “Save as PDF” in the print dialog.
On this page

Key method

Write y=f(x)y=f(x), solve for xx in terms of yy, then rename the input of the inverse. Domain and range exchange roles. Verify by composition on the appropriate domains.

Example

For f(x)=3x−5f(x)=3x-5, solve y=3x−5y=3x-5 to get x=(y+5)/3x=(y+5)/3. Hence f−1(x)=(x+5)/3f^{-1}(x)=(x+5)/3. For g(x)=x2g(x)=x^2 on x≥0x\ge0, take the nonnegative branch: g−1(x)=xg^{-1}(x)=\sqrt x, also defined for x≥0x\ge0.

Avoid this mistake

Writing both ±x\pm\sqrt x does not define a single inverse function; the original domain decides which branch to use.