Replace (f(x)) with (y)
Write the equation as (y = f(x))
Swap (x) and (y) to get (x = f(y))
Solve the resulting equation for (y)
Replace (y) with (f^{-1}(x))
Verify by checking that (f(f^{-1}(x)) = x) and (f^{-1}(f(x)) = x) (when applicable)
Restrict the domain of (f) to ensure the function is one-to-one (if needed), then repeat the steps above
