AP Precalculus · Topic 3.4 · Reading guide, about 4 min

Graphing sine and cosine

Unwrap the unit circle into the graphs of sine and cosine and read zeros, extrema, intervals, concavity and symmetry.

In one minute

Walk once around the unit circle and record the height of your point, and you have the graph of sine. Record the horizontal position instead and you have cosine. The two graphs are the first true periodic functions you can write down, and they are the template for every wave you will model.

This topic is about reading these graphs: where they are zero, where they peak, where they rise, and how they bend.

Key terms

Sine graph
The graph of y=sin⁡θy=\sin\theta with the angle on the horizontal axis. It starts at the origin and rises first.
Cosine graph
The graph of y=cos⁡θy=\cos\theta. It starts at its maximum, (0,1)(0,1), and falls first.
Period 2π2\pi
Both graphs repeat every 2π2\pi radians, one trip around the circle: sin⁡(θ+2π)=sin⁡θ\sin(\theta+2\pi)=\sin\theta.
Amplitude 1
The maximum is 1 and the minimum is −1-1, so the amplitude is 1−(−1)2=1\frac{1-(-1)}{2}=1.
Midline y=0y=0
The horizontal line halfway between the maximum and the minimum, the θ\theta-axis for these basic graphs.
Even function
A function with f(−x)=f(x)f(-x)=f(x), symmetric across the yy-axis. Cosine is even.
Odd function
A function with f(−x)=−f(x)f(-x)=-f(x), symmetric about the origin. Sine is odd.
Concavity
Where a graph bends upward (concave up) or downward (concave down). Sine and cosine switch concavity at the midline crossings.

Unwrapping the circle

Take a point moving counterclockwise around the unit circle starting at (1,0)(1,0). Its yy-coordinate is sin⁡θ\sin\theta. At θ=0\theta=0 it is 0, at π2\frac{\pi}{2} it reaches its highest value 1, at π\pi it is back to 0, at 3π2\frac{3\pi}{2} it reaches the lowest value −1-1, and at 2π2\pi it returns to 0. Plotting these heights against the angle gives one cycle of sine. The xx-coordinate follows the same story shifted: 1, 0, −1-1, 0, 1 gives cosine.

Going past 2π2\pi just repeats, and negative angles run the circle clockwise, so both graphs extend left and right forever. Their domain is all real numbers and their range is [−1,1][-1,1].

Five key points of one cycle
Angle θ\theta00π2\frac{\pi}{2}π\pi3π2\frac{3\pi}{2}2π2\pi
sin⁡θ\sin\theta001100−1-100
cos⁡θ\cos\theta1100−1-10011

Zeros, extrema and intervals

Sine is zero at every multiple of π\pi: θ=kπ\theta=k\pi. It has maxima of 1 at θ=π2+2kπ\theta=\frac{\pi}{2}+2k\pi and minima of −1-1 at θ=3π2+2kπ\theta=\frac{3\pi}{2}+2k\pi. Cosine is zero at θ=π2+kπ\theta=\frac{\pi}{2}+k\pi, has maxima at θ=2kπ\theta=2k\pi, and has minima at θ=π+2kπ\theta=\pi+2k\pi. Here kk is any integer.

On the interval from 0 to 2π2\pi, sine is increasing on (0,π2)\left(0,\frac{\pi}{2}\right) and (3π2,2π)\left(\frac{3\pi}{2},2\pi\right) and decreasing on (π2,3π2)\left(\frac{\pi}{2},\frac{3\pi}{2}\right). Cosine is decreasing on (0,π)(0,\pi) and increasing on (π,2π)(\pi,2\pi).

For concavity, sine is concave down where it is positive, on (0,π)(0,\pi), and concave up where it is negative, on (π,2π)(\pi,2\pi). Cosine is concave down on (0,π2)\left(0,\frac{\pi}{2}\right) and (3π2,2π)\left(\frac{3\pi}{2},2\pi\right), and concave up on (π2,3π2)\left(\frac{\pi}{2},\frac{3\pi}{2}\right). A simple rule: for both graphs, the curve bends back toward the midline, so it is concave down above the midline and concave up below.

