All Together Now!

We can have all of them in one equation:

y = A sin(B(x + C)) + D

And here's how it looks on a graph:

Sine wave graph with labels for Amplitude A, Period 2pi/B, Phase Shift C, and Vertical Shift D

images/function-graph.js?fn0=A*sin( B*(x+C) )%2BD&varA=1|0|2&varB=1|0|2&varC=1|-3|3&varD=0|-3|3

Note that we are using radians here, not degrees, and there are 2π radians in a full rotation.

Example: sin(x)

This is the basic unchanged sine formula. A = 1, B = 1, C = 0 and D = 0

So amplitude is 1, period is 2π, there's no phase shift or vertical shift:

amplitude 1, period 2pi, no shifts

Phase shift can be tricky with signs:

These match because C = −h.

Example: 2 sin(4(x − 0.5)) + 3

amplitude 2, period pi/2, phase shift 0.5, vert shift 3

In words:

Instead of x we can have t (for time) or maybe other variables:

Example: 3 sin(100t + 1)

To see the phase shift, we factor out 100 inside the sine:

3 sin(100t + 1) = 3 sin(100(t + 0.01))

Now we can see:

And we get:

amplitude 3, period 0.02pi, phase shift -0.01, no vertical shift

Frequency

Frequency is how often something happens per unit of time (per "1").

Example: Here the cosine function repeats 4 times between 0 and 1:

period 1/4, frequency 4

So the Frequency is 4

And the Period is 14

In fact the Period and Frequency are related:

Frequency = 1Period

Period = 1Frequency

Example from before: 3 sin(100(t + 0.01))

amplitude 3, period 0.02pi, phase shift -0.01, no vertical shift

The period is 0.02π

So the Frequency is 10.02π = 50π

Some more examples:

Period Frequency
110 10
14 4
1 1
5 15
100 1100

When frequency is per second it is called "Hertz".

Example: 50 Hertz means 50 times per second

Motocross rider in mid-air to illustrate frequency and bouncing
The faster it bounces the more it "Hertz"!

Animation

../algebra/images/wave-sine.js

How to Sketch y = A sin(Bx)

Knowing A and B we can sketch a graph by hand:

Work out the Period (P): Calculate P = 2πB. This is the width of one full cycle.

Use the 5-Point Rule:, mark these 5 points over one full period (P):

Connect the dots with a smooth wave!

Example: A=2, B=π/2

P = 2πB = 2ππ/2 = 4

Points are: (0, 0), (1, 2), (2, 0), (3, −2), (4, 0)

Mark the points, sketch the wave:

amplitude 1, period 2pi, no shifts

Writing the Function from a Graph

You can be a "math detective" and work backward from a graph to work out its equation.

First work out A and B:

Example: a graph where the peak is at 3 and it repeats every π

amplitude 1, period 2pi, no shifts

7784,7785,7788,7789,9863,7793,7794,7795,7796,7792
Copyright © 2026 Rod Pierce