Functions

Inverse of a Square Root Function

The inverse of f(x)=ax−h+kf(x)=a\sqrt{x-h}+k is f−1(x)=(x−ka)2+h,f^{-1}(x)=\left(\frac{x-k}{a}\right)^2+h, valid for x≥kx\ge k when a>0a>0 and for x≤kx\le k when a<0a<0. For the parent function, f(x)=xf(x)=\sqrt{x} has the inverse f−1(x)=x2f^{-1}(x)=x^2 with x≥0x\ge 0.

f−1(x)=(x−ka)2+hf^{-1}(x)=\left(\frac{x-k}{a}\right)^2+h

Every square root function is one-to-one, so an inverse always exists. The algebra is short. The restriction on the domain is where most points are lost, and the sections below show where it comes from and how to read it off without guessing.

How do you find the inverse of a square root function?

A square root function is a short recipe: subtract hh, take the root, multiply by aa, add kk. The inverse undoes those steps in reverse order: subtract kk, divide by aa, square, add hh. That single idea produces the formula above, and it is also why the method matches the one in inverse of a linear function, with one extra step: squaring.

The routine, in order:

  1. Write y=f(x)y=f(x).
  2. Swap xx and yy.
  3. Isolate the radical on one side.
  4. Square both sides.
  5. Solve for yy, then take the domain of f−1f^{-1} from the range of ff.

Example 1. Find the inverse of f(x)=2x−3+1f(x)=2\sqrt{x-3}+1.

y=2x−3+1y=2\sqrt{x-3}+1 x=2y−3+1x=2\sqrt{y-3}+1 x−12=y−3\frac{x-1}{2}=\sqrt{y-3} (x−12)2=y−3\left(\frac{x-1}{2}\right)^2=y-3 f−1(x)=(x−1)24+3,x≥1f^{-1}(x)=\frac{(x-1)^2}{4}+3,\quad x\ge 1

The root is never negative, so f(x)≥1f(x)\ge 1. That range becomes the domain of the inverse. Test with a point: f(7)=24+1=5f(7)=2\sqrt{4}+1=5, and f−1(5)=164+3=7f^{-1}(5)=\frac{16}{4}+3=7. The point (7,5)(7,5) became (5,7)(5,7), exactly as an inverse should behave.

Quick check

Find the inverse of f(x)=x+5f(x)=\sqrt{x+5} and state its domain.

Why the inverse of a square root function is half a parabola

Squaring is a one-way street. The numbers 22 and −2-2 both square to 44, so y=x2y=x^2 on its own cannot undo anything: it fails the horizontal line test. A square root function only ever produces outputs on one side of kk, so its inverse only needs one side of the parabola. The inverse of a quadratic faces the mirror-image problem, and inverse of a quadratic function shows how to cut the parabola in half on purpose.

The restriction comes from a plain fact: the range of ff becomes the domain of f−1f^{-1}. Every output of ff was a root plus a shift, so it sits on one side of kk. Those outputs become the inputs of the inverse, which is the whole story behind domain and range swapping places under inversion.

The restriction is already written down

Once the radical is alone, as in y−3=x−12\sqrt{y-3}=\frac{x-1}{2}, the right side must be at least 00. That inequality, x≥1x\ge 1, is the domain of the inverse, ready-made.

This is also the trap that costs the most points. Squaring both sides is the step that quietly creates the false half of the parabola, because (negative)2(\text{negative})^2 looks just as legal as (positive)2(\text{positive})^2. Writing "x≥1x\ge 1" next to the answer is what tells the reader you saw it.

Domain and range of the inverse when the square root is negative

When a<0a<0, the root is flipped downward, so f(x)≤kf(x)\le k. The inverse then takes only inputs x≤kx\le k, and it is the left half of the parabola rather than the right. A negative aa is a reflection, the same effect covered in transformations of functions.

Sign of aa Range of ff Domain of f−1f^{-1} Part of the parabola
a>0a>0 y≥ky\ge k x≥kx\ge k right half
a<0a<0 y≤ky\le k x≤kx\le k left half

Example 2. Find the inverse of f(x)=−2x+1+4f(x)=-2\sqrt{x+1}+4.

y=−2x+1+4y=-2\sqrt{x+1}+4 x=−2y+1+4x=-2\sqrt{y+1}+4 x−4=−2y+1x-4=-2\sqrt{y+1} 4−x2=y+1\frac{4-x}{2}=\sqrt{y+1} (4−x2)2=y+1\left(\frac{4-x}{2}\right)^2=y+1 f−1(x)=(x−4)24−1,x≤4f^{-1}(x)=\frac{(x-4)^2}{4}-1,\quad x\le 4

