01 / 20

Periodic Function
Modeling

Model real-world cyclical phenomena using sinusoidal functions: transform \( a\sin(b(x - c)) + d \) to fit tides, temperatures, and more.

IB Math AI HL AHL 3.8

What Is a Periodic Function?

A function \( f(x) \) is periodic if there exists a positive constant \( T \) such that \( f(x + T) = f(x) \) for all \( x \) in its domain. The smallest such \( T \) is called the period.

T 0 A -A

The General Sinusoidal Model

The standard form used in IB Math AI HL is:

\( a \): Amplitude
Half the vertical distance between max and min: \( a = \frac{\text{max} - \text{min}}{2} \)
\( b \): Angular frequency
Controls the period: \( T = \frac{2\pi}{b} \) (or \( \frac{360^\circ}{b} \) in degrees)
\( c \): Phase shift
Horizontal translation: the curve shifts right by \( c \) units
\( d \): Vertical shift
The principal axis (midline): \( d = \frac{\text{max} + \text{min}}{2} \)

Visualising Each Parameter

x y d a c
\( T = \frac{2\pi}{b} \)

From Data to Model

Given a set of periodic data points, we extract the four parameters directly from the context or a table of values. No regression needed for the IB approach: read the data, compute the parameters, write the function.

1
Find max and min values from the data or context.
2
Amplitude: \( a = \frac{\text{max} - \text{min}}{2} \)
3
Vertical shift: \( d = \frac{\text{max} + \text{min}}{2} \)
4
Period \( T \): time for one full cycle, then \( b = \frac{2\pi}{T} \)
5
Phase shift \( c \): the \( x \)-value where the function first reaches its maximum (for cosine) or midline going up (for sine).

Sine vs Cosine Model

Both \( \sin \) and \( \cos \) can model any periodic data. The choice affects only the phase shift.

\( a\sin(b(x-c))+d \) \( a\cos(b(x-c))+d \)
Starts at midline going up \( c \) = that \( x \)-value Extra shift of \( \frac{T}{4} \)
Starts at maximum Extra shift of \( \frac{T}{4} \) \( c \) = that \( x \)-value
When to prefer Data starts at midline Data starts at peak/trough

Key Relationships to Memorise

Period
\( T = \frac{2\pi}{b} \)
Solve: \( b = \frac{2\pi}{T} \)
Amplitude
\( a = \frac{\text{max} - \text{min}}{2} \)
Always positive
Midline
\( d = \frac{\text{max} + \text{min}}{2} \)
The principal axis

How to Build the Model

1
Identify the context: What quantity is cycling? What is the independent variable (usually time)?
2
Extract max and min: Read from the problem or data table.
3
Calculate \( a \) and \( d \): Use the formulas above.
4
Determine period \( T \): How long is one full cycle? Then \( b = \frac{2\pi}{T} \).
5
Find phase shift \( c \): Where does the first maximum (cosine) or rising midline crossing (sine) occur?
6
Write the model and verify by substituting a known data point.

Example 1: Tidal Heights

The depth of water in a harbour varies between a maximum of 14 m at 3:00 am and a minimum of 6 m at 9:00 am. Model the depth \( h(t) \), where \( t \) is hours after midnight.

Tide Model Graph

6 10 14 h 0 3 6 9 12 t d=10 Max: 14m Min: 6m

Example 2: Daily Temperature

A city's temperature on a summer day varies between a high of 32°C at 2:00 pm and a low of 18°C at 2:00 am. Find \( T(t) \), where \( t \) is hours after midnight.

1
Amplitude: \( a = \frac{32 - 18}{2} = 7 \)
2
Midline: \( d = \frac{32 + 18}{2} = 25 \)
3
Period: \( T = 24 \) hours (daily cycle), so \( b = \frac{2\pi}{24} = \frac{\pi}{12} \)
4
Phase shift: Max at \( t = 14 \), using cosine: \( c = 14 \)

Example 3: Ferris Wheel

A Ferris wheel has a diameter of 40 m and its lowest point is 2 m above the ground. It completes one revolution every 8 minutes. A rider boards at the lowest point. Model the height \( h(t) \) in metres.

2 m (min) 42 m (max) centre: 22 m 40m 2m

Solving Equations with the Model

A common IB question: "At what time is the depth 12 m?" Using our tide model \( h(t) = 4\cos\!\left(\frac{\pi}{6}(t-3)\right)+10 \):

1
Set up: \( 12 = 4\cos\!\left(\frac{\pi}{6}(t-3)\right)+10 \)
2
Isolate cosine: \( \cos\!\left(\frac{\pi}{6}(t-3)\right) = \frac{1}{2} \)
3
Solve: \( \frac{\pi}{6}(t-3) = \pm\frac{\pi}{3} + 2n\pi \)
4
Find \( t \): \( t = 3 \pm 2 + 12n \), giving \( t = 1 \) and \( t = 5 \) in the first cycle.

Common Mistakes

✕ Wrong \( b \) value
Writing \( b = T \) instead of \( b = \frac{2\pi}{T} \). The period and \( b \) are inversely related.
✕ Radians vs degrees
Using \( b = \frac{360}{T} \) when the question expects radians, or vice versa. Check your GDC mode.
✕ Phase shift sign
In \( \sin(b(x - c)) \), a shift right by \( c \) means subtract inside. Writing \( +c \) shifts left.
✕ Half-period confusion
If told "max at 3 am, min at 9 am", the period is \( 2 \times 6 = 12 \), not 6 hours. Max to min is half a cycle.
✕ Negative amplitude
Amplitude \( a \) is always positive. To flip the curve, use \( -a \) in the equation explicitly, not a negative value for \( a \).

Summary of Parameters

Parameter Formula What it controls
\( a \) \( \frac{\text{max} - \text{min}}{2} \) Vertical stretch (amplitude)
\( b \) \( \frac{2\pi}{T} \) Horizontal compression (frequency)
\( c \) First max/midline crossing Horizontal shift (phase)
\( d \) \( \frac{\text{max} + \text{min}}{2} \) Vertical shift (midline)
\( T \) \( \frac{2\pi}{b} \) Length of one full cycle

Question 1 of 5

A periodic function has a maximum of 20 and a minimum of 4. What is the amplitude?

Question 2 of 5

A Ferris wheel completes one revolution every 10 minutes. What is the value of \( b \) in radians?

Question 3 of 5

The depth of water is modelled by \( h(t) = 3\cos\!\left(\frac{\pi}{6}t\right) + 7 \). What is the minimum depth?

Question 4 of 5

A temperature model reaches its maximum at \( t = 14 \) hours. Using the cosine form \( a\cos(b(t - c)) + d \), what is the phase shift \( c \)?

Question 5 of 5

A tide has a high of 12 m at 4:00 am and a low of 4 m at 10:00 am. Which model is correct?