So far, we have found sine and cosine one angle at a time on the unit circle. Now we want to see what their graphs look like when the angle x keeps growing.
1
Sine and cosine from the unit circle
Sine and cosine from the unit circle
As the angle x sweeps from 0 to 4π, the dot's height traces out y=sin(x), starting in the middle at 0. Its horizontal coordinate traces out y=cos(x), starting at its peak of 1. Both waves are rounded at the top and bottom, because that's where the dot's height or horizontal position changes slowly.
As the angle grows around the circle, the dot's height draws the sine wave and its left-right position draws the cosine wave.
Putting a negative sign in front flips the whole wave upside down. That gives four starting shapes at x=0, and each one tells you right away which wave you are looking at.
2
Amplitude and midline
A wave from the unit circle is always centered at height 0 and stays between −1 and 1. Changing the circle's radius stretches how far the wave reaches above and below its middle, and lifting the circle moves that horizontal center line, called the midline, up or down.
Amplitude and midline
For a dock whose water depth is modeled by d(t)=4cos(6πt−3π)+10, the numbers outside the cosine give the amplitude and midline directly, without plugging anything into the angle inside:
d(t)=amplitude4cos(6πt−3π)+midline10
Maximum depthMinimum depth=10+4=14=10−4=6
Because amplitude is the circle's radius, it is always positive: for −3sin(x), the amplitude is 3, not −3. It's the distance from the midline up to a peak, which is half the full distance from bottom to top.
3
Period and counting waves
The numbers outside sine or cosine set the heights. Multiplying x inside the parentheses changes how fast the dot spins, which changes the period: the horizontal length of one full wave.
Period and counting waves
In y=sin(bx),b is the number of laps the dot makes between 0 and 2π, so one full wave squeezes into a period of b2π. The bigger b is, the shorter each wave.
The number in front of x counts how many waves fit in the same window, so making it bigger squeezes each wave narrower instead of stretching it wider.
Instead of plugging into b2π and dividing fractions, find the period by asking what value of the variable makes the inside equal one full lap, 2π (or 360∘). For cos(6πt):
6πt=2π⟹t=12
Going backwards works the same way: if a graph completes one full wave every 8 seconds, put 82π in front of t. Then at t=8 the 8s cancel and the inside is exactly 2π:
82πt=4πt
Counting waves also tells us how many solutions an equation like sin(3x)=0.4 has on 0≤x≤2π. Because sin(3x) fits 3 full waves between 0 and 2π, and each wave crosses height 0.4 twice (once going up and once coming down), there are 3×2=6 solutions.
4
Phase shifts
Adding or subtracting a number inside the parentheses makes the wave start earlier or later, which slides it left or right. This slide is called a phase shift.
Phase shifts
In cos(x−2π), subtracting 2π moves cosine's peak from x=0 to x=2π(90∘), which puts it exactly on top of sin(x). When a multiplier and a shift appear together, as in y=sin(2x−π), the shift is not π. Instead, set the entire inside equal to 0 and to 2π to find where one full wave starts and ends:
Start of wave:2x−π=0End of wave:2x−π=2π⟹x=2π⟹x=23π
One full wave runs from 2π to 23π, so the wave is shifted right by 2π and has a period of 23π−2π=π.
5
Tangent graphs
Sine and cosine stay between −1 and 1 because a dot on the circle can only go so high or so far across. Tangent is cos(x)sin(x), which is rise over run, so it's the slope of the line through (0,0) and the spinning dot.
Tangent graphs
As x sweeps from −2π to 23π, the slope of that line traces out y=tan(x). Whenever the line turns vertical, at x=−2π,2π, and 23π, the slope shoots off toward infinity, so the graph has vertical asymptotes there. Between them, the exact same pattern of slopes repeats every half-circle.
Tangent is the slope of the line through the center and the dot, so it shoots off toward infinity as the line turns vertical and repeats every half-turn.
A point and the point directly across the circle from it lie on the same line through the center, so they give the same slope. That's why tangent finishes a full cycle in π(180∘) instead of 2π. To find the period of tan(4x), set the inside equal to π:
4x=π⟹x=4π
And because tangent keeps climbing with no peak, the amplitude of y=5tan(x) is undefined, or "none." Multiplying by 5 makes the curve steeper, but it still has no highest point.
6
Writing an equation from a graph
Now let's go from a graph back to its equation: find an equation for the periodic wave with consecutive minimums at (0,−2) and (6,−2) and a peak halfway between them at (3,6).
Writing an equation from a graph
y=?
Text solution
Average the peak and minimum for the midlineThe midline is halfway between the peak at 6 and the minimum at −2.
Midline=26+(−2)=2
Measure from the midline to the peak for the amplitudeFrom the midline at 2, the wave reaches 4 units up to 6 and 4 units down to −2.
Amplitude=6−2=4
Use the period to build the inside multiplierOne full cycle, minimum to minimum, runs from x=0 to x=6, so the period is 6. Multiplying x by 62π makes the inside reach 2π when x=6.
62πx=3πx
Match the shape at x=0, or shift cosine to the peakThe wave starts at its minimum at x=0, which is the shape of −cos. Or use positive cosine, which starts at a peak, and put (x−3) in its own parentheses after the 3π, so the inside equals 0 at the peak x=3.
yory=−4cos(3πx)+2=4cos(3π(x−3))+2
On a multiple-choice test, you can also check or eliminate equations quickly by plugging in easy points from the graph, like (0,−2) and (3,6), and seeing which choices give the right y-values.
7
Modeling with trig graphs
Word problems describe the same waves in words instead of a graph. At a beach, high tide reaches 14 feet at t=3 hours after midnight, and drops to the very next low tide of 6 feet at t=7 hours. Model the water height h(t), and find the height at t=5.
Modeling with trig graphs
Text solution
Double the high-to-low time for the full periodDropping from high tide at t=3 to low tide at t=7 is only half a lap around the circle, so a full cycle back to high tide takes twice as long.
Half-periodPeriod=7−3=4=2⋅4=8
Use high and low tide for the midline and amplitudeHalfway between 14 feet and 6 feet gives the midline, and the distance from that midline up to the 14-foot peak gives the amplitude.
MidlineAmplitude=214+6=10=14−10=4
Write a cosine model shifted so its peak is at t=3A period of 8 gives an inside multiplier of 82π=4π, and shifting positive cosine right by 3 puts the peak at t=3.
h(t)=4cos(4π(t−3))+10
Evaluate at t=5Because t=5 is halfway in time between the peak at t=3 and the minimum at t=7, the tide is passing right through the midline at 10 feet, and the equation confirms it.
h(5)=4cos(4π(5−3))+10=4cos(2π)+10=10 ft
Key concepts
Every sine or cosine equation has two kinds of numbers: the ones outside set the heights, and the ones inside set the timing:
Outside the trig function, the constant at the end is the midline 2max+min, and the number in front, made positive, is the amplitude 2max−min (never negative, even on −4cos(…)). When a problem only asks for a maximum or minimum, as with d(t)=4cos(6πt−3π)+10, skip the inside angle completely: 10+4=14 and 10−4=6.
Inside the trig function, angle 0 puts cos at its peak (−cos at the bottom) and sin in the middle going up (−sin going down). One full sine or cosine wave takes a 2π change inside. So cos(6πt) has period 12, and a known period of 8 gives the multiplier 82πt=4πt (remember that peak to minimum is only half a period). When a multiplier and a shift appear together, as in sin(2x−π), setting 2x−π=0 and 2x−π=2π finds the start 2π and the end 23π.
For counting solutions to sin(3x)=0.4 on 0≤x≤2π, skip inverse trig and multiply 3 waves by 2 crossings per wave to get 6. For tangent, the slopes repeat every half-circle and have no maximum, so for tan(4x), set 4x=π to get period 4π, and 5tan(x) has amplitude "none." And when matching a given graph to multiple-choice equations, plugging in an easy point like (0,−2) or (3,6) is often faster than building the equation from scratch.
8
Practice
1
What is the period of the function f(x)=−5cos(4πx)+1?
Ignore the −5 and +1 outside. What value of x makes the inside angle hit one full lap around the circle?
Answer: B. 8
One full cosine wave finishes when the inside angle reaches 2π (setting it equal to π instead gives the half-period 4 in choice A, and treating 4π as 41 gives 8π in choice D):
4πx=2π⟹x=8
In Desmos (in radians), graph `y=-5cos((pi/4)x)+1` and click two minimums in a row, at (0,−4) and (8,−4): they're 8 apart. Solving 4πx=2π in your head is much faster on the test: 8.
2
The temperature, in degrees Fahrenheit, inside a greenhouse t hours after midnight is modeled by T(t)=−7cos(12πt−4π)+68. According to this model, what is the maximum temperature, in degrees Fahrenheit, inside the greenhouse?
You don't need to solve for t. What are the midline and the amplitude of this wave?
Answer: C. 75
Ignore the angle inside cosine: the midline is 68, and the amplitude is 7, not −7. The minus sign in front doesn't lower the maximum, because when cos reaches −1,−7(−1)=+7. Subtracting 7 because of the minus sign gives 61, the minimum temperature, which is choice A. Typing the equation into Desmos and zooming out to find the top of the wave takes far longer than adding the midline and amplitude:
68+7=75
3
Which of the following gives the period and the amplitude of y=4tan(3x)?
How much of a circle does tangent take to repeat its slopes, and does a tangent graph have a maximum height?
Answer: A. Period: 3π; amplitude: none
Tangent repeats every half-circle (π), so 3x=π gives a period of 3π (using 2π like sine or cosine gives 32π in choices C and D). Because tangent climbs toward infinity with no peak, the 4 in front only makes it steeper. It doesn't give an amplitude of 4 (choice B), so the amplitude is none: Period: 3π; amplitude: none.
4
How many solutions does the equation 4cos(5x)=3 have in the interval 0≤x≤2π?
How many full waves of cos(5x) fit between 0 and 2π, and how many times does one wave cross height 43?
Answer: D. 10
Dividing by 4 gives cos(5x)=43. Since 43 is between −1 and 1, each full cosine wave crosses height 43 twice: once on the way down from 1 to −1 and once on the way back up (counting only one crossing per wave gives 5 in choice C). Because cos(5x) fits 5 full waves into 0≤x≤2π, there are 5×2=10 solutions.
In Desmos (in radians), graph `y=4cos(5x){0<=x<=2pi}` and `y=3` and count the intersection points, making sure the entire window from 0 to 2π≈6.28 is visible on screen so no crossings are cut off. Counting 5×2 by hand is faster on the test: 10.
5
In the standard (x,y) coordinate plane, the graph of y=sin(2x+3π) is obtained by shifting the graph of y=sin(2x) horizontally by:
y=sin(2x) starts its cycle at x=0. What value of x makes the entire inside, 2x+3π, equal to 0?
Answer: A. 6π units to the left
The wave y=sin(2x) starts its cycle at x=0. Setting the entire inside of y=sin(2x+3π) equal to 0 finds its new start (reading 3π straight off the constant without dividing by 2 gives choice C, and getting the direction backwards gives 6π to the right, choice B):
2x+3π=0⟹x=−6π
Moving the start from 0 to −6π is a shift of 6π units to the left.
In Desmos (in radians), graph `y=sin(2x+pi/3)` and `y=sin(2(x+pi/6))`: the two curves lie exactly on top of each other, so they're the same function. Or graph it with `y=sin(2x)` and compare where each one crosses the x-axis going up: the crossing moves left from (0,0) to −6π≈−0.52, not to −3π≈−1.05. Setting the inside to 0 by hand is faster on the test: 6π units to the left.
6
In the standard (x,y) coordinate plane, a periodic wave has consecutive minimums at (0,−3) and (10,−3), with its maximum between them at (5,9). Which of the following equations represents this wave?
Positive cosine peaks when its inside angle is 0. Or plug (0,−3) into the choices to see which ones give −3.
Answer: C. y=6cos(5π(x−5))+3
The midline is 29+(−3)=3, and the amplitude from 3 up to 9 is 6 (using the full bottom-to-top height 9−(−3)=12 gives choice D). Consecutive minimums at x=0 and x=10 give a period of 10 (using the minimum-to-peak distance 5 gives 52π in choice B), so the multiplier is 102π=5π. Shifting positive cosine to the peak at x=5 gives (x−5) (leaving out the shift, as in choice A, puts a peak of 9 at x=0).
Plugging in (0,−3) is even faster: only choice C gives −3, since 6cos(5π(0−5))+3=6cos(−π)+3=−3. That's also much faster on the test than typing all four equations into Desmos: y=6cos(5π(x−5))+3.
7
The water depth at a pier varies periodically with the tide. High tide reaches a maximum depth of 18 feet at 2:00 a.m. (t=2), and the very next low tide reaches a minimum depth of 6 feet at 8:00 a.m. (t=8). Modeling the depth with a cosine function of t, what is the water depth, in feet, at 4:00 a.m. (t=4)?
From high tide at t=2 to low tide at t=8 is half a cycle. What is the full period of the cosine model?
Answer: D. 15
Going from high tide at t=2 to low tide at t=8 takes 6 hours, which is only half a period, so the full period is 12 hours and the inside multiplier is 122π=6π (using 6 as the full period gives multiplier 3π and 6cos(32π)+12=9 in choice A). With midline 218+6=12, amplitude 18−12=6, and the peak at t=2, the depth model is d(t)=6cos(6π(t−2))+12. Plug in t=4. (If you assume the depth drops in a straight line, 2 feet per hour, you get 14, choice C. But the wave is rounded near its peak, so it drops slowly at first.)
Since you have to build the model either way, working out cos(3π)=21 by hand is faster on the test than typing into Desmos. If you want a check, enter `f(t)=6cos((pi/6)(t-2))+12` (in radians), then type `f(2)` and `f(8)` to confirm 18 and 6 before reading off `f(4)`: 15.