Functions

Inverse of a Quadratic Function

For a quadratic written as f(x)=a(x−h)2+kf(x)=a(x-h)^2+k, the inverse on the branch x≥hx\ge h is f−1(x)=h+x−kaf^{-1}(x)=h+\sqrt{\dfrac{x-k}{a}}. On the branch x≤hx\le h, use f−1(x)=h−x−kaf^{-1}(x)=h-\sqrt{\dfrac{x-k}{a}}.

f−1(x)=h±x−kaf^{-1}(x)=h\pm\sqrt{\dfrac{x-k}{a}}

The catch is that a parabola has no inverse function until you cut it in half. Everything below is about making that cut well, choosing the right sign, and proving your answer is right. It leans on the idea of one-to-one functions, so a quick look there helps if the term is new.

Why a quadratic needs a restricted domain first

Take f(x)=(x−3)2+7f(x)=(x-3)^2+7. Then f(1)=4+7=11f(1)=4+7=11 and f(5)=4+7=11f(5)=4+7=11. Two different inputs give the same output, so an inverse would have to send 1111 back to both 11 and 55. A function cannot do that, which is why the inverse of a whole parabola is not a function.

The fix is to keep one side of the vertex. Restricting to x≥3x\ge 3 keeps the right branch, and restricting to x≤3x\le 3 keeps the left. Either one passes the horizontal line test, so either one is invertible. The two choices give different inverses, and both are correct for their own branch.

Many courses default to the right branch, x≥hx\ge h, when a problem does not say which to use. If the problem gives a restriction, follow it exactly. If it gives none, state your choice in your answer so a grader can see you made one.

Quick check

f(x)=(x−5)2+2f(x)=(x-5)^2+2 is not one-to-one. Name a restriction of the form x≥cx\ge c that fixes it.

Where the inverse formula comes from

Read f(x)=a(x−h)2+kf(x)=a(x-h)^2+k as a machine that performs four steps in order: subtract hh, square, multiply by aa, add kk. An inverse must undo those steps in reverse order: subtract kk, divide by aa, take the square root, add hh. Written out, that is exactly h±x−kah\pm\sqrt{\dfrac{x-k}{a}}.

The same reverse-order idea builds the inverse of a linear function, where there is no squaring and so no sign to worry about. The square is the only step that loses information, because (−4)2(-4)^2 and 424^2 are both 1616. That lost information is the whole reason for the ±\pm, and the restricted domain is what supplies it back.

The graph tells the same story. Vertex form is the parent parabola y=x2y=x^2 after a shift and stretch, as laid out in transformations of functions. The inverse reflects that half-parabola across the line y=xy=x, so the vertex (h,k)(h,k) lands at (k,h)(k,h).

How to find the inverse of a quadratic function

The method has five moves, and the middle ones are the same as for any inverse.

  1. Write the function in vertex form, completing the square if it starts in standard form.
  2. Restrict the domain to x≥hx\ge h or x≤hx\le h.
  3. Swap xx and yy.
  4. Isolate the squared part, then take a square root with the sign that matches your branch.
  5. Solve for yy and state the domain of the inverse.

Example 1. Find the inverse of f(x)=(x−3)2+7f(x)=(x-3)^2+7 for x≥3x\ge 3.

Replace f(x)f(x) with yy and swap the variables:

x=(y−3)2+7x=(y-3)^2+7

Subtract 77 to isolate the square:

(y−3)2=x−7(y-3)^2=x-7

The original domain was x≥3x\ge 3, so the inverse outputs satisfy y≥3y\ge 3, which means y−3≥0y-3\ge 0 and the positive root applies:

y=3+x−7,f−1(x)=3+x−7y=3+\sqrt{x-7}, \qquad f^{-1}(x)=3+\sqrt{x-7}

The expression under the root needs x≥7x\ge 7, and 77 is the lowest output of ff. Everything lines up. Note that f−1f^{-1} is the function notation for the inverse, not the reciprocal 1f(x)\dfrac{1}{f(x)}.

Vertex swap shortcut

The vertex (h,k)(h,k) of ff becomes the starting point (k,h)(k,h) of the inverse. In Example 1, (3,7)(3,7) becomes (7,3)(7,3), and 3+7−7=33+\sqrt{7-7}=3 confirms it.

Plus or minus: how to pick the right square root sign

The sign follows the branch, not the formula. The outputs of f−1f^{-1} are the inputs of ff. If you kept x≥hx\ge h, then the inverse must output numbers at least hh, so you add the root. If you kept x≤hx\le h, the inverse must output numbers at most hh, so you subtract it.

A quick way to catch a wrong sign is to test one point. Pick any input on your branch, compute ff of it, and feed the result into your inverse. If you get the same input back, the sign is right. If you get its mirror image across the vertex, the sign is flipped.

Example 2. Find the inverse of f(x)=2x2−8x+3f(x)=2x^2-8x+3 for x≤2x\le 2.

Complete the square. Factor 22 from the first two terms, then add and subtract 44 inside the bracket:

