Skip to main content
ExamExplained
NSW · Maths Advanced
Maths Advanced study scene
§-Syllabus dot point
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.

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.

Practice questions

Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.

foundation2 marksState the amplitude, period and equation of the centre line of y=5sin(3x)2y = 5 \sin(3x) - 2.
Show worked solution →

Compare with the standard form y=asin(bx)+dy = a \sin(bx) + d. Reading off the coefficients gives a=5a = 5, b=3b = 3 and d=2d = -2.

Amplitude. The amplitude is

a=5=5.|a| = |5| = 5.

Period. For sine the period is

2πb=2π3.\frac{2\pi}{|b|} = \frac{2\pi}{3}.

Centre line. The vertical shift is d=2d = -2, so the centre line is y=2y = -2.

Marker's note: one mark for the amplitude 55; one mark for the period 2π3\frac{2\pi}{3} and centre line y=2y = -2 together. Writing the period as b=3b = 3 instead of 2π3\frac{2\pi}{3} forfeits that mark.

foundation2 marksFind the period and the xx-coordinates of the vertical asymptotes closest to the origin for y=tan(2x)y = \tan(2x).
Show worked solution →

Use the tangent period formula. Tangent has base period π\pi, so with b=2b = 2

period=πb=π2.\text{period} = \frac{\pi}{|b|} = \frac{\pi}{2}.

Asymptotes occur where the argument equals π2+kπ\frac{\pi}{2} + k\pi. Set

2x=π2+kπx=π4+kπ2.2x = \frac{\pi}{2} + k\pi \quad\Rightarrow\quad x = \frac{\pi}{4} + \frac{k\pi}{2}.

The two asymptotes closest to the origin are at x=π4x = \frac{\pi}{4} (taking k=0k = 0) and x=π4x = -\frac{\pi}{4} (taking k=1k = -1).

Marker's note: one mark for the period π2\frac{\pi}{2}; one mark for asymptotes at x=±π4x = \pm\frac{\pi}{4}. Using 2π2\pi instead of π\pi for the tangent period is the standard slip.

foundation3 marksThe function y=acos(bx)+dy = a \cos(bx) + d has a maximum value of 99, a minimum value of 11 and a period of π\pi. Find aa, bb and dd, taking a>0a > 0.
Show worked solution →

The centre line is midway between the maximum and minimum.

d=9+12=5.d = \frac{9 + 1}{2} = 5.

The amplitude is half the distance from minimum to maximum.

a=912=4.a = \frac{9 - 1}{2} = 4.

Find bb from the period. For cosine the period is 2πb\frac{2\pi}{b}, so

2πb=πb=2.\frac{2\pi}{b} = \pi \quad\Rightarrow\quad b = 2.

Hence a=4a = 4, b=2b = 2, d=5d = 5, giving y=4cos(2x)+5y = 4\cos(2x) + 5.

Marker's note: one mark for d=5d = 5, one for a=4a = 4, one for b=2b = 2 from the period. Reading the amplitude as the maximum value 99 instead of the half-range is the common error.

core3 marksExpress y=cos(2xπ3)y = \cos\left(2x - \frac{\pi}{3}\right) in the form y=cos(b(xh))y = \cos(b(x - h)) and hence state its period and phase shift.
Show worked solution →

Factor the coefficient of xx out of the bracket. The coefficient is 22, so

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

because 2×π6=π32 \times \frac{\pi}{6} = \frac{\pi}{3}. Therefore

y=cos(2(xπ6)).y = \cos\left(2\left(x - \frac{\pi}{6}\right)\right).

Read off the features. The period is

2πb=2π2=π,\frac{2\pi}{|b|} = \frac{2\pi}{2} = \pi,

and the phase shift is h=π6h = \frac{\pi}{6} to the right.

Marker's note: one mark for the correct factorisation, one for the period π\pi, one for the phase shift of π6\frac{\pi}{6} right. Quoting the shift as π3\frac{\pi}{3} (the constant before factoring) is the trap this question sets.

