A-level Mathematics

5.3 The sine, cosine and tangent functions: graphs and periodicity — Learn

Prerequisites: coordinates on the unit circle; radian measure; the shapes of the sine and cosine curves from GCSE; reading a graph.

By the end of this section you can: sketch the graphs of sine, cosine and tangent; state their period and symmetry; read an amplitude, a period and a phase shift from a transformed wave; write down the range of each function.

1. The three graphs

The three functions are defined for an angle xx. It is easiest to read them from the unit circle. The point at angle xx has coordinates (cos⁡x,sin⁡x)(\cos x, \sin x), so the height of the point is sin⁡x\sin x and its horizontal distance from the centre is cos⁡x\cos x.

The graph of y=sin⁡xy = \sin x starts at 00, rises to a peak of 11 at x=π2x = \dfrac{\pi}{2}, returns to 00 at π\pi, falls to a trough of −1-1 at 3π2\dfrac{3\pi}{2}, and returns to 00 at 2π2\pi. The pattern then repeats.

The graph of y=cos⁡xy = \cos x has the same shape, shifted left by π2\dfrac{\pi}{2}. It starts at 11, falls to 00 at π2\dfrac{\pi}{2}, reaches −1-1 at π\pi, and rises back to 11 at 2π2\pi.

Both graphs repeat every 2π2\pi radians. The period of each is 2π2\pi.

The graph of y=tan⁡xy = \tan x is different. It has a period of π\pi, not 2π2\pi, because tan⁡x=sin⁡xcos⁡x\tan x = \dfrac{\sin x}{\cos x} and both sine and cosine change sign together. The tangent has vertical asymptotes where cos⁡x=0\cos x = 0, at x=π2x = \dfrac{\pi}{2} and x=3π2x = \dfrac{3\pi}{2}.

Function Period Range Symmetry
y=sin⁡xy = \sin x 2π2\pi −1≤y≤1-1 \le y \le 1 odd: sin⁡(−x)=−sin⁡x\sin(-x) = -\sin x
y=cos⁡xy = \cos x 2π2\pi −1≤y≤1-1 \le y \le 1 even: cos⁡(−x)=cos⁡x\cos(-x) = \cos x
y=tan⁡xy = \tan x π\pi all real yy odd: tan⁡(−x)=−tan⁡x\tan(-x) = -\tan x

An odd function is unchanged by a half turn about the origin. An even function is unchanged by a reflection in the yy-axis.

2. Transforming the wave

A wave is often written in the form

y=Asin⁡(Bx+C)+D.y = A\sin(Bx + C) + D.

Each letter does one job.

The maximum value is D+∣A∣D + |A| and the minimum is D−∣A∣D - |A|.

Example 1. For y=3sin⁡(2x)−1y = 3\sin\left(2x\right) - 1, state the amplitude, the period, and the maximum and minimum values.

The amplitude is 33. The period is 2π2=π\dfrac{2\pi}{2} = \pi. The middle line is y=−1y = -1, so the maximum is −1+3=2-1 + 3 = 2 and the minimum is −1−3=−4-1 - 3 = -4.

Example 2. Write down the period and the phase shift of y=cos⁡(3x−π2)y = \cos\left(3x - \dfrac{\pi}{2}\right).

Here B=3B = 3 and C=−π2C = -\dfrac{\pi}{2}. The period is 2π3\dfrac{2\pi}{3}. The phase shift is −CB=π6-\dfrac{C}{B} = \dfrac{\pi}{6}, so the graph is shifted π6\dfrac{\pi}{6} to the right.

3. Try it: the wave explorer

Predict first. You will change the amplitude AA, the wave number BB, the phase CC and the vertical shift DD in y=Asin⁡(Bx+C)+Dy = A\sin(Bx + C) + D. Before you touch the controls, predict what happens to the number of complete waves when BB increases, and what happens to the peak height when AA is negative. Write both predictions down.

Test. Move each slider in turn and watch the curve. Check that the readout period matches the distance between two peaks on the graph. Then set A=1A = 1 and B=2B = 2 and count the complete waves between x=0x = 0 and x=2πx = 2\pi.

Explain. Write two sentences. The first explains why doubling BB halves the period. The second explains why a negative AA turns the wave upside down rather than moving it.

Watch out. Three mistakes are common with these graphs.

Using degrees on the horizontal axis. The formulas in this chapter use radians. The period of sin⁡x\sin x is 2π2\pi, not 360360. Write the axis in multiples of π\pi unless a question asks for degrees.

Reading the period as B2π\dfrac{B}{2\pi}. The period is 2πB\dfrac{2\pi}{B}. A larger BB squeezes more waves into the same width, so a larger BB gives a smaller period. Test it with B=2B = 2: the period must be π\pi, not 4π4\pi.

Forgetting the vertical shift in the range. For y=Asin⁡(Bx+C)+Dy = A\sin(Bx + C) + D the range runs from D−∣A∣D - |A| to D+∣A∣D + |A|. The middle line is y=Dy = D, not the xx-axis. Re-check: find the maximum and minimum and confirm that they are equally far above and below the middle line.

You should now be able to

Settings

Colour scheme

Applies to every book you read here.

Reading theme

Applies to every book you read here.