f(x)=2(x2−4x)+3=2(x−2)2−8+3=2(x−2)2−5f(x)=2(x^2-4x)+3=2(x-2)^2-8+3=2(x-2)^2-5

The vertex is (2,−5)(2,-5), and the branch x≤2x\le 2 is the left side. Swap and solve:

x=2(y−2)2−5  ⇒  (y−2)2=x+52  ⇒  y=2−x+52x=2(y-2)^2-5 \;\Rightarrow\; (y-2)^2=\frac{x+5}{2} \;\Rightarrow\; y=2-\sqrt{\frac{x+5}{2}}

Test: f(0)=3f(0)=3, and 2−3+52=2−2=02-\sqrt{\frac{3+5}{2}}=2-2=0. It returns to 00, so the minus sign is correct.

You can also skip completing the square. Solving ax2+bx+(c−y)=0ax^2+bx+(c-y)=0 with the quadratic formula gives x=−b±b2−4a(c−y)2ax=\dfrac{-b\pm\sqrt{b^2-4a(c-y)}}{2a}. For a>0a>0, plus is the right branch and minus is the left. Here that gives 8−40+8x4\dfrac{8-\sqrt{40+8x}}{4}, which simplifies to the same 2−x+522-\sqrt{\frac{x+5}{2}}.

Quick check

g(x)=(x+1)2−4g(x)=(x+1)^2-4 is restricted to x≤−1x\le -1. Is its inverse −1+x+4-1+\sqrt{x+4} or −1−x+4-1-\sqrt{x+4}?

Inverse of a quadratic function with a negative leading coefficient

When a<0a<0, the parabola opens downward, and many students assume the sign rule flips. It does not. The sign in front of the root still tracks the branch. What changes is the direction of the inverse’s domain, because the output ceiling is kk instead of a floor.

Example 3. Find the inverse of f(x)=−x2+6x−5f(x)=-x^2+6x-5 for x≥3x\ge 3.

Complete the square:

f(x)=−(x2−6x)−5=−(x−3)2+9−5=−(x−3)2+4f(x)=-(x^2-6x)-5=-(x-3)^2+9-5=-(x-3)^2+4

The vertex is (3,4)(3,4) and the branch is x≥3x\ge 3. Swap and solve:

x=−(y−3)2+4  ⇒  (y−3)2=4−x  ⇒  y=3+4−xx=-(y-3)^2+4 \;\Rightarrow\; (y-3)^2=4-x \;\Rightarrow\; y=3+\sqrt{4-x}

The root requires 4−x≥04-x\ge 0, so the domain of the inverse is x≤4x\le 4. That matches the range of ff, which never rises above its peak of 44. Test: f(5)=−25+30−5=0f(5)=-25+30-5=0, and 3+4−0=53+\sqrt{4-0}=5. Correct.

The general formula handles this automatically. With a=−1a=-1, h=3h=3, k=4k=4, the ratio x−ka\dfrac{x-k}{a} becomes x−4−1=4−x\dfrac{x-4}{-1}=4-x.

Domain and range of the inverse quadratic function

The rule is a swap: the domain of the inverse is the range of the restricted original, and the range of the inverse is the restricted domain of the original. This is the domain and range of both functions traded places. It is also the quickest way to confirm which sign you need before doing any algebra.

For f(x)=a(x−h)2+kf(x)=a(x-h)^2+k, all four cases fit in one table.

Case Inverse Domain of inverse Range of inverse
a>0a>0, x≥hx\ge h h+x−kah+\sqrt{\frac{x-k}{a}} x≥kx\ge k y≥hy\ge h
a>0a>0, x≤hx\le h h−x−kah-\sqrt{\frac{x-k}{a}} x≥kx\ge k y≤hy\le h
a<0a<0, x≥hx\ge h h+x−kah+\sqrt{\frac{x-k}{a}} x≤kx\le k y≥hy\ge h
a<0a<0, x≤hx\le h h−x−kah-\sqrt{\frac{x-k}{a}} x≤kx\le k y≤hy\le h

Notice that the sign column depends only on the branch, while the domain column depends only on the sign of aa. Those are two separate decisions, and mixing them up is the most common source of lost points.

How do you check the inverse of a quadratic function?

The gold standard is composition of functions. A true inverse satisfies f(f−1(x))=xf(f^{-1}(x))=x and f−1(f(x))=xf^{-1}(f(x))=x. For Example 1:

f(f−1(x))=(3+x−7−3)2+7=(x−7)+7=xf(f^{-1}(x))=\left(3+\sqrt{x-7}-3\right)^2+7=(x-7)+7=x

The other direction hides a trap:

f−1(f(x))=3+(x−3)2=3+∣x−3∣f^{-1}(f(x))=3+\sqrt{(x-3)^2}=3+|x-3|

The square root of a square is an absolute value, a fact explored in graphing absolute value functions. The result equals xx only when x≥3x\ge 3, which is exactly the restricted domain. If a solution ends with 3+∣x−3∣3+|x-3| and nobody mentions the restriction, the check is incomplete.

