# Sinusoidal functions and applications

> IB Mathematics: Applications and Interpretation HL · Unit 2: Functions
> Source: https://www.owlsprep.com/study/ib-math-ai-hl-u2-sinusoidal-functions-and-applications/

This module covers all key aspects of sinusoidal functions for IB AI HL, including their key features, how to construct their equations from graphs or data, and how to use them to model real-world periodic phenomena.

**Prerequisites:** [Function transformations](https://www.owlsprep.com/study/ib-math-ai-hl-u2-function-transformations/); [Basic right-angled trigonometry](https://www.owlsprep.com/study/ib-math-ai-hl-u1-trigonometry-basics/)

## Learning objectives

- Identify key features of sinusoidal functions from equations and graphs
- Derive the equation of a sinusoidal function from given information
- Model real-world periodic phenomena with sinusoidal functions
- Solve applied problems using sinusoidal models

## Key Features and Standard Form

Sinusoidal functions are periodic functions that describe smooth repeating oscillations, derived from the sine function. The general standard form used for modelling in IB AI HL is:

$$y = A\sin\left(b(x - c)\right) + d$$

**Sinusoidal function** — A periodic function that follows the shape of a sine wave, with consistent amplitude and period, used to model any smooth periodic oscillation.

*Example:* Tide height over a 24-hour period follows a sinusoidal pattern.

- $A$ = amplitude: half the vertical distance between maximum and minimum values
- $b = \frac{2\pi}{\text{period}}$: scaling factor that controls the period of the function
- $c$ = phase shift: horizontal shift of the function relative to $y = A\sin(bx) + d$
- $d$ = vertical shift / midline: the horizontal line through the middle of the oscillation

**Worked example:** Identify the amplitude, midline, and period of $f(x) = 3\sin\left(2(x - \pi)\right) + 1$.

1. Compare to standard form and read off parameters:
2. $$A = 3, \quad b = 2, \quad d = 1$$
3. Amplitude equals $|A|$:
4. $$\text{Amplitude} = 3$$
5. Midline is the horizontal line $y = d$:
6. $$\text{Midline: } y = 1$$
7. Calculate period from $b$:
8. $$\text{Period} = \frac{2\pi}{b} = \frac{2\pi}{2} = \pi$$

> **tip**
>
> Amplitude is always the absolute value of $A$. A negative $A$ reflects the sinusoid over the midline, but does not change the amplitude.

## Finding the Equation of a Sinusoidal Function

A common exam question asks you to find the equation of a given sinusoidal graph. We use a consistent step-by-step method to calculate all parameters:

1. Find the maximum and minimum values of the function
2. Calculate midline $d = \frac{\text{max} + \text{min}}{2}$ and amplitude $A = \frac{\text{max} - \text{min}}{2}$
3. Calculate period from the distance between two consecutive maxima, then find $b = \frac{2\pi}{\text{period}}$
4. Calculate phase shift by comparing the position of a peak to the unshifted sine curve

**Worked example:** A sinusoidal graph has a maximum at $(2, 7)$ and the next consecutive minimum at $(5, 1)$. Find the equation of the function.

1. Calculate midline and amplitude from max and min:
2. $$d = \frac{7 + 1}{2} = 4, \quad A = \frac{7 - 1}{2} = 3$$
3. Distance between max and next min is half the full period:
4. $$\frac{\text{period}}{2} = 5 - 2 = 3 \implies \text{period} = 6$$
5. Calculate $b$ from period:
6. $$b = \frac{2\pi}{6} = \frac{\pi}{3}$$
7. An unshifted sine curve has a peak at $x=1.5$ for this $b$, our peak is at $x=2$, so $c = 2 - 1.5 = 0.5$
8. Write the final equation in standard form:
9. $$y = 3\sin\left(\frac{\pi}{3}(x - 0.5)\right) + 4$$

## Modelling Real-World Periodic Data

A core application of sinusoidal functions in IB AI HL is modelling real-world repeating phenomena, from tide heights to seasonal temperatures to hours of daylight.

**Periodic Modelling** — The process of fitting a sinusoidal function to real-world repeating data, to make predictions about unknown or future values.

**Worked example:** Average monthly temperature in a city ranges from 10°C in January (month 0) to 26°C in July (month 6). Find a sinusoidal model for temperature $T(m)$. The period is 12 months.

1. We have $\text{max} = 26$, $\text{min} = 10$, so calculate $d$ and $A$:
2. $$d = \frac{26 + 10}{2} = 18, \quad A = \frac{26 - 10}{2} = 8$$
3. Calculate $b$ for a 12-month period:
4. $$b = \frac{2\pi}{12} = \frac{\pi}{6}$$
5. We have a minimum at $m=0$. Using a negative $A$ lets us set phase shift $c=0$ for simplicity.
6. Final model:
7. $$T(m) = -8\sin\left(\frac{\pi}{6}m\right) + 18$$

> **tip**
>
> Either sine or cosine is acceptable for models in exams, as long as your parameters are consistent with your data. Always test your model at a known point to confirm.

## Solving Problems with Sinusoidal Models

After constructing a model, exam questions usually ask you to find the value of the function at a given time, or find the time(s) when the function reaches a given value.

**Check your understanding**

Check your understanding before proceeding:

1. What is the period of $y = 2\sin(4x) + 5$?

   - $4$
   - $\frac{\pi}{2}$
   - $\frac{\pi}{4}$
   - $2\pi$

   *Answer:* $\frac{\pi}{2}$

   *Why:* Correct: Period is calculated as $\frac{2\pi}{b} = \frac{2\pi}{4} = \frac{\pi}{2}$

**Worked example:** Using the temperature model $T(m) = -8\sin\left(\frac{\pi}{6}m\right) + 18$, find the two months where the average temperature is 16°C.

1. Substitute $T = 16$ into the model and rearrange:
2. $$16 = -8\sin\left(\frac{\pi}{6}m\right) + 18 \implies \sin\left(\frac{\pi}{6}m\right) = \frac{1}{4}$$
3. Find the two solutions for the argument over one full period:
4. $$\frac{\pi}{6}m = \arcsin\left(\frac{1}{4}\right) \approx 0.2527 \quad \text{or} \quad \frac{\pi}{6}m = \pi - 0.2527 \approx 2.8889$$
5. Solve for $m$:
6. $$m \approx 0.48 \quad \text{or} \quad m \approx 5.52$$
7. So the average temperature is ~16°C in mid-January (0.5 months) and mid-June (5.5 months).

## Common pitfalls

- **Wrong:** Using $b = \text{period}$ instead of $b = \frac{2\pi}{\text{period}}$.
  - Why it fails: This is the most common mistake, leading to an incorrect period for the entire model.
  - Correct: Always write the relationship explicitly: $\text{period} = \frac{2\pi}{b} \implies b = \frac{2\pi}{\text{period}}$ before calculating.
- **Wrong:** Shifting phase in the wrong direction because of sign confusion.
  - Why it fails: The standard form is $b(x - c)$, so a positive $c$ shifts right, not left, which is counterintuitive.
  - Correct: Test your final equation with a known maximum/minimum point to confirm the phase shift is correct.
- **Wrong:** Calculating amplitude as $\text{max} - \text{min}$ instead of half that value.
  - Why it fails: Amplitude is the distance from the midline to a peak, not the total distance between peak and trough.
  - Correct: Always use $A = \frac{\text{max} - \text{min}}{2}$ to calculate amplitude.
- **Wrong:** Only finding one solution when solving for $x$, when there are two solutions per period.
  - Why it fails: Sinusoidal functions cross all non-extreme y-values twice per full period.
  - Correct: Always remember to find both solutions over the given interval of your problem.

## Cheatsheet

| Parameter | Name | Calculation |
| --- | --- | --- |
| $A$ | Amplitude | $\frac{\text{max} - \text{min}}{2}$ |
| $d$ | Midline | $\frac{\text{max} + \text{min}}{2}$ |
| $b$ | Period scaling | $\frac{2\pi}{\text{period}}$ |
| $c$ | Phase shift | Horizontal shift from unshifted curve |
| Period | Full cycle length | $\frac{2\pi}{b}$ |

## What's next

Sinusoidal functions are one of the most frequently tested modelling tools in IB AI HL, appearing in both Paper 1 and Paper 2, often in extended response questions worth 5-8 marks. Mastering the parameter calculation and modelling process here will also support your learning later when you study calculus of trigonometric functions and regression modelling for periodic data in statistics. This topic connects function transformation concepts to real-world problem solving, a core skill for the full IB AI HL course.

- [Solving equations: algebraic and graphical methods](https://www.owlsprep.com/study/ib-math-ai-hl-u2-solving-equations-algebraic-and-graphical/)
- [Inverse functions: algebraic solution](https://www.owlsprep.com/study/ib-math-ai-hl-u2-inverse-functions-algebraic-solution/)

---

From [OwlsPrep](https://www.owlsprep.com) — free study guides for A-Level, IB, AP and IGCSE, written against the official syllabus. Canonical page: https://www.owlsprep.com/study/ib-math-ai-hl-u2-sinusoidal-functions-and-applications/
