Free Calculator Tool

Inverse Function Calculator

Find the inverse of any function with step-by-step solutions. Supports linear, power, and rational functions.

Want to solve ANY math problem? Just take a screenshot.

Math.Photos handles algebra, calculus, geometry, statistics, and more — all from a photo or your handwritten notes.

20 free solves · no credit card · no account needed to start

Install

Find the Inverse Function

f(x) =

How It Works

What is an inverse function?

The inverse function f⁻¹(x) "undoes" f(x). If f(a) = b, then f⁻¹(b) = a. Graphically, it's the reflection of f(x) over the line y = x.

How to find an inverse

Replace f(x) with y, swap x and y, then solve for y. The result is f⁻¹(x). This works for one-to-one functions.

Linear functions

For f(x) = ax + b, the inverse is f⁻¹(x) = (x - b) / a. Linear functions (with a ≠ 0) always have inverses.

Power functions

For f(x) = x², the inverse is f⁻¹(x) = ±√x. You must restrict the domain (x ≥ 0) to make it a true function.

Related Tools

Already did the work? Get it checked instead.

A calculator gives you an answer. It doesn't tell you which line of your working went wrong. Photograph your own steps — handwritten notebook, whiteboard, or a screenshot of an online assignment — and Math.Photos checks them line by line, then points at the exact step where the sign flipped.

Reads handwriting

Photo of your notebook, not a retyped expression.

Step-level verdict

"Line 3 dropped a negative", not just "wrong".

Teach Me mode

Questions that lead you to the fix, not the answer.

Pricing

Start free — 20 solves, no card. Upgrade only when you run out.

Lite

$1.99 /month

50 solves/month

Enough for a weekly problem set.

Most popular

Student

$4.99 /month

500 solves/month

Every assignment, all semester, plus Teach Me mode.

Pro

$9.99 /month

3,000 solves/month

Multi-device sync and LaTeX/PDF export.

Annual billing saves 37%. Cancel anytime — see full plan comparison.

Need more than an inverse function calculator?

Math.Photos solves any math problem from a screenshot — algebra, calculus, geometry, statistics, and more. With step-by-step explanations.

Install

20 free solves · no credit card

Frequently Asked Questions

How do you find the inverse of a function step by step?

To find the inverse: (1) Write y = f(x), (2) Swap x and y, (3) Solve for y. The result is f⁻¹(x). For example, if f(x) = 2x + 3, swap to get x = 2y + 3, then solve: y = (x - 3)/2, so f⁻¹(x) = (x - 3)/2.

What is the inverse of f(x) = x²?

The inverse of f(x) = x² is f⁻¹(x) = ±√x. Since x² is not one-to-one over all reals, you restrict the domain to x ≥ 0, giving f⁻¹(x) = √x.

Do all functions have inverses?

No. Only one-to-one (injective) functions have inverses. A function is one-to-one if each output corresponds to exactly one input. Use the horizontal line test: if any horizontal line crosses the graph more than once, the function is not one-to-one.

What is the inverse of a rational function?

For f(x) = (ax + b)/(cx + d), the inverse is f⁻¹(x) = (dx - b)/(a - cx). Cross-multiply x(cx + d) = ax + b, collect y terms, and solve. The domain excludes x = a/c.

How do you verify an inverse function?

Verify by checking that f(f⁻¹(x)) = x and f⁻¹(f(x)) = x. If both compositions equal x, the inverse is correct.