6A

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).

Example 1●

For $y = 2\cos 3x + 1$, state the amplitude, period, mean value and range.

Amplitude $= 2$
The number in front of cos is the amplitude.
Period $= \dfrac{2\pi}{3}$
The coefficient of x is n = 3.
Mean value $= 1$
The constant added on the end sets the centre line.
Range: $1 - 2 \le y \le 1 + 2$, that is $-1 \le y \le 3$.
Go one amplitude above and below the centre line.

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.

Example 2●●

Sketch $y = 2\sin\left(2x - \tfrac{\pi}{2}\right) + 1$ for one full cycle.

$y = 2\sin 2\left(x - \tfrac{\pi}{4}\right) + 1$: amplitude $2$, period $\pi$, shift $\tfrac{\pi}{4}$ right, centre line $y = 1$.
Factor out the 2 to read the shift.
Start point: $\left(\tfrac{\pi}{4}, 1\right)$
A sine cycle starts on the centre line, going up. Here it starts at x = π/4.
$\left(\tfrac{\pi}{2}, 3\right)$, $\left(\tfrac{3\pi}{4}, 1\right)$, $\left(\pi, -1\right)$, $\left(\tfrac{5\pi}{4}, 1\right)$
A quarter of the period π is π/4. Add it four times, following mean, top, mean, bottom, mean.
Plot the points and draw one smooth cycle between $x = \tfrac{\pi}{4}$ and $x = \tfrac{5\pi}{4}$.
Join the five points with a smooth wave, not straight lines.
Build a wave

Orange: y = a sin n(x − h) + k. The dashed line is the centre line y = k.

Try this

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.

Example 3●●

Show that $\cos x = \dfrac{x}{2}$ has exactly one solution, and estimate it.

The line passes through the origin with gradient $\tfrac12$.
Sketch y = cos x and the line y = x/2 on the same axes.
The line is between $-1$ and $1$ only for $-2 \le x \le 2$.
cos x never goes above 1 or below −1, so we only need to look where the line is between those heights.
One crossing, at $x \approx 1.03$.
On −2 ≤ x ≤ 0 the cosine curve stays above the line, since cos(−2) ≈ −0.42 is above −1. On 0 ≤ x ≤ 2 they cross once.
Counting solutions of sin x = c

The window is 0 ≤ x ≤ 2π. Each dot is one solution of sin x = c.

Try this

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 toldIt gives you
the highest and lowest valuesmean 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 startuse $\cos$ with no phase shift
when it is at the centre and rising at the startuse $\sin$ with no phase shift
Example 4: a harbour●●●

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.

$k = 3$, amplitude $2$
The average of 5 and 1 is the centre line; half the gap is the amplitude.
Period $12$, so $n = \dfrac{2\pi}{12} = \dfrac{\pi}{6}$
High to low is half a cycle, so a full cycle is 12 hours.
$d = 3 + 2\cos\dfrac{\pi t}{6}$
It is at its highest when t = 0, which is what cos does.
$2\cos\dfrac{\pi t}{6} = -1$, so $\cos\dfrac{\pi t}{6} = -\dfrac12$ and $\dfrac{\pi t}{6} = \dfrac{2\pi}{3}$ or $\dfrac{4\pi}{3}$. So $t = 4$ or $t = 8$.
Find when the depth is exactly 2 m: the boundary times.
Safe from midnight to $4$ am, and from $8$ am to noon.
The depth is below 2 m around low tide (t = 6), so it is safe outside those times.

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$.

Flashcards
Period of $sin nx$ and $cos nx$
$\dfrac{2\pi}{n}$
Period of $ an nx$
$\dfrac{\pi}{n}$
Range of $asin n(x - h) + k$
$k - |a| \le y \le k + |a|$
From the highest value H and lowest value L
Mean value $\dfrac{H + L}{2}$, amplitude $\dfrac{H - L}{2}$
Practice
  1. The period of $y = 4\cos 3x - 2$ is:

  2. Find the maximum value of $y = 4\cos 3x - 2$.

  3. Find the mean value of $y = 7 - 2\sin x$.

  4. Find the period of $y = 5\sin\dfrac{\pi x}{4}$.

  5. $y = \cos(3x + \pi)$ is $y = \cos 3x$ shifted:

  6. 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:

  7. How many solutions does $2\sin 2x = 1$ have for $0 \le x \le 2\pi$?

  8. 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.

  9. 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.

  10. Exam style: $y = 3\cos 2x + k$ has a minimum value of $1$. Find $k$.

Formula sheet