Steply

Graph y = 2 cos 3x

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 3x.

y = 2 cos 3x

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 3, 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 = 3
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

Careful!

B squeezes the wave, so the period gets shorter.

We divide by B.

We do not multiply.

Careful: not period = 2π × 3 ✗

B is 3.

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

period = 2π3 = 2π3

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: π/6.

0
π6
π3
π2
2π3

A quarter of 2π/3 is π/6.

a quarter of 2π3 = π6

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 π/6.

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(3(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 = 3 cos 2x
Show the answer
amplitude 3, period π

More from Graphs of sine and cosine

The whole lesson: Graphs of sine and cosine →