Lesson 4.2 · Trigonometric Functions
Graphs of trigonometric functions
Unrolling the unit circle onto an -plane turns each trig function into a graph you can read at a glance. Once you know the two basic waves and the four transformations that act on them, you can graph any sinusoid, read its equation off a picture, and see where tangent and the reciprocal functions blow up.
Sine and cosine as waves
Walk around the unit circle and record the height of the point as a function of the angle . That height is : it starts at , climbs to at , returns to at , drops to at and comes back to at . Recording the horizontal coordinate instead gives , which starts at its maximum.
Everything from the previous lesson is visible here. Both graphs have domain all reals, range and period . Cosine is symmetric about the -axis (even); sine is symmetric about the origin (odd). And the cosine graph is the sine graph shifted left by :
So there is really one wave shape, called a sinusoid, and either function can describe it.
Each period splits into four equal quarters, and at the quarter marks the wave hits five key points: for sine the heights are (midline, max, midline, min, midline) and for cosine .
The four transformations
The general sinusoid
- Amplitude : half the distance from max to min. If the wave is also reflected over its midline.
- Period : the length of one cycle. The frequency is the number of cycles per unit of .
- Phase shift : the horizontal shift (right if ).
- Midline . The range is .
Why ? One cycle of the basic wave happens as its input runs from to . Here the input is , which runs from to as runs from to . That same calculation tells you exactly where a cycle starts and ends, which is all you need for graphing.
Common mistake
Factor out before reading the phase shift. In the shift is not : rewrite , so the shift is to the right. Equivalently, solve to find where the cycle starts.
Worked example: Graphing from the key points
Graph one cycle of .
Solution. Factor: . So , , , . The period is , so the cycle runs from to in quarter steps of .
| basic sine | |||||
| , then |
Because is negative, the wave goes down first: from the midline at to a minimum of , back to the midline, up to a maximum of , and back.
Writing the equation from a graph
Going backward is just reading the four numbers off the picture.
- and .
- Measure the period (peak to peak, or twice the distance from a peak to the next valley) and set .
- Pick a convenient starting point. A peak is the start of a cosine cycle (use ); a valley starts a cosine cycle with ; a midline crossing going up starts a sine cycle.
Because the wave repeats, there are infinitely many correct equations; any one that matches the graph is fine.
Worked example: From features to an equation
A sinusoid has a maximum at and the next minimum at . Write an equation for it.
Solution. and . From a max to the next min is half a period, so the period is and . A maximum at starts a cosine cycle, so :
Check: at , the input is , and . The minimum matches.
Tangent and cotangent
Tangent is , so it is undefined wherever : at for every integer . Near those values the denominator is tiny and the graph shoots off to , giving vertical asymptotes. Between asymptotes, tangent rises from to , passing through at multiples of . Its period is , and it has no amplitude because it is unbounded.
For the period is (not ). To find the asymptotes, set the inside equal to and repeat every period.
Cotangent, , also has period . Its asymptotes are where (at multiples of ), and each branch decreases.
Secant and cosecant
Secant and cosecant are reciprocals of cosine and sine, so they are easiest to graph by first sketching the wave as a guide. Wherever the guide wave crosses , the reciprocal has an asymptote. Wherever the wave reaches , the reciprocal touches it at the same point. Between, the reciprocal opens away from the axis in U-shapes. The range of and is , and both have period .
Worked example: Asymptotes of a transformed tangent
Find the period of and its asymptotes in .
Solution. , so the period is . The central branch runs while , that is . The asymptotes are at plus multiples of : in the given interval, .
Tip
Quick check for any sinusoid equation with : plug in the -value of a peak. The inside of the cosine should be a multiple of (or the inside of the sine should be plus a multiple of ), and the output should be .
Practice
What is the amplitude of ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
What is the period of ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
What is the phase shift of ?
Give the minimum and maximum values of .
Separate answers with commas, e.g. 2, -5
Which equation matches the graph?
A sinusoid with has a maximum at and the next minimum at . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the vertical asymptotes of in the interval .
Separate answers with commas, e.g. 2, -5
A Ferris wheel rider's height in meters after minutes is . What is the rider's height at minutes?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.