← Year 12: Trigonometric Functions

NSWMaths AdvancedSyllabus dot point

How do amplitude, period, phase shift and vertical shift transform the graphs of sine, cosine and tangent?

Sketch and interpret graphs of $y = a \sin(b x + c) + d$, $y = a \cos(b x + c) + d$ and $y = a \tan(b x + c) + d$, identifying amplitude, period, phase shift and vertical shift

A focused answer to the HSC Maths Advanced dot point on graphs of trigonometric functions. Key features of $\sin x$, $\cos x$ and $\tan x$, and how amplitude $a$, period $\frac{2 \pi}{b}$, phase shift and vertical shift transform them, with worked examples.

Generated by Claude OpusReviewed by Better Tuition Academy9 min answer

Have a quick question? Jump to the Q&A page

What this dot point is asking

NESA wants you to sketch transformations of sin⁑x\sin x, cos⁑x\cos x and tan⁑x\tan x accurately, identify amplitude, period, phase shift and vertical shift from an equation, and read these off a sketch.

The answer

The base graphs

For y=sin⁑xy = \sin x:

  • Domain R\mathbb{R}, range [βˆ’1,1][-1, 1].
  • Period 2Ο€2 \pi, amplitude 11.
  • Zeros at x=kΟ€x = k \pi. Maxima at x=Ο€2+2kΟ€x = \frac{\pi}{2} + 2 k \pi. Minima at x=βˆ’Ο€2+2kΟ€x = -\frac{\pi}{2} + 2 k \pi.
  • Odd function: sin⁑(βˆ’x)=βˆ’sin⁑x\sin(-x) = -\sin x.

For y=cos⁑xy = \cos x:

  • Domain R\mathbb{R}, range [βˆ’1,1][-1, 1].
  • Period 2Ο€2 \pi, amplitude 11.
  • Zeros at x=Ο€2+kΟ€x = \frac{\pi}{2} + k \pi. Maxima at x=2kΟ€x = 2 k \pi. Minima at x=Ο€+2kΟ€x = \pi + 2 k \pi.
  • Even function: cos⁑(βˆ’x)=cos⁑x\cos(-x) = \cos x.
  • IMATH_22 : cosine is sine shifted left by Ο€2\frac{\pi}{2}.

For y=tan⁑xy = \tan x:

  • Domain Rβˆ–{Ο€2+kΟ€}\mathbb{R} \setminus \left\{ \frac{\pi}{2} + k \pi \right\}, range R\mathbb{R}.
  • Period Ο€\pi, no amplitude (unbounded).
  • Zeros at x=kΟ€x = k \pi. Vertical asymptotes at x=Ο€2+kΟ€x = \frac{\pi}{2} + k \pi.
  • Odd function: tan⁑(βˆ’x)=βˆ’tan⁑x\tan(-x) = -\tan x.

Transformations of sine and cosine

For y=asin⁑(b(xβˆ’h))+dy = a \sin(b(x - h)) + d or y=acos⁑(b(xβˆ’h))+dy = a \cos(b(x - h)) + d:

  • Amplitude =∣a∣= |a|. The graph oscillates between dβˆ’βˆ£a∣d - |a| and d+∣a∣d + |a|.
  • Period =2Ο€βˆ£b∣= \frac{2 \pi}{|b|}.
  • Phase shift =h= h (right if h>0h > 0, left if h<0h < 0).
  • Vertical shift =d= d. The centre line is y=dy = d.
  • If a<0a < 0, the graph is reflected in the centre line: a sine starts going down from the centre rather than up; a cosine starts at the minimum rather than the maximum.
  • If b<0b < 0, the graph is reflected in a vertical line. For sine, sin⁑(βˆ’x)=βˆ’sin⁑x\sin(-x) = -\sin x, which is equivalent to flipping the sign of aa. For cosine, cos⁑(βˆ’x)=cos⁑x\cos(-x) = \cos x, so a sign on bb has no effect.

If the equation is given as y=asin⁑(bx+c)+dy = a \sin(b x + c) + d, factor: bx+c=b(x+cb)b x + c = b\left(x + \frac{c}{b}\right). The phase shift is βˆ’cb-\frac{c}{b}.

Transformations of tangent