Try this: With f(x)=(x−1)2+2f(x)=(x-1)^2+2 on x≥1x\ge 1, the inverse is 1+x−21+\sqrt{x-2}. Compute f(4)f(4) and feed the result into the inverse to get 44 back. Then try f(−2)f(-2) and see what comes out instead, and explain why.

The inverse of the basic parabola and the full two-sided graph

For f(x)=ax2f(x)=ax^2 there is no hh or kk to track. On x≥0x\ge 0 the inverse is xa\sqrt{\dfrac{x}{a}}, and on x≤0x\le 0 it is −xa-\sqrt{\dfrac{x}{a}}. With a=3a=3, the right half gives x/3\sqrt{x/3}, so f(2)=12f(2)=12 maps back through 12/3=2\sqrt{12/3}=2.

Speed check for ax2ax^2

For f(x)=ax2f(x)=ax^2 on x≥0x\ge 0, the inverse is x/a\sqrt{x/a}. Divide first, then root, which is the reverse of multiply, then square.

If you refuse to restrict at all, the swap gives y=±xy=\pm\sqrt{x}, a sideways parabola. It fails the vertical line test because every positive xx has two yy values. It is a valid relation, just not a function.

There is a deeper reason behind all this. A function like ax2+cax^2+c is an even function, meaning f(−x)=f(x)f(-x)=f(x), so every output except the vertex’s comes from two inputs by symmetry. Even functions are never one-to-one on their full domain. Once restricted, the inverse is a square root function, shifted by (h,k)(h,k) and stretched by 1a\dfrac{1}{\sqrt{a}}.

Real-world uses of the inverse of a quadratic function

Whenever a formula squares a quantity and you know the result, you need the inverse. The physics of falling objects is the classic case: distance fallen is d=4.9t2d=4.9t^2 meters, so time is t=d/4.9t=\sqrt{d/4.9}. A drop of 44.144.1 m gives 44.1/4.9=9=3\sqrt{44.1/4.9}=\sqrt{9}=3 seconds. The restriction is built in, because time cannot be negative.

Projectile height is where the branch choice matters. A ball launched upward has height h(t)=−5t2+20t=−5(t−2)2+20h(t)=-5t^2+20t=-5(t-2)^2+20 meters. The vertex is (2,20)(2,20), so the peak comes at 22 seconds. On the rising branch, t≤2t\le 2, the inverse is:

t=2−20−h5t=2-\sqrt{\frac{20-h}{5}}

This answers “when does the ball first reach 1515 m?” Substituting gives 2−1=12-\sqrt{1}=1 second, and h(1)=−5+20=15h(1)=-5+20=15 confirms it. The plus sign would give 33 seconds, the moment the ball passes 1515 m on the way down. Both are real answers to different questions.

Area problems work the same way. If a square’s area is A=s2A=s^2, then the side is s=As=\sqrt{A}, again using only the positive root because lengths are positive.

Quick check

A dropped rock falls d=4.9t2d=4.9t^2 meters in tt seconds. How long does it take to fall 19.619.6 m?

Practice problems

0 of 5 solved

  1. Find the inverse of f(x)=x2+1f(x)=x^2+1 for x≥0x\ge 0.

  2. Find the inverse of f(x)=(x−2)2−5f(x)=(x-2)^2-5 for x≥2x\ge 2.

  3. Find the inverse of f(x)=(x+4)2+3f(x)=(x+4)^2+3 for x≤−4x\le -4.

  4. Find the inverse of f(x)=x2−6x+14f(x)=x^2-6x+14 for x≥3x\ge 3.

  5. Find the inverse of f(x)=−3x2+12x−7f(x)=-3x^2+12x-7 for x≤2x\le 2.

Common questions

Does every quadratic function have an inverse?

Not as a function. A parabola fails the horizontal line test, so its inverse is a function only after you restrict the domain to one side of the vertex. Without the restriction, the inverse is a relation with two outputs for most inputs.

What is the inverse of a quadratic function called?

On a restricted domain, the inverse is a square root function, shifted and stretched. Its graph is half of a parabola lying on its side.

How do you find the inverse of a quadratic in standard form?

Complete the square to reach vertex form a(x−h)2+ka(x-h)^2+k, restrict the domain to x≥hx\ge h or x≤hx\le h, then swap xx and yy and solve. You can also solve ax2+bx+c−y=0ax^2+bx+c-y=0 with the quadratic formula and keep the root that matches your branch.

Should I use the plus or minus square root?

Match the sign to the branch. If the original domain is x≥hx\ge h, the inverse outputs are at least hh, so use plus. If the domain is x≤hx\le h, use minus.

Is the inverse of y=x2y=x^2 equal to y=xy=\sqrt{x}?

Only for the right half, x≥0x\ge 0. The full parabola has inverse y=±xy=\pm\sqrt{x}, which is not a function. The left half, x≤0x\le 0, has inverse y=−xy=-\sqrt{x}.

How do I check that my inverse is correct?

Compose the functions: f(f−1(x))f(f^{-1}(x)) must simplify to xx. Also confirm that the domain of the inverse equals the range of the original, and that a test point maps back to where it started.

Up next