01 / 21

Sine & Cosine
Function Graphs

Master the shapes of \(\sin x\) and \(\cos x\), understand amplitude, period, phase shift, and vertical shift to graph any sinusoidal function.

AP Precalculus

What Is a Sinusoidal Function?

A sinusoidal function is any function that can be written in the form \( y = a\sin(bx + c) + d \) or \( y = a\cos(bx + c) + d \). These functions produce smooth, repeating wave shapes that model phenomena like sound waves, tides, and circular motion.

The Unit Circle Connection

As a point travels around the unit circle, its \(y\)-coordinate traces out \(\sin\theta\) and its \(x\)-coordinate traces out \(\cos\theta\). "Unrolling" these coordinates against the angle \(\theta\) produces the familiar wave graphs.

\(\sin\theta\)
Starts at 0, rises to 1, returns to 0, falls to \(-1\), and back to 0 over one full revolution.
\(\cos\theta\)
Starts at 1, falls to 0, drops to \(-1\), returns to 0, and back to 1 over one full revolution.

Graph of \( y = \sin x \)

Graph of \( y = \cos x \)

The General Sinusoidal Form

\(|a|\) : Amplitude
Vertical stretch: half the distance from max to min.
\(b\) : Frequency
Period \(= \dfrac{2\pi}{|b|}\). Larger \(|b|\) means faster oscillation.
\(c\) : Phase Shift
Horizontal shift: right if \(c > 0\), left if \(c < 0\).
\(d\) : Vertical Shift
Moves the midline up or down from \(y = 0\).

Amplitude & Period

1
Amplitude \(= |a|\): the distance from the midline to a peak (or trough). If \(a < 0\), the graph is reflected across the midline.
2
Period \(= \dfrac{2\pi}{|b|}\): one full cycle of the wave. Doubling \(b\) halves the period, compressing the graph horizontally.
3
Midline \(y = d\): the horizontal line exactly halfway between the maximum \(d + |a|\) and minimum \(d - |a|\).

Phase Shift & Vertical Shift

For \( y = a\sin(b(x - c)) + d \), factor the argument so the shift is clearly visible. The value \(c\) tells you how far and which direction the entire wave slides horizontally.

Phase Shift \(= c\)
Positive \(c\): shift right. Negative \(c\): shift left. Applied before any vertical change.
Vertical Shift \(= d\)
Moves the midline to \(y = d\). Max becomes \(d + |a|\), min becomes \(d - |a|\).

Sine vs Cosine: Key Distinction

\(\sin x\) \(\cos x\)
Value at \(x = 0\)01
First peak\(x = \frac{\pi}{2}\)\(x = 0\)
SymmetryOdd: \(\sin(-x) = -\sin x\)Even: \(\cos(-x) = \cos x\)
Zeros in \([0,2\pi]\)\(0,\;\pi,\;2\pi\)\(\frac{\pi}{2},\;\frac{3\pi}{2}\)
Phase relation\(\cos x = \sin\!\bigl(x + \frac{\pi}{2}\bigr)\)

Choose cosine from the boarding position

A Ferris wheel accompanies a circular height diagram with radius 30 m, center 35 m above ground and a bottom starting position; a 2π/3 turn reaches 50 m.Suppose a wheel has radius 30 m and center height 35 m. Starting at the bottom gives H(α) = 35 − 30 cos α: amplitude 30 m, midline 35 m, and range 5–65 m.

Choose cosine from the boarding position

A Ferris wheel accompanies a circular height diagram with radius 30 m, center 35 m above ground and a bottom starting position; a 2π/3 turn reaches 50 m.Suppose a wheel has radius 30 m and center height 35 m. Starting at the bottom gives H(α) = 35 − 30 cos α: amplitude 30 m, midline 35 m, and range 5–65 m.Open full diagram

How to Graph a Sinusoidal Function

1
Identify \(a, b, c, d\) from \(y = a\sin(b(x - c)) + d\). Rewrite if needed so the argument is in factored form.
2
Draw the midline at \(y = d\). Mark the max at \(d + |a|\) and min at \(d - |a|\).
3
Compute the period \(T = \frac{2\pi}{|b|}\). Divide one period into four equal quarter-lengths of \(\frac{T}{4}\).
4
Apply the phase shift: the first key point starts at \(x = c\) instead of \(x = 0\).
5
Plot 5 key points (start, quarter, half, three-quarter, end) and connect with a smooth curve. Extend as needed.

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

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

Example 3: \( y = -3\cos\!\bigl(x - \frac{\pi}{2}\bigr) + 1 \)

Reading Parameters from a Graph

1
Midline \(d\): find the average of the max and min values: \(d = \frac{\text{max} + \text{min}}{2}\).
2
Amplitude \(|a|\): \(|a| = \frac{\text{max} - \text{min}}{2}\). If the graph starts at a minimum, \(a\) is negative (for cosine form).
3
Period \(T\): measure the horizontal distance for one full cycle, then solve \(|b| = \frac{2\pi}{T}\).
4
Phase shift \(c\): compare where the first key point occurs versus the parent function's key point.

Common Mistakes

Forgetting to factor \(b\)
In \(y = \sin(2x - \pi)\), the phase shift is NOT \(\pi\). Factor first: \(\sin(2(x - \frac{\pi}{2}))\), so the shift is \(\frac{\pi}{2}\).
Confusing \(|a|\) with range
Amplitude is \(|a|\), not the range. If \(d \neq 0\), the range is \([d - |a|,\; d + |a|]\), not \([-|a|,\;|a|]\).
Wrong period formula
Period is \(\frac{2\pi}{|b|}\), not \(\frac{\pi}{|b|}\) or \(2\pi b\). Always divide \(2\pi\) by the absolute value of \(b\).

Summary of Transformations

Parameter Effect Formula
\(a\)Vertical stretch / reflectAmplitude \(= |a|\)
\(b\)Horizontal compress / stretchPeriod \(= \frac{2\pi}{|b|}\)
\(c\)Horizontal shiftPhase shift \(= c\)
\(d\)Vertical shiftMidline: \(y = d\)
MaxHighest point\(d + |a|\)
MinLowest point\(d - |a|\)

Question 1 of 5

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

Question 2 of 5

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

Question 3 of 5

For \( y = 2\sin\!\bigl(x - \frac{\pi}{3}\bigr) + 5 \), what is the phase shift?

Question 4 of 5

Which equation represents a cosine function with amplitude 3, period \(\pi\), and midline \(y = -1\)?

Question 5 of 5

The graph of \( y = \sin x \) is shifted \(\frac{\pi}{2}\) to the left. Which function results?