For y=atan⁑(b(xβˆ’h))+dy = a \tan(b(x - h)) + d:

  • Period =Ο€βˆ£b∣= \frac{\pi}{|b|} (note: tangent's period is Ο€\pi, not 2Ο€2 \pi).
  • Asymptotes are at b(xβˆ’h)=Ο€2+kΟ€b(x - h) = \frac{\pi}{2} + k \pi, that is x=h+Ο€2b+kΟ€bx = h + \frac{\pi}{2 b} + \frac{k \pi}{b}.
  • Vertical shift by dd raises or lowers the graph but does not change the asymptotes.
  • IMATH_58 rescales the steepness but does not change the asymptotes or the period.

Reading features off the equation

Given any equation in the standard form, you can extract amplitude, period and shifts in seconds without sketching. Reverse process: given amplitude, period, centre line and a starting point, write the equation.

A sine function with period TT has b=2Ο€Tb = \frac{2 \pi}{T}. A cosine function with amplitude AA, centre line y=cy = c, period TT and starting at the maximum at x=hx = h has equation

y=Acos⁑(2Ο€T(xβˆ’h))+c.y = A \cos\left( \frac{2 \pi}{T} (x - h) \right) + c.

Worked examples

Amplitude, period and centre

y=4sin⁑(Ο€x)+2y = 4 \sin(\pi x) + 2: amplitude 44, period 2ππ=2\frac{2 \pi}{\pi} = 2, centre line y=2y = 2. Max 66, min βˆ’2-2.

Phase shift in the standard form

y=sin⁑(2x+Ο€2)=sin⁑(2(x+Ο€4))y = \sin\left( 2 x + \frac{\pi}{2} \right) = \sin\left( 2\left( x + \frac{\pi}{4} \right) \right). Phase shift: left by Ο€4\frac{\pi}{4}. Period Ο€\pi.

Equivalently, since sin⁑(2x+Ο€2)=cos⁑(2x)\sin\left( 2 x + \frac{\pi}{2} \right) = \cos(2 x), the curve is identical to y=cos⁑(2x)y = \cos(2 x).

Tangent with horizontal compression

y=tan⁑(3x)y = \tan(3 x): period Ο€3\frac{\pi}{3}. Asymptotes at x=Ο€6+kΟ€3x = \frac{\pi}{6} + \frac{k \pi}{3}, that is at Ο€6,Ο€2,5Ο€6,…\frac{\pi}{6}, \frac{\pi}{2}, \frac{5 \pi}{6}, \dots. Zeros at x=kΟ€3x = \frac{k \pi}{3}.

Writing an equation from features

Find a cosine equation with amplitude 55, period Ο€2\frac{\pi}{2}, centre line y=1y = 1, and the first maximum at x=Ο€8x = \frac{\pi}{8}.

b=2Ο€T=2ππ/2=4b = \frac{2 \pi}{T} = \frac{2 \pi}{\pi / 2} = 4.

y=5cos⁑(4(xβˆ’Ο€8))+1=5cos⁑(4xβˆ’Ο€2)+1y = 5 \cos\left( 4\left( x - \frac{\pi}{8} \right) \right) + 1 = 5 \cos\left( 4 x - \frac{\pi}{2} \right) + 1.

A reflected sine

y=βˆ’3sin⁑x+1y = -3 \sin x + 1: amplitude 33, period 2Ο€2 \pi, centre line y=1y = 1. The negative coefficient reflects: the graph starts at the centre line at x=0x = 0 and goes down to the minimum at y=βˆ’2y = -2 first, instead of up to the maximum.

Common traps

Confusing period with bb. bb is not the period; the period is 2Ο€βˆ£b∣\frac{2 \pi}{|b|} (or Ο€βˆ£b∣\frac{\pi}{|b|} for tan).

Mis-reading the phase shift. In y=sin⁑(bx+c)y = \sin(b x + c), the phase shift is βˆ’cb-\frac{c}{b}, not βˆ’c-c. Factor bb out of the bracket first.

Confusing amplitude with maximum value. Amplitude is the half-distance from minimum to maximum. The maximum value is d+∣a∣d + |a|, not just ∣a∣|a|.

Forgetting tangent's period is Ο€\pi. Sine and cosine have period 2Ο€2 \pi; tangent has period Ο€\pi. Use the right formula.

Dropping the absolute value in amplitude. Amplitude is ∣a∣|a|, always non-negative. A negative aa flips the curve but the amplitude is still ∣a∣|a|.

In one sentence

For y=asin⁑(b(xβˆ’h))+dy = a \sin(b(x - h)) + d (and similarly for cosine), amplitude is ∣a∣|a|, period is 2Ο€βˆ£b∣\frac{2 \pi}{|b|}, phase shift is hh, and vertical shift is dd; for tangent the period is Ο€βˆ£b∣\frac{\pi}{|b|} and there is no amplitude.

Past exam questions, worked

Real questions from past NESA papers on this dot point, with our answer explainer.

2022 HSC Q133 marksSketch $y = 3 \sin(2 x) - 1$ for $0 \le x \le 2 \pi$, marking the amplitude, period and centre line.
Show worked answer β†’

Amplitude: ∣a∣=3|a| = 3. Period: 2Ο€b=2Ο€2=Ο€\frac{2 \pi}{b} = \frac{2 \pi}{2} = \pi. Vertical shift: βˆ’1-1, so the centre line is y=βˆ’1y = -1.

Maximum value: βˆ’1+3=2-1 + 3 = 2. Minimum value: βˆ’1βˆ’3=βˆ’4-1 - 3 = -4.

Two full cycles fit in [0,2Ο€][0, 2 \pi]. Starting at (0,βˆ’1)(0, -1), the graph rises to (Ο€4,2)(\frac{\pi}{4}, 2), returns to (Ο€2,βˆ’1)(\frac{\pi}{2}, -1), descends to (3Ο€4,βˆ’4)(\frac{3 \pi}{4}, -4), returns to (Ο€,βˆ’1)(\pi, -1), then repeats.

Markers reward the amplitude, period, centre line, max and min values, and a smooth sketch with the correct number of cycles.

2021 HSC Q123 marksFind the period and the equation of the centre line of $y = -2 \cos\left(\frac{x}{3}\right) + 5$.
Show worked answer β†’

Period: 2Ο€βˆ£b∣=2Ο€1/3=6Ο€\frac{2 \pi}{|b|} = \frac{2 \pi}{1/3} = 6 \pi.

Centre line: y=5y = 5 (the vertical shift). Amplitude: βˆ£βˆ’2∣=2|-2| = 2.

Maximum: 5+2=75 + 2 = 7. Minimum: 5βˆ’2=35 - 2 = 3. The negative coefficient flips the cosine: the graph starts at the minimum at x=0x = 0 instead of the maximum.

Markers expect the period formula, the centre line, and recognition that a<0a < 0 reflects the curve.

Related dot points