Educerie

Educerie · AP · Precalculus

AP Precalculus 3.4

Sine and Cosine Function Graphs

What do the sine and cosine functions look like as graphs, and how does each graph come from the unit circle?

What you will learn

  • Understand sine and cosine graphs as records of one coordinate of a point moving round the unit circle
  • Know the domain, range, period and quarter-turn values of both
  • Know where each is increasing, decreasing and bending

You must be able to

  1. Build the sine and cosine graphs from the unit circle
  2. State where each function increases, decreases and is concave up or down
  3. Match a table, graph or description to sine, cosine or a negative of one
  4. Count the solutions of sin θ or cos θ equal to a value over an interval
  5. Explain the behaviour using the motion of the point on the unit circle
  6. Keep sign (positive or negative) separate from direction (increasing or decreasing)

In the exam. Section I multiple choice. You read a sine or cosine graph for a value, a zero, an interval where it increases or decreases, or you match a table of values to the right function. Section II Question 3 draws on it too, because the periodic context there is a sinusoid.

1The sine function

The sine function is f(θ)=sin⁡θf(\theta) = \sin\theta. For any angle θ\theta in standard position, it gives the yy-coordinate of the point PP where the terminal ray meets the unit circle. The domain is all real numbers, because any rotation is allowed, forwards or backwards, by any amount.

Watch PP as the angle grows from 0:

  • At θ=0\theta = 0, P=(1,0)P = (1, 0) and the height is 0.
  • As θ\theta goes to π2\frac{\pi}{2}, PP rises to the top, (0,1)(0, 1). The height reaches its maximum 1.
  • From π2\frac{\pi}{2} to π\pi, PP comes down to (−1,0)(-1, 0). The height falls back to 0.
  • From π\pi to 3π2\frac{3\pi}{2}, PP goes below the xx-axis to (0,−1)(0, -1). The height reaches its minimum −1-1.
  • From 3π2\frac{3\pi}{2} to 2π2\pi, PP comes back to (1,0)(1, 0).

As the input increases, the output oscillates between −1-1 and 1. It takes every value in between, because the height of a point moving smoothly round a circle changes continuously.

2The cosine function

The cosine function is g(θ)=cos⁡θg(\theta) = \cos\theta. It gives the xx-coordinate of PP, the horizontal displacement from the yy-axis. Its domain is all real numbers too.

Follow PP again, now watching how far left or right it is:

  • At θ=0\theta = 0, P=(1,0)P = (1, 0) and the cosine is 1, the maximum.
  • At π2\frac{\pi}{2}, P=(0,1)P = (0, 1) and the cosine is 0.
  • At π\pi, P=(−1,0)P = (-1, 0) and the cosine is −1-1, the minimum.
  • At 3π2\frac{3\pi}{2}, the cosine is 0 again, and at 2π2\pi it is back to 1.

3The two graphs

Graphs of the sine and cosine functions over one period 0 π/2 π 3π/2 2π −1 0 1 y θ sin θ cos θ
Figure 1 · The sine graph (teal) and the cosine graph (amber) for 0 ≤ θ ≤ 2π. The cosine graph is the sine graph shifted left by π ÷ 2.

The key values at the quarter-turns are worth knowing cold.

θ\theta00π2\frac{\pi}{2}π\pi3π2\frac{3\pi}{2}2π2\pi
sin⁡θ\sin\theta010−1-10
cos⁡θ\cos\theta10−1-101

In Figure 1, find the teal sine curve. It starts at the origin, peaks at π2\frac{\pi}{2}, crosses zero at π\pi, bottoms out at 3π2\frac{3\pi}{2} and returns to 0 at 2π2\pi. The amber cosine curve starts at its maximum, 1.

Both graphs have a range of [−1,1][-1, 1] and a period of 2π2\pi (Topic 3.5 gives the formal facts).

4Behaviour of each graph in one period

