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 θ grows, the point P=(cosθ,sinθ) goes round the unit circle. Its height above the x-axis is sinθ. Plot that height against θ and you get the graph of y=sinθ. Watch it being built: the dashed line carries the height of P across to the graph.
One turn of P draws one cycle of the graph, so sin is periodic with period 2π. In the same way, the horizontal position of P, cosθ, plotted against θ gives the graph of y=cosθ. Both are drawn below.
Feature
y=sinx
y=cosx
period
2π
2π
frequency (cycles per unit of x)
2π1
2π1
amplitude
1
1
midline
y=0
y=0
range
[−1,1]
[−1,1]
value at x=0
0
1
zeros in [0,2π]
[0,π,2π]
[2π,23π]
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 41 cycle per second.
The midline is the horizontal line halfway between the greatest and least values: y=2max+min.
The amplitude is the distance from the midline to a greatest value: 2max−min. It is half the height of the graph, not the whole height.
The sinusoid below rises to 5 and falls to 1, and its peaks are 4 units apart. So its amplitude is 25−1=2, its midline is y=25+1=3, its period is 4 and its frequency is 41.
Sine is odd, cosine is even
The angle −θ turns clockwise as far as θ turns counterclockwise, so its point on the unit circle is the reflection of P in the x-axis: the same x, the opposite y.
Rule.
sin(−θ)=−sinθ: sine is an odd function, its graph symmetric about the origin. cos(−θ)=cosθ: cosine is an even function, its graph symmetric about the y-axis.
For example, sin(−6π)=−21 and cos(−3π)=21.
Cosine is a shifted sine
The two graphs have the same shape; the cosine graph is the sine graph moved 2π to the left: cosx=sin(x+2π). Move the slider to slide the blue graph of y=sin(x+h) to the left until it lies on the red cosine graph.
The graphs first agree at h=2π; they agree again whenever h=2π+2πn. The other way round, sinx=cos(x−2π): sine is cosine moved 2π to the right.
Where the graph rises, falls and bends
On one cycle of y=sinx, 0≤x≤2π, read the behavior from the unit circle: sinx rises while P climbs, fastest as P crosses the x-axis and slowest near the top and bottom.
interval
(0,2π)
(2π,π)
(π,23π)
(23π,2π)
sinx is
increasing
decreasing
decreasing
increasing
its rate of change is
decreasing
decreasing
increasing
increasing
the graph is
concave down
concave down
concave up
concave 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π) sine is increasing at a decreasing rate, and on (23π,2π) 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=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 g is shown. Find its amplitude, midline, period and frequency.
Read the greatest and least values, 2 and −4, and the distance between consecutive peaks, at x=0 and x=6:
The graph is 3 above and below the line y=−1, not the x-axis; its whole height, 6, 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, 11 feet, comes at t=4 hours and again at t=16 hours, with no greater depth between them; the least depth is 3 feet. Find the amplitude, the midline, the period and the frequency, and the time of the least depth between t=4 and t=16.
One value can only disprove. Statement I fails at x=3π. For II and III, the point of −x on the unit circle is the reflection of the point of x in the x-axis: same x-coordinate (cosine), opposite y-coordinate (sine), for every x.
Result.
II and III are true: cosine is even and sine is odd.
Example.
4. Cosine as a shifted sine. Find the number h with 0<h<2π for which sin(x+h)=cosx for every x, and check it at two values of x.
The cosine graph reaches its peak at x=0; the sine graph reaches its peak at x=2π, which is 2π later. So the sine graph must be moved 2π to the left: h=2π.
Moving to the right instead, sin(x−2π), gives −cosx, the cosine graph upside down.
Example.
5. Rising, falling and bending: the cosine graph. On 0<x<2π, where is y=cosx decreasing with its graph concave down? Where is it increasing at an increasing rate?
Follow P round the unit circle: cosx is its x-coordinate. From x=0 to x=π, P moves left, so cosine decreases; from π to 2π it moves right, so cosine increases. The graph is concave down above its midline y=0, on (0,2π) and (23π,2π), and concave up below it.
The average rates of change over [0,4π] and [4π,2π] are about −0.373 and −0.900: negative and decreasing, which confirms decreasing and concave down on (0,2π).
Result.
cosx is decreasing and concave down on (0,2π), and increasing at an increasing rate (concave up) on (π,23π).
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.