Lesson 5 of 8 · 18 min

Amplitude, period and shifts

See how aa, bb, hh and kk change y=asin⁡(b(x−h))+ky = a\sin(b(x - h)) + k and y=acos⁡(b(x−h))+ky = a\cos(b(x - h)) + k, read the features from a rule, and find the rule from a graph.

What you will be able to do

  • Describe the effect of aa, bb, hh and kk on y=asin⁡(b(x−h))+ky = a\sin(b(x - h)) + k and y=acos⁡(b(x−h))+ky = a\cos(b(x - h)) + k.
  • State the amplitude, period, translations, mean line and range from a rule.
  • Rewrite a rule such as y=sin⁡(2x−π3)y = \sin\left(2x - \frac{\pi}{3}\right) so the horizontal translation can be read correctly.
  • Determine the rule of a sine or cosine graph from its key features.

The tide at a beach rises and falls about 2 metres either side of a mean level, roughly twice a day. A pure sine wave has amplitude 1, period 2π2\pi and sits on the xx-axis, so it can't describe that tide as it is. To fit real periodic data we stretch it and slide it, using four parameters:

y=asin⁡(b(x−h))+ky=acos⁡(b(x−h))+ky = a\sin(b(x - h)) + k \qquad y = a\cos(b(x - h)) + k
Interactive

Four parameters, four effects

Move one slider at a time. Which parameters change the graph up and down, and which change it side to side?

Key idea

What each parameter does

  • aa stretches the graph vertically: the amplitude is ∣a∣|a|. If a<0a < 0 the graph is also reflected (turned upside down) about its mean line.
  • bb squeezes or stretches it horizontally: the period is 2πb\frac{2\pi}{b} (take b>0b > 0).
  • hh translates it horizontally by hh: to the right if h>0h > 0, to the left if h<0h < 0.
  • kk translates it vertically by kk: the mean line is y=ky = k.

In the language of transformations, aa is a dilation from the xx-axis by factor ∣a∣|a|, and bb is a dilation from the yy-axis by factor 1b\frac{1}{b}.

Features of y=asin⁡(b(x−h))+ky = a\sin(b(x - h)) + k and y=acos⁡(b(x−h))+ky = a\cos(b(x - h)) + k, with b>0b > 0.
FeatureValue
Amplitude∣a∣|a|
Period2πb\frac{2\pi}{b}
Horizontal translationhh (right if positive)
Mean liney=ky = k
Maximum valuek+∣a∣k + |a|
Minimum valuek−∣a∣k - |a|
Rangek−∣a∣≤y≤k+∣a∣k - |a| \le y \le k + |a|

Worked example

Read the features from a rule

  • Simple familiar
  • Technology free

For y=3cos⁡(2(x−π4))−1y = 3\cos\left(2\left(x - \frac{\pi}{4}\right)\right) - 1, state the amplitude, the period, the translations, the mean line and the range, and give the coordinates of one maximum point.

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Identify aa, bb, hh and kk (factorise the bracket first if needed).

  2. Amplitude ∣a∣|a|, period 2πb\frac{2\pi}{b}, mean line y=ky = k, range [k−∣a∣,k+∣a∣][k - |a|, k + |a|].

Watch out for

  • Reading the period as 2: the period is 2πb\frac{2\pi}{b}.

  • Reading the shift as π4\frac{\pi}{4} left because of the minus sign: x−hx - h with h>0h > 0 is a move to the right.

Why is the period 2πb\frac{2\pi}{b}? The sine function completes one cycle as its input runs from 00 to 2π2\pi. In y=sin⁡(bx)y = \sin(bx) the input is bxbx, which runs from 00 to 2π2\pi while xx runs from 00 to 2πb\frac{2\pi}{b}. So y=sin⁡(2x)y = \sin(2x) fits a whole cycle into 0≤x≤π0 \le x \le \pi, and y=sin⁡(x2)y = \sin\left(\frac{x}{2}\right) needs 0≤x≤4π0 \le x \le 4\pi.

