Advanced maths

Inverse function calculator for supported families

Invert affine, nondegenerate linear-fractional or restricted quadratic forms and evaluate an entered output.

Your numbers

An integer, decimal with up to 6 places, or fraction such as -2/3. Within ±1,000,000; no expressions or scientific notation.
An integer, decimal with up to 6 places, or fraction such as -2/3. Within ±1,000,000; no expressions or scientific notation.
An integer, decimal with up to 6 places, or fraction such as -2/3. Within ±1,000,000; no expressions or scientific notation.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Try it, understand it

Explore the result

Compare reversing an affine function with the two separate branches of a quadratic. Quadratic evaluations are approximate.

Worked example comparison
ExampleOutputWhat to notice
Reverse an affine functionInverse value g(y)4For f(x) = 2x + 3, output 11 corresponds to input 4.
Right quadratic branchInverse value g(y) (approximate)3For f(x) = 2(x−1)²+3 restricted to x ≥ 1, output 11 corresponds to input 3.
Left quadratic branchInverse value g(y) (approximate)-1The same quadratic restricted to x ≤ 1 returns −1 for output 11.

Check your understanding

Before checking: can the full parabola have a single-valued inverse?

Not over its whole real domain. The chosen half-line restriction is part of the function being inverted.

Is the inverse function the reciprocal 1/f(x)?

No. An inverse reverses input and output under the required domain restrictions; a reciprocal divides one by the function value.

Behind the numbers

How this calculation works

Choose a supported form, retain the original domain restriction and solve y = f(x) for the original input. The output gives the inverse formula, its domain/range and the inverse value at the supplied y. A quadratic needs a chosen one-to-one branch.

THE FORMULAAffine: g(y) = (y−b)/a; linear-fractional: g(y) = (dy−b)/(a−cy); quadratic branch: h ± √((y−k)/a)

A worked example

For f(x) = 2x + 3 and y = 11, the inverse is g(y) = (y−3)/2 and g(11) = 4. The full parabola requires a branch restriction before it can have an inverse function.

Good to know

Bounded exact rational inputs within ±1,000,000, up to 6 decimal places or integer fraction denominators up to 1,000,000. Large intermediate fractions have a size limit. No arbitrary expression evaluation, multiple variables or general computer-algebra system. Approximate lengths and quadratic square roots are labeled separately. Only the three named families. Not a parser for arbitrary functions. Affine slope must be nonzero; a linear-fractional function requires ad−bc ≠ 0; a quadratic requires nonzero scale and an explicit half-line branch.

An inverse recovers the original input

For f(x) = 2x + 3, original output 11 came from input 4. The inverse formula g(y) = (y−3)/2 reverses those operations. A check is f(g(11)) = 11; the inverse is not the reciprocal 1/f(x).

The tool offers three explicit families rather than guessing the meaning of an arbitrary expression. For a linear-fractional function, its nonzero determinant ad−bc prevents it from collapsing to a constant. Original denominator exclusions still belong to the function.

When c is nonzero, f(x) = (ax+b)/(cx+d) excludes x = −d/c and cannot attain y = a/c. The inverse swaps those roles: its domain excludes a/c and its range excludes −d/c. Cross-multiplication must not erase either restriction.

A quadratic needs a chosen half-line branch

The full parabola is not one-to-one because two inputs on opposite sides of its vertex can give the same output. Choosing x ≥ h or x ≤ h for f(x) = a(x−h)²+k creates a one-to-one branch when a is nonzero.

For 2(x−1)²+3 at output 11, the right branch returns 3 while the left branch returns −1. A quadratic equation solver can find both original inputs, but an inverse function of one restricted branch must return only the matching one.

Positive a gives inverse-input domain y ≥ k, while negative a gives y ≤ k. The square-root sign selects the original branch, not the sign of a alone. Quadratic evaluation is approximate here; affine and linear-fractional evaluations retain exact rational values.

A few questions, answered

Is this a general symbolic inverse solver?

No. It supports the three displayed coefficient-defined families. Other expressions and multi-valued inverse relations are not parsed.

Why is my target rejected?

It may be an excluded linear-fractional output or outside the real output range of the chosen quadratic branch.

Can a constant function be inverted?

It cannot have a one-to-one inverse on a domain containing multiple inputs. A zero affine slope or degenerate linear-fractional form is rejected.

Find your calculator

Start typing to explore the library.