Here f(x)≤4f(x)\le 4, so the inverse accepts only x≤4x\le 4. Its range is y≥−1y\ge -1, the domain of ff. Check with points: f(3)=−2(2)+4=0f(3)=-2(2)+4=0, and f−1(0)=164−1=3f^{-1}(0)=\frac{16}{4}-1=3. Also f(0)=−2+4=2f(0)=-2+4=2, and f−1(2)=44−1=0f^{-1}(2)=\frac{4}{4}-1=0. Both pairs swap cleanly.

A common slip here is dividing x−4x-4 by −2-2 and then losing the sign. Squaring hides it, since (x−4−2)2=(4−x2)2\left(\frac{x-4}{-2}\right)^2=\left(\frac{4-x}{2}\right)^2, but the sign still decides which half of the parabola survives, so read it from aa.

Quick check

For f(x)=−3x+6f(x)=-3\sqrt{x}+6, what is the domain of f−1f^{-1}?

Read the inverse straight from the transformations

Graphs give a faster route than algebra. The root graph starts at the point (h,k)(h,k). Reflecting across y=xy=x swaps every coordinate pair, so the inverse is a parabola with its vertex at (k,h)(k,h). Example 1 began at (3,1)(3,1), and its inverse has vertex (1,3)(1,3), which matches (x−1)24+3\frac{(x-1)^2}{4}+3. Knowing the family helps here: the parent function x\sqrt{x} and its inverse x2x^2 are both in the list at parent functions.

The stretch factor also flips. A vertical stretch by aa on the root becomes a width change by 1a2\frac{1}{a^2} on the parabola, which is where 14\frac{1}{4} came from when a=2a=2. So for a quick sketch, place the vertex at (k,h)(k,h), open the parabola up (right half if a>0a>0) and check one point.

If only a single value is needed, skip the inverse entirely. To find f−1(9)f^{-1}(9) for Example 1, solve f(x)=9f(x)=9: 2x−3+1=92\sqrt{x-3}+1=9 gives x−3=4\sqrt{x-3}=4, so x=19x=19. The formula agrees: (9−1)24+3=16+3=19\frac{(9-1)^2}{4}+3=16+3=19.

Try this: For f(x)=x−2+6f(x)=\sqrt{x-2}+6, use only the starting point (2,6)(2,6) to write the inverse, then confirm that f(11)=9f(11)=9 and f−1(9)=11f^{-1}(9)=11.

Inverse of a square root with a coefficient inside the radical

When the radical holds something like 2x−52x-5 instead of x−3x-3, the extra step is dividing at the end, not at the start. Keep the same routine and let the algebra sort it out.

Example 3. Find the inverse of f(x)=3+2x−5f(x)=3+\sqrt{2x-5}.

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

So f−1(x)=(x−3)22+52f^{-1}(x)=\frac{(x-3)^2}{2}+\frac{5}{2} for x≥3x\ge 3. Check: f(3)=3+1=4f(3)=3+\sqrt{1}=4, and f−1(4)=1+52=3f^{-1}(4)=\frac{1+5}{2}=3. Also f(7)=3+3=6f(7)=3+3=6, and f−1(6)=9+52=7f^{-1}(6)=\frac{9+5}{2}=7.

The trap is mixing up the two restrictions. The original function needs 2x−5≥02x-5\ge 0, so x≥52x\ge \frac{5}{2}. That is the domain of ff, and it becomes the range of f−1f^{-1}, which you can see: at x=3x=3 the inverse outputs 52\frac{5}{2}, its lowest value. The domain of f−1f^{-1} comes from the range of ff, which is y≥3y\ge 3. In general, for f(x)=abx+c+kf(x)=a\sqrt{bx+c}+k:

f−1(x)=1b[(x−ka)2−c]f^{-1}(x)=\frac{1}{b}\left[\left(\frac{x-k}{a}\right)^2-c\right]

Plug in a=1a=1, b=2b=2, c=−5c=-5, k=3k=3 and the result is Example 3 again.

How do you check an inverse of a square root function?

Three checks work, and the first takes ten seconds:

  • Pick a point on ff, swap its coordinates, and confirm it lies on f−1f^{-1}.
  • Compose the functions in both orders and look for xx.
  • Compare domains and ranges: they must trade places.

Composition is the strongest test, and the full method is in composition of functions. Take f(x)=x+5f(x)=\sqrt{x+5} and f−1(x)=x2−5f^{-1}(x)=x^2-5 with x≥0x\ge 0.

f(f−1(x))=x2−5+5=x2=∣x∣=x  since x≥0f\left(f^{-1}(x)\right)=\sqrt{x^2-5+5}=\sqrt{x^2}=|x|=x\ \text{ since } x\ge 0 f−1(f(x))=(x+5)2−5=x  for x≥−5f^{-1}\left(f(x)\right)=\left(\sqrt{x+5}\right)^2-5=x\ \text{ for } x\ge -5

Why x2\sqrt{x^2} is not just xx

The root returns the nonnegative value, so (−3)2=3\sqrt{(-3)^2}=3, not −3-3. That is ∣x∣|x|, covered in graphing absolute value functions, and it is the reason the restriction x≥0x\ge 0 cannot be dropped.

