01 / 20

Graphing Sine & Cosine

Master the shapes of sinusoidal functions by learning to identify amplitude, period, and midline from equations and graphs.

Math 3

What Is a Sinusoidal Function?

A sinusoidal function is any function that produces a smooth, repeating wave. The two most fundamental sinusoidal functions are \(\sin(x)\) and \(\cos(x)\). They model periodic phenomena: sound waves, tides, seasons, and circular motion.

The Unit Circle Connection

\(\theta\)
\(\sin \theta\)
\(\cos \theta\)
P wave unrolled from circle

On the unit circle, every angle \(\theta\) gives a point \(P\). The \(y\)-coordinate of \(P\) is \(\sin\theta\), and the \(x\)-coordinate is \(\cos\theta\). As \(\theta\) increases, these coordinates trace out the familiar wave shapes.

Three Key Features of a Sinusoid

Amplitude
The height from the midline to a peak. Controls how tall or short the wave is.
Period
The horizontal length of one full cycle. Controls how stretched or compressed the wave is.
Midline
The horizontal axis of symmetry that the wave oscillates around. A vertical shift moves it up or down.

The General Form

\(a\) : Amplitude
\(|a|\) = distance from midline to peak
\(b\) : Period
Period \(= \frac{2\pi}{|b|}\)
\(c\) : Phase Shift
Horizontal shift by \(c\) units
\(d\) : Midline
Vertical shift: midline at \(y = d\)

Parent Graphs: \(\sin x\) vs \(\cos x\)

Sine vs Cosine: Key Distinction

Property \(\sin x\) \(\cos x\)
Value at \(x = 0\)\(0\)\(1\)
Starts atMidline, going upMaximum
First peak at\(\frac{\pi}{2}\)\(0\)
SymmetryOdd: \(\sin(-x) = -\sin x\)Even: \(\cos(-x) = \cos x\)
Period\(2\pi\)\(2\pi\)
Amplitude\(1\)\(1\)

How to Graph Step by Step

1
Identify \(a\), \(b\), \(c\), \(d\). Write down each parameter from the equation.
2
Draw the midline. Sketch the horizontal line \(y = d\).
3
Mark amplitude. Plot dashed lines at \(y = d + |a|\) and \(y = d - |a|\).
4
Calculate the period. Period \(= \frac{2\pi}{|b|}\). Mark one full cycle on the \(x\)-axis.
5
Plot key points. Divide one period into 4 equal parts to find the max, min, and midline crossings. Then connect smoothly.

Example 1: \(y = 3\sin(x)\)

Example 2: \(y = \cos(2x)\)

Example 3: \(y = 2\sin(x) + 1\)

Effect of Amplitude \(|a|\)

Increasing \(|a|\) stretches the wave vertically. If \(a\) is negative, the wave is reflected across the midline (flipped upside down). The period and midline stay the same.

Effect of Period \(\frac{2\pi}{|b|}\)

A larger \(|b|\) compresses the wave horizontally (shorter period). A smaller \(|b|\) stretches it (longer period). The amplitude and midline stay the same.

Reading a Graph Backwards

1
Find the midline. Average the maximum and minimum \(y\)-values: \(d = \frac{\text{max} + \text{min}}{2}\).
2
Find the amplitude. Half the distance between max and min: \(|a| = \frac{\text{max} - \text{min}}{2}\).
3
Find the period. Measure the horizontal distance of one full cycle. Then \(|b| = \frac{2\pi}{\text{period}}\).
4
Choose sine or cosine. If the cycle starts at the midline going up, use sine. If it starts at a max, use cosine.

Common Mistakes

✕ Confusing \(b\) with the period
The period is \(\frac{2\pi}{|b|}\), not \(b\) itself. If \(b = 3\), the period is \(\frac{2\pi}{3}\), not \(3\).
✕ Forgetting absolute value of \(a\)
Amplitude is always positive: \(|a|\). A negative \(a\) flips the graph, but amplitude remains positive.
✕ Midline is \(y = 0\) by default
Only if \(d = 0\). Many students forget to account for the vertical shift \(d\) when identifying the midline.

Summary of Parameters

Parameter Formula Effect on Graph
\(a\)Amplitude \(= |a|\)Vertical stretch/compression; negative flips
\(b\)Period \(= \frac{2\pi}{|b|}\)Horizontal stretch/compression
\(c\)Phase shift \(= c\)Shifts graph left or right
\(d\)Midline: \(y = d\)Shifts graph up or down

Question 1 of 5

What is the amplitude of the function \(y = 4\sin(3x) - 2\)?

Question 2 of 5

What is the period of \(y = \cos(4x)\)?

Question 3 of 5

The function \(y = -2\cos(x) + 5\) has a midline at:

Question 4 of 5

A sinusoidal function has a maximum of \(7\) and a minimum of \(1\). What are the amplitude and midline?

Question 5 of 5

Which equation matches a graph that starts at its maximum, has amplitude \(2\), period \(\pi\), and midline \(y = -1\)?