Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Function Composition CalculatorFunction Odd Even Neither CheckerComplementary Error Function CalculatorError Function CalculatorAverage Rate of Change CalculatorKnot Tying Reference Tool
Home Page > Math > Algebra Calculators

Inverse Function Calculator

Calculate the inverse function f^(-1)(x) of a given function f(x) with detailed step-by-step instructions showing how to find the inverse algebraically.

Free to useNo sign-up requiredInstant Results
Inverse Function CalculatorTry it now — free ▼
How to Enter Functions
Basic Operations + - * /
Exponents x^2 or x**2
Square Root sqrt(x)
Logarithm log(x) (natural log)
Exponential exp(x) or e^x
Fractions (x-1)/(x+2)
f(x) =

Embed Inverse Function Calculator Widget

About Inverse Function Calculator

Welcome to our Inverse Function Calculator, a free online tool that helps you find the inverse of a function with detailed step-by-step instructions. Whether you are a student learning about inverse functions, preparing for calculus, or a teacher creating examples, this calculator provides clear explanations of the algebraic process.

What is an Inverse Function?

An inverse function, denoted as $f^{-1}(x)$, reverses the operation of the original function $f(x)$. If $f(a) = b$, then $f^{-1}(b) = a$. In other words, the inverse function "undoes" what the original function does.

The key properties of inverse functions include:

How to Find the Inverse of a Function

Follow these steps to find the inverse function algebraically:

Step 1: Replace f(x) with y

Start by writing the function as $y = f(x)$. This makes the algebraic manipulation easier.

Step 2: Swap x and y

Interchange the variables x and y in the equation. This reverses the input-output relationship.

Step 3: Solve for y

Use algebraic techniques to isolate y on one side of the equation. This is often the most challenging step.

Step 4: Write in Function Notation

Replace y with $f^{-1}(x)$ to express the inverse function properly.

Step 5: Verify (Optional)

Confirm your answer by checking that $f(f^{-1}(x)) = x$.

Common Inverse Functions

Original Function $f(x)$ Inverse Function $f^{-1}(x)$
$f(x) = x + a$ $f^{-1}(x) = x - a$
$f(x) = ax$ $f^{-1}(x) = \frac{x}{a}$
$f(x) = ax + b$ $f^{-1}(x) = \frac{x - b}{a}$
$f(x) = x^2$ (for $x \geq 0$) $f^{-1}(x) = \sqrt{x}$
$f(x) = x^3$ $f^{-1}(x) = \sqrt[3]{x}$
$f(x) = e^x$ $f^{-1}(x) = \ln(x)$
$f(x) = \ln(x)$ $f^{-1}(x) = e^x$
$f(x) = \frac{1}{x}$ $f^{-1}(x) = \frac{1}{x}$

When Does a Function Have an Inverse?

Not all functions have inverse functions. A function has an inverse if and only if it is one-to-one (also called injective). This means each output value corresponds to exactly one input value.

The Horizontal Line Test

A function passes the horizontal line test if no horizontal line intersects its graph more than once. If a function passes this test, it has an inverse.

Restricting the Domain

When a function is not one-to-one, we can restrict its domain to make it one-to-one. For example:

Examples

Example 1: Linear Function

Find the inverse of $f(x) = 3x - 5$

Solution:

  1. Write as $y = 3x - 5$
  2. Swap: $x = 3y - 5$
  3. Solve for y: $x + 5 = 3y$, so $y = \frac{x + 5}{3}$
  4. Therefore, $f^{-1}(x) = \frac{x + 5}{3}$

Example 2: Rational Function

Find the inverse of $f(x) = \frac{x - 1}{x + 2}$

Solution:

  1. Write as $y = \frac{x - 1}{x + 2}$
  2. Swap: $x = \frac{y - 1}{y + 2}$
  3. Solve: $x(y + 2) = y - 1$, so $xy + 2x = y - 1$
  4. Rearrange: $xy - y = -1 - 2x$, so $y(x - 1) = -2x - 1$
  5. Therefore, $f^{-1}(x) = \frac{-2x - 1}{x - 1} = \frac{2x + 1}{1 - x}$

Tips for Using This Calculator

Frequently Asked Questions

What does the -1 in f^(-1)(x) mean?

The -1 in $f^{-1}(x)$ is not an exponent. It is notation that indicates the inverse function. It should not be confused with $\frac{1}{f(x)}$, which is the reciprocal of f(x).

Can I find the inverse of any function?

Not all functions have inverses. Only one-to-one functions have inverse functions. If a function fails the horizontal line test, it does not have an inverse over its entire domain, but you may be able to restrict the domain to create an invertible function.

How do I verify that my inverse is correct?

To verify, check that both $f(f^{-1}(x)) = x$ and $f^{-1}(f(x)) = x$. If both compositions equal x, your inverse is correct.

Additional Resources

To learn more about inverse functions:

Reference this content, page, or tool as:

"Inverse Function Calculator" at https://MiniWebtool.com/inverse-function-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: Dec 12, 2025

Algebra Calculators:

Math SolverWhat would you like to solve?

Math Solver

Try
Browse expression examples

Choose an example to fill the input, edit its numbers, then Solve. log uses base 10; use ln for the natural logarithm.

Numbers & factors

Fractions & division

Powers, roots & logs

Algebra & equations

Calculus

Geometry & trigonometry

Top & Updated:

Function GrapherBeta Function CalculatorGamma Function CalculatorView all →
Home Page > Math > Algebra Calculators > Inverse Function Calculator