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.
Affine: 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.
Reference: OpenStax: inverse functions and domain restrictions (opens in a new tab) ↗
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.