Quarry School

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

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.