Quarry School

Finding the inverse of a quadratic on a cut domain

Subject: MathematicsLeans on: The square root step and its signLeans on: The symbol √ is never negativeLeans on: Same move on both sidesLeans on: Undo in backward orderLeans on: A square is never negativeLeans on: The domain of a square rootLeans on: Flipping an inequalityLeans on: One-to-one function
Level 1 · FoundationsAbout 23 min read2 new termsKeystone idea. Later lessons build on this one.
How this was estimated

Programmatic estimate. Rung levels, worked steps, prerequisites, terms and sentence length contribute to this level. It describes the lesson, not your ability.

Reading counts the whole lesson, including folded explanations, at 180 words a minute. Practice allows two minutes per item. These are planning assumptions; take the time you need.

AI estimate unavailable.

Path to here

Open the unit’s lesson list to follow the lesson order.

    Quick review (2 minutes)

    In plain words

    Think about putting on socks, then shoes.

    Rule

    For f(x) = a(x − h)2 + k on the restricted domain x ≥ h, the inverse function is f⁻¹(x) = h + (x−k)÷a. On the restricted domain x ≤ h it is f⁻¹(x) = h − (x−k)÷a. The domain of f⁻¹ is the range of f, and the range of f⁻¹ is the restricted domain of f.

    Step

    1. Write y in place of f(x), and write the restricted domain (the cut domain) beside it as a note, for example x ≥ 3.

    2. 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.

    3. 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.

    4. Take the square root of both sides and write ± in front of the root. Both signs are candidates at this point.

    5. 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.

    6. Finish getting y alone, then rename y as f⁻¹(x).

    7. State the domain of f⁻¹. It is the range of f: the outputs of f are the inputs of f⁻¹.

    8. 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.

    Strategy

    1. Write y = the formula, and beside it the restricted domain as a note.

    2. Swap x and y in the equation and in the note.

    3. Undo the outside steps in backward order until the squared part stands alone.

    4. Take the square root of both sides and write ±.

    5. Read the note to choose the sign: y ≥ h keeps +, y ≤ h keeps −.

    6. Finish solving for y and rename it f⁻¹(x).

    7. State the domain of f⁻¹: it is the range of f.

    8. Check with one number that is not the vertex: through f, then through f⁻¹, and back.

    Question

    Find the inverse function of f(x) = (x − 3)2 + 2 on the restricted domain x ≥ 3, and state the domain of the inverse.

    Answer

    f⁻¹(x) = 3 + x−2
    Domain of f⁻¹: x ≥ 2, which is [2, ∞)
    Range of f⁻¹: y ≥ 3, the restricted domain of f

    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.

    Term

    inverse function

    Definition

    The function that undoes another function. If f turns 3 into 7, then the inverse, written f−1, turns 7 back into 3.

    Term

    one-to-one function

    Definition

    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.

    Term

    restricted domain

    Definition

    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

    (2, 3)(6, 5)(6, 1)24681012246(2, 3)(6, 5)(6, 1)1357911246
    The solid curve is 3 + x−2 and the dashed curve is 3 − x−2.

    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 ±9, read plus or minus root 9.
    • The symbol √ is never negative. 9 means 3 only. To get −3 you must write −9.
    • Same move on both sides. An equation stays true when both sides get the same change: x = y2 + 5 becomes x − 5 = y2 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)2 is 0 or more for every x, so (x − 3)2 + 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: x−2 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. x2 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: 32 = 9 and (−3)2 = 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 f(x)=a(x−h)2+k on the restricted domain x≥h, the inverse function is f−1(x)=h+(x−k)÷a.

    On the restricted domain x≤h it is f−1(x)=h−(x−k)÷a. The domain of f−1 is the range of f, and the range of f−1 is the restricted domain of f.

    The same idea, five ways

    Say it

    Say f⁻¹(x) as: f inverse of x. Say the method as: swap, solve, choose the sign.

    Write it

    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.

    In math
    • f⁻¹(x)
    • f(a) = b means f⁻¹(b) = a
    • y = (x − h)2 + k with x ≥ h becomes x = (y − h)2 + k with y ≥ h
    • f⁻¹(x) = h + x−k on [k, ∞) when the right half was kept
    • f⁻¹(x) = h − x−k on [k, ∞) when the left half was kept
    Like

    Socks, then shoes on the way out. Shoes, then socks on the way back. The same steps, backward, each one reversed.

    See it

    Start: y = (x − 3)2 + 2, x ≥ 3

    Swap: x = (y − 3)2 + 2, y ≥ 3

    Root: y − 3 = ±x−2

    Note says y ≥ 3, so keep +

    f⁻¹(x)=3+x−2,x≥2

    The same idea, other ways

    As a story

    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)2 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.

    135home
    Both 1 and 5 sit 2 steps from home at 3, but only 5 is on the shaded side that was kept.
    With small numbers

    Take f(x) = x2. 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 x, because 9 = 3. Keep only x ≤ 0, and the input was −3: the inverse is −x, because −9 = −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.

    −339function
    Two inputs, −3 and 3, land on the same output 9, so the trip back must know which half was kept.
    As a table read backward

    The table shows f(x) = (x − 3)2 + 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 + x−2 does the same job without a table: 3 + 6−2 = 3 + 2 = 5.

    input xoutput f(x)324356611↑ solve: output given, read every input above it
    The up arrow from the output 6 to the input 5 is the inverse at work: f⁻¹(6) = 5.
    Why it must be true

    After the swap you reach (y − 3)2 = x − 2, so y − 3 is either x−2 or −x−2. The symbol √ always gives 0 or more. If the note says y ≥ 3, then y − 3 is 0 or more, so +x−2 fits for every x ≥ 2, where the root is defined; −x−2 fits only at x = 2, where both signs give 0. If the note says y ≤ 3, then y − 3 is 0 or less, so −x−2 fits for every x ≥ 2. One note allows one formula. Nothing is left to guess.

    As a rule of thumb

    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 keptNote after the swapSign of the rootExample with (x − 3)2 + 2
    Right half: x ≥ hy ≥ h, so y − h is 0 or more+On x ≥ 3: f⁻¹(x) = 3 + x−2
    Left half: x ≤ hy ≤ h, so y − h is 0 or less−On x ≤ 3: f⁻¹(x) = 3 − x−2

    5 How

    1. Write y in place of f(x), and write the restricted domain (the cut domain) beside it as a note, for example x ≥ 3.
    2. 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.
    3. 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.
    4. Take the square root of both sides and write ± in front of the root. Both signs are candidates at this point.
    5. 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.
    6. Finish getting y alone, then rename y as f⁻¹(x).
    7. State the domain of f⁻¹. It is the range of f: the outputs of f are the inputs of f⁻¹.
    8. 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

    1
    Does the quadratic come with a restricted domain that makes it a one-to-one function?
    YesGo on.
    NoStop. Cut the domain at the vertex first, as in the last lesson.
    ↓
    2
    After the swap, is a number added or subtracted outside the square?
    YesUndo it first, on both sides.
    NoGo on.
    ↓
    3
    Is a number multiplying the squared part?
    YesDivide both sides by it before taking the root.
    NoTake the root now.
    ↓
    4
    Does the note say y ≥ h, meaning the right half was kept?
    YesKeep the plus sign in front of the root.
    NoThe note says y ≤ h, the left half. Keep the minus sign.
    ↓
    5
    Does your check number come back to itself?
    YesDone. Write the inverse with its domain.
    NoLook at the sign of the root first, then at the order of the undo steps.
    1. Write y = the formula, and beside it the restricted domain as a note.
    2. Swap x and y in the equation and in the note.
    3. Undo the outside steps in backward order until the squared part stands alone.
    4. Take the square root of both sides and write ±.
    5. Read the note to choose the sign: y ≥ h keeps +, y ≤ h keeps −.
    6. Finish solving for y and rename it f⁻¹(x).
    7. State the domain of f⁻¹: it is the range of f.
    8. 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 + 2 on the restricted domain x ≥ 3, and state the domain of the inverse.

    Show the steps and the answer
    5f: subtract 3,square, add 2f⁻¹: subtract2, take theroot, add 3firstsecond65
    The number 5 goes through f and comes out as 6, then goes through f⁻¹ and comes back as 5.
    1. 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.
    2. Write y=(x−3)2+2, with the note x≥3.y is a shorter name for the output f(x), and the note keeps the restricted domain in view.
    3. Swap x and y: x=(y−3)2+2, with the note y≥3.The inverse trades the roles of input and output. The note swaps too, since y now stands for the old inputs.
    4. Subtract 2 from both sides: x−2=(y−3)2.Adding 2 was the last thing f did, so it is the first thing to undo. This leaves the squared bracket alone.
    5. Take the square root of both sides: y−3=±x−2.Two numbers have the same square, so the root step must offer both signs for now.
    6. Choose the sign. The note says y ≥ 3, so y − 3 is 0 or more. Keep the plus sign: y−3=x−2.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.
    7. Add 3 to both sides: y=3+x−2. Rename y: f−1(x)=3+x−2.y is now alone, and y is the output of the inverse.
    8. State the domain of the inverse: x≥2.The inverse takes the outputs of f as its inputs. A square is 0 or more, so (x − 3)2 + 2 is 2 or more. The root agrees: x − 2 must not be negative.
    Answer
    • f⁻¹(x)=3+x−2
    • Domain of f⁻¹: x ≥ 2, which is [2, ∞)
    • Range of f⁻¹: y ≥ 3, the restricted domain of f
    Double-check Send a number on a round trip. Start with 5, which is in the restricted domain. f(5) = (5 − 3)2 + 2 = 4 + 2 = 6. Then f⁻¹(6) = 3 + 6−2 = 3 + 4 = 3 + 2 = 5. You are back at 5. The other sign fails: 3 − 4 = 1, and 1 is not in x ≥ 3. A second trip: f(7) = 42 + 2 = 18, and f⁻¹(18) = 3 + 16 = 3 + 4 = 7.

    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) = x2 on the restricted domain x ≥ 0.

    Show the steps and the answer
    9f⁻¹: take the squareroot, plus signbecause x ≥ 0 waskeptinputoutput3
    The inverse machine takes the output 9 back to 3, the input on the kept half.
    1. 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.
    2. Write y=x2, with the note x≥0.y names the output, and the note records which half of the parabola was kept.
    3. Swap x and y: x=y2, with the note y≥0.The inverse trades input and output, so the letters trade places, in the note too.
    4. Take the square root of both sides: y=±x.A number and its negative have the same square, so both signs are candidates.
    5. Choose the sign. The note says y ≥ 0, so keep the plus sign: y=x.x is 0 or more, which matches the note. −x would be 0 or less.
    6. Write f−1(x)=x, with domain x≥0.The inverse takes the outputs of f as its inputs, and a square is never negative.
    Answer
    • f⁻¹(x)=x
    • Domain of f⁻¹: x ≥ 0
    Double-check Round trip with 4: f(4) = 16, then f⁻¹(16) = 16 = 4. Round trip with 7: f(7) = 49, then 49 = 7. Both come back.

    Rung 2 of 6

    One outside step to undo first

    Find the inverse function of f(x) = x2 + 5 on the restricted domain x ≥ 0, and state its domain.

    Show the steps and the answer
    5[5, ∞)
    The inverse accepts only 5 and above, because 5 is the smallest output f can make.
    1. 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.
    2. Write y=x2+5, with the note x≥0. Swap: x=y2+5, with the note y≥0.Swapping the letters trades input and output, and the note follows the old inputs to their new letter.
    3. Subtract 5 from both sides: x−5=y2.Adding 5 was the last step of f, so it is undone first. The square now stands alone.
    4. Take the square root of both sides: y=±x−5.The root step always offers both signs before the note is read.
    5. Choose the sign. The note says y≥0, so y=x−5. Rename: f−1(x)=x−5.The plus root is 0 or more, which is what the note demands.
    6. State the domain: x≥5.x2 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.
    Answer
    • f⁻¹(x)=x−5
    • Domain of f⁻¹: x ≥ 5, which is [5, ∞)
    Double-check f(2) = 4 + 5 = 9, then f⁻¹(9) = 9−5 = 4 = 2. Again with 6: f(6) = 36 + 5 = 41, then f⁻¹(41) = 41−5 = 36 = 6.

    Rung 3 of 6

    The left half, so the minus sign

    Find the inverse function of f(x) = x2 − 4 on the restricted domain x ≤ 0, and state its domain.

    Show the steps and the answer
    (−4, 0)(−3, −1)(5, −3)domainrange−448−4−22
    The graph of −x+4 starts at x = −4 and never rises above 0, so every output lands in the kept half x ≤ 0.
    1. 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.
    2. Write y=x2−4, with the note x≤0. Swap: x=y2−4, with the note y≤0.The letters trade places, and the note now speaks about y.
    3. Add 4 to both sides: x+4=y2.Subtracting 4 was the last step of f, so adding 4 undoes it and leaves the square alone.
    4. Take the square root of both sides: y=±x+4.Both signs are candidates until the note is read.
    5. Choose the sign. The note says y≤0, so keep the minus sign: y=−x+4. Rename: f−1(x)=−x+4.x+4 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.
    6. State the domain: x≥−4.x2 is 0 or more, so the outputs of f are −4 or more. The root agrees: x + 4 must be 0 or more.
    Answer
    • f⁻¹(x)=−x+4
    • Domain of f⁻¹: x ≥ −4, which is [−4, ∞)
    Double-check f(−3) = 9 − 4 = 5, then f⁻¹(5) = −5+4 = −9 = −3. The plus root would give 3, which is not in x ≤ 0. Again with −1: f(−1) = 1 − 4 = −3, then f⁻¹(−3) = −−3+4 = −1 = −1.

    Rung 4 of 6

    A shifted vertex and the left half

    Find the inverse function of f(x) = (x + 1)2 − 6 on the restricted domain x ≤ −1, and state its domain.

    Show the steps and the answer
    −4f: add 1,square,subtract 6f⁻¹: add 6,take the root,make itnegative,firstsecond3−4
    The input −4 becomes 3 under f and returns to −4 under f⁻¹, with the minus sign doing the work of the left…
    1. Say what is asked: f takes an input that is −1 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.
    2. Write y=(x+1)2−6, with the note x≤−1. Swap: x=(y+1)2−6, with the note y≤−1.Input and output trade letters, and the note goes with the old inputs.
    3. Add 6 to both sides: x+6=(y+1)2.Subtracting 6 was the last step of f, so it is undone first.
    4. Take the square root of both sides: y+1=±x+6.The whole bracket y + 1 was squared, so the root gives back the whole bracket, with both signs possible.
    5. Choose the sign. The note says y ≤ −1, so y + 1 is 0 or less. Keep the minus sign: y+1=−x+6.The minus root is 0 or less for every x ≥ −6. The plus root is above 0 for every x except −6.
    6. Subtract 1 from both sides: y=−1−x+6. Rename: f−1(x)=−1−x+6.This undoes the add 1 inside the bracket, the first thing f did and the last thing to undo.
    7. State the domain: x≥−6.(x + 1)2 is 0 or more, so the outputs of f are −6 or more. The root agrees: x + 6 must be 0 or more.
    Answer
    • f⁻¹(x)=−1−x+6
    • Domain of f⁻¹: x ≥ −6, which is [−6, ∞)
    Double-check f(−4) = (−4 + 1)2 − 6 = (−3)2 − 6 = 9 − 6 = 3, then f⁻¹(3) = −1 − 3+6 = −1 − 3 = −4. Again with −2: f(−2) = (−1)2 − 6 = −5, then f⁻¹(−5) = −1 − −5+6 = −1 − 1 = −2.

    Rung 5 of 6

    A number multiplying the square

    Find the inverse function of f(x) = 3x2 − 2 on the restricted domain x ≥ 0, and state its domain.

    Show the steps and the answer
    =x + 23y²do the same thing to both sides
    Both sides must be divided by 3 as whole sides.
    1. 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.
    2. Write y=3x2−2, with the note x≥0. Swap: x=3y2−2, with the note y≥0.Input and output trade letters, and the note follows.
    3. Add 2 to both sides: x+2=3y2.Subtracting 2 was the last step of f, so it is undone first.
    4. Divide both sides by 3: x+23=y2.Multiplying by 3 was the step before that. The whole left side is divided, not only the x. The square now stands alone.
    5. Take the square root of both sides: y=±(x+2)÷3.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.
    6. Choose the sign. The note says y≥0, so y=(x+2)÷3. Rename: f−1(x)=(x+2)÷3.The plus root is 0 or more, as the note requires.
    7. State the domain: x≥−2.3x2 is 0 or more, so the outputs of f are −2 or more. The root agrees: x + 2 must be 0 or more.
    Answer
    • f⁻¹(x)=(x+2)÷3
    • Domain of f⁻¹: x ≥ −2, which is [−2, ∞)
    Double-check f(2) = 3 · 4 − 2 = 10, then f⁻¹(10) = (10+2)÷3 = 12÷3 = 4 = 2. Again with 4: f(4) = 3 · 16 − 2 = 46, then f⁻¹(46) = 48÷3 = 16 = 4. Gotcha: dividing first and adding 2 afterward gives 10÷3+2, which is about 2.31 (rounded), not 2.

    Rung 6 of 6

    A parabola that opens down, left half kept

    Find the inverse function of f(x) = −2(x − 1)2 + 8 on the restricted domain x ≤ 1, and state its domain.

    Show the steps and the answer
    8(−∞, 8]
    This parabola opens down with its top at 8, so the inverse accepts only inputs of 8 or less.
    1. Say what is asked: f takes an input that is 1 or less, subtracts 1, squares, multiplies by −2, 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.
    2. Write y=−2(x−1)2+8, with the note x≤1. Swap: x=−2(y−1)2+8, with the note y≤1.Input and output trade letters, and the note goes with the old inputs.
    3. Subtract 8 from both sides: x−8=−2(y−1)2.Adding 8 was the last step of f, so it is undone first.
    4. Divide both sides by −2: x−8−2=(y−1)2. Multiply the top and the bottom of the fraction by −1 to tidy it: 8−x2=(y−1)2.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.
    5. Take the square root of both sides: y−1=±(8−x)÷2.The root covers the whole fraction, and both signs are candidates for now.
    6. Choose the sign. The note says y ≤ 1, so y − 1 is 0 or less. Keep the minus sign: y−1=−(8−x)÷2.The minus root is 0 or less for every x ≤ 8. The plus root is above 0 for every x except 8.
    7. Add 1 to both sides: y=1−(8−x)÷2. Rename: f−1(x)=1−(8−x)÷2.This undoes the subtract 1 inside the bracket, the first step of f and the last to undo.
    8. State the domain: x≤8.(x − 1)2 is 0 or more, so −2(x − 1)2 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.
    Answer
    • f⁻¹(x)=1−(8−x)÷2
    • Domain of f⁻¹: x ≤ 8, which is (−∞, 8]
    Double-check f(−1) = −2(−1 − 1)2 + 8 = −2 · 4 + 8 = 0, then f⁻¹(0) = 1 − (8−0)÷2 = 1 − 4 = −1. Again with −2: f(−2) = −2(−3)2 + 8 = −18 + 8 = −10, then f⁻¹(−10) = 1 − (8+10)÷2 = 1 − 9 = −2.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: For f(x) = x2 − 4 on x ≤ 0, writing f⁻¹(x) = x+4.
    The symbol √ gives 0 or more, but every answer must land in x ≤ 0. Test it: f(−3) = 5, yet 5+4 = 3, not −3.
    ✓ Instead: The left half was kept, so take the minus sign: f⁻¹(x) = −x+4. Then f⁻¹(5) = −3.
    ✗ Not this: Leaving both signs in the answer: f⁻¹(x) = 3 ± x−2.
    That gives two outputs for one input, for example 5 and 1 when x = 6. A function gives one output for each input, so this is not a function.
    ✓ Instead: Use the restricted domain to keep one sign. For x ≥ 3 the answer is f⁻¹(x) = 3 + x−2.
    ✗ Not this: Swapping x and y in the equation but leaving the note as x ≥ 3.
    After the swap the old inputs are called y. A note that still says x ≥ 3 now describes the wrong letter, and it gives no help when the sign is chosen.
    ✓ Instead: Swap the note too: x ≥ 3 becomes y ≥ 3. Then y − 3 is 0 or more, and the plus sign follows.
    ✗ Not this: Taking the root too early: from x = y2 + 5, writing x = y + 5.
    A root cannot be split across a plus sign. 9+16 = 25 = 5, but 9 + 16 = 3 + 4 = 7.
    ✓ Instead: Move the 5 first: x − 5 = y2. Then take the root of each whole side: y = ±x−5.
    ✗ Not this: Reading f⁻¹(x) as 1 ÷ f(x).
    The small −1 is part of the name, not a power. For f(x) = x2 + 5 on x ≥ 0, f(2) = 9, so the inverse must send 9 back to 2. But 1 ÷ f(9) = 186.
    ✓ Instead: f⁻¹(x) = x−5, and f⁻¹(9) = 4 = 2.
    ✗ Not this: Looking for the inverse function of f(x) = x2 − 4 on all real numbers, with no restricted domain.
    The method does not apply here. f(3) = 5 and f(−3) = 5, so the output 5 has two inputs and f is not a one-to-one function. No single sign can send 5 back to both.
    ✓ Instead: Cut the domain at the vertex first. On x ≥ 0 the inverse is x+4. On x ≤ 0 it is −x+4.

    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 + 2: subtract 3, square, add 2. Backward: subtract 2, take the root, add 3. That is 3 + x−2.
    • 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: 32 = 9 and (−3)2 = 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)2 + 1 on the restricted domain x ≤ 2.
    • f⁻¹(x) = 2 − x−1, 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 − 4 = 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.