core4 marksA tidal model gives the depth of water at a jetty as D=3cos(π6t)+8D = 3\cos\left(\frac{\pi}{6}t\right) + 8, where DD is in metres and tt is the number of hours after midnight. (a) State the maximum and minimum depths and the time between successive high tides. (b) Find the depth at t=3t = 3. (c) Find the first time after midnight at which the depth is 6.56.5 m.
Show worked solution →

Part (a): read amplitude, centre and period. Here a=3a = 3, d=8d = 8 and b=π6b = \frac{\pi}{6}. So

maximum=d+a=8+3=11 m,minimum=da=83=5 m.\text{maximum} = d + |a| = 8 + 3 = 11 \text{ m}, \qquad \text{minimum} = d - |a| = 8 - 3 = 5 \text{ m}.

The time between successive high tides is one period:

2πb=2ππ/6=12 hours.\frac{2\pi}{|b|} = \frac{2\pi}{\pi/6} = 12 \text{ hours}.

Part (b): substitute t=3t = 3. In radians,

D=3cos(π6×3)+8=3cos(π2)+8=3(0)+8=8 m.D = 3\cos\left(\frac{\pi}{6}\times 3\right) + 8 = 3\cos\left(\frac{\pi}{2}\right) + 8 = 3(0) + 8 = 8 \text{ m}.

Part (c): solve D=6.5D = 6.5.

3cos(π6t)+8=6.5cos(π6t)=6.583=12.3\cos\left(\frac{\pi}{6}t\right) + 8 = 6.5 \quad\Rightarrow\quad \cos\left(\frac{\pi}{6}t\right) = \frac{6.5 - 8}{3} = -\frac{1}{2}.

The first positive solution of cosθ=12\cos\theta = -\frac{1}{2} is θ=2π3\theta = \frac{2\pi}{3}, so

π6t=2π3t=2π3×6π=4 hours after midnight.\frac{\pi}{6}t = \frac{2\pi}{3} \quad\Rightarrow\quad t = \frac{2\pi}{3}\times\frac{6}{\pi} = 4 \text{ hours after midnight}.

Marker's note: one mark for the max and min depths, one for the 1212-hour period; one for D=8D = 8 at t=3t = 3; one for reaching t=4t = 4 from cos(π6t)=12\cos\left(\frac{\pi}{6}t\right) = -\frac{1}{2}. Working in degrees instead of radians corrupts parts (b) and (c).

exam5 marksA student sketches a curve of the form y=asin(b(xh))+dy = a \sin(b(x - h)) + d over 0x2π0 \le x \le 2\pi. The sketch has a maximum value of 44 reached first at x=π6x = \frac{\pi}{6}, a minimum value of 2-2, and exactly two complete cycles fit in the interval 0x2π0 \le x \le 2\pi. (a) Find aa, bb, dd and a suitable value of hh, taking a>0a > 0. (b) Hence write the equation and find every value of xx in 0x2π0 \le x \le 2\pi at which the curve crosses its centre line.
Show worked solution →

Part (a): read the four dials from the description.

The centre line is midway between the maximum and minimum:

d=4+(2)2=1.d = \frac{4 + (-2)}{2} = 1.

The amplitude is half the min-to-max distance:

a=4(2)2=3.a = \frac{4 - (-2)}{2} = 3.

Two complete cycles fit in 2π2\pi, so one cycle (the period) is π\pi:

2πb=πb=2.\frac{2\pi}{b} = \pi \quad\Rightarrow\quad b = 2.

A sine of this form reaches its first maximum where the bracket equals π2\frac{\pi}{2}. The first maximum is at x=π6x = \frac{\pi}{6}, so

b(xh)=π22(π6h)=π2π6h=π4h=π6π4=π12.b\left(x - h\right) = \frac{\pi}{2} \quad\Rightarrow\quad 2\left(\frac{\pi}{6} - h\right) = \frac{\pi}{2} \quad\Rightarrow\quad \frac{\pi}{6} - h = \frac{\pi}{4} \quad\Rightarrow\quad h = \frac{\pi}{6} - \frac{\pi}{4} = -\frac{\pi}{12}.

So a=3a = 3, b=2b = 2, d=1d = 1, h=π12h = -\frac{\pi}{12}.

Part (b): assemble the equation and find the centre-line crossings. The equation is

