Quarry School

Why a trig function needs its domain cut before it can have an inverse

Subject: MathematicsLeans on: What a function isLeans on: The vertical line testLeans on: Sine on the unit circleLeans on: The graph of sineLeans on: Reflecting over the line y = xLeans on: Square and round bracketsLeans on: Full turns and negative anglesLeans on: Comparing fractions of πLeans on: Squaring a negative number
Level 2 · BuildingAbout 30 min read5 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

    A function is a machine: one input goes in, one output comes out.

    Rule

    Horizontal line test: a function has an inverse function exactly when no horizontal line crosses its graph more than once. A function that passes is called a one-to-one function. Every trig function repeats, so each one fails the test and must be cut first. Sine is cut to the restricted domain [−π2, π2], where sin θ takes every value in [−1, 1] exactly once.

    Step

    1. Say in plain words what is asked: can the function be run backward, that is, does each output come from only one input?

    2. Picture the graph with inputs across and outputs up. For sine it is the wave that rises to 1 at π2, falls to −1 at 3π2 and repeats every 2π.

    3. Slide a horizontal line from the bottom of the graph to the top and watch for any height where it touches two or more points.

    4. If it ever does, write the proof as a pair: two inputs with one shared output, such as sin(π6) = sin(5π6) = 12. The function is not a one-to-one function, so on that domain it has no inverse function.

    5. To repair a smooth wave like sine, keep a stretch of inputs with no turn inside it that still reaches every output. For sine that stretch is the restricted domain [−π2, π2].

    6. Check the stretch: evaluate sine at its ends and its middle, sin(−π2) = −1, sin 0 = 0 and sin(π2) = 1, then slide the horizontal line again; each height from −1 to 1 should touch once.

    Strategy

    1. Write the piece as an interval of inputs, for example [0, π].

    2. Repeat check: look for a top or a bottom strictly inside the piece, or for two inputs with the same output. Either one means some horizontal line crosses twice.

    3. Coverage check: find the outputs at the two ends and at any top or bottom, then list every height the piece reaches. Compare that with every height the full function reaches; for sine that is [−1, 1].

    4. Ends check: if a needed height appears only at an end of the piece, that end must be kept, with a square bracket.

    5. Agreement check: among the pieces that pass, use the agreed one, so your answers match everyone else's. For sine it is [−π2, π2].

    Question

    (a) Find two angles with the same sine, and use them to show that sine fails the horizontal line test.
    (b) Show that on the angles −π2 ≤ θ ≤ π2, sine takes every value in [−1, 1] exactly once.

    Answer

    (a) sin(π6) = sin(5π6) = 12, so the line y = 12 crosses the sine graph twice: sine fails the horizontal line test.
    (b) On [−π2, π2] the height climbs from −1 to 1 without turning back, so each value in [−1, 1] is taken exactly once.

    Trap

    Cutting sine to [0, π], the top half of the circle, because it looks like a natural half. On [0, π] sine climbs and then falls, so sin(π6) = sin(5π6) = 12 still repeats, and it never reaches a negative height. Sine's piece is the right half of the circle, from the bottom to the top: [−π2, π2]. Say it to yourself: sine climbs the right side.

    Term

    one-to-one function

    Definition

    A function in which no two inputs share an output, so every output comes from exactly one input. Only a one-to-one function can be run backward without confusion.

    Term

    horizontal line test

    Definition

    A picture check for one-to-one: if some horizontal line crosses a graph more than once, two inputs share an output and the function has no inverse as it stands.

    Term

    restricted domain

    Definition

    A smaller set of inputs chosen on purpose, keeping only a piece of the graph that passes the horizontal line test, so the function gets an inverse.

    Term

    inverse function

    Definition

    The function that runs another one backward: if f sends a to b, the inverse f−1 sends b back to a. Its graph is the mirror image across the line y = x.

    1 In plain words

    A function is a machine: one input goes in, one output comes out. An inverse function runs the machine backward: you hand it an output and it hands back the input. That can only work if no two inputs share an output. Picture a seat on a Ferris wheel. Its height above the hub works like the sine of the angle the wheel has turned. On every lap the seat passes most heights twice, once going up and once coming down, and the laps repeat forever. Hearing only that the seat is level with the hub, you cannot tell where it is. So everyone agrees to watch one stretch: the climb from the bottom to the top. On that climb, each height happens exactly once.

    2 Picture it

    π/65π/613π/617π/6π2π3π4π−11π/65π/613π/617π/6π2π3π4π−11
    In two laps alone, the dashed line at height 12 crosses the sine wave four times, at π6, 5π6, 13π6 and 17π6.

    Reminder

    Reminder: What a function is, The vertical line test, Sine on the unit circle, The graph of sine, Reflecting over the line y = x, Square and round brackets, Full turns and negative angles, Comparing fractions of π, Squaring a negative number
    • What a function is. Each input gets exactly one output: the angle π6 goes in, and sin(π6) = 12 is the one height that comes out.
    • The vertical line test. A graph is a function when no vertical line crosses it twice. A circle is not one: the vertical line through its center crosses it at the top and at the bottom.
    • Sine on the unit circle. sin θ is the height, the y-coordinate, of the point at angle θ: at θ = π2 the point is the top, (0, 1), so sin(π2) = 1.
    • The graph of sine. Angle across, height up: (0, 0), up to (π2, 1), down through (π, 0) to (3π2, −1), back to (2π, 0), then the same wave again.
    • Reflecting over the line y = x. Swap the two coordinates of each point: (π6, 12) on the sine graph becomes (12, π6) on its mirror image.
    • Square and round brackets. A square bracket keeps the end, a round one leaves it out: [−1, 1] contains −1 and 1, and (−1, 1) does not.
    • Full turns and negative angles. Adding 2π is one more full turn and lands on the same point: π6 + 2π = 13π6. A negative angle turns clockwise: −π2 lands at the bottom, (0, −1).
    • Comparing fractions of π. Give both the same bottom first: π2 = 3π6, so 5π6 is bigger than π2 because 5 > 3.
    • Squaring a negative number. A negative times a negative is positive: (−2)2 = (−2) · (−2) = 4, the same as 22 = 4.

    3 Why

    An inverse sends each output back to the one input that made it. Sine breaks this: sin(π6) and sin(5π6) are both 12, and adding 2π to either angle gives 12 again. So 12 would have to go back to infinitely many angles, and a machine with many answers to one question is not a function. The mirror shows it: flip the sine graph over the line y = x and a vertical line hits it again and again. We cannot change what sine does, so we change where we look: keep one stretch where sine never repeats yet still reaches every height from −1 to 1.

    4 The rule

    Horizontal line test: a function has an inverse function exactly when no horizontal line crosses its graph more than once.

    A function that passes is called a one-to-one function. Every trig function repeats, so each one fails the test and must be cut first. Sine is cut to the restricted domain [−π2, π2], where sin θ takes every value in [−1, 1] exactly once.

    The same idea, five ways

    Say it

    On the angles from minus pi over two to pi over two, sine is one-to-one: it hits every height from minus one to one exactly once.

    Write it

    The sine function, restricted to the angles θ with −π2 ≤ θ ≤ π2, is a one-to-one function whose outputs are all the numbers from −1 to 1.

    In math
    • −π2≤θ≤π2
    • [−π2,π2]
    • {θ|−π2≤θ≤π2}
    • sin a = sin b only when a = b, for a and b in [−π2, π2]
    • outputs: −1 ≤ sin θ ≤ 1, that is [−1, 1]
    • graph words: the rising arc from (−π2, −1) to (π2, 1)
    Like

    Like agreeing to describe a Ferris wheel seat only on its climb up the right side, from the bottom to the top: then its height alone tells you exactly where it is.

    See it
    −π/20π/2
    Filled dots at both ends: the restricted domain keeps −π2 and π2.

    The same idea, other ways

    As a picture

    Draw the sine wave and slide a ruler, held flat, from the bottom of the wave to the top. At height 12 it touches the wave at π6, 5π6, 13π6, 17π6 and on forever: sine fails the horizontal line test. Now erase everything except the rising arc from (−π2, −1) to (π2, 1). Slide the ruler again: at every height from −1 to 1 it touches the arc exactly once.

    (−π/2, −1)(π/2, 1)domainrange−π/2π/2−11
    The arc that is kept.
    As a story

    You ride a Ferris wheel whose hub is at height 0 and whose seat is 1 unit from the hub, so your height is the sine of the angle the wheel has turned. On each lap you reach the height 12 twice: once on the right side going up, at π6, and once on the left side coming down, at 5π6. A photo that shows only your height cannot tell those two moments apart. If everyone agrees to talk only about the climb up the right side, from the bottom to the top, each height names exactly one moment of the ride.

    x = cos θy = sin θ5π/6
    At 5π6 the seat is on the left side, coming down, at height 12: the same height it had at π6 on the way up.
    With small numbers

    Look at the table of sine values: the output row holds three 0s, under the inputs 0, π and 2π. Three inputs, one output. A backward machine handed the number 0 would have three angles to choose from and no rule for choosing, so it could not be a function. On the kept piece [−π2, π2], only θ = 0 still has height 0, because π and 2π are both bigger than π2.

    input θoutput sin θ00π/21π03π/2−12π0↑ solve: output given, read every input above it
    The three 0s in the output row point up to three different inputs: 0, π and 2π.
    Why it must be true

    Running a function backward is the same as reflecting its graph over the line y = x: each point (θ, height) becomes (height, θ). The points (π6, 12) and (5π6, 12) become (12, π6) and (12, 5π6): one input, 12, with two outputs. The vertical line x = 12 crosses the reflected graph more than once, so the reflection is not a function. The only way out is to keep fewer points: a piece of the graph where no two points share a height.

    −202−202
    A vertical line that crosses a graph more than once means the graph is not a function.
    As a rule of thumb

    For a smooth wave like sine: if the graph turns around, going up and then down or down and then up, it fails the horizontal line test, because the heights near the turn are visited once on each side of it. So keep a stretch that runs from one turn to the next with no turn inside. For sine, the bottom at −π2 and the next top at π2 mark that stretch.

    π/2π3π/22π−11
    The top at π2 and the bottom at 3π2 are turns, and heights repeat on the two sides of each one.
    Angles keptDoes a height repeat?Heights reachedCan sine be run backward on all of [−1, 1]?
    [0, 2π], one full lapYes: sin(π6) = sin(5π6) = 12[−1,1]No: heights repeat
    [0, π], the top halfYes: sin(π6) = sin(5π6) = 12[0, 1]No: heights repeat, and no negative heights
    [0, π2], a quarter lapNo[0, 1]No: no negative heights
    (−π2, π2), ends left outNo(−1,1)No: −1 and 1 are missing
    from π2 to 3π2, ends keptNo[−1,1]It would work, but it is not the agreed piece
    [−π2, π2], the right halfNo[−1,1]Yes: the agreed restricted domain

    5 How

    1. Say in plain words what is asked: can the function be run backward, that is, does each output come from only one input?
    2. Picture the graph with inputs across and outputs up. For sine it is the wave that rises to 1 at π2, falls to −1 at 3π2 and repeats every 2π.
    3. Slide a horizontal line from the bottom of the graph to the top and watch for any height where it touches two or more points.
    4. If it ever does, write the proof as a pair: two inputs with one shared output, such as sin(π6) = sin(5π6) = 12. The function is not a one-to-one function, so on that domain it has no inverse function.
    5. To repair a smooth wave like sine, keep a stretch of inputs with no turn inside it that still reaches every output. For sine that stretch is the restricted domain [−π2, π2].
    6. Check the stretch: evaluate sine at its ends and its middle, sin(−π2) = −1, sin 0 = 0 and sin(π2) = 1, then slide the horizontal line again; each height from −1 to 1 should touch once.

    Checking whether a piece of a graph can be run backward

    1
    Does some horizontal line cross the piece two or more times?
    YesHeights repeat, so the piece fails. Shorten it so no top or bottom sits inside it.
    NoNo repeats. Go on.
    ↓
    2
    Does the piece reach every height the full function reaches (for sine, every number from −1 to 1, ends included)?
    YesNothing is missing. Go on.
    NoSome heights would have no input to go back to. Widen the piece, or change a round bracket to a square one if an end is missing.
    ↓
    3
    Is it the agreed piece (for sine, [−π2, π2])?
    YesUse it: this is the restricted domain.
    NoIt may work, but answers would not match anyone else's. Use the agreed piece.
    1. Write the piece as an interval of inputs, for example [0, π].
    2. Repeat check: look for a top or a bottom strictly inside the piece, or for two inputs with the same output. Either one means some horizontal line crosses twice.
    3. Coverage check: find the outputs at the two ends and at any top or bottom, then list every height the piece reaches. Compare that with every height the full function reaches; for sine that is [−1, 1].
    4. Ends check: if a needed height appears only at an end of the piece, that end must be kept, with a square bracket.
    5. Agreement check: among the pieces that pass, use the agreed one, so your answers match everyone else's. For sine it is [−π2, π2].

    6 Worked example

    Worked example

    Sine fails the test, and the kept piece passes

    (a) Find two angles with the same sine, and use them to show that sine fails the horizontal line test.
    (b) Show that on the angles −π2 ≤ θ ≤ π2, sine takes every value in [−1, 1] exactly once.

    Show the steps and the answer
    x = cos θy = sin θπ/6
    The point at π6 is (32, 12): its height is 12.
    x = cos θy = sin θ5π/6
    Its mirror image across the vertical axis, at 5π6, is (−32, 12): the same height, 12.
    (−π/2, −1)(π/2, 1)domainrange−π/2π/2−11
    The kept piece climbs from height −1 to height 1 and never turns back.
    1. Say what part (a) asks: find one height that two different angles share. Say what part (b) asks: on the kept angles, show that no height repeats and that no height from −1 to 1 is missing.A horizontal line at height h touches the sine graph at every angle whose sine is h, so a shared height is a horizontal line that touches twice.
    2. Start with the special angle π6. Its point on the unit circle is (32,12), so sin(π6)=12.Sine is the height, the y-coordinate, of the point on the unit circle, and π6 is the 30° special angle.
    3. Mirror that point across the vertical axis: (32,12) becomes (−32,12). This new point stops π6 short of the half turn π, so its angle is π−π6=6π6−π6=5π6.A mirror across the vertical axis keeps the height and swaps right for left. To subtract, write π as 6π6 so both fractions have the bottom 6.
    4. So sin(5π6)=12 as well: the horizontal line y=12 touches the sine graph at θ=π6 and at θ=5π6.Both points have the same height, 12.
    5. Answer (a): two different angles share the output 12, so sine fails the horizontal line test and is not a one-to-one function.The test fails as soon as one horizontal line touches twice, so one pair is a complete proof.
    6. It is worse than two: π6+2π=π6+12π6=13π6 lands on the same point, so sin(13π6)=12 too, and every further full turn adds another angle.2π is one full turn, and a full turn ends where it started.
    7. For (b), place the kept angles on the circle: θ=−π2 is the bottom, (0,−1); θ=0 is the right end, (1, 0); θ=π2 is the top, (0, 1).−π2 is a quarter turn clockwise from (1, 0), and π2 is a quarter turn counterclockwise.
    8. As θ grows from −π2 to π2, the point travels up the right half of the circle, from the bottom to the top. Its height climbs the whole way.On the right half each counterclockwise step lifts the point; the height starts to fall only after the top, and the top is where the piece ends.
    9. No repeats: a height that only climbs never returns to a value it already had, so every horizontal line touches the kept piece at most once.That is what passing the horizontal line test means.
    10. Nothing missing: the height moves smoothly from −1 up to 1, so it passes through every value in between, and the square brackets keep both ends, where the heights are −1 and 1.Like an elevator riding from the lowest floor to the highest: it passes every level on the way, and both end floors are part of the ride.
    11. Look back at the pair from (a): π6 is in the kept piece, but 5π6 is not, because π2=3π6 and 5π6 is bigger than 3π6. The cut threw the duplicate away.To compare fractions of π, give them the same bottom and compare the tops: 5 > 3.
    Answer
    • (a) sin(π6) = sin(5π6) = 12, so the line y = 12 crosses the sine graph twice: sine fails the horizontal line test.
    • (b) On [−π2, π2] the height climbs from −1 to 1 without turning back, so each value in [−1, 1] is taken exactly once.
    Double-check Second way, from the graph. (a) The sine wave rises to its top at θ = π2 and comes down the same way it went up, so two angles the same distance before and after π2 have the same height. π6 sits π3 before the top, since π2 − π6 = 3π6 − π6 = 2π6 = π3, and 5π6 sits π3 after it, since 5π6 − π2 = 5π6 − 3π6 = 2π6 = π3, so their heights match. (b) Evaluate the ends and the middle: sin(−π2) = −1, sin 0 = 0, sin(π2) = 1. That is bottom, middle, top in order, with no top or bottom strictly between, so the piece never turns around.

    Ladder: from easy to exam-hard

    Try each rung before you open its steps.

    Rung 1 of 7

    Rung 1: A hill that fails the horizontal line test, and where to cut it

    The figure shows the graph of f(x) = −(x − 1)2 + 3, a hill whose top is the point (1, 3). Does f pass the horizontal line test? If not, give two inputs with the same output to prove it. Then choose which inputs to keep so that f passes the test and still reaches every height it reached before.

    (0, 2)(2, 2)(1, 3)−224−6−4−224
    The hill y = −(x − 1)2 + 3 with its top marked at (1, 3).
    Show the steps and the answer
    1. Say in plain words what is asked: can f be run backward? For that, each output must come from only one input.An inverse function takes each output back to the input it came from. If one output comes from two inputs, there is no single input to go back to, so there is no inverse function.
    2. Picture the graph with inputs across and outputs up. Write f(x)=3−(x−1)2. The square (x−1)2 is never negative and is 0 only at x=1. So f(x) is never above 3 and equals 3 only at x=1. The graph is a hill: it climbs to its top (1, 3), turns, and falls. Far out on either side it drops below any height you name. So the heights f reaches are all y≤3.Inputs the same distance left and right of 1, such as 0 and 2, give the same square. So the two sides of the hill are mirror images. Sine's wave does the same: it climbs to 1 at π2 and then comes back down through the same heights.
    3. Slide a horizontal line from the bottom of the picture to the top. Every height below 3 meets the hill twice, once on the climb and once on the fall. The height 3 meets it once, at the top. Heights above 3 miss it.The horizontal line test fails as soon as a single height is touched at two or more points.
    4. Write the proof as a pair, using the height 2: f(0)=−(0−1)2+3=−1+3=2 and f(2)=−(2−1)2+3=−1+3=2, so f(0)=f(2)=2.Two inputs with one shared output are a complete proof. The line y = 2 crosses the graph at (0, 2) and at (2, 2), so f is not a one-to-one function. On all real numbers it has no inverse function.
    5. Cut the domain the way sine is cut: keep a stretch of inputs with no turn inside it that still reaches every output. The only turn is the top at x=1. So keep the climb up to and including the top: x≤1, the interval (−∞,1].With no turn inside, the graph only rises, so it never comes back to a height it already had. Keeping x = 1 keeps the top height 3. The climb has no bottom, so no height below 3 is lost. The fall, x ≥ 1, works just as well. The climb is chosen to match sine's piece [−π2, π2], which also climbs up to its top.
    6. Check the stretch. Evaluate at its end and at points to its left: f(1)=3,f(0)=2,f(−1)=−(−2)2+3=−1 and f(−2)=−(−3)2+3=−6. Moving right, the outputs −6,−1, 2, 3 only go up. Slide the horizontal line again over this half of the hill: every height y≤3 now touches it exactly once.For x ≤ 1, moving right brings x closer to 1. So (x − 1)2 shrinks and f(x) = 3 − (x − 1)2 grows, and no height repeats. The graph rises from below any height you name up to 3, so every height y ≤ 3 is reached. Both checks pass, so f on (−∞, 1] is a one-to-one function and has an inverse function.
    Answer
    No. f(0) = f(2) = 2, so the horizontal line y = 2 crosses the graph twice and f is not one-to-one. Keep only x ≤ 1, the interval (−∞, 1]. There f rises all the way to its top f(1) = 3 and takes every height y ≤ 3 exactly once, so it has an inverse function. (The other half, x ≥ 1, the interval [1, ∞), works just as well.)
    Double-check Run the cut function backward. From y = 3 − (x − 1)2 we get (x − 1)2 = 3 − y. With x ≤ 1, x − 1 is zero or negative, so x − 1 = −3−y and x = 1 − 3−y. That is one input for each y ≤ 3. Test it: y = 2 gives x = 1 − 1 = 0, and f(0) = 2 (the other input, 2, has been cut away). y = −6 gives x = 1 − 9 = −2, and f(−2) = −6. y = 3 gives x = 1 − 0 = 1, and f(1) = 3. For y above 3, 3 − y is negative and has no square root, which matches the hill never going above 3.

    Work to write

    1. f(0) = −(0 − 1)2 + 3 = 2 and f(2) = −(2 − 1)2 + 3 = 2, so f(0) = f(2) = 2
    2. One output comes from two inputs, so the line y = 2 crosses the graph twice: f fails the horizontal line test, is not one-to-one, and has no inverse function on all real numbers
    3. The only turn is the top (1, 3), so keep x ≤ 1, the interval (−∞, 1] (keeping x ≥ 1, the interval [1, ∞), is also correct)
    4. Check: f(−2) = −6, f(−1) = −1, f(0) = 2, f(1) = 3, rising all the way up to the top (for x ≥ 1: f(1) = 3, f(2) = 2, f(3) = −1, f(4) = −6, falling all the way)
    5. On the kept piece each height y ≤ 3 is reached exactly once, so f is one-to-one there and has an inverse function

    Rung 2 of 7

    Rung 2: one height, three angles

    Find every angle θ from 0 to 2π, ends included, with sin θ = 0. What does the answer say about sine and the horizontal line test?

    Show the steps and the answer
    0π2ππ/2π3π/22π−11
    The sine wave meets height 0 at θ = 0, π and 2π: three angles, one height.
    1. Say what it asks: the output is 0; find every input that gives it. This finds every place where the line y=0 touches the sine graph, so you can count them.Solving sin θ = 0 reads the graph backward, from a height to the angles.
    2. On the unit circle, height 0 means the point lies on the horizontal axis: at (1, 0) or at (−1,0).Sine is the y-coordinate, and y = 0 only on the horizontal axis.
    3. (1, 0) is the point for θ=0 and, after a full turn, for θ=2π. (−1,0) is the point for θ=π.0 is the starting point, π is a half turn, and 2π is a full turn back to the start.
    4. Plug each one back in: sin0=0,sinπ=0,sin2π=0.Each of those points has y-coordinate 0.
    5. Three angles share one height, so the line y=0 touches the sine graph three times: sine fails the horizontal line test.Passing allows at most one touch for every horizontal line.
    Answer
    • θ = 0, π, 2π
    • Sine fails the horizontal line test.
    Double-check Read the graph: the sine wave crosses the horizontal axis at 0, at π and at 2π, the three places where its height is 0.

    Rung 3 of 7

    Rung 3: half a lap, the top half of the circle

    Suppose you keep only the angles in [0, π], the top half of the unit circle. On that piece, does any height repeat? Is every height from −1 to 1 reached?

    Show the steps and the answer
    π/65π/6rangeπ/2π−11
    On [0, π] the line at height 12 still crosses twice, and the shaded heights stop at 0: nothing below the axis.
    1. Say what it asks: on the angles from 0 to π only, check for repeated heights, then for missing heights.A piece can be the domain of an inverse sine that answers every height from −1 to 1 only if no height repeats and none of those heights is missing.
    2. Check one height: sin(π6)=12 and sin(5π6)=12, and both angles lie in [0,π].π6 is positive, and 5π6 is less than 6π6, which is π.
    3. So the line y=12 still touches the piece twice: heights repeat.Two angles in the piece share one height.
    4. Now the heights reached: from 0 to π the point stays on the top half of the circle, rising from (1, 0) to the top, (0, 1), and coming back down to (−1,0). Every height is between 0 and 1, so the piece reaches [0, 1].Every point on the top half has a y-coordinate of 0 or more, and the highest one is the top, at height 1.
    5. A negative height such as −12 is never reached.No point on the top half lies below the horizontal axis.
    Answer
    • Heights repeat: sin(π6) = sin(5π6) = 12.
    • Only the heights in [0, 1] are reached.
    • The piece [0, π] does not work for sine.
    Double-check On the graph, sine on [0, π] is one hump: up to 1 at π2 and back down to 0, never below the axis. A hump repeats the heights on its two sides and has nothing below 0.

    Rung 4 of 7

    Rung 4: a quarter lap, nothing repeated, something missing

    On the angles in [0, π2], does any height repeat? Is every height from −1 to 1 reached?

    Show the steps and the answer
    domainrangeπ/2−11
    The quarter lap only climbs, but the dashed line at −12 never meets it: negative heights are missing.
    1. Say what it asks: run the same two checks, repeats and missing heights, on the quarter lap from 0 to π2.A usable piece must pass both.
    2. From 0 to π2 the point moves from (1, 0) up to the top, (0, 1), through the first quadrant, rising the whole way.In the first quadrant each counterclockwise step lifts the point.
    3. The height climbs from sin0=0 to sin(π2)=1 and never comes back down, so no height repeats.A height that only climbs cannot return to an earlier value.
    4. But every height on this piece is between 0 and 1. The height −12, for example, is never reached.Points in the first quadrant have a y-coordinate of 0 or more.
    5. So a backward machine built on this piece would have no angle to hand back for −12: the piece has no repeats but is too short.An inverse sine that answers every height from −1 to 1 needs an angle for each of them.
    Answer
    • No height repeats.
    • Only the heights in [0, 1] are reached, so every negative height is missing.
    • Sine on [0, π2] can be run backward, but only for heights from 0 to 1, so it cannot be the piece for an inverse sine that answers every height from −1 to 1.
    Double-check On the graph, the quarter lap from (0, 0) to (π2, 1) stays on or above the horizontal axis, so the dashed line at height −12 never meets it.

    Rung 5 of 7

    Rung 5: the right climb with its ends left out

    On the angles in (−π2, π2), with round brackets, is every height from −1 to 1 reached?

    Show the steps and the answer
    −1.570801.5708−π/2π/2
    Open dots at −π2 and π2: the ends are left out, and with them the heights −1 and 1.
    1. Say what it asks: the round brackets leave out both ends. Does leaving them out lose any height?A round bracket means that end is not in the piece.
    2. Height 1 belongs only to the top of the circle, (0, 1), which is the point for θ=π2.The top is the only point on the unit circle with y-coordinate 1.
    3. π2 is an end, and the round bracket leaves it out. Any other angle at the top is a full turn away, such as π2−2π=π2−4π2=−3π2, which is below −π2 and so outside the piece.Taking away a full turn, 2π, lands on the same point; to subtract, write 2π as 4π2.
    4. In the same way, height −1 belongs only to the bottom, (0,−1), the point for θ=−π2, and that end is left out too.The bottom is the only point with y-coordinate −1, and every other angle that lands there is a full turn away from −π2, outside the piece.
    5. So the heights reached are all the numbers strictly between −1 and 1, that is (−1,1). The heights −1 and 1 are missing.The climb never arrives at its own ends.
    6. Fix it by closing the brackets: [−π2,π2].Square brackets keep the ends, and with them the heights −1 and 1.
    Answer
    • No: the heights reached are (−1, 1), so −1 and 1 are missing.
    • Closing the brackets, [−π2, π2], fixes it.
    Double-check Evaluate sine at the two dropped ends: sin(−π2) = −1 and sin(π2) = 1. Those are exactly the two missing heights.

    Rung 6 of 7

    Rung 6: the agreed piece passes both checks

    Show that on [−π2, π2] sine repeats no height and reaches every height from −1 to 1.

    Show the steps and the answer
    (−π/2, −1)(0, 0)(π/2, 1)domainrange−π/2π/2−11
    The kept arc climbs from (−π2, −1) to (π2, 1), and its shadow on the vertical axis is all of [−1, 1].
    1. Say what it asks: run the same two checks on the closed piece from −π2 to π2.This is the piece that will be used, so it must pass both.
    2. Evaluate the ends and the middle: sin(−π2)=−1,sin0=0,sin(π2)=1.The points are the bottom, (0, −1), the right end, (1, 0), and the top, (0, 1).
    3. Between them the point climbs the right half of the circle, through the fourth quadrant and then the first, rising the whole time.On the right half each counterclockwise step lifts the point.
    4. No repeats: the height only climbs.A climbing height never returns to an earlier value.
    5. Nothing missing: the height moves smoothly from −1 to 1, and the square brackets keep both ends, so every height in [−1,1] is reached, each exactly once.A smooth climb from −1 to 1 passes through every value in between, and the two ends supply −1 and 1.
    Answer
    • No height repeats, and every height in [−1, 1] is reached exactly once.
    • This is the restricted domain for sine: [−π2, π2].
    Double-check On the graph, the arc from (−π2, −1) to (π2, 1) rises the whole way with no top or bottom inside it, and its shadow on the vertical axis covers all of [−1, 1].

    Rung 7 of 7

    Rung 7: another piece that works, and why it is not the one used

    Check the angles from π2 to 3π2, ends included: the left half of the circle. Do they pass both checks? Then explain why [−π2, π2] is the piece everyone uses instead.

    Show the steps and the answer
    π/23π/2domainrangeπ3π/2−11
    From π2 to 3π2 the wave runs downhill from 1 to −1, so this piece passes too; it is not the one chosen.
    1. Say what it asks: run the two checks on a second piece, then explain a choice between two pieces that both pass.More than one piece can work, so the question is why one of them is chosen.
    2. Ends and middle: sin(π2)=1 at the top, sinπ=0 at the left end, (−1,0), and sin(3π2)=−1 at the bottom, (0,−1).Sine is the y-coordinate of each of those points.
    3. Between them the point moves down the left half of the circle, from the top to the bottom, and its height falls the whole time.On the left half each counterclockwise step lowers the point.
    4. So no height repeats, and every height from 1 down to −1 is reached once: this piece passes both checks.A height that only falls cannot repeat, and a smooth fall from 1 to −1 passes every value between, with both ends kept.
    5. Compare the two pieces. [−π2,π2] contains 0 and the first-quadrant special angles π6,π4 and π3. The left piece contains none of them, not even 0.Every angle in the left piece is at least π2, and 0, π6, π4 and π3 are all smaller than π2.
    6. For those reasons mathematicians agreed on [−π2,π2]. The choice is a convention, and what matters most is that everyone uses the same piece.If two people used different pieces, running sine backward would give them different angles for the same height, and both would think they were right.
    Answer
    • Yes: from π2 to 3π2 sine falls from 1 to −1 with no repeats, so this piece would work.
    • The agreed piece is [−π2, π2], because it contains 0 and the small positive special angles, and one agreed piece means one answer for everyone.
    Double-check On the graph, sine from π2 to 3π2 runs downhill the whole way, from 1 at the top to −1 at the bottom, with no turn inside, so each horizontal line between −1 and 1 crosses it once.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Using a vertical line: every vertical line crosses the sine wave once, so sine must have an inverse function.
    The vertical line test only shows that sine is a function, one height for each angle. Running sine backward starts from a height, and all the angles with that height lie on one horizontal line.
    ✓ Instead: Slide a horizontal line instead. The line y = 12 crosses the wave at π6 and at 5π6, so sine fails the horizontal line test.
    ✗ Not this: Keeping one full lap, [0, 2π], and expecting the repeats to be gone.
    One lap still rises and falls: sin(π6) = sin(5π6) = 12, and sin 0 = sin π = sin 2π = 0, all inside [0, 2π].
    ✓ Instead: Keep only the climb from the bottom to the top, [−π2, π2], where no height repeats.
    ✗ Not this: Keeping [0, π2] because nothing repeats there.
    No repeats is only half the job. Every angle from 0 to π2 has a height of 0 or more, so a negative height such as −12 would have no angle to go back to.
    ✓ Instead: The piece must also reach every height from −1 to 1. [−π2, π2] does: it runs from sin(−π2) = −1 up to sin(π2) = 1.
    ✗ Not this: Writing the restricted domain with round brackets, (−π2, π2).
    Round brackets drop the ends, and the ends are the only angles in the piece with heights −1 and 1.
    ✓ Instead: Use square brackets: [−π2, π2].
    ✗ Not this: Thinking the cut changes sine, so that sin(5π6) is no longer 12.
    The cut does not change a single value of sine: sin(5π6) is still 12. It only decides which angles a backward machine is allowed to hand back.
    ✓ Instead: Sine still works on every angle. The restricted domain [−π2, π2] matters only when sine is run backward.
    ✗ Not this: Believing every function must be cut before it can have an inverse function.
    Only a function that fails the horizontal line test needs a cut. y = x3 only climbs: (−2)3 = −8, 13 = 1, 23 = 8, and no two inputs ever share an output.
    ✓ Instead: Run the horizontal line test first, and cut only when it fails, as it does for sine.

    Tips and tricks

    • Memory device: a vertical line asks whether it is a function (each x has one y); a horizontal line asks whether it can run backward (each y has one x).
    • Memory cue for the piece: sine climbs the right side. Picture the right half of the unit circle, from the bottom at −π2 to the top at π2.
    • Check any piece in ten seconds: find sine at its two ends and its middle. For [−π2, π2] you get −1, 0, 1, climbing in order with no top or bottom in between.
    • To show on paper that a function fails the horizontal line test, write one pair of inputs with the same output, such as sin(π6) = sin(5π6) = 12. One pair is a complete proof.
    • Rebuild, do not memorize: draw the unit circle, trace the right half from the bottom to the top, and you have the piece [−π2, π2] and the heights [−1, 1].
    • Cosine and tangent repeat too, so each needs its own cut, chosen by the same two checks: no repeats, nothing missing.

    7 The trap

    Cutting sine to [0, π], the top half of the circle, because it looks like a natural half. On [0, π] sine climbs and then falls, so sin(π6) = sin(5π6) = 12 still repeats, and it never reaches a negative height. Sine's piece is the right half of the circle, from the bottom to the top: [−π2, π2]. Say it to yourself: sine climbs the right side.

    Flash cards

    Say the answer out loud, then flip.

    Why must a trig function have its domain cut before it can have an inverse function?
    Every trig function repeats. Sine, for example, gives 12 at π6 and again each time you add 2π to that angle. Run backward, 12 would point to infinitely many angles instead of one, so we keep a piece where no output repeats.
    What does the horizontal line test tell you about a function?
    • Whether it has an inverse function.
    • Pass: no horizontal line crosses the graph more than once, so it is a one-to-one function and has an inverse.
    • Fail: some line crosses two or more times, so two inputs share an output and, on that domain, there is no inverse.
    What restricted domain does sine get, and why does that stretch work?
    • [−π2,π2]
    • Like a Ferris wheel seat climbing from the bottom to the top, sine rises there without turning back, from sin(−π2) = −1 to sin(π2) = 1, so each height from −1 to 1 happens exactly once.
    Why is [0, π] the wrong piece of sine to keep?
    • On [0, π] sine climbs and then falls, so heights repeat: π6 and 5π6 both give 12.
    • It also never goes below 0, so negative outputs such as −1 are never reached.