Finding the inverse of a quadratic on a cut domain
Quick review (2 minutes)
Think about putting on socks, then shoes.
For f(x) = a(x − h + k on the restricted domain x ≥ h, the inverse function is f⁻¹(x) = h + . On the restricted domain x ≤ h it is f⁻¹(x) = h − . The domain of f⁻¹ is the range of f, and the range of f⁻¹ is the restricted domain of f.
Write y in place of f(x), and write the restricted domain (the cut domain) beside it as a note, for example x ≥ 3.
Swap x and y everywhere: in the equation and in the note. The note x ≥ 3 becomes y ≥ 3, because y now stands for the old inputs.
Solve for y. Undo the outside steps first, in backward order: the number added or subtracted, then the number multiplying, until the squared part stands alone.
Take the square root of both sides and write ± in front of the root. Both signs are candidates at this point.
Choose the sign by reading the note. If the note says y ≥ h, keep the plus sign. If it says y ≤ h, keep the minus sign.
Finish getting y alone, then rename y as f⁻¹(x).
State the domain of f⁻¹. It is the range of f: the outputs of f are the inputs of f⁻¹.
Check with one number that is not the vertex. Put it through f, put the result through f⁻¹, and confirm you are back where you started.
Write y = the formula, and beside it the restricted domain as a note.
Swap x and y in the equation and in the note.
Undo the outside steps in backward order until the squared part stands alone.
Take the square root of both sides and write ±.
Read the note to choose the sign: y ≥ h keeps +, y ≤ h keeps −.
Finish solving for y and rename it f⁻¹(x).
State the domain of f⁻¹: it is the range of f.
Check with one number that is not the vertex: through f, then through f⁻¹, and back.
Find the inverse function of f(x) = (x − 3 + 2 on the restricted domain x ≥ 3, and state the domain of the inverse.
f⁻¹(x) = 3 +
Domain of f⁻¹: x ≥ 2, which is [2, ∞)
Range of f⁻¹: y ≥ 3, the restricted domain of f
Writing the plus root out of habit. The root step always produces ±, and the plus sign is right only when the right half of the parabola was kept. When the restricted domain is x ≤ h, the answer needs the minus sign. To avoid the mistake, carry the domain note through the swap, read it before you choose the sign, and test one number that is not the vertex.
inverse function
The function that undoes another function. If f turns 3 into 7, then the inverse, written , turns 7 back into 3.
one-to-one function
A function in which every output comes from only one input. No two inputs share an output, so no horizontal line meets its graph twice.
restricted domain
A domain made smaller on purpose. You keep only part of the inputs, such as x ≥ 0, so that the function becomes one-to-one and can have an inverse.
1 In plain words
Think about putting on socks, then shoes. To undo that, you take off the shoes first, then the socks: the same steps, in backward order, each one reversed. Finding an inverse function works the same way. If f squares an input and then adds 3, the inverse subtracts 3 and then undoes the square. Undoing the square is the one step that needs care. Suppose a friend says: I am 2 blocks from your home. That does not say east or west. Undoing a square has the same problem: a square above 0 comes from two numbers, one plus and one minus. The restricted domain from the last lesson is the missing direction. It tells you which half of the parabola was kept, and that picks the sign.
2 Picture it
Reminder
Reminder: The square root step and its sign, The symbol √ is never negative, Same move on both sides, Undo in backward order, A square is never negative, The domain of a square root, Flipping an inequality, One-to-one function
- The square root step and its sign. If a square equals 9, the thing squared is 3 or −3. Write this as ±, read plus or minus root 9.
- The symbol √ is never negative. means 3 only. To get −3 you must write −.
- Same move on both sides. An equation stays true when both sides get the same change: x = + 5 becomes x − 5 = after subtracting 5 from both sides.
- Undo in backward order. To undo times 2 then add 3, subtract 3 first, then divide by 2. From 2y + 3 = 11: 2y = 8, then y = 4.
- A square is never negative. (x − 3 is 0 or more for every x, so (x − 3 + 2 is 2 or more. That gives the range of f.
- The domain of a square root. The inside of a square root must be 0 or more: needs x − 2 ≥ 0, so x ≥ 2.
- Flipping an inequality. Multiplying or dividing both sides by a negative number flips the sign: −x ≥ −8 becomes x ≤ 8.
- One-to-one function. Each output comes from one input only. on x ≥ 0 is one: the output 9 comes from 3 and from nothing else.
3 Why
A function sends an input x to an output y. The inverse function runs the other way: its input is the old output and its output is the old input. Swapping the letters x and y in the equation writes exactly that trade, and solving for y puts the new output alone. The square root step gives two candidates because two numbers share each square above 0: = 9 and (−3 = 9. Only the square 0 comes from one number. Only one candidate lies in the restricted domain, so only one sign returns the input you started with. The other sign is the inverse of the half that was cut away.
4 The rule
For on the restricted domain , the inverse function is .
On the restricted domain it is . The domain of is the range of f, and the range of is the restricted domain of f.
The same idea, five ways
Say f⁻¹(x) as: f inverse of x. Say the method as: swap, solve, choose the sign.
The inverse function of a quadratic on its restricted domain is the rule that takes each output of the quadratic back to the one input, on the kept half, that made it.
- f⁻¹(x)
- f(a) = b means f⁻¹(b) = a
- y = (x − h + k with x ≥ h becomes x = (y − h + k with y ≥ h
- f⁻¹(x) = h + on [k, ∞) when the right half was kept
- f⁻¹(x) = h − on [k, ∞) when the left half was kept
Socks, then shoes on the way out. Shoes, then socks on the way back. The same steps, backward, each one reversed.
Start: y = (x − 3 + 2, x ≥ 3
Swap: x = (y − 3 + 2, y ≥ 3
Root: y − 3 = ±
Note says y ≥ 3, so keep +
The same idea, other ways
Your home is at 3 on a number line. Someone says: I am 2 blocks from your home. That could be 5 or it could be 1. The square in (y − 3 does the same thing: its value depends only on how far y is from 3, not on which way. If you know the person only walks east of home, which is y ≥ 3, the answer is 3 + 2 = 5. If the person only walks west, which is y ≤ 3, the answer is 3 − 2 = 1. The restricted domain is the direction.
Take f(x) = . Both 3 and −3 square to 9, so the output 9 has two inputs and cannot be sent back to one place. Keep only x ≥ 0, and the input was 3: the inverse is , because = 3. Keep only x ≤ 0, and the input was −3: the inverse is −, because − = −3. The formula for f is the same both times, yet the inverses differ. The restricted domain is the only thing that tells them apart.
The table shows f(x) = (x − 3 + 2 on x ≥ 3. To read f, start in the top row and go down. To read the inverse, start in the bottom row and go up: find 6 in the output row, and the input above it is 5. So f⁻¹(6) = 5. The formula 3 + does the same job without a table: 3 + = 3 + 2 = 5.
After the swap you reach (y − 3 = x − 2, so y − 3 is either or −. The symbol √ always gives 0 or more. If the note says y ≥ 3, then y − 3 is 0 or more, so + fits for every x ≥ 2, where the root is defined; − fits only at x = 2, where both signs give 0. If the note says y ≤ 3, then y − 3 is 0 or less, so − fits for every x ≥ 2. One note allows one formula. Nothing is left to guess.
Right half, plus root. Left half, minus root. The right half of a parabola holds the inputs at or to the right of the vertex's x value h, so the inverse must add the root to reach them. The left half holds the inputs at or to the left of h, so the inverse must subtract the root. If you forget which is which, test one number: the wrong sign sends you to the half that was cut away.
Right half kept (x ≥ h): h +
Left half kept (x ≤ h): h −
Unsure? Test a number that is not the vertex.
| Half kept | Note after the swap | Sign of the root | Example with (x − 3 + 2 |
|---|---|---|---|
| Right half: x ≥ h | y ≥ h, so y − h is 0 or more | + | On x ≥ 3: f⁻¹(x) = 3 + |
| Left half: x ≤ h | y ≤ h, so y − h is 0 or less | On x ≤ 3: f⁻¹(x) = 3 − |
5 How
- Write y in place of f(x), and write the restricted domain (the cut domain) beside it as a note, for example x ≥ 3.
- Swap x and y everywhere: in the equation and in the note. The note x ≥ 3 becomes y ≥ 3, because y now stands for the old inputs.
- Solve for y. Undo the outside steps first, in backward order: the number added or subtracted, then the number multiplying, until the squared part stands alone.
- Take the square root of both sides and write ± in front of the root. Both signs are candidates at this point.
- Choose the sign by reading the note. If the note says y ≥ h, keep the plus sign. If it says y ≤ h, keep the minus sign.
- Finish getting y alone, then rename y as f⁻¹(x).
- State the domain of f⁻¹. It is the range of f: the outputs of f are the inputs of f⁻¹.
- Check with one number that is not the vertex. Put it through f, put the result through f⁻¹, and confirm you are back where you started.
Finding the inverse of a quadratic on a restricted domain
- Write y = the formula, and beside it the restricted domain as a note.
- Swap x and y in the equation and in the note.
- Undo the outside steps in backward order until the squared part stands alone.
- Take the square root of both sides and write ±.
- Read the note to choose the sign: y ≥ h keeps +, y ≤ h keeps −.
- Finish solving for y and rename it f⁻¹(x).
- State the domain of f⁻¹: it is the range of f.
- Check with one number that is not the vertex: through f, then through f⁻¹, and back.
6 Worked example
Worked example
A shifted parabola with the right half kept
Find the inverse function of f(x) = (x − 3 + 2 on the restricted domain x ≥ 3, and state the domain of the inverse.
Show the steps and the answer
- Say what is asked. f takes an input that is 3 or more and gives an output. You want the rule that takes each output back to the input that made it.That is what an inverse function does: it runs f backward.
- Write , with the note .y is a shorter name for the output f(x), and the note keeps the restricted domain in view.
- Swap x and y: , with the note .The inverse trades the roles of input and output. The note swaps too, since y now stands for the old inputs.
- Subtract 2 from both sides: .Adding 2 was the last thing f did, so it is the first thing to undo. This leaves the squared bracket alone.
- Take the square root of both sides: .Two numbers have the same square, so the root step must offer both signs for now.
- Choose the sign. The note says y ≥ 3, so y − 3 is 0 or more. Keep the plus sign: .The symbol √ never gives a negative number, so the plus root matches a quantity that is 0 or more. The minus root would make y − 3 negative for every x above 2, which the note forbids.
- Add 3 to both sides: . Rename y: .y is now alone, and y is the output of the inverse.
- State the domain of the inverse: .The inverse takes the outputs of f as its inputs. A square is 0 or more, so (x − 3 + 2 is 2 or more. The root agrees: x − 2 must not be negative.
- Domain of f⁻¹: x ≥ 2, which is [2, ∞)
- Range of f⁻¹: y ≥ 3, the restricted domain of f
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 6
The plain square, right half kept
Find the inverse function of f(x) = on the restricted domain x ≥ 0.
Show the steps and the answer
- Say what is asked: f squares a number that is 0 or more. Find the rule that takes the square back to that number.The inverse function runs f backward.
- Write , with the note .y names the output, and the note records which half of the parabola was kept.
- Swap x and y: , with the note .The inverse trades input and output, so the letters trade places, in the note too.
- Take the square root of both sides: .A number and its negative have the same square, so both signs are candidates.
- Choose the sign. The note says y ≥ 0, so keep the plus sign: . is 0 or more, which matches the note. − would be 0 or less.
- Write , with domain .The inverse takes the outputs of f as its inputs, and a square is never negative.
- Domain of f⁻¹: x ≥ 0
Rung 2 of 6
One outside step to undo first
Find the inverse function of f(x) = + 5 on the restricted domain x ≥ 0, and state its domain.
Show the steps and the answer
- Say what is asked: f squares an input that is 0 or more, then adds 5. Find the rule that goes from the result back to the input.The inverse must undo both steps, the last one first.
- Write , with the note . Swap: , with the note .Swapping the letters trades input and output, and the note follows the old inputs to their new letter.
- Subtract 5 from both sides: .Adding 5 was the last step of f, so it is undone first. The square now stands alone.
- Take the square root of both sides: .The root step always offers both signs before the note is read.
- Choose the sign. The note says , so . Rename: .The plus root is 0 or more, which is what the note demands.
- State the domain: . is 0 or more, so the outputs of f are 5 or more, and those are the inputs of the inverse. The root agrees: x − 5 must be 0 or more.
- Domain of f⁻¹: x ≥ 5, which is [5, ∞)
Rung 3 of 6
The left half, so the minus sign
Find the inverse function of f(x) = − 4 on the restricted domain x ≤ 0, and state its domain.
Show the steps and the answer
- Say what is asked: f squares an input that is 0 or less, then subtracts 4. Find the rule that returns that input, which is 0 or negative.The answers of the inverse must land back in x ≤ 0, the half that was kept.
- Write , with the note . Swap: , with the note .The letters trade places, and the note now speaks about y.
- Add 4 to both sides: .Subtracting 4 was the last step of f, so adding 4 undoes it and leaves the square alone.
- Take the square root of both sides: .Both signs are candidates until the note is read.
- Choose the sign. The note says , so keep the minus sign: . Rename: . is 0 or more, so its negative is 0 or less for every x in the domain. The plus root is above 0 for every x except −4.
- State the domain: . is 0 or more, so the outputs of f are −4 or more. The root agrees: x + 4 must be 0 or more.
- Domain of f⁻¹: x ≥ −4, which is [−4, ∞)
Rung 4 of 6
A shifted vertex and the left half
Find the inverse function of f(x) = (x + 1 − 6 on the restricted domain x ≤ −1, and state its domain.
Show the steps and the answer
- Say what is asked: f takes an input that is or less, adds 1, squares, and subtracts 6. Find the rule that goes back to that input.The bracket x + 1 is zero at x = −1, so the vertex is there and the left half was kept.
- Write , with the note . Swap: , with the note .Input and output trade letters, and the note goes with the old inputs.
- Add 6 to both sides: .Subtracting 6 was the last step of f, so it is undone first.
- Take the square root of both sides: .The whole bracket y + 1 was squared, so the root gives back the whole bracket, with both signs possible.
- Choose the sign. The note says y ≤ −1, so y + 1 is 0 or less. Keep the minus sign: .The minus root is 0 or less for every x ≥ −6. The plus root is above 0 for every x except −6.
- Subtract 1 from both sides: . Rename: .This undoes the add 1 inside the bracket, the first thing f did and the last thing to undo.
- State the domain: .(x + 1 is 0 or more, so the outputs of f are −6 or more. The root agrees: x + 6 must be 0 or more.
- Domain of f⁻¹: x ≥ −6, which is [−6, ∞)
Rung 5 of 6
A number multiplying the square
Find the inverse function of f(x) = 3 − 2 on the restricted domain x ≥ 0, and state its domain.
Show the steps and the answer
- Say what is asked: f squares an input that is 0 or more, multiplies by 3, then subtracts 2. Find the rule that goes back.Three steps were done, so three steps are undone, in backward order.
- Write , with the note . Swap: , with the note .Input and output trade letters, and the note follows.
- Add 2 to both sides: .Subtracting 2 was the last step of f, so it is undone first.
- Divide both sides by 3: .Multiplying by 3 was the step before that. The whole left side is divided, not only the x. The square now stands alone.
- Take the square root of both sides: .The root covers the whole fraction. (x + 2) ÷ 3 is the same fraction written on one line so that all of it sits under the root.
- Choose the sign. The note says , so . Rename: .The plus root is 0 or more, as the note requires.
- State the domain: .3 is 0 or more, so the outputs of f are −2 or more. The root agrees: x + 2 must be 0 or more.
- Domain of f⁻¹: x ≥ −2, which is [−2, ∞)
Rung 6 of 6
A parabola that opens down, left half kept
Find the inverse function of f(x) = −2(x − 1 + 8 on the restricted domain x ≤ 1, and state its domain.
Show the steps and the answer
- Say what is asked: f takes an input that is 1 or less, subtracts 1, squares, multiplies by , and adds 8. Find the rule that goes back to that input.The bracket x − 1 is zero at x = 1, so the vertex is there and the left half was kept.
- Write , with the note . Swap: , with the note .Input and output trade letters, and the note goes with the old inputs.
- Subtract 8 from both sides: .Adding 8 was the last step of f, so it is undone first.
- Divide both sides by : . Multiply the top and the bottom of the fraction by to tidy it: .Dividing undoes the multiplying by −2 and leaves the squared bracket alone. Multiplying top and bottom by −1 does not change a fraction: with x = 0, both versions equal 4.
- Take the square root of both sides: .The root covers the whole fraction, and both signs are candidates for now.
- Choose the sign. The note says y ≤ 1, so y − 1 is 0 or less. Keep the minus sign: .The minus root is 0 or less for every x ≤ 8. The plus root is above 0 for every x except 8.
- Add 1 to both sides: . Rename: .This undoes the subtract 1 inside the bracket, the first step of f and the last to undo.
- State the domain: .(x − 1 is 0 or more, so −2(x − 1 is 0 or less, and the outputs of f are 8 or less. The root agrees: 8 − x ≥ 0 gives −x ≥ −8, and dividing by −1 flips the sign to x ≤ 8.
- Domain of f⁻¹: x ≤ 8, which is (−∞, 8]
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Memory device: right half, plus root. Left half, minus root.
- Check with a number that is not the vertex. At the vertex the root is 0, so both signs give the same value and a wrong sign slips through.
- Read f as a list of steps, then write the list backward with opposite steps. For (x − 3 + 2: subtract 3, square, add 2. Backward: subtract 2, take the root, add 3. That is 3 + .
- Domain and range trade places. Whatever comes out of f goes into f⁻¹, and whatever went into f comes out of f⁻¹.
- Do not memorize the general formula in the rule. The steps rebuild it in ten seconds, and they still work when the numbers are awkward.
- In the finished answer, the number standing outside the root is the x value of the vertex, the place where the domain was cut. If it is not, recheck the last step.
7 The trap
Writing the plus root out of habit. The root step always produces ±, and the plus sign is right only when the right half of the parabola was kept. When the restricted domain is x ≤ h, the answer needs the minus sign. To avoid the mistake, carry the domain note through the swap, read it before you choose the sign, and test one number that is not the vertex.
Flash cards
Say the answer out loud, then flip.
The square root step leaves you with ±. How do you choose the sign?
- Read the domain note after the swap.
- If it says y ≥ h, keep the plus sign.
- If it says y ≤ h, keep the minus sign.
Why does undoing a square give two candidates?
- Two numbers share each square above 0: = 9 and (−3 = 9. Only 0 comes from one number, 0.
- It is like a friend saying "I am 2 blocks from your home" without saying east or west.
- The restricted domain is the missing direction, so it picks the sign.
Find the inverse function of f(x) = (x − 2 + 1 on the restricted domain x ≤ 2.
- f⁻¹(x) = 2 − , with domain x ≥ 1.
- The sign is minus because the left half of the parabola was kept.
- Check with 0: f(0) = 5, and f⁻¹(5) = 2 − = 0.
Once you have f⁻¹, how do you find its domain without new work?
- It is the range of f.
- The outputs of f are the inputs of f⁻¹.
- In the same way, the range of f⁻¹ is the restricted domain of f.