Steply

Graph y = 2 cos x

Step by step, with the reason for every step · Graphs of sine and cosine · Trigonometry

Step by step

The question

Question: graph y = 2 cos x.

y = 2 cos x

1 Read A, B, C, D

Every cosine graph can be written like this: y = A cos(B(x − C)) + D.

Each letter does one job.

y = A cos(B(x − C)) + D

Here A is 2, the number in front.

B is 1, the number in front of x.

Nothing is taken from x, so C is 0.

Nothing is added at the end, so D is 0.

A = 2
B = 1
C = 0
D = 0

2 Find the amplitude

The amplitude is how far the wave goes up and down from its middle line.

It is |A|: 2.

amplitude = |2| = 2

3 Find the period

One full wave of cos x is a full turn: 2π long.

B squeezes the wave: the period is 2π over B.

period = 2πB

B is 1.

So the period is 2π: one full wave every 2π.

period = 2π1 = 2π

Careful!

The amplitude is from the middle line to the top, not from the bottom to the top.

Top to bottom is 4.

Careful: amplitude = 2, not 4

4 Make the key points

We use a table with five key points: one full wave.

x starts at 0.

Each next x is a quarter of the period further: π/2.

0
π2
π
3π2
2π

A quarter of 2π is π/2.

a quarter of 2π = π2

The cos part follows the same pattern in every cosine wave: 1, 0, −1, 0, 1.

1
0
−1
0
1

Each y is A times that: times 2.

2
0
−2
0
2

5 Draw the graph

Draw the grid.

The x-axis is in radians: a mark every π/2.

Plot the key points from the table.

Join them with a smooth wave: round at the top and the bottom, never pointed.

The wave keeps going the same way, both ways.

6 Check

Let's check one point from the table: x = 0.

Put it in the equation.

x = 0: y = 2 × cos(0)

The inside is 0, and cos 0 is 1.

So y is 2, like in the table.

So the graph is right!

= 2 × cos 0 = 2 × 1 = 2

Let's look back.

First: read A, B, C, D.

Then: find the amplitude.

Then: find the period.

Then: make the key points.

Then: draw the graph.

Last: check.

Answer
2

Your turn

Try this one yourself, then check:

y = 2 sin x
Show the answer
amplitude 2, period 2π

More from Graphs of sine and cosine

The whole lesson: Graphs of sine and cosine →