Free AP Precalculus Trigonometric and Polar Functions

AP Precalculus · Trigonometric and Polar Functions · free lesson

Sine and Cosine Graphs; Sinusoidal Functions

The idea, then worked examples solved step by step, then practice questions whose numbers change every time you try them.

The idea

From the unit circle to the graph

As an angle θ\theta grows, the point P=(cos⁡θ,sin⁡θ)P = (\cos\theta, \sin\theta) goes round the unit circle. Its height above the xx-axis is sin⁡θ\sin\theta. Plot that height against θ\theta and you get the graph of y=sin⁡θy = \sin\theta. Watch it being built: the dashed line carries the height of PP across to the graph.

One turn of PP draws one cycle of the graph, so sin⁡\sin is periodic with period 2π2\pi. In the same way, the horizontal position of PP, cos⁡θ\cos\theta, plotted against θ\theta gives the graph of y=cos⁡θy = \cos\theta. Both are drawn below.

Featurey=sin⁡xy = \sin xy=cos⁡xy = \cos x
period2π2\pi2π2\pi
frequency (cycles per unit of xx)12π\frac{1}{2\pi}12π\frac{1}{2\pi}
amplitude11
midliney=0y = 0y=0y = 0
range[−1,1][-1, 1][−1,1][-1, 1]
value at x=0x = 00011
zeros in [0,2π][0, 2\pi][0,π,2π][0, \pi, 2\pi][π2,3π2][\frac{\pi}{2}, \frac{3\pi}{2}]

Period, frequency, amplitude and midline

These four describe any sine-shaped graph, a sinusoid.

  • The period is the input length of one cycle; the frequency is its reciprocal, the number of cycles in one unit of input. A period of 4 seconds is a frequency of 14\frac{1}{4} cycle per second.
  • The midline is the horizontal line halfway between the greatest and least values: y=max⁡+min⁡2y = \frac{\max + \min}{2}.
  • The amplitude is the distance from the midline to a greatest value: max⁡−min⁡2\frac{\max - \min}{2}. It is half the height of the graph, not the whole height.

The sinusoid below rises to 55 and falls to 11, and its peaks are 44 units apart. So its amplitude is 5−12=2\frac{ {5} - {1} }{2} = {2}, its midline is y=5+12=3y = \frac{ {5} + {1} }{2} = {3}, its period is 44 and its frequency is 14\frac{1}{4}.

Sine is odd, cosine is even

The angle −θ-\theta turns clockwise as far as θ\theta turns counterclockwise, so its point on the unit circle is the reflection of PP in the xx-axis: the same xx, the opposite yy.

Rule.

sin⁡(−θ)=−sin⁡θ\sin(-\theta) = -\sin\theta: sine is an odd function, its graph symmetric about the origin. cos⁡(−θ)=cos⁡θ\cos(-\theta) = \cos\theta: cosine is an even function, its graph symmetric about the yy-axis.

For example, sin⁡(−π6)=−12\sin\left(-\frac{\pi}{6}\right) = {-\frac{1}{2}} and cos⁡(−π3)=12\cos\left(-\frac{\pi}{3}\right) = {\frac{1}{2}}.

Cosine is a shifted sine

The two graphs have the same shape; the cosine graph is the sine graph moved π2\frac{\pi}{2} to the left: cos⁡x=sin⁡(x+π2)\cos x = \sin\left(x + \frac{\pi}{2}\right). Move the slider to slide the blue graph of y=sin⁡(x+h)y = \sin(x + h) to the left until it lies on the red cosine graph.

The graphs first agree at h=π2h = \frac{\pi}{2}; they agree again whenever h=π2+2πnh = \frac{\pi}{2} + 2\pi n. The other way round, sin⁡x=cos⁡(x−π2)\sin x = \cos\left(x - \frac{\pi}{2}\right): sine is cosine moved π2\frac{\pi}{2} to the right.

Where the graph rises, falls and bends

On one cycle of y=sin⁡xy = \sin x, 0≤x≤2π0 \le x \le 2\pi, read the behavior from the unit circle: sin⁡x\sin x rises while PP climbs, fastest as PP crosses the xx-axis and slowest near the top and bottom.

interval(0,π2)\left(0, \frac{\pi}{2}\right)(π2,π)\left(\frac{\pi}{2}, \pi\right)(π,3π2)\left(\pi, \frac{3\pi}{2}\right)(3π2,2π)\left(\frac{3\pi}{2}, 2\pi\right)
sin⁡x\sin x isincreasingdecreasingdecreasingincreasing
its rate of change isdecreasingdecreasingincreasingincreasing
the graph isconcave downconcave downconcave upconcave up

The graph is concave down above the midline and concave up below it; it changes concavity, at a point of inflection, each time it crosses the midline. So on (0,π2)\left(0, \frac{\pi}{2}\right) sine is increasing at a decreasing rate, and on (3π2,2π)\left(\frac{3\pi}{2}, 2\pi\right) it is increasing at an increasing rate.

Warning.

The usual slips: the amplitude taken as the greatest value minus the least (that is twice the amplitude); the midline taken as y=0y = 0 for a graph that has been moved up or down; period and frequency mixed up; cosine shifted to sine the wrong way; sine called even; and "concave down" read as "decreasing".

Worked examples

Worked examples

Each example is one kind of question the AP exam asks about the graphs of sine and cosine and about sinusoids. Every number in the working is found by the engine.

Example.

1. Reading a sinusoid's graph. The graph of a sinusoidal function gg is shown. Find its amplitude, midline, period and frequency.

Read the greatest and least values, 22 and −4-4, and the distance between consecutive peaks, at x=0x = 0 and x=6x = 6:

