Skip to main content
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=asin(bx+c)+dy = a \sin(b x + c) + d, y=acos(bx+c)+dy = a \cos(b x + c) + d and y=atan(bx+c)+dy = 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 sinx\sin x, cosx\cos x and tanx\tan x, and how amplitude aa, period 2πb\frac{2 \pi}{b}, phase shift and vertical shift transform them, built up stage by stage, with worked examples.

Generated by Claude Opus 4.815 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

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

What this dot point is asking

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

The deep idea is that every curve in this dot point is the same base wave seen through four independent dials: a vertical stretch (aa), a horizontal squeeze (bb), a horizontal slide (hh or cc) and a vertical lift (dd). If you can read those four numbers off the equation and know what each does to the base graph, you can sketch anything in the family without plotting a single point, and equally, read the four numbers back off a given sketch. The trap that costs marks is treating the four dials as if they interact: they do not, provided you apply them in the right grouping, and the only genuinely fiddly one is the phase shift, which must be read after factoring bb out of the bracket.

The answer

Sine and cosine curves over two cycles Two trigonometric curves on the same axes. The sine curve passes through zero at x equals zero, reaches plus one at pi over two, and returns through zero at pi. The cosine curve starts at plus one at x equals zero, drops through zero at pi over two, and reaches minus one at pi. Both curves repeat with period two pi. x y π⁄2 π 3π⁄2 −π⁄2 −π 1 −1 cos x sin x

The base graphs

For y=sinxy = \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)=sinx\sin(-x) = -\sin x.

For y=cosxy = \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)=cosx\cos(-x) = \cos x.
  • cosx=sin(x+π2)\cos x = \sin\left(x + \frac{\pi}{2}\right): cosine is sine shifted left by π2\frac{\pi}{2}.

For y=tanxy = \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)=tanx\tan(-x) = -\tan x.

Transformations of sine and cosine

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

  • Amplitude =a= |a|. The graph oscillates between dad - |a| and d+ad + |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)=sinx\sin(-x) = -\sin x, which is equivalent to flipping the sign of aa. For cosine, cos(x)=cosx\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(xh))+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(xh)=π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.
  • aa 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(xh))+c.y = A \cos\left( \frac{2 \pi}{T} (x - h) \right) + c.

Building up a transformed curve, stage by stage

To sketch y=3sin(2x)1y = 3\sin(2x) - 1 on 0x2π0 \le x \le 2\pi, do not plot points. Start from the base curve and turn the four dials one at a time, redrawing after each.

Stage 1, draw the base curve. Sketch y=sinxy = \sin x over [0,2π][0, 2\pi]: through the origin, up to +1+1 at π2\frac{\pi}{2}, back to 00 at π\pi, down to 1-1 at 3π2\frac{3\pi}{2}, and back to 00 at 2π2\pi. Amplitude 11, period 2π2\pi. Everything else is a controlled distortion of this shape.

Base curve y = sin x The base sine curve y equals sine x plotted from zero to two pi. It starts at the origin, rises to plus one at pi over two, falls back to zero at pi, down to minus one at three pi over two, and back to zero at two pi. Amplitude one, period two pi. x y π/2 π 3π/2 1 -1 y = sin x Base curve: amplitude 1, period 2π.

Stage 2, stretch the amplitude. The coefficient a=3a = 3 multiplies every yy-value by 33, so the curve now peaks at +3+3 and dips to 3-3. The xx-positions of the peaks, troughs and zeros do not move; only the height changes. This gives y=3sinxy = 3\sin x, amplitude 33, period still 2π2\pi.

Stretch the amplitude to 3 The curve y equals three sine x. The same shape as the base sine but stretched vertically so it peaks at plus three and dips to minus three. The faint base curve y equals sine x is shown for comparison. Period is still two pi. x y π/2 π 3π/2 3 1 -1 -3 y = 3 sin x Multiply by 3: amplitude becomes 3 (max +3, min -3).

Stage 3, squeeze the period. The coefficient b=2b = 2 inside the bracket squeezes the curve horizontally: the period becomes 2πb=2π2=π\frac{2\pi}{b} = \frac{2\pi}{2} = \pi, so two complete cycles now fit between 00 and 2π2\pi. The amplitude is unchanged at 33. This gives y=3sin(2x)y = 3\sin(2x).

Halve the period with b = 2 The curve y equals three sine of two x. The amplitude is still three but the coefficient two inside doubles the frequency, so two complete cycles now fit between zero and two pi and the period is pi. The previous curve y equals three sine x is faint behind it. x y π/2 π 3π/2 3 1 -1 -3 y = 3 sin 2x Coefficient 2: period = 2π/2 = π, so two cycles in [0, 2π].

Stage 4, lift (here, lower) the centre line. The constant d=1d = -1 slides the whole curve down by 11, so it now oscillates about the dashed centre line y=1y = -1 instead of y=0y = 0. The new maximum is d+a=1+3=2d + |a| = -1 + 3 = 2 and the new minimum is da=13=4d - |a| = -1 - 3 = -4. The finished curve is y=3sin(2x)1y = 3\sin(2x) - 1.

Shift down by 1 to the finished curve The finished curve y equals three sine of two x minus one. The whole curve is lowered by one unit so it oscillates about the dashed centre line y equals minus one, between a maximum of plus two and a minimum of minus four. Two cycles fit in zero to two pi. x y π/2 π 3π/2 2 -1 -4 centre y = -1 y = 3 sin 2x - 1 Shift down 1: centre line y = -1, max +2, min -4.

(This example has no phase shift. A phase shift hh would slide every feature horizontally by hh as a final stage, after factoring bb out of the bracket so that the slide is measured in xx, not in the argument.)

How exam questions ask about trig graphs

The phrasing points straight at which features to extract:

  • "Sketch y=y = \dots for 0x2π0 \le x \le 2\pi, marking the amplitude, period and centre line." A construction task. Build it up dial by dial as above, and label the centre line, the max and min values, and the xx-positions of at least one full cycle.
  • "State / find the period (and amplitude)." A read-off. Period =2πb= \frac{2\pi}{|b|} (or πb\frac{\pi}{|b|} for tan); amplitude =a= |a|. No sketch needed.
  • "Find the equation of the centre line" or "the maximum / minimum value." Centre line y=dy = d; max =d+a= d + |a|; min =da= d - |a|.
  • "Find the phase shift" or "... in the form asin(b(xh))+da\sin(b(x - h)) + d." Factor bb out of the bracket first; the shift is h=cbh = -\frac{c}{b}.
  • "Write an equation for the graph shown." The reverse task. Read amplitude (half the min-to-max gap), centre line (midline), period (one full cycle width, then b=2πperiodb = \frac{2\pi}{\text{period}}), and a convenient start point to fix the phase; choose sine or cosine to make the phase simplest.
  • "For what values of xx is the curve increasing / equal to its maximum?" Read intervals and points off the sketched shape; the maximum occurs once per period.
  • "State the number of solutions of f(x)=kf(x) = k in the interval" (graph-and-line reasoning). Draw the horizontal line y=ky = k and count crossings; this is the graphical face of solving a trig equation.

Exam-style practice questions

Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

2022 HSC Q133 marksSketch y=3sin(2x)1y = 3 \sin(2 x) - 1 for 0x2π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: 13=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=2cos(x3)+5y = -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: 52=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