A question no triangle can answer
An observation wheel has a radius of 20 m. Its centre is 22 m above the ground, and it makes one full turn every 30 minutes. (This wheel is invented, but real wheels are close to it.) You get on at the bottom, 2 m above the ground. How high are you after 10 minutes? For how long in each turn are you more than 32 m up?
A right-angled triangle cannot answer this. After 20 minutes the wheel has turned through 240°, and after an hour through 720°. The last lecture gave sine a meaning for every angle. But this question is not about one angle. It is about how the height changes as the angle keeps growing.
So sine must stop being a number for one angle and become a function. What does its graph look like? Once you can see that graph, and move it, the wheel takes four lines of working.
Unroll the circle
Go back to the unit circle. P starts at (1, 0) and turns anticlockwise through θ. The height of P is sin θ. Now draw a graph with θ along the bottom and the height of P up the side.
Follow P one quarter at a time. The height is 0 at θ = 0, 1 at the top (π/2), 0 at π, −1 at the bottom (3π/2), and 0 again at 2π.
Between these points the graph is not made of straight lines. Near the top of the circle, P moves almost sideways. Its height hardly changes, so the graph is flat and rounded there. Near the x-axis, P moves almost straight up or down. Its height changes fastest, so the graph is steepest where it crosses the axis. Try it below. Watch the teal bar: it is the height of P, copied across to the graph.
Press + to turn P by π/12 (15°) at a time, or drag the slider. The graph records the height of P. Keep going past 2π. Then press Cosine and do it again.
The picture shows P after a turn of 2π/3 (120°). Its height, sin(2π/3) ≈ 0.866, is carried across by the dashed line to the graph, which has been drawn from 0 to 2π/3. Continuing the turn, the height reaches 1 at π/2, returns to 0 at π, falls to −1 at 3π/2 and is back to 0 at 2π. The second turn draws the same wave again. The cosine graph is made in the same way from the across-distance of P, and it starts at 1.
You should have seen a smooth wave that rises, falls below the axis and comes back. After one full turn, P passes through the same points again, so the second turn draws the same wave. This is why sin(θ + 2π) = sin θ for every θ.
One more detail comes from the radians lecture: sin θ ≈ θ for small angles in radians. So the sine curve leaves the origin with gradient 1, along y = x. With degrees on the axis it would leave with gradient π/180 ≈ 0.017 and look almost flat.
On a graph of y = sin x, with x in radians, where is the first maximum? A student marks it at x = 90.
Show the answer
At x = π/2 ≈ 1.57. The number 90 belongs to degrees. On a radian axis, x = 90 means 90 radians, which is about 14.3 full turns. A calculator in radian mode gives sin 90 ≈ 0.894, not 1. When the graph is in radians, every key point is a fraction of π.
A smooth wave with period 2π: it repeats every 2π, because a full turn brings P back.
It lies between −1 and 1, because P is on a circle of radius 1. The amplitude is 1 and the midline is y = 0.
Zeros at 0, ±π, ±2π, … (P on the x-axis). Maximum 1 at π/2, minimum −1 at 3π/2, and again every 2π.
Cosine is the same wave, a quarter turn ahead
The cosine of θ is the x-coordinate of P. It is 1 at θ = 0, 0 at π/2, −1 at π, 0 at 3π/2 and 1 at 2π. Press "Cosine" in the explorer to see it drawn. It is the sine shape, starting from its top instead of its middle.
It is exactly the same curve, moved. Here is the reason. Turn P on by a further quarter turn. A quarter turn anticlockwise about O takes any point (x, y) to (−y, x). So the new height, sin(θ + π/2), equals the old x-coordinate, cos θ:
In the Upper Secondary lecture on translations, y = f(x + a) was the graph of y = f(x) moved a to the left. So the cosine graph is the sine graph moved π/2 to the left. Cosine reaches every height a quarter of a turn earlier than sine.
Even and odd: the promise from the reflections lecture
The Upper Secondary lecture on reflections promised that cosine would turn out to be even and sine odd, and that much of their behaviour follows from that one fact. Here it is.
Turn through −θ instead of θ. You turn the same amount, but clockwise. So you land on the mirror image of P in the x-axis, the point (cos θ, −sin θ). Compare the coordinates:
The first says cosine is an even function. Its graph is symmetric about the y-axis. The second says sine is an odd function. Its graph is unchanged by a half-turn about O. Look at Figure 1 and check both.
Now combine this with the mirror from the last lecture, sin(π − θ) = sin θ. It says that the heights at x and at π − x are equal. So each arch of the sine curve is symmetric about its own top, the line x = π/2. This solves equations. Take 2 sin x = 1 for 0 ≤ x ≤ 2π. Then sin x = 1/2, and a calculator gives x = π/6. The line y = 1/2 crosses the first arch twice, at mirror points about π/2, so the second solution is π − π/6 = 5π/6. Between π and 2π the curve is below the axis, so there are exactly two solutions. A later lecture finds every solution on any interval.
Tangent: a graph with gaps
The tangent is different. In the last lecture, tan θ was the gradient of the line OP. Follow that gradient as P turns. At θ = 0, OP lies along the x-axis, so the gradient is 0. As θ grows towards π/2, OP gets steeper, and the gradient grows without any limit. At θ = π/2, OP is vertical. A vertical line has no gradient, so tan(π/2) does not exist.
Just past π/2, OP points up and to the left, and its gradient is a very large negative number. So the graph comes back from far below and rises to 0 at θ = π. The line x = π/2 is an asymptote: a line the graph gets closer and closer to but never meets.
A half-turn takes P to (−x, −y), the other end of the same line through O. The gradient is the same, so tan repeats every π, not every 2π. And tan θ = sin θ ÷ cos θ is an odd function divided by an even one, so it is odd. The asymptotes are where cos θ = 0, at π/2 + kπ for any whole number k.
The tangent graph has no highest point, so "amplitude" has no meaning for it.
Moving the wave: y = a sin(bx + c) + d
The wheel's height goes from 2 m to 42 m, and one turn takes 30 minutes. So the wave must be stretched and moved. Nothing new is needed: the Upper Secondary lectures on transformations gave every rule, with its reason.
Outside the function, a and d. These change the output, so they act in the order of the arithmetic. Multiplying by a is a vertical stretch with scale factor a. The wave now goes up to a and down to −a, so the amplitude is |a|. If a is negative, the wave is also reflected in its midline, so it goes down first. Adding d moves everything up by d. The midline becomes y = d.
Inside the function, b. Inside changes are undone before the function sees the number. In y = sin(bx), the graph is a horizontal stretch with scale factor 1/b. One full wave needs the bracket to run from 0 to 2π. The bracket bx does that while x runs from 0 to 2π/b. So the period is 2π/b. A bigger b means a shorter period and more waves in the same space.
Inside the function, c. This is where most mistakes happen. Spend time here. The translation and the stretch act on the same input, x, so factorise the bracket:
Now it reads as a stretch, then a translation of c/b to the left. The translation is c/b, not c. A check follows from the reason: y = sin x starts its cycle where its input is 0, so the moved wave starts where its bracket is 0, at x = −c/b.
Amplitude |a| · period 2π/b · midline y = d · range from d − |a| to d + |a|.
The cycle starts where bx + c = 0, at x = −c/b: a translation of c/b to the left.
The same rules hold for cosine. For tangent the period is π/b, and a is a vertical stretch only.
A student says that y = sin(2x − π/3) is the graph of y = sin 2x moved π/3 to the right. Is that right?
Show the answer
No. Factorise: sin(2x − π/3) = sin(2(x − π/6)). The move is π/6 to the right, half of what the student said. Check: the bracket 2x − π/3 is 0 at x = π/6, so the cycle starts there. The π/3 is a move of the input 2x, and the factor 2 halves every horizontal distance.
Build waves for yourself below. The dashed target is y = 2 sin(2x − π/3) + 1. Match it, and then read the numbers.
Change one number at a time and watch what it does. Then try to land your teal wave on the dashed target.
The figure compares y = sin x (grey) with y = 2 sin(2x − π/3) + 1 (teal). The teal wave has amplitude 2, period 2π ÷ 2 = π and midline y = 1 (dashed), so it runs from −1 to 3. Its bracket 2x − π/3 is 0 at x = π/6, so its cycle starts there, π/6 to the right of the origin. The same curve is also y = −2 sin(2x + 2π/3) + 1.
If you found the target with a = −2, notice what happened. A negative a turns the wave over, and a shift of half a period turns it back. So different equations can give the same curve, and any equation that fits every point is correct.
Worked examples
Read the numbers first. a = 3, so the amplitude is 3. b = 2, so the period is 2π ÷ 2 = π. There is no c and no d, so the wave starts at the origin and the midline is the x-axis.
A sine wave has five key points in each period: start, top, middle, bottom, end. They are a quarter period apart, and a quarter of π is π/4. So the points are (0, 0), (π/4, 3), (π/2, 0), (3π/4, −3) and (π, 0). The interval 0 to 2π holds two full periods, so the pattern repeats from π to 2π.
Check a point that is not a key point: at x = π/12, y = 3 sin(π/6) = 1.5, on the rising part.
Amplitude |−2| = 2, and the negative sign reflects the wave in its midline. The period is 2π/3. The midline is y = 1, so the range is 1 − 2 = −1 to 1 + 2 = 3.
Factorise the bracket: 3x − π = 3(x − π/3). So the wave is moved π/3 to the right, and its cycle starts at x = π/3. A cosine starts at a maximum. This one is reflected, so it starts at a minimum: at x = π/3, y = −2 cos 0 + 1 = −1. Its maximum comes half a period later, at x = π/3 + π/3 = 2π/3, where y = −2 cos π + 1 = 3.
Check another way. A half-turn gives cos(θ − π) = −cos θ, so the curve is simply y = 2 cos 3x + 1. Its maximum 3 is at x = 0 and one period later, at 2π/3. Both descriptions agree.
The midline is halfway between the top and the bottom: (6 + (−2)) ÷ 2 = 2. So d = 2. The amplitude is the distance from the midline to the top: 6 − 2 = 4.
From a maximum to the next minimum is half a period. That is 3π/4 − π/4 = π/2, so the period is π. Then 2π/b = π gives b = 2.
A cosine starts its cycle at a maximum. This maximum is at x = π/4, so the bracket must be 0 there: 2(π/4) + c = 0, which gives c = −π/2. The equation is y = 4 cos(2x − π/2) + 2.
Check: at x = π/4, y = 4 cos 0 + 2 = 6. At x = 3π/4, y = 4 cos π + 2 = −2. Both match the graph.
The curve also crosses its midline going up at x = 0, where a sine starts. So y = 4 sin 2x + 2 is the same curve, because cos(θ − π/2) = sin θ. Both answers are correct.
Back to the question at the start. Let t be the time in minutes and h the height in metres. The centre is 22 m up, so the midline is h = 22. The radius is 20 m, so the amplitude is 20. One turn takes 30 minutes, so 2π/b = 30, which gives b = π/15.
You start at the bottom, at a minimum. A cosine starts at a maximum, so a reflected cosine starts at a minimum:
Check: at t = 0, h = 22 − 20 = 2. At t = 15, half a turn, h = 22 + 20 = 42, the top.
After 10 minutes: h = 22 − 20 cos(2π/3) = 22 − 20 × (−1/2) = 32 m.
You are above 32 m when 22 − 20 cos(πt/15) > 32. This means cos(πt/15) < −1/2. On the cosine graph, the curve is below −1/2 between 2π/3 and 4π/3, two points that are mirror images about π. So πt/15 runs from 2π/3 to 4π/3, and t from 10 to 20. You are above 32 m for 10 minutes in each turn, centred on t = 15, the top.
Traps
For y = sin(x/2), b = 1/2, and the period is 2π ÷ 1/2 = 4π. The wave is slower, not faster. Check with the reason: the bracket x/2 reaches 2π only when x = 4π.
The amplitude of y = −3 sin x is 3, a distance, never negative. The minus sign reflects the wave in its midline. So the graph goes down first, and its maximum 3 is at x = 3π/2, not π/2. The range is −3 to 3.
The period of tan is π, so tan 2x has period π/2, not π. Its asymptotes are where 2x = π/2 + kπ, so at x = π/4, 3π/4, …. The asymptotes are not part of the graph, and tan has no amplitude.
Work each one on paper first. Open a hint only when you are stuck.
-
For y = 5 cos(x/2) − 1, state the amplitude, the period, the midline and the range.
Hint 1
Read a, b and d. Here b is a fraction.
Hint 2
a = 5, b = 1/2, d = −1. The period is 2π ÷ b.
Full answer
Amplitude 5. Period 2π ÷ 1/2 = 4π. Midline y = −1. Range −1 − 5 = −6 to −1 + 5 = 4. Check: at x = 0, y = 5 − 1 = 4, the top, as a cosine should start. At x = 2π, half a period later, y = 5 cos π − 1 = −6, the bottom.
-
Sketch y = tan 2x for 0 ≤ x ≤ π. Give the period, the equations of the asymptotes, and the zeros.
Hint 1
The period of tan is π, and b = 2 divides it.
Hint 2
Asymptotes are where the bracket 2x equals π/2 + kπ. Zeros are where 2x is a multiple of π.
Full answer
Period π/2. Asymptotes where 2x = π/2 or 3π/2, so x = π/4 and x = 3π/4. Zeros where 2x = 0, π or 2π, so x = 0, π/2 and π. The graph rises from 0 towards the asymptote at π/4. It comes back from far below, crosses 0 at π/2 and rises to the asymptote at 3π/4. Then it comes back from below to reach 0 at π. Check: at x = π/8, y = tan(π/4) = 1, on the first rising branch.
-
A wave of the form y = a sin(bx) + d, with a and b positive, has a maximum of 7 at x = π/6. The next minimum is −1, at x = π/2. Find a, b and d.
Hint 1
The midline is halfway between 7 and −1. From a maximum to the next minimum is half a period.
Hint 2
d = 3 and a = 4. Half a period is π/2 − π/6 = π/3.
Full answer
d = (7 + (−1)) ÷ 2 = 3 and a = 7 − 3 = 4. Half a period is π/3, so the period is 2π/3, and 2π/b = 2π/3 gives b = 3. So y = 4 sin 3x + 3. Check: at x = π/6, 3x = π/2, so y = 4 + 3 = 7. At x = π/2, 3x = 3π/2, so y = −4 + 3 = −1. Both match.
-
In a harbour (invented), high tide is 9.0 m deep at 03:00 and low tide is 3.0 m deep at 09:00. Model the depth d metres at t hours after midnight as d = 6 + 3 cos(2π(t − 3)/12). A ship needs at least 7.5 m of water. Between which times, near the 03:00 high tide, can it enter? (Real high tides are about 12 hours 25 minutes apart; the model uses 12 hours.)
Hint 1
Check the model first: it has a maximum of 9 at t = 3 and a minimum of 3 six hours later. Then solve d = 7.5.
Hint 2
7.5 = 6 + 3 cos(…) gives cos(…) = 1/2. The cosine graph is above 1/2 between −π/3 and π/3.
Full answer
The model gives 9 m at t = 3 and 3 m at t = 9, so it fits. The depth is at least 7.5 m when cos(2π(t − 3)/12) ≥ 1/2. Near the high tide, this means −π/3 ≤ 2π(t − 3)/12 ≤ π/3. Multiply through by 12/(2π): −2 ≤ t − 3 ≤ 2. So 1 ≤ t ≤ 5. The ship can enter between 01:00 and 05:00, a window of 4 hours centred on high tide. Check: at t = 1, d = 6 + 3 cos(−π/3) = 6 + 1.5 = 7.5.
Why does this one wave appear in sound, tides, springs and electric circuits? In calculus you will find that the gradient of sin x is cos x, and the gradient of cos x is −sin x. So differentiating sin x twice gives −sin x. In symbols, f″ = −f. This says: the acceleration is proportional to the displacement, and points the other way. That is the rule for a mass on a spring and for the small swings of a pendulum. So they move in sine waves.
In 1807, Joseph Fourier presented a memoir on heat to the Paris Institute. In it he built temperature patterns out of sums of sines and cosines, and his book of 1822 made the method famous. Almost every periodic signal met in practice can be built this way, usually from infinitely many terms. Each term is the graph of this lecture, with its own a, b and c.
- The graph of y = sin x records the height of P on the unit circle, so it is a wave between −1 and 1 that repeats every 2π.
- Cosine is the same wave moved π/2 to the left, because a quarter turn gives sin(x + π/2) = cos x.
- Cosine is even and sine is odd, because turning through −θ reflects P in the x-axis.
- The graph of y = tan x is the gradient of OP: it repeats every π and has asymptotes where cos x = 0.
- For y = a sin(bx + c) + d, the amplitude is |a|, the period is 2π/b, the midline is y = d, and the cycle starts where bx + c = 0.