Allday Education

Graphing Sine & Cosine Functions

Sine and cosine graphs are repeating waves. Two numbers in y=asin(bx)y = a\sin(bx) shape them: aa sets the amplitude (height) and bb sets the period (how quickly it repeats).

The period is 2πb\dfrac{2\pi}{b}. A bigger bb squeezes more waves into the same space; the amplitude a|a| is the wave's height above and below the midline.

Amplitude and period

The amplitude is a|a| — how far the wave rises above and falls below its midline. The period is the horizontal length of one full cycle.

For y=asin(bx)y = a\sin(bx), the period is 2πb\dfrac{2\pi}{b}. The plain sine wave has period 2π2\pi; multiplying xx by bb divides that.

How b changes the wave

A larger bb shortens the period, packing the waves closer together. A bb between 0 and 1 stretches the wave out.

So to find the period, take 2π2\pi and divide by whatever multiplies the angle inside the function.

Worked examples

Example 1: finding the period

What is the period of y=4sin3θy = 4\sin 3\theta?

Period is 2-pi over b2π3\dfrac{2\pi}{3}

Answer: 2π3\dfrac{2\pi}{3}

Example 2: the amplitude

What is the amplitude of y=4sin3θy = 4\sin 3\theta?

Amplitude is the absolute value of a4|4|

Answer: 44

Example 3: period when b is a fraction

What is the period of y=2sin(12θ)y = 2\sin\left(\dfrac{1}{2}\theta\right)?

Period is 2-pi over b2π12\dfrac{2\pi}{\tfrac{1}{2}}
Dividing by one half doubles it4π4\pi

Answer: 4π4\pi

Try one yourself

Common questions

How do I find the period?

Divide 2π2\pi by the coefficient bb of the angle: the period of y=asin(bx)y = a\sin(bx) is 2πb\dfrac{2\pi}{b}.

What is amplitude?

The height of the wave above and below its midline, equal to a|a|.

What does a larger b do?

It shortens the period, compressing more cycles into the same horizontal space.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1