Inverse Function Calculator

Enter a function of x to swap x and y and solve for the inverse.

Use x, + − × ÷ ^, brackets, sqrt, abs, ln, log and e.

Try

Result

You enteredf(x)=x3+1f\left(x\right) = x^{3} + 1

f−1(x)=x−13\displaystyle f^{-1}\left(x\right) = \sqrt[3]{x - 1}

Domain of the inverse

x∈R\displaystyle x \in \mathbb{R}

Check

f(f−1(x))=x\displaystyle f\left(f^{-1}\left(x\right)\right) = x
Show the work
  1. Writing y for f(x)

    Replace f(x)f(x) with yy, so that the output has a letter of its own to work with.

    y=(x)3+1y = \left(x\right)^{3} + 1
  2. Swapping x and y

    An inverse function undoes ff, so inputs and outputs trade places. Swap the letters xx and yy, then solve for the new yy.

    x=(y)3+1x = \left(y\right)^{3} + 1
  3. Isolating the power

    Move the constant by subtracting 11 on both sides.

    x−1=(y)3x - 1 = \left(y\right)^{3}
  4. Odd roots undo odd powers

    Take the 3th root of both sides. Because 3 is odd, the root is defined for negative numbers too and gives exactly one value, so there is no plus-or-minus and no restriction.

    Using unn=u\sqrt[n]{u^{n}} = u

    y=x−13y = \sqrt[3]{x - 1}
  5. Domain of the inverse

    The domain of the inverse is the range of ff. An odd power takes every real value, so the inverse accepts every real number.

  6. Result

    So the inverse function is f−1(x)=x−13f^{-1}\left(x\right) = \sqrt[3]{x - 1}.

Worked examples