IB Diploma Mathematics AI · Functions
Sinusoidal models
1Sine and cosine graphs
The graphs of $y = \sin x$ and $y = \cos x$ repeat every 360° (or $2\pi$ radians). Such repeating patterns are periodic.
The general sinusoidal model is
$$f(x) = a\sin(b(x - c)) + d \quad \text{or} \quad f(x) = a\cos(b(x - c)) + d$$
- Amplitude $= |a|$: the distance from the middle to a peak.
- Period $= \frac{360°}{b}$ (or $\frac{2\pi}{b}$ in radians): the length of one full cycle.
- Principal axis $y = d$: the middle line.
- $c$ is a horizontal shift (phase shift).
Your calculator must be in the right mode: degrees or radians, depending on the question.
Check yourself
What is the period of y = sin(3x) in degrees?
Show the answer
120°
360 ÷ 3 = 120.
2Reading a sinusoidal model
From maximum and minimum values:
- $\text{amplitude} = \frac{\text{max} - \text{min}}{2}$
- $\text{principal axis } d = \frac{\text{max} + \text{min}}{2}$
Tides in a harbour: D(t) = 3 sin(30t) + 5
Tides
- The water depth in a harbour is $D(t) = 3\sin(30t) + 5$ metres, $t$ hours after midnight (degrees).
- Amplitude 3 m, principal axis $D = 5$ m.
- Maximum depth $5 + 3 = 8$ m; minimum depth $5 - 3 = 2$ m.
- Period $= \frac{360}{30} = 12$ hours: two high tides a day.
- At $t = 4$: $D = 3\sin(120°) + 5 = 7.60$ m.
Check yourself
A wave has maximum 14 and minimum 4. What is its amplitude?
Show the answer
5
(14 − 4) ÷ 2 = 5.
3Building a model from a description
A Ferris wheel
- A wheel has diameter 40 m, its centre is 22 m above the ground, and it turns once every 30 minutes. A rider starts at the lowest point.
- Amplitude $a = 20$ (the radius). Principal axis $d = 22$.
- Period 30 minutes, so $b = \frac{360}{30} = 12$.
- Starting at the lowest point fits a negative cosine: $h(t) = -20\cos(12t) + 22$.
- Check: $h(0) = -20 + 22 = 2$ m at the bottom. After 5 minutes, $h(5) = -20\cos 60° + 22 = 12$ m.
How to choose the starting function:
- sin starts at the middle, going up.
- cos starts at the top.
- −cos starts at the bottom.
Check yourself
A model starts at its maximum value when t = 0. Which function fits without a shift?
Show the answer
Cosine
cos 0 = 1, the top of the wave.
4Solving with sinusoidal models
Questions often ask when a quantity reaches a certain value, or for how long it stays above a level. Use the graph on your calculator: draw the model and the horizontal line, and find the intersections.
When can a boat enter?
- A boat needs at least 6.5 m of water. Depth: $D(t) = 3\sin(30t) + 5$.
- Graph $y = D(t)$ and $y = 6.5$ for $0 \le t \le 12$.
- Intersections at $t = 1$ and $t = 5$.
- The boat can enter between 1:00 and 5:00 am: a window of 4 hours.
Sinusoidal models fit tides, hours of daylight through the year, temperatures over a day, and anything else that repeats regularly.
Check yourself
Which situation is best modelled by a sinusoidal function?
Show the answer
Hours of daylight over a year
It repeats every year.
5Daylight hours
Hours of daylight in a city
- Maximum 16 hours (day 172), minimum 8 hours, period 365 days.
- Principal axis: $d = 12$; amplitude: $a = 4$.
- $b = \frac{2\pi}{365}$ (in radians).
- Model: $D = 4\cos\left(\frac{2\pi}{365}(t - 172)\right) + 12$.
- On day 263 (about 91 days after the maximum, a quarter period): $D \approx 12$ hours.
Check yourself
What is the amplitude if daylight varies between 8 and 16 hours?
Show the answer
4 hours
Half the difference.
6Finding times with sinusoidal models
Use a GDC to solve when a sinusoidal model reaches a given value.
A Ferris wheel
- Height $h = -20\cos(12t) + 22$ metres, $t$ in minutes, angles in degrees.
- Period: $\frac{360}{12} = 30$ minutes.
- Height above 32 m: solve $-20\cos(12t) + 22 > 32$, so $\cos(12t) < -0.5$.
- $12t$ between $120°$ and $240°$, so $t$ between 10 and 20 minutes.
- The rider is above 32 m for 10 minutes per revolution.
Check yourself
What is the period of $h = -20\cos(12t) + 22$ (degrees)?
Show the answer
30 minutes
$\frac{360}{12}$.
7Going deeper: building a tide model and solving with it
A sinusoidal model has the form $y = a\sin(bx) + d$ or $y = a\cos(bx) + d$. In Maths AI SL, angles are in degrees.
- Amplitude $= |a| = \frac{\text{max} - \text{min}}{2}$.
- Principal axis $y = d = \frac{\text{max} + \text{min}}{2}$.
- Period $= \frac{360°}{b}$, so $b = \frac{360°}{\text{period}}$.
the depth of water in a harbour varies between 8 m at high tide and 2 m at low tide. High tide is at midnight and the next high tide is 12 hours later.
- Amplitude: $\frac{8 - 2}{2} = 3$.
- Principal axis: $\frac{8 + 2}{2} = 5$.
- $b = \frac{360}{12} = 30$.
- The depth starts at a maximum, so use cosine: $d(t) = 3\cos(30t) + 5$, with $t$ in hours after midnight.
- Check: $d(0) = 8$ and $d(6) = 3\cos 180° + 5 = 2$.
- A value: $d(2) = 3\cos 60° + 5 = 6.5$ m.
- Solving: a ship needs at least 6.5 m. $3\cos(30t) + 5 \ge 6.5$ means $\cos(30t) \ge 0.5$, so $30t \le 60°$ or $30t \ge 300°$: from midnight to 02:00 and from 10:00 to 12:00.
- The ship can enter for 4 hours in each 12-hour cycle. On a GDC, graph $d(t)$ and $y = 6.5$ and find the intersections.
Sine or cosine?
- Starts at a maximum: $a\cos(bx) + d$ with $a > 0$.
- Starts at a minimum: $-a\cos(bx) + d$.
- Starts on the principal axis going up: $a\sin(bx) + d$.
- Starts on the axis going down: $-a\sin(bx) + d$.
Worked example (daylight): a town has 16 hours of daylight on the longest day and 8 on the shortest, in a cycle of 365 days.
- Amplitude 4; principal axis 12; $b = \frac{360}{365} \approx 0.986$.
- Measuring $t$ in days from the spring equinox, when daylight is 12 hours and increasing: $L(t) = 4\sin(0.986t) + 12$.
- After 91 days (about a quarter of the year): $4\sin(89.7°) + 12 \approx 16$ hours.
Limitations: real tides and daylight are only approximately sinusoidal; successive high tides differ, and weather affects water levels.
Common mistakes
- The calculator in radian mode for a degree model.
- Using $b$ as the period. The period is $\frac{360°}{b}$.
- Giving one solution when the graph shows two in each cycle.
- Calling the maximum value the amplitude.
Check yourself
For y = 4 sin(90x°) + 7, what are the maximum value and the period?
Show the answer
Maximum 11, period 4
The maximum is 7 + 4 and the period is 360 ÷ 90.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera