Why a trig function needs its domain cut before it can have an inverse
Quick review (2 minutes)
A function is a machine: one input goes in, one output comes out.
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 [−, ], where sin θ takes every value in [−1, 1] exactly once.
Say in plain words what is asked: can the function be run backward, that is, does each output come from only one input?
Picture the graph with inputs across and outputs up. For sine it is the wave that rises to 1 at , falls to −1 at and repeats every 2π.
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.
If it ever does, write the proof as a pair: two inputs with one shared output, such as sin() = sin() = . The function is not a one-to-one function, so on that domain it has no inverse function.
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 [−, ].
Check the stretch: evaluate sine at its ends and its middle, sin(−) = −1, sin 0 = 0 and sin() = 1, then slide the horizontal line again; each height from −1 to 1 should touch once.
Write the piece as an interval of inputs, for example [0, π].
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.
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].
Ends check: if a needed height appears only at an end of the piece, that end must be kept, with a square bracket.
Agreement check: among the pieces that pass, use the agreed one, so your answers match everyone else's. For sine it is [−, ].
(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 − ≤ θ ≤ , sine takes every value in [−1, 1] exactly once.
(a) sin() = sin() = , so the line y = crosses the sine graph twice: sine fails the horizontal line test.
(b) On [−, ] the height climbs from −1 to 1 without turning back, so each value in [−1, 1] is taken exactly once.
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() = sin() = 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: [−, ]. Say it to yourself: sine climbs the right side.
one-to-one function
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.
horizontal line test
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.
restricted domain
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.
inverse function
The function that runs another one backward: if f sends a to b, the inverse 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
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 goes in, and sin() = 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 θ = the point is the top, (0, 1), so sin() = 1.
- The graph of sine. Angle across, height up: (0, 0), up to (, 1), down through (π, 0) to (, −1), back to (2π, 0), then the same wave again.
- Reflecting over the line y = x. Swap the two coordinates of each point: (, ) on the sine graph becomes (, ) 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: + 2π = . A negative angle turns clockwise: − lands at the bottom, (0, −1).
- Comparing fractions of π. Give both the same bottom first: = , so is bigger than because 5 > 3.
- Squaring a negative number. A negative times a negative is positive: (−2 = (−2) · (−2) = 4, the same as = 4.
3 Why
An inverse sends each output back to the one input that made it. Sine breaks this: sin() and sin() are both , and adding 2π to either angle gives again. So 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 [−, ], where sin θ takes every value in [−1, 1] exactly once.
The same idea, five ways
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.
The sine function, restricted to the angles θ with − ≤ θ ≤ , is a one-to-one function whose outputs are all the numbers from −1 to 1.
- sin a = sin b only when a = b, for a and b in [−, ]
- outputs: −1 ≤ sin θ ≤ 1, that is [−1, 1]
- graph words: the rising arc from (−, −1) to (, 1)
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.
The same idea, other ways
Draw the sine wave and slide a ruler, held flat, from the bottom of the wave to the top. At height it touches the wave at , , , and on forever: sine fails the horizontal line test. Now erase everything except the rising arc from (−, −1) to (, 1). Slide the ruler again: at every height from −1 to 1 it touches the arc exactly once.
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 twice: once on the right side going up, at , and once on the left side coming down, at . 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.
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 [−, ], only θ = 0 still has height 0, because π and 2π are both bigger than .
Running a function backward is the same as reflecting its graph over the line y = x: each point (θ, height) becomes (height, θ). The points (, ) and (, ) become (, ) and (, ): one input, , with two outputs. The vertical line x = 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.
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 − and the next top at mark that stretch.
| Angles kept | Does a height repeat? | Heights reached | Can sine be run backward on all of [−1, 1]? |
|---|---|---|---|
| [0, 2π], one full lap | Yes: sin() = sin() = | No: heights repeat | |
| [0, π], the top half | Yes: sin() = sin() = | [0, 1] | No: heights repeat, and no negative heights |
| [0, ], a quarter lap | No | [0, 1] | No: no negative heights |
| (−, ), ends left out | No | No: −1 and 1 are missing | |
| from to , ends kept | No | It would work, but it is not the agreed piece | |
| [−, ], the right half | No | Yes: the agreed restricted domain |
5 How
- Say in plain words what is asked: can the function be run backward, that is, does each output come from only one input?
- Picture the graph with inputs across and outputs up. For sine it is the wave that rises to 1 at , falls to −1 at and repeats every 2π.
- 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.
- If it ever does, write the proof as a pair: two inputs with one shared output, such as sin() = sin() = . The function is not a one-to-one function, so on that domain it has no inverse function.
- 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 [−, ].
- Check the stretch: evaluate sine at its ends and its middle, sin(−) = −1, sin 0 = 0 and sin() = 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
- Write the piece as an interval of inputs, for example [0, π].
- 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.
- 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].
- Ends check: if a needed height appears only at an end of the piece, that end must be kept, with a square bracket.
- Agreement check: among the pieces that pass, use the agreed one, so your answers match everyone else's. For sine it is [−, ].
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 − ≤ θ ≤ , sine takes every value in [−1, 1] exactly once.
Show the steps and the answer
- 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 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.
- Start with the special angle . Its point on the unit circle is , so .Sine is the height, the y-coordinate, of the point on the unit circle, and is the 30° special angle.
- Mirror that point across the vertical axis: becomes . This new point stops short of the half turn , so its angle is .A mirror across the vertical axis keeps the height and swaps right for left. To subtract, write π as so both fractions have the bottom 6.
- So as well: the horizontal line touches the sine graph at and at .Both points have the same height, .
- Answer (a): two different angles share the output , 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.
- It is worse than two: lands on the same point, so too, and every further full turn adds another angle.2π is one full turn, and a full turn ends where it started.
- For (b), place the kept angles on the circle: is the bottom, ; is the right end, (1, 0); is the top, (0, 1).− is a quarter turn clockwise from (1, 0), and is a quarter turn counterclockwise.
- As grows from to , 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.
- 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.
- Nothing missing: the height moves smoothly from up to 1, so it passes through every value in between, and the square brackets keep both ends, where the heights are 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.
- Look back at the pair from (a): is in the kept piece, but is not, because and is bigger than . The cut threw the duplicate away.To compare fractions of π, give them the same bottom and compare the tops: 5 > 3.
- (a) sin() = sin() = , so the line y = crosses the sine graph twice: sine fails the horizontal line test.
- (b) On [−, ] the height climbs from −1 to 1 without turning back, so each value in [−1, 1] is taken exactly once.
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 + 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.
Show the steps and the answer
- 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.
- Picture the graph with inputs across and outputs up. Write . The square is never negative and is 0 only at . So f(x) is never above 3 and equals 3 only at . 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 .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 and then comes back down through the same heights.
- 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.
- Write the proof as a pair, using the height 2: and , so .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.
- 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 . So keep the climb up to and including the top: , the interval .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 [−, ], which also climbs up to its top.
- Check the stretch. Evaluate at its end and at points to its left: and . Moving right, the outputs , 2, 3 only go up. Slide the horizontal line again over this half of the hill: every height now touches it exactly once.For x ≤ 1, moving right brings x closer to 1. So (x − 1 shrinks and f(x) = 3 − (x − 1 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.
Work to write
- f(0) = −(0 − 1 + 3 = 2 and f(2) = −(2 − 1 + 3 = 2, so f(0) = f(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
- The only turn is the top (1, 3), so keep x ≤ 1, the interval (−∞, 1] (keeping x ≥ 1, the interval [1, ∞), is also correct)
- 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)
- 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
- Say what it asks: the output is 0; find every input that gives it. This finds every place where the line touches the sine graph, so you can count them.Solving sin θ = 0 reads the graph backward, from a height to the angles.
- On the unit circle, height 0 means the point lies on the horizontal axis: at (1, 0) or at .Sine is the y-coordinate, and y = 0 only on the horizontal axis.
- (1, 0) is the point for and, after a full turn, for . is the point for .0 is the starting point, π is a half turn, and 2π is a full turn back to the start.
- Plug each one back in: .Each of those points has y-coordinate 0.
- Three angles share one height, so the line touches the sine graph three times: sine fails the horizontal line test.Passing allows at most one touch for every horizontal line.
- θ = 0, π, 2π
- Sine fails the horizontal line test.
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
- 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.
- Check one height: and , and both angles lie in . is positive, and is less than , which is π.
- So the line still touches the piece twice: heights repeat.Two angles in the piece share one height.
- 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 . 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.
- A negative height such as is never reached.No point on the top half lies below the horizontal axis.
- Heights repeat: sin() = sin() = .
- Only the heights in [0, 1] are reached.
- The piece [0, π] does not work for sine.
Rung 4 of 7
Rung 4: a quarter lap, nothing repeated, something missing
On the angles in [0, ], does any height repeat? Is every height from −1 to 1 reached?
Show the steps and the answer
- Say what it asks: run the same two checks, repeats and missing heights, on the quarter lap from 0 to .A usable piece must pass both.
- From 0 to 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.
- The height climbs from to and never comes back down, so no height repeats.A height that only climbs cannot return to an earlier value.
- But every height on this piece is between 0 and 1. The height , for example, is never reached.Points in the first quadrant have a y-coordinate of 0 or more.
- So a backward machine built on this piece would have no angle to hand back for : 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.
- No height repeats.
- Only the heights in [0, 1] are reached, so every negative height is missing.
- Sine on [0, ] 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.
Rung 5 of 7
Rung 5: the right climb with its ends left out
On the angles in (−, ), with round brackets, is every height from −1 to 1 reached?
Show the steps and the answer
- 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.
- Height 1 belongs only to the top of the circle, (0, 1), which is the point for .The top is the only point on the unit circle with y-coordinate 1.
- is an end, and the round bracket leaves it out. Any other angle at the top is a full turn away, such as , which is below and so outside the piece.Taking away a full turn, 2π, lands on the same point; to subtract, write 2π as .
- In the same way, height belongs only to the bottom, , the point for , 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 −, outside the piece.
- So the heights reached are all the numbers strictly between and 1, that is . The heights and 1 are missing.The climb never arrives at its own ends.
- Fix it by closing the brackets: .Square brackets keep the ends, and with them the heights −1 and 1.
- No: the heights reached are (−1, 1), so −1 and 1 are missing.
- Closing the brackets, [−, ], fixes it.
Rung 6 of 7
Rung 6: the agreed piece passes both checks
Show that on [−, ] sine repeats no height and reaches every height from −1 to 1.
Show the steps and the answer
- Say what it asks: run the same two checks on the closed piece from to .This is the piece that will be used, so it must pass both.
- Evaluate the ends and the middle: .The points are the bottom, (0, −1), the right end, (1, 0), and the top, (0, 1).
- 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.
- No repeats: the height only climbs.A climbing height never returns to an earlier value.
- Nothing missing: the height moves smoothly from to 1, and the square brackets keep both ends, so every height in 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.
- No height repeats, and every height in [−1, 1] is reached exactly once.
- This is the restricted domain for sine: [−, ].
Rung 7 of 7
Rung 7: another piece that works, and why it is not the one used
Check the angles from to , ends included: the left half of the circle. Do they pass both checks? Then explain why [−, ] is the piece everyone uses instead.
Show the steps and the answer
- 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.
- Ends and middle: at the top, at the left end, , and at the bottom, .Sine is the y-coordinate of each of those points.
- 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.
- So no height repeats, and every height from 1 down to 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.
- Compare the two pieces. contains 0 and the first-quadrant special angles and . The left piece contains none of them, not even 0.Every angle in the left piece is at least , and 0, , and are all smaller than .
- For those reasons mathematicians agreed on . 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.
- Yes: from to sine falls from 1 to −1 with no repeats, so this piece would work.
- The agreed piece is [−, ], because it contains 0 and the small positive special angles, and one agreed piece means one answer for everyone.
Counterexamples
What it is not, and the tempting wrong moves.
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 − to the top at .
- Check any piece in ten seconds: find sine at its two ends and its middle. For [−, ] 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() = sin() = . 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 [−, ] 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() = sin() = 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: [−, ]. 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?
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?
- Like a Ferris wheel seat climbing from the bottom to the top, sine rises there without turning back, from sin(−) = −1 to sin() = 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: and both give .
- It also never goes below 0, so negative outputs such as −1 are never reached.