Steply

Graph y = cos x - 2

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

Step by step

The question

Question: graph y = cos x − 2.

y = cos x − 2

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 1, the number in front.

B is 1, the number in front of x.

Nothing is taken from x, so C is 0.

D is −2, the number added at the end.

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

2 Find the amplitude

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

It is |A|: 1.

amplitude = |1| = 1

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π

4 Find the shifts

D moves the wave down 2.

Its middle line is y = −2, not the x-axis.

middle line : y = −2

Careful!

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

Top to bottom is 2.

Careful: amplitude = 1, not 2

5 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, plus D: the same numbers, then minus 2.

−1
−2
−3
−2
−1

6 Draw the graph

Draw the grid.

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

The middle line y = −2, dashed.

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.

7 Check

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

Put it in the equation.

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

The inside is 0, and cos 0 is 1.

So y is −1, like in the table.

So the graph is right!

= cos 0 − 2 = 1 − 2 = −1

Let's look back.

First: read A, B, C, D.

Then: find the amplitude.

Then: find the period.

Then: find the shifts.

Then: make the key points.

Then: draw the graph.

Last: check.

Answer
−1

Your turn

Try this one yourself, then check:

y = cos x − 1
Show the answer
amplitude 1, period 2π, middle y = −1

More from Graphs of sine and cosine

The whole lesson: Graphs of sine and cosine →