Two functions are inverses when each one undoes the other. You prove it by composing them in both orders: if both and simplify to , then .
| Step | On and | |
|---|---|---|
| 1 | Compute f(g(x)) and simplify. Put the whole formula of in place of in .Substitution ↗ | ✓ |
| 2 | Compute g(f(x)) and simplify. Now the other order: goes inside .Substitution ↗ | ✓ |
| 3 | Check the domains. Each identity must hold on the whole domain of the inner function; the domain of must be the range of . | both domains are ✓ |
| 4 | State the conclusion. Both compositions give , so the functions are inverses. If either one fails, they are not. |