Skip to main content
DigiCalcs

How to Calculate Inverse Function

What is Inverse Function?

The inverse function f⁻¹(x) undoes the effect of f(x). If f(a) = b, then f⁻¹(b) = a. Not every function has an inverse — it must be one-to-one (each output has exactly one input).

Formula

f⁻¹(f(x)) = x and f(f⁻¹(y)) = y; Solve y = f(x) for x in terms of y
f
original function
f⁻¹
inverse function
x, y
variables

Step-by-Step Guide

  1. 1Replace f(x) with y
  2. 2Swap x and y
  3. 3Solve for y — this is f⁻¹(x)
  4. 4Verify: f(f⁻¹(x)) = x and f⁻¹(f(x)) = x

Worked Examples

Input
f(x) = 2x + 3
Result
f⁻¹(x) = (x−3)/2
Input
f(x) = x³
Result
f⁻¹(x) = x^(1/3) = ∛x

Frequently Asked Questions

Do all functions have inverses?

No, only one-to-one (injective) functions have inverses. The function must pass the horizontal line test.

What is the relationship between f and f⁻¹ graphs?

They are mirror reflections across the line y = x.

What is the domain of f⁻¹?

The domain of f⁻¹ equals the range of f. They swap.

Ready to calculate? Try the free Inverse Function Calculator

Try it yourself →

Settings

PrivacyTermsAbout© 2026 DigiCalcs