Module 8 · Periodic functions · Lesson 48 of 84
Graphs of sine and cosine
The sine wave, amplitude, period, phase shift and midline, and modelling repeating things with sinusoids.
In this lesson · about 24 minutes
- Sketch y = sin x and y = cos x
- Find the amplitude, period, phase shift and midline of a sinusoid
- Graph y = A sin(B(x − C)) + D
- Model a repeating real situation with a sinusoid
Ocean tides, daylight hours, sound waves, a Ferris wheel and the alternating current in your walls all repeat in cycles. Functions that repeat are periodic, and the most important ones are sine and cosine.
Walk around the unit circle and plot the height, sin x, against the angle x. You get a smooth wave:
- It starts at 0, rises to 1 at π/2, back to 0 at π, down to −1 at 3π/2, and back to 0 at 2π.
- Then it repeats. The length of one cycle, the period, is 2π.
- Domain: all real numbers. Range: [−1, 1].
The graph of cos x is the same wave shifted left by π/2: it starts at its top, (0, 1).
The general sinusoid
y = A sin(B(x − C)) + D (or the same with cos)
| Part | What it does |
|---|---|
| |A| = amplitude | Half the distance from the top to the bottom. A negative A flips the wave. |
| 2π/|B| = period | A bigger B squeezes more cycles in. |
| C = phase shift | Slides the wave right by C (left if negative). |
| y = D = midline | The middle of the wave; it moves the wave up or down. |
Watch out: in y = sin(2x − π), first factor: sin(2(x − π/2)). The phase shift is π/2, not π.
Try it · interactive
Sine and cosine graph builder
Build y = 3 sin(2(x − π/4)) + 1. Change one slider at a time and say what it does before you look.
y = 2 sin(x)
Amplitude |A|
2
Period 2π/B
2π
Midline
y = 0
Range
[−2, 2]
The grey dashes are plain sin x. A stretches it up and down, B squeezes it sideways, C slides it right, and D lifts the midline.
Whiteboard · watch and try
Reading a sinusoid
Tip: press Pause, then use the pen to work along on the board. Space plays and pauses; Ctrl+Z undoes your last mark.
Worked example
A Ferris wheel
A Ferris wheel is 50 m across, its centre is 30 m above the ground, and it turns once every 8 minutes. You get on at the bottom. Write your height h(t) after t minutes.
Loading practice…
Check your understanding0 of 5 correct
Key terms
Say the meaning to yourself, then tap a card to check.
Quiz score: 0 of 5
Practice sets mastered: 0 of 1
Based on Algebra and Trigonometry 2e by Jay Abramson and others (OpenStax, Rice University), openstax.org/details/books/algebra-and-trigonometry-2e, licensed under CC BY-NC-SA 4.0. Noviq Academy rewrote and reorganized the material in its own words and added its own examples, whiteboard lessons, tools and quizzes; this adapted course is free and shared under the same license. Not endorsed by OpenStax or Rice University. Read-aloud and the whiteboard voice use your device's built-in voices, so the voice varies by device.