amplitude=2−(−4)2=3midline: y=2+(−4)2=−1period=6−0=6frequency=16=16\begin{aligned} \text{amplitude} &= \frac{ {2} - ({-4}) }{2} = {3} \\ \text{midline: } y &= \frac{ {2} + ({-4}) }{2} = {-1} \\ \text{period} &= 6 - 0 = 6 \\ \text{frequency} &= \frac{1}{ {6} } = {\frac{1}{6}} \end{aligned}

The graph is 33 above and below the line y=−1y = -1, not the xx-axis; its whole height, 66, is twice the amplitude.

Example.

2. Features from a description. The depth of water at a pier, in feet, is sinusoidal in time. The greatest depth, 1111 feet, comes at t=4t = 4 hours and again at t=16t = 16 hours, with no greater depth between them; the least depth is 33 feet. Find the amplitude, the midline, the period and the frequency, and the time of the least depth between t=4t = 4 and t=16t = 16.

amplitude=11−32=4midline: y=11+32=7period=16−4=12frequency=112=112\begin{aligned} \text{amplitude} &= \frac{ {11} - {3} }{2} = {4} \\ \text{midline: } y &= \frac{ {11} + {3} }{2} = {7} \\ \text{period} &= 16 - 4 = 12 \\ \text{frequency} &= \frac{1}{ {12} } = {\frac{1}{12}} \end{aligned}

The period is 1212 hours and the frequency 112\frac{1}{12} cycle per hour. A least value comes halfway between two greatest values, at t=4+122=10t = {4} + \frac{ {12} }{2} = {10} hours.

Example.

3. Odd and even. Which of these statements are true for every xx? I. sin⁡(−x)=sin⁡x\sin(-x) = \sin x. II. cos⁡(−x)=cos⁡x\cos(-x) = \cos x. III. sin⁡(−x)=−sin⁡x\sin(-x) = -\sin x.

Test with one value, x=π3x = \frac{\pi}{3}, then explain with the unit circle:

sin⁡(−π3)=−32,sin⁡π3=32cos⁡(−π3)=12,cos⁡π3=12\begin{aligned} \sin\left(-\frac{\pi}{3}\right) &= {-\frac{\sqrt{3}}{2}}, \quad \sin\frac{\pi}{3} = {\frac{\sqrt{3}}{2}} \\ \cos\left(-\frac{\pi}{3}\right) &= {\frac{1}{2}}, \quad \cos\frac{\pi}{3} = {\frac{1}{2}} \end{aligned}

One value can only disprove. Statement I fails at x=π3x = \frac{\pi}{3}. For II and III, the point of −x-x on the unit circle is the reflection of the point of xx in the xx-axis: same xx-coordinate (cosine), opposite yy-coordinate (sine), for every xx.

Result.

II and III are true: cosine is even and sine is odd.

Example.

4. Cosine as a shifted sine. Find the number hh with 0<h<2π0 < h < 2\pi for which sin⁡(x+h)=cos⁡x\sin(x + h) = \cos x for every xx, and check it at two values of xx.

The cosine graph reaches its peak at x=0x = 0; the sine graph reaches its peak at x=π2x = \frac{\pi}{2}, which is π2\frac{\pi}{2} later. So the sine graph must be moved π2\frac{\pi}{2} to the left: h=π2h = \frac{\pi}{2}.

sin⁡(π6+π2)=sin⁡2π3=32,cos⁡π6=32sin⁡(π+π2)=sin⁡3π2=−1,cos⁡π=−1\begin{aligned} \sin\left(\frac{\pi}{6} + \frac{\pi}{2}\right) &= \sin\frac{2\pi}{3} = {\frac{\sqrt{3}}{2}}, \quad \cos\frac{\pi}{6} = {\frac{\sqrt{3}}{2}} \\ \sin\left(\pi + \frac{\pi}{2}\right) &= \sin\frac{3\pi}{2} = {-1}, \quad \cos\pi = {-1} \end{aligned}

Moving to the right instead, sin⁡(x−π2)\sin\left(x - \frac{\pi}{2}\right), gives −cos⁡x-\cos x, the cosine graph upside down.

Example.

5. Rising, falling and bending: the cosine graph. On 0<x<2π0 < x < 2\pi, where is y=cos⁡xy = \cos x decreasing with its graph concave down? Where is it increasing at an increasing rate?

Follow PP round the unit circle: cos⁡x\cos x is its xx-coordinate. From x=0x = 0 to x=πx = \pi, PP moves left, so cosine decreases; from π\pi to 2π2\pi it moves right, so cosine increases. The graph is concave down above its midline y=0y = 0, on (0,π2)\left(0, \frac{\pi}{2}\right) and (3π2,2π)\left(\frac{3\pi}{2}, 2\pi\right), and concave up below it.

The average rates of change over [0,π4]\left[0, \frac{\pi}{4}\right] and [π4,π2]\left[\frac{\pi}{4}, \frac{\pi}{2}\right] are about −0.373-0.373 and −0.900-0.900: negative and decreasing, which confirms decreasing and concave down on (0,π2)\left(0, \frac{\pi}{2}\right).

Result.

cos⁡x\cos x is decreasing and concave down on (0,π2)\left(0, \frac{\pi}{2}\right), and increasing at an increasing rate (concave up) on (π,3π2)\left(\pi, \frac{3\pi}{2}\right).

Practice

Answer AP-style questions on sine and cosine graphs; sinusoidal functions. Each answer is checked, with the full solution, and every try brings new numbers. Practice needs a free account: it keeps your progress.

Practise sine and cosine graphs; sinusoidal functions with new numbers