Steply

Graph y = -2 sin 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 sin x.

y = −2 sin x

1 Read A, B, C, D

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

Each letter does one job.

y = A sin(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

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 sin 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 sin part follows the same pattern in every sine wave: 0, 1, 0, −1, 0.

0
1
0
−1
0

Each y is A times that: times −2.

0
−2
0
2
0

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 = π/2.

Put it in the equation.

x = π2: y = −2 × sin(π2)

The inside is π/2, and sin π/2 is 1.

So y is −2, like in the table.

So the graph is right!

= −2 × sin π2 = −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
0

Your turn

Try this one yourself, then check:

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

More from Graphs of sine and cosine

The whole lesson: Graphs of sine and cosine →