Even, odd and the shift relationship

Reflecting a point on the circle across the xx-axis changes the angle from θ\theta to −θ-\theta. The xx-coordinate stays and the yy-coordinate flips. So cos⁡(−θ)=cos⁡θ\cos(-\theta)=\cos\theta and sin⁡(−θ)=−sin⁡θ\sin(-\theta)=-\sin\theta. The cosine graph is mirror symmetric over the vertical axis, and the sine graph looks the same after a half-turn about the origin.

The two graphs have the same shape. Slide the cosine graph right by π2\frac{\pi}{2} and you get sine, so sin⁡θ=cos⁡(θ−π2)\sin\theta=\cos\left(\theta-\frac{\pi}{2}\right).

Worked example. Evaluate sin⁡(−π3)\sin\left(-\frac{\pi}{3}\right) and cos⁡(−π3)\cos\left(-\frac{\pi}{3}\right), then solve sin⁡θ=12\sin\theta=\frac{1}{2} on [0,2π][0,2\pi]. Because sine is odd, sin⁡(−π3)=−sin⁡π3=−32\sin\left(-\frac{\pi}{3}\right)=-\sin\frac{\pi}{3}=-\frac{\sqrt{3}}{2}. Because cosine is even, cos⁡(−π3)=cos⁡π3=12\cos\left(-\frac{\pi}{3}\right)=\cos\frac{\pi}{3}=\frac{1}{2}. For the equation, the height 12\frac{1}{2} occurs where the reference angle is π6\frac{\pi}{6} and sine is positive, in quadrants I and II. The solutions are θ=π6\theta=\frac{\pi}{6} and θ=π−π6=5π6\theta=\pi-\frac{\pi}{6}=\frac{5\pi}{6}. Check on the graph: the curve crosses the line y=12y=\frac{1}{2} twice in one cycle, once rising and once falling, and the two crossings are symmetric about θ=π2\theta=\frac{\pi}{2}, where π6\frac{\pi}{6} and 5π6\frac{5\pi}{6} sit π3\frac{\pi}{3} on either side.

How it connects

  • Back to 3.1: the sine and cosine graphs are the cleanest example of a periodic function with period, midline and amplitude.
  • Back to 3.3: the exact values you computed at multiples of π6\frac{\pi}{6}, π4\frac{\pi}{4} and π3\frac{\pi}{3} are the points that make the graph precise.
  • Forward to 3.5: stretching and shifting these graphs gives sinusoidal functions with any period, amplitude and midline.
  • Forward to 3.10: solving trig equations means finding where a horizontal line meets these graphs.

Common mistakes

  • Starting both graphs at the origin. Sine starts at 0, but cosine starts at its maximum 1.
  • Thinking sine is always increasing after 0. It turns around at π2\frac{\pi}{2} and decreases until 3π2\frac{3\pi}{2}.
  • Mixing up even and odd. Cosine is even and sine is odd, so sin⁡(−x)=−sin⁡x\sin(-x)=-\sin x but cos⁡(−x)=cos⁡x\cos(-x)=\cos x.
  • **Giving only one solution to sin⁡θ=c\sin\theta=c.** Within one cycle such as [0,2π)[0,2\pi), if ∣c∣<1|c|<1 there are two solutions, not one.

How it shows up on the exam

  • Matching an equation to a graph, or naming a zero, maximum or minimum from the graph of sine or cosine.
  • Stating intervals where the function is increasing, decreasing, concave up or concave down, often over a window of input values.
  • Using symmetry or periodicity to find a value, for example relating the output at −θ-\theta or at θ+2π\theta+2\pi to the output at θ\theta.

Check yourself

  1. At which angles in [0,2π][0,2\pi] is cosine equal to −1-1, and what is the sign of its concavity there?
  2. On which interval is sine both increasing and concave up?
  3. If sin⁡θ=0.3\sin\theta=0.3, what is sin⁡(−θ)\sin(-\theta) and why?
  4. How does the graph of cosine become the graph of sine?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.