Steply

Graph y = sin(2x - π/2)

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

Step by step

The question

Question: graph y = sin(2x − π/2).

y = sin(2x − π2)

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

First we take the 2 out of the bracket, to see B and C: 2 times x, and 2 times π/4 is π/2.

2x − π2 = 2(x − π4)

Here A is 1, the number in front.

B is 2, the number in front of x.

x minus C: C is π/4.

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

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

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 sin 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π × 2 ✗

B is 2.

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

period = 2π2 = π

4 Find the shifts

C moves the wave sideways.

x − π/4 moves it right: the wave starts at x = π/4.

start : x = π4

5 Make the key points

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

x starts at π/4.

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

π4
π2
3π4
π
5π4

A quarter of π is π/4.

a quarter of π = π4

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: the same numbers.

0
1
0
−1
0

6 Draw the graph

Draw the grid.

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

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

Put it in the equation.

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

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

So y is 1, like in the table.

So the graph is right!

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

Your turn

Try this one yourself, then check:

y = cos(2x − 2π3)
Show the answer
amplitude 1, period π, start π3

More from Graphs of sine and cosine

The whole lesson: Graphs of sine and cosine →