We want to see how walking around a circle turns into the wave graphs of sin(x) and cos(x), and how to sketch any wave or write its equation from a few key points.
1
The Graphs of Sine and Cosine
As an angle x grows from 0 to 2π,sin(x) tracks the vertical height of a point walking counter-clockwise around a circle of radius 1.
The Graph of Sine
While sine tracks vertical height on the circle, cos(x) tracks how far left or right the point is from the center across the same four quarters of the lap.
The Graph of Cosine and the Four-Step Pattern
Because every lap around the circle has four quarters, every full wave breaks into four equal steps across five key points:
Around the unit circle, the point's vertical height and horizontal position trace out the exact same smooth wave, steepest where it crosses the middle and rounded at the peaks and valleys, with cosine one quarter-lap ahead of sine.
As a point walks around the circle, its height traces sine and its left-to-right position traces cosine: the exact same wave, one quarter-lap ahead.
2
Midline, Amplitude, and Vertical Flips
Adding a number at the end of a trig equation shifts the center line of the wave up or down (the midline), and multiplying in front sets how far the wave reaches above and below that center line (the amplitude).
Midline, Amplitude, and Vertical Flips
For y=3sin(x)+2, we start with the +2 at the back of the equation and then use the 3 in front to set our vertical guide lines before plotting the four steps:
Midline:High:Low:y=22+3=52−3=−1
Putting a negative sign in front, as in y=−3sin(x)+2, flips the wave upside down across the midline: a negative sine wave goes down to the bottom first (Middle→Low→Middle→High→Middle), and a negative cosine wave starts at the bottom (Low→Middle→High→Middle→Low).
For every vertical stretch or flip, the peak and valley stay equal distances on opposite sides of the midline. Making the front multiplier negative flips the wave upside down across the midline, while the amplitude stays nonnegative.
The number in front of the sine tells you how far the wave reaches each way from the midline, while its sign only flips whether the wave goes up or down first.
3
Speed and Period
Multiplying x inside the parentheses changes how fast we walk around the circle, which stretches or compresses the horizontal length of one full wave, called the period.
Speed and Period
Because one normal lap around the circle takes 2π, walking at a given positive speed changes how much horizontal distance it takes to finish one full wave:
Period=Speed2π
For y=cos(2πx), dividing 2π by the speed cancels π out and gives a period of 4:
Period=2π2π=2π⋅π2=4
A larger positive speed multiplier inside the parentheses finishes a full lap in less horizontal space, compressing all four quarter-steps equally. For the multiplier 2π, the period is 4.
Finishing a full wave in less space takes a bigger speed multiplier, and ending on a whole number moves pi into that multiplier.
4
Phase Shift: Where a Wave Starts and Ends
Adding or subtracting a number inside the parentheses shifts where the wave starts on the x-axis, a horizontal move called the phase shift.
Phase Shift: Where a Wave Starts and Ends
We can choose a lap around the circle that starts at angle 0 and ends at angle 2π. To find the corresponding endpoints for y=sin(2x−π), set the entire expression inside the parentheses equal to 0 and 2π:
Amplitude and midlineTake the positive value of the front multiplier for the amplitude, and read the number at the end for the vertical shift and midline.
AmplitudeMidline: y=5,=−4 (vertical shift of −4)
PeriodDivide a normal 2π lap by the speed multiplier 3 next to x.
Period=32π
Phase shiftSet the entire angle inside the parentheses equal to 0 and solve for x.
3x+2π⟹3x⟹x=0=−2π=−6π (shifted left by 6π)
6
Graphing a Wave from Start to Finish
When the starting point and quarter-step are fractions with different denominators, giving them a common denominator lets us count out the four steps just by adding to the top number.
Graph one full wave of y=2sin(2x−3π)+1.
Graphing a Wave with Fractions of Pi
Text solution
Midline, top, and bottomStart at the midline y=1 and move up and down by the amplitude 2.
Midline: yHighLow=1,=1+2=3,=1−2=−1
Start and endSet the inside angle equal to 0 and 2π (writing 2π as 36π) to find where one full wave starts and ends on the x-axis.
Quarter-step and tick marksDivide the period of 4 into four equal steps of 1.
Period⟹Quarter-step⟹x=6−2=4=44=1=2,3,4,5,6
Five key pointsBecause of the negative sign in −4, follow the flipped cosine pattern (Low→Middle→High→Middle→Low).
(2,−3),(3,1),(4,5),(5,1),(6,−3)
7
Writing an Equation from a Graph
When we start with a graph instead of an equation, we find the same pieces (midline, amplitude, speed, and starting point) directly from the peak and valley coordinates.
Write a cosine equation and a sine equation for a sinusoidal wave with a peak at (1,6) and the very next valley at (5,−2).
Writing an Equation from a Graph
Text solution
Midline and amplitudeAverage the peak and valley heights to find the midline, then measure the vertical distance from the midline to the peak.
Midline: yAmplitude=26+(−2)=2,=6−2=4
Period and speedDouble the horizontal distance from the peak at x=1 to the valley at x=5 (half a lap) to get the full period, then divide 2π by the period to get the speed.
Half-lap⟹Period⟹Speed=5−1=4=8=82π=4π
Cosine equationStart a positive cosine wave at the peak x=1 by writing (x−1) inside with the speed.
y=4cos(4π(x−1))+2
Sine equationKeep the midline, amplitude, and speed unchanged, and move the starting point by one quarter-step (48=2 units) to where the wave crosses the midline heading up, at x=1−2=−1 (or x=5+2=7).
yory=4sin(4π(x+1))+2=4sin(4π(x−7))+2
Because sine, cosine, and their flipped versions all have the same wave shape, you can write any of them for the same graph just by picking a different key point as the start, without changing the midline, amplitude, or speed.
Picking a different starting point on the same wave changes the trig function, its sign, or the phase shift, while the amplitude, period, and midline stay the same.
Key concepts
Every sine or cosine wave is built from four steps around the circle between five key points. For y=2sin(2x−3π)+1:
Vertical bounds come from the outside numbers
The number at the end is the midline (y=1), and the positive multiplier in front is the amplitude (2), giving a top of 1+2=3 and a bottom of 1−2=−1. A negative sign in front (like −4cos) never makes the amplitude negative; it only flips the four-step pattern upside down across the midline.
Horizontal bounds come from the inside angle
With a positive multiplier and no number added or subtracted inside the parentheses, as in y=cos(31x), you can draw one wave from x=0 to the period Speed2π. For y=2sin(2x−3π)+1, set the entire inside equal to 0 to find the start (2x−3π=0⟹x=6π) and equal to 2π to find the end (x=67π).
Counting out the four steps
Divide the period by 4 to get the quarter-step (4π), rewrite the start and quarter-step with a common denominator (122π and 123π), and add the quarter-step four times. Check that you land on your end point.
Reading a graph
Average the high and low heights for the midline, double the horizontal distance between a peak and the next valley to get the period, and use Speed=Period2π. If the problem lets you choose the trig function, pick cosine and start right on a visible peak (x−xpeak) rather than looking for where the wave crosses the midline.
8
Practice
1
For y=4sin(x)−1, find the midline, the amplitude, the highest and lowest y-values the wave reaches, and the five key points for one full wave starting at x=0.
Start from the number at the very end to place your midline, then move up and down from that midline by the amplitude before following the four steps of sine. Watch out: Don't add and subtract the amplitude 4 from 0 (which gives a high of 4 and a low of −4); measure 4 units up and down from the midline y=−1.
Find the period, the quarter-step size, and the five key points for one full wave of y=cos(31x) starting at x=0.
Dividing 2π by 31 flips the fraction to multiply by 3; multiplying by 31 instead gives the wrong period 32π (and quarter-step 6π).
Ask whether a speed of 31 walks faster or slower around the circle, then divide a normal 2π lap by 31 to find the period. Watch out: Dividing 2π by 31 flips the fraction to multiply by 3; multiplying by 31 instead gives the wrong period 32π (and quarter-step 6π). Also remember cosine starts at the peak (0,1), not (0,0).
Without graphing, find the amplitude, midline (vertical shift), period, and phase shift of y=−6sin(4x+π)−3.
Don't write −6 for the amplitude, and don't read the phase shift straight off the +π as −π without dividing by the speed 4 when solving 4x+π=0.
Remember that amplitude is a positive distance, and set the entire expression inside the parentheses equal to 0 to find where the wave starts. Watch out: Don't write −6 for the amplitude, and don't read the phase shift straight off the +π as −π without dividing by the speed 4 when solving 4x+π=0.
Amplitude: 6; Midline: y=−3 (vertical shift of −3); Period: 2π; Phase shift: −4π (shifted left by 4π).
4
Graph one full wave of y=−2cos(4πx−2π)−1 by finding the midline, amplitude, starting x-value, ending x-value, and the coordinates of the five key points.
Set 4πx−2π equal to 0 and 2π first so the π's cancel out, and check what the negative sign in front of −2cos does to the starting height. Watch out: Because of the negative sign in −2cos, the wave is flipped upside down and starts at the bottom height y=−3; using the unflipped cosine pattern gives the wrong points (2,1),(4,−1),(6,−3),(8,−1),(10,1).
Graph one full wave of y=3sin(2x+3π)−1 by finding the starting x-value, ending x-value, quarter-step size, and the five key points with reduced x-coordinates.
After finding the start and the quarter-step, rewrite both fractions with a common denominator of 12 before counting out your four steps, and check that your fourth step lands on the end value. Watch out: When solving 2x+3π=2π for the end point, subtract 3π from 36π; adding 3π by mistake gives an ending x-value of 67π instead of 65π.
A sinusoidal wave has a peak at (2,7) and the very next valley at (8,−3). Write two equations for this wave: one using cosine and one using sine.
Find how many horizontal units it takes to go from the peak at x=2 to the valley at x=8, and use that half-lap to find the full period and quarter-step. Watch out: Don't use the peak-to-valley distance 8−2=6 as the full period, which gives a speed of 62π=3π; double the half-lap to get a period of 12 and a speed of 6π.