finding the inverse

To find the inverse of a one-to-one function, do the following:
1. If the function is written in function notation, replace with .
2. Swap any in the function with , and vice versa, i.e., becomes .
3. Solve for , then replace with .
Mathway requires javascript and a modern browser.