y=3sin(2(x+π12))+1.y = 3\sin\left(2\left(x + \frac{\pi}{12}\right)\right) + 1.

The curve meets its centre line where y=1y = 1, that is where the sine term is zero:

sin(2(x+π12))=02(x+π12)=kπ,\sin\left(2\left(x + \frac{\pi}{12}\right)\right) = 0 \quad\Rightarrow\quad 2\left(x + \frac{\pi}{12}\right) = k\pi,

for integer kk. Solving,

x+π12=kπ2x=kπ2π12.x + \frac{\pi}{12} = \frac{k\pi}{2} \quad\Rightarrow\quad x = \frac{k\pi}{2} - \frac{\pi}{12}.

Taking k=1,2,3,4k = 1, 2, 3, 4 gives the values inside 0x2π0 \le x \le 2\pi:

x=5π12,11π12,17π12,23π12.x = \frac{5\pi}{12}, \quad \frac{11\pi}{12}, \quad \frac{17\pi}{12}, \quad \frac{23\pi}{12}.

(The choice k=0k = 0 gives x=π12x = -\frac{\pi}{12}, which is outside the interval.)

Marker's note: one mark for d=1d = 1 and a=3a = 3, one for b=2b = 2 from two cycles in 2π2\pi, one for h=π12h = -\frac{\pi}{12} from the first maximum; one for the assembled equation, one for all four centre-line crossings in the interval. Losing the π12\frac{\pi}{12} offset, or giving crossings outside 0x2π0 \le x \le 2\pi, drops the final mark.

exam5 marksConsider f(x)=2cosxf(x) = 2\cos x and g(x)=cos(2x)g(x) = \cos(2x) on the domain 0x2π0 \le x \le 2\pi. (a) State the amplitude and period of each. (b) Show that the two curves intersect where 2cos2xcosx1=02\cos^2 x - \cos x - 1 = 0. (c) Hence find all xx in 0x2π0 \le x \le 2\pi at which the curves intersect.
Show worked solution →

Part (a): read the features.

For f(x)=2cosxf(x) = 2\cos x: amplitude 22, period 2π1=2π\frac{2\pi}{1} = 2\pi.

For g(x)=cos(2x)g(x) = \cos(2x): amplitude 11, period 2π2=π\frac{2\pi}{2} = \pi.

Part (b): set the curves equal and use the double-angle identity. The curves meet where f(x)=g(x)f(x) = g(x):

2cosx=cos(2x).2\cos x = \cos(2x).

Replace cos(2x)\cos(2x) with the identity cos(2x)=2cos2x1\cos(2x) = 2\cos^2 x - 1:

2cosx=2cos2x1.2\cos x = 2\cos^2 x - 1.

Rearranging to one side gives

2cos2xcosx1=0,2\cos^2 x - \cos x - 1 = 0,

as required.

Part (c): solve the quadratic in cosx\cos x. Let u=cosxu = \cos x. Then 2u2u1=02u^2 - u - 1 = 0 factors as

(2u+1)(u1)=0u=12 or u=1.(2u + 1)(u - 1) = 0 \quad\Rightarrow\quad u = -\frac{1}{2} \text{ or } u = 1.

For cosx=1\cos x = 1 on 0x2π0 \le x \le 2\pi: x=0x = 0 and x=2πx = 2\pi.

For cosx=12\cos x = -\frac{1}{2} on 0x2π0 \le x \le 2\pi: x=2π3x = \frac{2\pi}{3} and x=4π3x = \frac{4\pi}{3}.

So the curves intersect at

x=0,2π3,4π3,2π.x = 0, \quad \frac{2\pi}{3}, \quad \frac{4\pi}{3}, \quad 2\pi.

Marker's note: one mark for both amplitudes and periods in (a); two marks in (b) for substituting cos(2x)=2cos2x1\cos(2x) = 2\cos^2 x - 1 and rearranging to the shown quadratic; two marks in (c) for factoring to u=12,1u = -\frac{1}{2}, 1 and listing all four xx-values in the domain. Dropping the endpoints x=0x = 0 and x=2πx = 2\pi, or missing one solution of cosx=12\cos x = -\frac{1}{2}, costs the final mark.

ExamExplained