State the period of y=5sin⁡(x3)y = 5\sin\left(\frac{x}{3}\right).

period =
Reads asYour answer shows here as maths.

Common mistake

Factorise before you read h

y=sin⁡(2x−π3)y = \sin\left(2x - \frac{\pi}{3}\right) looks like a shift of π3\frac{\pi}{3}, but

2x−π3=2(x−π6)2x - \frac{\pi}{3} = 2\left(x - \frac{\pi}{6}\right)

so the graph of y=sin⁡(2x)y = \sin(2x) moves π6\frac{\pi}{6} to the right. Always write the bracket as b(x−h)b(x - h) before reading hh.

The graph of y=cos⁡(3x+π2)y = \cos\left(3x + \frac{\pi}{2}\right) is the graph of y=cos⁡(3x)y = \cos(3x) translated:

Choose one answer

Note

One graph, many rules

Every sine curve is also a cosine curve: sin⁡(x)=cos⁡(x−π2)\sin(x) = \cos\left(x - \frac{\pi}{2}\right). Shifting by a whole period changes nothing either. So the same graph has many correct rules, which is why questions say which form to use and add conditions such as "a>0a > 0" or "the smallest positive hh".

Finding the rule of a sine or cosine graph

  1. Mean line: k=max⁡+min⁡2k = \frac{\max + \min}{2}

    The mean line is halfway between the maximum and minimum values.

  2. Amplitude: ∣a∣=max⁡−min⁡2|a| = \frac{\max - \min}{2}

    Half the vertical distance from a maximum to a minimum.

  3. Period, then b=2πperiodb = \frac{2\pi}{\text{period}}

    Measure from one maximum to the next, or double the gap from a maximum to the next minimum.

  4. Horizontal translation hh

    For a>0a > 0: a cosine cycle starts at a maximum, so hh is the xx-value of a maximum. A sine cycle starts on the mean line going up, so hh is the xx-value of such a point.

  5. Check with another point

    Substitute a point you can read from the graph into your rule.

Worked example

Find the rule of a sine graph

  • Complex familiar
  • Technology free

The graph shows y=asin⁡(b(x−h))+ky = a\sin(b(x - h)) + k for 0≤x≤2π0 \le x \le 2\pi, where a>0a > 0, b>0b > 0 and 0≤h<π0 \le h < \pi. Find aa, bb, hh and kk.

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. kk = average of max and min; aa = half their difference.

  2. Measure the period, then b=2πperiodb = \frac{2\pi}{\text{period}}.

  3. hh: where a sine cycle starts rising through the mean line (or where a cosine cycle peaks).

  4. Check with a point you have not used.

Watch out for

  • Taking the distance from a maximum to the next minimum as the whole period.

  • Taking hh as the xx-value of the maximum: that works for cosine, not sine.

Quick check

2 marks

A sine graph has a maximum value of 7 and a minimum value of −1-1.

Part (a).

State its amplitude.

1 mark
Part (b).

State the value of kk, so that y=ky = k is its mean line.

1 mark

Summary

  • In y=asin⁡(b(x−h))+ky = a\sin(b(x - h)) + k and y=acos⁡(b(x−h))+ky = a\cos(b(x - h)) + k: amplitude ∣a∣|a|, period 2πb\frac{2\pi}{b}, horizontal translation hh, mean line y=ky = k.

  • A negative aa reflects the graph about its mean line; the amplitude stays ∣a∣|a|.

  • The range is k−∣a∣≤y≤k+∣a∣k - |a| \le y \le k + |a|.

  • Factorise the bracket into b(x−h)b(x - h) before reading the horizontal translation.

  • From a graph: kk from the average of max and min, ∣a∣|a| from half their difference, bb from the period, hh from where a cycle starts.

Finished the lesson?

Try the 3 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 5 of 80% read

Save your progress with a free account