Trigonometric graphs and modelling
Amplitude, period, phase shift and mean value of y = a sin n(x − h) + k, sketching transformed trigonometric graphs, and using trigonometric functions to model periodic situations such as tides.
Anything that repeats on a cycle, such as tides, daylight hours, a Ferris wheel or the voltage in a power point, can be modelled with a sine or cosine wave. In Year 11 you met $y = \sin x$ and $y = \cos x$ in radians. Now we stretch and shift them so that one equation can fit any wave you are given.
The four transformations
Every wave in this course is $y = \sin x$ or $y = \cos x$ with up to four changes made to it. Each letter in the general equation does one job.
The syllabus writes the same thing as $y = k\,f(a(x + b)) + c$. Different letters, same four jobs: outside numbers act on $y$ (vertical), inside numbers act on $x$ (horizontal).
For $y = 2\cos 3x + 1$, state the amplitude, period, mean value and range.
Sketching one cycle
A sine or cosine cycle has five key points, a quarter period apart: for sine they are mean, top, mean, bottom, mean. So the method is: find where one cycle starts, find the quarter period, and step along.
Sketch $y = 2\sin\left(2x - \tfrac{\pi}{2}\right) + 1$ for one full cycle.
Orange: y = a sin n(x − h) + k. The dashed line is the centre line y = k.
Set the sliders to Example 2 (use h ≈ 0.8 for π/4) and check your five points. Then find another value of h that gives exactly the same graph. Why does it work?
Solving equations with a graph
Some equations, like $\cos x = \dfrac{x}{2}$, cannot be solved with algebra. Draw both sides as separate graphs. Each crossing point is one solution, and you can read off an approximate value.
Show that $\cos x = \dfrac{x}{2}$ has exactly one solution, and estimate it.
The window is 0 ≤ x ≤ 2π. Each dot is one solution of sin x = c.
Slide c. For which values of c are there exactly two solutions in this window? Find the two values of c that give exactly one solution.
Building a model
When a question describes a wave in words, translate each fact into one of the four numbers.
| You are told | It gives you |
|---|---|
| the highest and lowest values | mean value $k$ = their average; amplitude = half their difference |
| the time between two highs (or two lows) | the period, and then $n = \dfrac{2\pi}{\text{period}}$ |
| when it is highest at the start | use $\cos$ with no phase shift |
| when it is at the centre and rising at the start | use $\sin$ with no phase shift |
High tide in a harbour is $5$ m deep at midnight, and the next low tide is $1$ m deep at $6$ am. Model the depth $d$ metres $t$ hours after midnight, then find when a boat needing at least $2$ m of water can safely use the harbour between midnight and noon.
Your turn
Write the equation of a sine wave with amplitude $4$, period $6$ and centre line $y = -1$, which starts at the centre line going up at $x = 0$.
Show the working
Starting at the centre going up means sine with no shift. $n = \dfrac{2\pi}{6} = \dfrac{\pi}{3}$. So $y = 4\sin\dfrac{\pi x}{3} - 1$.
The period of $y = 4\cos 3x - 2$ is:
Period $= \dfrac{2\pi}{n} = \dfrac{2\pi}{3}$. The amplitude $4$ and the $-2$ do not affect it.
Find the maximum value of $y = 4\cos 3x - 2$.
The centre line is $y = -2$ and the amplitude is $4$, so the maximum is $-2 + 4 = 2$.
Find the mean value of $y = 7 - 2\sin x$.
Rewrite as $y = -2\sin x + 7$. The centre line is $y = 7$. The $-2$ only flips the wave and sets the amplitude to $2$.
Find the period of $y = 5\sin\dfrac{\pi x}{4}$.
Here $n = \dfrac{\pi}{4}$, so the period is $\dfrac{2\pi}{\pi / 4} = 2\pi \times \dfrac{4}{\pi} = 8$.
$y = \cos(3x + \pi)$ is $y = \cos 3x$ shifted:
Factor out the $3$: $\cos 3\left(x + \tfrac{\pi}{3}\right)$. Replacing $x$ with $x + \tfrac{\pi}{3}$ moves the graph $\tfrac{\pi}{3}$ to the left.
A wave has amplitude $3$, period $\pi$ and centre line $y = -1$, and at $x = 0$ it is on the centre line going up. Its equation is:
Starting on the centre line going up means sine. Period $\pi$ gives $n = \dfrac{2\pi}{\pi} = 2$. So $y = 3\sin 2x - 1$.
How many solutions does $2\sin 2x = 1$ have for $0 \le x \le 2\pi$?
$\sin 2x = \tfrac12$. The graph of $y = \sin 2x$ has period $\pi$, so it completes two cycles on $0 \le x \le 2\pi$. The line $y = \tfrac12$ cuts each cycle twice, giving $4$ solutions.
The temperature in a town is $T = 18 - 6\cos\dfrac{\pi t}{12}$ degrees, $t$ hours after midnight. Find the first time, in hours after midnight, that the temperature reaches $21$ degrees.
$18 - 6\cos\dfrac{\pi t}{12} = 21$ gives $\cos\dfrac{\pi t}{12} = -\dfrac12$. The first angle is $\dfrac{\pi t}{12} = \dfrac{2\pi}{3}$, so $t = 8$ (8 am).
Exam style: by sketching $y = \sin x$ and $y = \dfrac{x}{4}$ on the same axes, find how many solutions $\sin x = \dfrac{x}{4}$ has.
Both graphs pass through the origin, which is one solution. The line is between $-1$ and $1$ only for $-4 \le x \le 4$. For $0 \lt x \le 4$ the sine curve starts above the line (its gradient at $0$ is $1$, bigger than $\tfrac14$) and comes back down to $0$ at $x = \pi \approx 3.14$, so they cross once, near $x \approx 2.47$. The graphs are both odd, so there is a matching crossing for negative $x$. Total: $3$.
Exam style: $y = 3\cos 2x + k$ has a minimum value of $1$. Find $k$.
The minimum of $3\cos 2x$ is $-3$, so the minimum of $y$ is $k - 3$. Setting $k - 3 = 1$ gives $k = 4$.
Coaching Centre