Inverse Function Calculator & Branch Graph
Choose a quadratic branch or a shifted reciprocal function. Compare the source domain and range with the reflected ones. Enter an original input and an output to invert, then follow the exact algebra and see both sets of points on a shared square plot.
Graph an inverse and test its domain
Restrict a quadratic branch or check a reciprocal function, then compare its graph with the reflection across y = x.
The requested output has one preimage.
Edit function and probes
- Source domain
- x ≥ 1
- Source range
- y ≥ -3
- Reflected domain
- x ≥ -3
- Reflected range
- y ≥ 1
Open inverse steps
f(x) = (2)(x − (1))² + (-3)
x = (1) + √((y − (-3)) / (2))
- Subtract -3 from the requested output. The result is 8.
- Divide by 2. The required squared distance from 1 is 4.
- A negative squared distance has no real preimage. Otherwise take the square root with the sign allowed by the chosen branch, then add 1.
Function and reflection across y = x
Open selectable CSV
How to use this calculator
- Choose the function family and enter its scale and shifts.
- For a quadratic, select the left branch, right branch or both branches.
- Enter an original x to evaluate and a source output y whose preimages you want to find.
- Inspect the source and reflected domain and range, then open the exact inverse steps.
- Zoom the square plot by changing its half-range or download the result details.
The Formula
The mathematical logic powering this calculation is:
For the quadratic family f(x) = a(x − h)² + k with a ≠ 0, set t = (y − k)/a. There is no real preimage if t < 0. If t = 0 the only preimage is the vertex x = h. For t > 0, the right branch x ≥ h gives x = h + √t and the left branch x ≤ h gives x = h − √t. An unrestricted quadratic includes both, so its reflection generally gives a relation with two possible results. The range is y ≥ k for positive a and y ≤ k for negative a.
For the shifted reciprocal family f(x) = k + a/(x − h) with a ≠ 0, the source excludes x = h and the range excludes y = k. If the requested y differs from k, its exact inverse is x = h + a/(y − k). The source domain and range exchange roles after reflection.
For every point (x, y) on the source graph, draw (y, x) on the reflected graph with equal axis scales. A horizontal output line with two intersections proves the unrestricted quadratic is not one-to-one. The plot omits values outside its selected window and separates the reciprocal curve at the excluded input.
Enter signed decimals from −1 million through 1 million with up to six fractional places. The plot half-range is 0.001 through 10,000. Fraction arithmetic preserves exact rational values and exact domain tests. An irrational preimage retains its square-root expression and includes a rounded approximation. The graph samples only these two named function families.Worked Example
If you input:
- Source function: 2(x − 1)² − 3
- Source domain: Right branch x ≥ 1
- Probe and requested output: x = 3 and y = 5
Result:
The source sends 3 to 5. The right-branch inverse sends 5 back to 3. With both branches present, the same output has two preimages at −1 and 3.
Frequently Asked Questions
Why does a quadratic need a restricted domain?
The two sides of the vertex give the same output at equal distances from that vertex. Selecting only one side makes the source one-to-one and gives a single-valued inverse.
What happens at the vertex itself?
The vertex has one preimage even in the unrestricted relation. The unrestricted function still fails the one-to-one test at other output values.
Why is an output excluded for a shifted reciprocal?
At a finite allowed input, the reciprocal term with a nonzero numerator cannot equal zero. The vertical shift is therefore approached but never attained.
Why does the inverse graph reflect across y = x?
Swapping source input and output replaces every pair (x, y) with (y, x). With equal axis scales, this is reflection across their diagonal.
Does changing the plot range change the exact answers?
It changes the graph window only. The entered domain restrictions, range and exact preimages remain the same.
Similar Calculators
Quadratic Formula Calculator
Solve any quadratic equation ax² + bx + c = 0 and find its real or complex roots instantly.
Polynomial Multiplication Calculator & Term Ledger
Multiply two polynomials in x with exact rational coefficients. Follow each distributed term pair and see which powers cancel.
Linear Regression Calculator
Fit a least-squares line, inspect scatter and residual plots, and calculate Student-t confidence and prediction intervals. Paste paired data and export the full ledger.
Simplest Radical Form & Surd Arithmetic Calculator
Simplify square roots and perform exact surd arithmetic. See square-factor extraction, combine matching radicals, and rationalize a two-term denominator with its conjugate.
Composite Function Calculator & Domain Graph
Compare f(g(x)) and g(f(x)). Find each exact domain, inspect intermediate values and see where an original restriction leaves a removable hole.