Sine on [0,2π][0, 2\pi]:

  • Increasing on (0,π2)\left(0, \frac{\pi}{2}\right) and on (3π2,2π)\left(\frac{3\pi}{2}, 2\pi\right).
  • Decreasing on (π2,3π2)\left(\frac{\pi}{2}, \frac{3\pi}{2}\right).
  • Concave down on (0,π)(0, \pi), where the sine is positive. Concave up on (π,2π)(\pi, 2\pi), where it is negative.

Cosine on [0,2π][0, 2\pi]:

  • Decreasing on (0,π)(0, \pi) and increasing on (π,2π)(\pi, 2\pi).
  • Concave down where the cosine is positive: on (0,π2)\left(0, \frac{\pi}{2}\right) and (3π2,2π)\left(\frac{3\pi}{2}, 2\pi\right). Concave up on (π2,3π2)\left(\frac{\pi}{2}, \frac{3\pi}{2}\right).

A good habit is to tie the behaviour back to the circle. Cosine is the xx-coordinate. From θ=0\theta = 0 to θ=π\theta = \pi, PP moves from the right edge to the left edge, so the cosine decreases. From π\pi to 2π2\pi it moves back, so the cosine increases.

The pattern in one period repeats in every period (Topic 3.1). Sine is increasing on (2πk−π2, 2πk+π2)\left(2\pi k - \frac{\pi}{2},\, 2\pi k + \frac{\pi}{2}\right) for every whole number kk.

5Counting solutions from the graph

To count how many angles in an interval have a given sine or cosine value, draw a horizontal line at that value and count where it meets the graph.

Worked example 1. For how many values of θ\theta in [0,4π][0, 4\pi] does cos⁡θ=12\cos\theta = \frac{1}{2}?

  • Over one period [0,2π][0, 2\pi], the horizontal line y=12y = \frac{1}{2} meets the cosine graph twice: once while the graph falls from 1 to −1-1, and once while it rises back.
  • [0,4π][0, 4\pi] holds two periods, so 2×2=42 \times 2 = 4 solutions.

Check by values: cos⁡θ=12\cos\theta = \frac{1}{2} at θ=π3\theta = \frac{\pi}{3} and 5π3\frac{5\pi}{3}, then at 7π3\frac{7\pi}{3} and 11π3\frac{11\pi}{3}. That is four, all below 4π≈12.574\pi \approx 12.57.

A value of exactly 1 or −1-1 is met once per period, at the top or the bottom. A value outside [−1,1][-1, 1] is never met.

6Matching a table to a function

Worked example 2 (invented). A table gives values of a function hh.

θ\theta0π2\frac{\pi}{2}π\pi3π2\frac{3\pi}{2}2π2\pi
h(θ)h(\theta)−1-1010−1-1

Which of sin⁡θ\sin\theta, cos⁡θ\cos\theta, −sin⁡θ-\sin\theta, −cos⁡θ-\cos\theta could be hh?

  • h(0)=−1h(0) = -1. The sine is 0 at θ=0\theta = 0, so it is not ±sin⁡θ\pm\sin\theta. The cosine is 1 at 0, so −cos⁡θ-\cos\theta gives −1-1.
  • Check the rest: −cos⁡π2=0-\cos\frac{\pi}{2} = 0, −cos⁡π=1-\cos\pi = 1, −cos⁡3π2=0-\cos\frac{3\pi}{2} = 0, −cos⁡2π=−1-\cos 2\pi = -1. All match.
  • So h(θ)=−cos⁡θh(\theta) = -\cos\theta.

7Notation

  • Write the input: sin⁡θ\sin\theta, not "sin". Brackets are optional for a simple angle but needed for a sum: sin⁡(θ+1)\sin(\theta + 1) means the sine of the angle θ+1\theta + 1.
  • The inputs are angles in radians. Graphs in this course are drawn in radians, and a calculator is set to radian mode.
  • The curve is a graph of values against an angle. It is not the path of the point PP. PP goes round a circle, and the graph is a record of one coordinate as it goes.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.