Inverse Function Calculator
Enter a linear function's slope and intercept below to instantly find its inverse.
For f(x) = mx + b
Finding an Inverse Function
For f(x) = mx + b, the inverse is f⁻¹(x) = (x − b) / m — swap x and y, then solve for the new y.
Worked example
Find the inverse of f(x) = 2x + 3.
y = 2x + 3 → x = 2y + 3 → y = (x − 3) / 2
f⁻¹(x) = 0.5x − 1.5
Frequently Asked Questions
What is an inverse function?
An inverse function undoes what the original function does. If f(x) turns 3 into 7, then f⁻¹(x) turns 7 back into 3.
How do you find the inverse of a linear function?
Swap x and y in y = mx + b, giving x = my + b, then solve for y: y = (x − b) / m.
Why does this calculator only handle linear functions?
Linear functions always have a clean, closed-form inverse. Many other function types (like most quadratics) aren't one-to-one over their whole domain, so a general inverse doesn't exist without restricting the domain first — a more involved case-by-case problem than a single calculator can handle generically.
Related Calculators
- Quadratic Formula Calculator — Algebra
- Log Calculator — Algebra
- Exponent Calculator — Algebra
- Factoring Calculator — Algebra