AP Precalculus · Study guide

Sine and Cosine Function Graphs

AP® Precalculus · Unit 3 · Trigonometric and Polar Functions

Sine and Cosine Graphs

Sine and cosine follow a point as it travels around the unit circle: sine tracks its height, cosine its horizontal position. This guide turns that motion into graphs and reads off where they rise, fall, cross zero and peak.

The idea in one paragraph

The sine function \(f(\theta) = \sin\theta\) gives the y-coordinate of the point \(P\) where the terminal ray of \(\theta\) meets the unit circle; the cosine function gives its x-coordinate. Both have domain all real numbers. As \(\theta\) increases, \(P\) circles forever, so both outputs oscillate between \(-1\) and \(1\), taking every value in between, and repeat every \(2\pi\). The cosine graph is the sine graph shifted \(\frac{\pi}{2}\) to the left.

1From circle to graph

Figure 1. As the angle grows, P travels around the circle and its height rises and falls between −1 and 1. Plotting that height against the angle draws the sine graph.

Picture the angle as a clock running counterclockwise. When P is above the x-axis, sine is positive; below, negative. When P is right of the y-axis, cosine is positive; left, negative.

2Key values and shape

\(\theta\)0\(\frac{\pi}{2}\)\(\pi\)\(\frac{3\pi}{2}\)\(2\pi\)
\(\sin\theta\)010−10
\(\cos\theta\)10−101
Figure 2. Both functions have domain all real numbers and range [−1, 1], and repeat every 2π. Cosine starts at its maximum; sine starts at 0 heading up.
Write it like this

“As \(\theta\) increases from \(\frac{\pi}{2}\) to \(\pi\), the point on the unit circle moves down and to the left, so \(\sin\theta\) decreases from 1 to 0 and \(\cos\theta\) decreases from 0 to \(-1\).”

3Rising, falling, peaks and zeros

Worked Example 1 Where sine rises and falls

On \([0, 2\pi]\), where is \(\sin\theta\) increasing and where is it decreasing?

  1. 1
    Follow P around the circle. From \(\theta = 0\) to \(\frac{\pi}{2}\) it climbs to the top: increasing.
  2. 2
    From \(\frac{\pi}{2}\) to \(\frac{3\pi}{2}\) it goes down over the left side to the bottom: decreasing.
  3. 3
    From \(\frac{3\pi}{2}\) to \(2\pi\) it climbs back to the starting height: increasing.
Answer: Increasing on \(\left(0, \frac{\pi}{2}\right)\) and \(\left(\frac{3\pi}{2}, 2\pi\right)\); decreasing on \(\left(\frac{\pi}{2}, \frac{3\pi}{2}\right)\).
Worked Example 2 Features of cosine

Give the zeros, maximums and minimums of \(\cos\theta\) on \([0, 2\pi]\).

  1. 1
    Cosine is the horizontal coordinate of P. It is 0 when P is on the y-axis: \(\theta = \frac{\pi}{2}, \frac{3\pi}{2}\).
  2. 2
    It is largest, 1, at the far right (\(\theta = 0, 2\pi\)) and smallest, \(-1\), at the far left (\(\theta = \pi\)).
Answer: Zeros \(\frac{\pi}{2}, \frac{3\pi}{2}\); maximum 1 at \(0\) and \(2\pi\); minimum \(-1\) at \(\pi\).
Worked Example 3 Reading inputs from an output

For which \(\theta\) in \([0, 2\pi]\) is \(\sin\theta = \frac12\)?

  1. 1
    Height \(\frac12\) on the unit circle occurs at two points, one in quadrant I and one in quadrant II.
  2. 2
    Quadrant I: \(\theta = \frac{\pi}{6}\). Quadrant II, the mirror image: \(\theta = \pi - \frac{\pi}{6} = \frac{5\pi}{6}\).
Answer: \(\theta = \frac{\pi}{6}\) and \(\frac{5\pi}{6}\)
Common Mistake 1 · Finding only one angle

Most heights are reached twice per turn. \(\sin\theta = \frac12\) at \(\frac{\pi}{6}\) and \(\frac{5\pi}{6}\) in \([0, 2\pi]\), and at infinitely many more angles if the domain is not restricted.

Common Mistake 2 · Expecting outputs larger than 1

Sine and cosine are coordinates on a circle of radius 1, so they can never be bigger than 1 or smaller than \(-1\). An answer like \(\sin\theta = 1.3\) has no solution.

4Sine and cosine together

Worked Example 4 Comparing the two graphs

On \([0, 2\pi]\), where is \(\sin\theta \gt \cos\theta\)?

  1. 1
    They are equal where P is on the line \(y = x\): \(\theta = \frac{\pi}{4}\) and \(\frac{5\pi}{4}\).
  2. 2
    Test between them: at \(\theta = 2\), \(\sin 2 \approx 0.91 \gt \cos 2 \approx -0.42\). Outside, at \(\theta = 4.5\), \(\sin 4.5 \lt \cos 4.5\).
Answer: \(\frac{\pi}{4} \lt \theta \lt \frac{5\pi}{4}\) (Figure 2).
Worked Example 5 Cosine is a shifted sine

Show that \(\cos\theta = \sin\left(\theta + \frac{\pi}{2}\right)\) at \(\theta = 0\), \(\frac{\pi}{2}\) and \(\pi\).

  1. 1
    \(\theta = 0\): \(\sin\frac{\pi}{2} = 1 = \cos 0\). \(\theta = \frac{\pi}{2}\): \(\sin\pi = 0 = \cos\frac{\pi}{2}\). \(\theta = \pi\): \(\sin\frac{3\pi}{2} = -1 = \cos\pi\).
  2. 2
    Adding \(\frac{\pi}{2}\) inside moves the sine graph \(\frac{\pi}{2}\) to the left, onto the cosine graph.
Answer: The graph of cosine is the graph of sine translated \(\frac{\pi}{2}\) units left.

Quick reference

\(\sin\theta\)\(\cos\theta\)
TracksHeight of PHorizontal position of P
Domain / rangeAll reals / \([-1, 1]\)All reals / \([-1, 1]\)
Repeats every\(2\pi\)\(2\pi\)
Maximum on \([0, 2\pi]\)1 at \(\frac{\pi}{2}\)1 at \(0\), \(2\pi\)
Minimum on \([0, 2\pi]\)\(-1\) at \(\frac{3\pi}{2}\)\(-1\) at \(\pi\)
Zeros on \([0, 2\pi]\)\(0, \pi, 2\pi\)\(\frac{\pi}{2}, \frac{3\pi}{2}\)