Steply

Graph y = -3 cos x + 1

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

Step by step

The question

Question: graph y = −3 cos x + 1.

y = −3 cos x + 1

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

B is 1, the number in front of x.

Nothing is taken from x, so C is 0.

D is 1, the number added at the end.

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

2 Find the amplitude

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

It is |A|: 3.

amplitude = |−3| = 3

A is negative.

The minus flips the wave upside down: it starts by going down.

A < 0: the wave is flipped

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 up 1.

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

middle line : y = 1

Careful!

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

Top to bottom is 6.

Careful: amplitude = 3, not 6

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: times −3, then plus 1.

−2
1
4
1
−2

6 Draw the graph

Draw the grid.

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

The middle line y = 1, 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 = −3 × cos(0) + 1

The inside is 0, and cos 0 is 1.

So y is −2, like in the table.

So the graph is right!

= −3 × cos 0 + 1 = −3 × 1 + 1 = −2

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
−2

Your turn

Try this one yourself, then check:

y = −3 sin x + 2
Show the answer
amplitude 3, period 2π, middle y = 2

More from Graphs of sine and cosine

The whole lesson: Graphs of sine and cosine →