If the composition produces ∣x∣|x| and the restriction is missing, the inverse is wrong even though the algebra looked clean. The domain is part of the answer.

Inverse square root vs inverse of a square root: what differs?

Two different ideas share a name. The inverse of the square root function is x2x^2 for x≥0x\ge 0, an inverse in the sense of undoing. The inverse square root is the reciprocal 1x=x−1/2\frac{1}{\sqrt{x}}=x^{-1/2}, an inverse in the sense of one over. The superscript in f−1(x)f^{-1}(x) always signals an inverse function, never a reciprocal, a point worth locking in with function notation.

The reciprocal function has its own inverse, and it is a good test of the method. For f(x)=1xf(x)=\frac{1}{\sqrt{x}} with x>0x>0, swap to get x=1yx=\frac{1}{\sqrt{y}}, so y=1x\sqrt{y}=\frac{1}{x} and y=1x2y=\frac{1}{x^2}. Because f(x)>0f(x)>0, the domain of f−1f^{-1} is x>0x>0. The result is a rational function, the family studied in inverse of a rational function.

The reciprocal version has a famous home in computer graphics: normalizing a 3D vector means dividing by its length, which requires 1x\frac{1}{\sqrt{x}} millions of times per second. Programmers have written fast approximations of it for decades. None of that is an inverse function, only the reciprocal that shares the words.

Quick check

Find the inverse of f(x)=1xf(x)=\dfrac{1}{\sqrt{x}} for x>0x>0.

Where the inverse of a square root function shows up in real life

Inverses appear whenever a formula must be run backward. A dropped object falls d=16t2d=16t^2 feet in tt seconds, ignoring air resistance. Solving for time gives a square root function, t=d4t=\frac{\sqrt{d}}{4}. Dropped from 6464 feet, it lands after t=84=2t=\frac{8}{4}=2 seconds. The inverse runs the other way: after 33 seconds, it has fallen d=16(3)2=144d=16(3)^2=144 feet.

Here the domain restriction takes care of itself. Negative time and negative distance have no meaning, so the half parabola d=16t2d=16t^2 with t≥0t\ge 0 is the physical situation, not a technicality added by the textbook.

Pendulums work the same way. The period is T=2πLgT=2\pi\sqrt{\frac{L}{g}}, so the length that gives period TT is L=gT24π2L=\frac{gT^2}{4\pi^2}. With g≈9.8g\approx 9.8 m/s2^2 and T=2T=2 seconds, L=9.8⋅44π2=9.8π2≈0.99L=\frac{9.8\cdot 4}{4\pi^2}=\frac{9.8}{\pi^2}\approx 0.99 meters. That is why a clock pendulum that ticks once per second is close to one meter long.

Practice problems

0 of 5 solved

  1. Find the inverse of f(x)=x+4f(x)=\sqrt{x}+4, including its domain.

  2. Find the inverse of f(x)=3x+1f(x)=3\sqrt{x+1}, including its domain.

  3. Find the inverse of f(x)=5−x−1f(x)=5-\sqrt{x-1}, including its domain.

  4. Find the inverse of f(x)=x2+1−3f(x)=\sqrt{\tfrac{x}{2}+1}-3, including its domain.

  5. If f(x)=3x+2−4f(x)=3\sqrt{x+2}-4, find f−1(5)f^{-1}(5) without finding the whole inverse.

Common questions

What is the inverse of the square root function?

The inverse of f(x)=xf(x)=\sqrt{x} is f−1(x)=x2f^{-1}(x)=x^2, restricted to x≥0x\ge 0. It is the right half of the parabola y=x2y=x^2, which is the mirror image of the square root graph across the line y=xy=x.

Why does the inverse of a square root function need a domain restriction?

A square root never outputs a negative number, so the inverse must never receive one when a>0a>0. Without the restriction, y=x2y=x^2 would also include a left half that has no partner on the original graph, and it would fail to be a function inverse.

How do you find the inverse of f(x)=−xf(x)=-\sqrt{x}?

Swap to get x=−yx=-\sqrt{y}, so y=−x\sqrt{y}=-x and y=x2y=x^2. Because f(x)≤0f(x)\le 0, the domain of the inverse is x≤0x\le 0, so f−1(x)=x2f^{-1}(x)=x^2 for x≤0x\le 0, the left half of the parabola.

Is the inverse square root function the same as the inverse of the square root function?

No. The inverse square root usually means the reciprocal 1x\frac{1}{\sqrt{x}}, while the inverse of the square root function is x2x^2 for x≥0x\ge 0. The notation f−1f^{-1} always means inverse function, never reciprocal.

Does every square root function have an inverse?

Yes. Every function of the form ax−h+ka\sqrt{x-h}+k with a≠0a\ne 0 is one-to-one, so it passes the horizontal line test and has an inverse. The inverse is a parabola piece, not a full parabola.

Up next