Graphs of the Other Trigonometric Functions
By the end of this section, you will be able to:
- Analyze the graph of
- Graph variations of
- Analyze the graphs of and
- Graph variations of and
- Analyze the graph of
- Graph variations of
We know the tangent function can be used to find distances, such as the height of a building, mountain, or flagpole. But what if we want to measure repeated occurrences of distance? Imagine, for example, a fire truck parked next to a warehouse. The rotating light from the truck would travel across the wall of the warehouse in regular intervals. If the input is time, the output would be the distance the beam of light travels. The beam of light would repeat the distance at regular intervals. The tangent function can be used to approximate this distance. Asymptotes would be needed to illustrate the repeated cycles when the beam runs parallel to the wall because, seemingly, the beam of light could appear to extend forever. The graph of the tangent function would clearly illustrate the repeated intervals. In this section, we will explore the graphs of the tangent and other trigonometric functions.
Analyzing the Graph of
We will begin with the graph of the tangent function, plotting points as we did for the sine and cosine functions. Recall that
The period of the tangent function is because the graph repeats itself on intervals of where is a constant. If we graph the tangent function on to , we can see the behavior of the graph on one complete cycle. If we look at any larger interval, we will see that the characteristics of the graph repeat.
We can determine whether tangent is an odd or even function by using the definition of tangent.
Therefore, tangent is an odd function. We can further analyze the graphical behavior of the tangent function by looking at values for some of the special angles, as listed below.
| undefined | undefined |
These points will help us draw our graph, but we need to determine how the graph behaves where it is undefined. If we look more closely at values when , we can use a table to look for a trend. Because and , we will evaluate at radian measures as shown below.
As approaches , the outputs of the function get larger and larger. Because is an odd function, we see the corresponding table of negative values below.
We can see that, as approaches , the outputs get smaller and smaller. Remember that there are some values of for which . For example, and . At these values, the tangent function is undefined, so the graph of has discontinuities at and . At these values, the graph of the tangent has vertical asymptotes. The figure below represents the graph of . The tangent is positive from to and from to , corresponding to quadrants I and III of the unit circle.
Graphing Variations of
As with the sine and cosine functions, the tangent function can be described by a general equation.
We can identify horizontal and vertical stretches and compressions using values of and . The horizontal stretch can typically be determined from the period of the graph. With tangent graphs, it is often necessary to determine a vertical stretch using a point on the graph.
Because there are no maximum or minimum values of a tangent function, the term amplitude cannot be interpreted as it is for the sine and cosine functions. Instead, we will use the phrase stretching/compressing factor when referring to the constant .
Features of the graph of .
- The stretching factor is .
- The period is .
- The domain is all real numbers , where such that is an integer.
- The range is .
- The asymptotes occur at , where is an integer.
- is an odd function.
Graphing One Period of a Stretched or Compressed Tangent Function
We can use what we know about the properties of the tangent function to quickly sketch a graph of any stretched and/or compressed tangent function of the form . We focus on a single period of the function including the origin, because the periodic property enables us to extend the graph to the rest of the function’s domain if we wish. Our limited domain is then the interval and the graph has vertical asymptotes at where . On , the graph will come up from the left asymptote at , cross through the origin, and continue to increase as it approaches the right asymptote at . To make the function approach the asymptotes at the correct rate, we also need to set the vertical scale by actually evaluating the function for at least one point that the graph will pass through. For example, we can use
because .
How to: given the function , graph one period.
- Identify the stretching factor, .
- Identify and determine the period, .
- Draw vertical asymptotes at and .
- For , the graph approaches the left asymptote at negative output values and the right asymptote at positive output values (reverse for ).
- Plot reference points at , , and , and draw the graph through these points.
Example. Sketch a graph of one period of the function .
Solution. First, we identify and . Because and , we can find the stretching/compressing factor and period. The period is , so the asymptotes are at . At a quarter period from the origin, we have
This means the curve must pass through the points , , and . The only inflection point is at the origin. The figure below shows the graph of one period of the function.
Sketch a graph of. What is the period of this function?
The period ofis.For that same function,, what is the smallest positive vertical asymptote?
One period covers the asymptote-to-asymptote span; the first positive asymptote is half a period from the origin.Graphing One Period of a Shifted Tangent Function
Now that we can graph a tangent function that is stretched or compressed, we will add a vertical and/or horizontal (or phase) shift. In this case, we add and to the general form of the tangent function.
The graph of a transformed tangent function is different from the basic tangent function in several ways:
Features of the graph of .
- The stretching factor is .
- The period is .
- The domain is , where is an integer.
- The range is .
- The vertical asymptotes occur at , where is an odd integer.
- There is no amplitude.
How to: given the function , sketch the graph of one period.
- Express the function given in the form .
- Identify the stretching/compressing factor, .
- Identify and determine the period, .
- Identify and determine the phase shift, .
- Draw the graph of shifted to the right by and up by .
- Sketch the vertical asymptotes, which occur at , where is an odd integer.
- Plot any three reference points and draw the graph through these points.
Example. Graph one period of the function .
Solution. Step 1. The function is already written in the form .
Step 2. , so the stretching factor is .
Step 3. , so the period is .
Step 4. , so the phase shift is .
Steps 5–7. The asymptotes are at and and the three recommended reference points are , , and . The graph is shown below.
Analysis. Note that this is a decreasing function because .
How would the graph in the example above look different if we madeinstead of?
Flipping the sign ofreflects the curve about its own midline,.How to: given the graph of a tangent function, identify horizontal and vertical stretches.
- Find the period from the spacing between successive vertical asymptotes or -intercepts.
- Write .
- Determine a convenient point on the given graph and use it to determine .
Example. Find a formula for the function graphed below.
Solution. The graph has the shape of a tangent function.
Step 1. One cycle extends from to , so the period is . Since , we have .
Step 2. The equation must have the form .
Step 3. To find the vertical stretch , we can use the point .
Because , .
This function would have a formula .
Find a formula for the function graphed below.
Read the period from the asymptote spacing to find, then use the marked point to find.Analyzing the Graphs of and
The secant was defined by the reciprocal identity . Notice that the function is undefined when the cosine is , leading to vertical asymptotes at , , etc. Because the cosine is never more than in absolute value, the secant, being the reciprocal, will never be less than in absolute value.
We can graph by observing the graph of the cosine function because these two functions are reciprocals of one another. See the figure below. The graph of the cosine is shown as a dashed wave so we can see the relationship. Where the graph of the cosine function decreases, the graph of the secant function increases. Where the graph of the cosine function increases, the graph of the secant function decreases. When the cosine function is zero, the secant is undefined.
The secant graph has vertical asymptotes at each value of where the cosine graph crosses the -axis; we show these in the graph below with dashed vertical lines, but will not show all the asymptotes explicitly on all later graphs involving the secant and cosecant.
Note that, because cosine is an even function, secant is also an even function. That is, .
As we did for the tangent function, we will again refer to the constant as the stretching factor, not the amplitude.
Features of the graph of .
- The stretching factor is .
- The period is .
- The domain is , where is an odd integer.
- The range is .
- The vertical asymptotes occur at , where is an odd integer.
- There is no amplitude.
- is an even function because cosine is an even function.
Similar to the secant, the cosecant is defined by the reciprocal identity . Notice that the function is undefined when the sine is , leading to a vertical asymptote in the graph at , , etc. Since the sine is never more than in absolute value, the cosecant, being the reciprocal, will never be less than in absolute value.
We can graph by observing the graph of the sine function because these two functions are reciprocals of one another. See the figure below. The graph of sine is shown as a dashed wave so we can see the relationship. Where the graph of the sine function decreases, the graph of the cosecant function increases. Where the graph of the sine function increases, the graph of the cosecant function decreases.
The cosecant graph has vertical asymptotes at each value of where the sine graph crosses the -axis; we show these in the graph below with dashed vertical lines.
Note that, since sine is an odd function, the cosecant function is also an odd function. That is, .
The graph of cosecant, which is shown below, is similar to the graph of secant.
Features of the graph of .
- The stretching factor is .
- The period is .
- The domain is , where is an integer.
- The range is .
- The asymptotes occur at , where is an integer.
- is an odd function because sine is an odd function.
Graphing Variations of and
For shifted, compressed, and/or stretched versions of the secant and cosecant functions, we can follow similar methods to those we used for tangent and cotangent. That is, we locate the vertical asymptotes and also evaluate the functions for a few points (specifically the local extrema). If we want to graph only a single period, we can choose the interval for the period in more than one way. The procedure for secant is very similar, because the cofunction identity means that the secant graph is the same as the cosecant graph shifted half a period to the left. Vertical and phase shifts may be applied to the cosecant function in the same way as for the secant and other functions. The equations become the following.
Features of the graph of .
- The stretching factor is .
- The period is .
- The domain is , where is an odd integer.
- The range is .
- The vertical asymptotes occur at , where is an odd integer.
- There is no amplitude.
- is an even function because cosine is an even function.
Features of the graph of .
- The stretching factor is .
- The period is .
- The domain is , where is an integer.
- The range is .
- The vertical asymptotes occur at , where is an integer.
- There is no amplitude.
- is an odd function because sine is an odd function.
How to: given a function of the form , graph one period.
- Express the function given in the form .
- Identify the stretching/compressing factor, .
- Identify and determine the period, .
- Sketch the graph of .
- Use the reciprocal relationship between and to draw the graph of .
- Sketch the asymptotes.
- Plot any two reference points and draw the graph through these points.
Example. Graph one period of .
Solution. Step 1. The given function is already written in the general form, .
Step 2. so the stretching factor is .
Step 3. so . The period is units.
Step 4. Sketch the graph of the function .
Step 5. Use the reciprocal relationship of the cosine and secant functions to draw the cosecant function.
Steps 6–7. Sketch two asymptotes at and . We can use two reference points, the local minimum at and the local maximum at . The figure below shows the graph.
Graph one period of. What is the value of?
This is a vertical reflection of the preceding graph becauseis negative, so its local minimum atbecomes a local maximum.Q&A. Do the vertical shift and stretch/compression affect the secant’s range?
Yes. The range of is .
How to: given a function of the form , graph one period.
- Express the function given in the form .
- Identify the stretching/compressing factor, .
- Identify and determine the period, .
- Identify and determine the phase shift, .
- Draw the graph of , but shift it to the right by and up by .
- Sketch the vertical asymptotes, which occur at , where is an odd integer.
Example. Graph one period of .
Solution. Step 1. Express the function given in the form .
Step 2. The stretching/compressing factor is .
Step 3. The period is
Step 4. The phase shift is
Step 5. Draw the graph of , but shift it to the right by and up by .
Step 6. Sketch the vertical asymptotes, which occur at , , and . There is a local minimum at and a local maximum at . The figure below shows the graph.
Graph one period of. What is the vertical asymptote of this function nearest to?
Solvefor, then pick the integerthat lands closest to.Q&A. The domain of was given to be all such that for any integer . Would the domain of be ?
Yes. The excluded points of the domain follow the vertical asymptotes. Their locations show the horizontal shift and compression or expansion implied by the transformation to the original function’s input.
How to: given a function of the form , graph one period.
- Express the function given in the form .
- Identify the stretching/compressing factor, .
- Identify and determine the period, .
- Draw the graph of .
- Use the reciprocal relationship between and to draw the graph of .
- Sketch the asymptotes.
- Plot any two reference points and draw the graph through these points.
Example. Graph one period of .
Solution. Step 1. The given function is already written in the general form, .
Step 2. , so the stretching factor is .
Step 3. , so . The period is units.
Step 4. Sketch the graph of the function .
Step 5. Use the reciprocal relationship of the sine and cosecant functions to draw the cosecant function.
Steps 6–7. Sketch three asymptotes at , , and . We can use two reference points, the local maximum at and the local minimum at . The figure below shows the graph.
Graph one period of. What is the period of this function?
The period ofis.For that same function,, what is the smallest positive vertical asymptote?
The asymptotes ofoccur at; the smallest positive one is half the period.How to: given a function of the form , graph one period.
- Express the function given in the form .
- Identify the stretching/compressing factor, .
- Identify and determine the period, .
- Identify and determine the phase shift, .
- Draw the graph of but shift it to the right by and up by .
- Sketch the vertical asymptotes, which occur at , where is an integer.
Example. Sketch a graph of . What are the domain and range of this function?
Solution. Step 1. Express the function given in the form .
Step 2. Identify the stretching/compressing factor, .
Step 3. The period is .
Step 4. The phase shift is .
Step 5. Draw the graph of but shift it up .
Step 6. Sketch the vertical asymptotes, which occur at , , .
The graph for this function is shown below.
Analysis. The vertical asymptotes shown on the graph mark off one period of the function, and the local extrema in this interval are shown by dots. Notice how the graph of the transformed cosecant relates to the graph of , shown as the dashed wave.
Given the graph ofshown below, sketch the graph ofon the same axes. What is the smallest positive vertical asymptote of?
is undefined exactly where its cosine factor is zero; find the smallest positivewith.Analyzing the Graph of
The last trigonometric function we need to explore is cotangent. The cotangent is defined by the reciprocal identity . Notice that the function is undefined when the tangent function is , leading to a vertical asymptote in the graph at , , etc. Since the output of the tangent function is all real numbers, the output of the cotangent function is also all real numbers.
We can graph by observing the graph of the tangent function because these two functions are reciprocals of one another. See the figure below. Where the graph of the tangent function decreases, the graph of the cotangent function increases. Where the graph of the tangent function increases, the graph of the cotangent function decreases.
The cotangent graph has vertical asymptotes at each value of where ; we show these in the graph below with dashed lines. Since the cotangent is the reciprocal of the tangent, has vertical asymptotes at all values of where , and at all values of where has its vertical asymptotes.
Features of the graph of .
- The stretching factor is .
- The period is .
- The domain is , where is an integer.
- The range is .
- The asymptotes occur at , where is an integer.
- is an odd function.
Graphing Variations of
We can transform the graph of the cotangent in much the same way as we did for the tangent. The equation becomes the following.
Features of the graph of .
- The stretching factor is .
- The period is .
- The domain is , where is an integer.
- The range is .
- The vertical asymptotes occur at , where is an integer.
- There is no amplitude.
- is an odd function because it is the quotient of even and odd functions (cosine and sine, respectively).
How to: given a modified cotangent function of the form , graph one period.
- Express the function in the form .
- Identify the stretching factor, .
- Identify the period, .
- Draw the graph of .
- Plot any two reference points.
- Use the reciprocal relationship between tangent and cotangent to draw the graph of .
- Sketch the asymptotes.
Example. Determine the stretching factor, period, and phase shift of , and then sketch a graph.
Solution. Step 1. Expressing the function in the form gives .
Step 2. The stretching factor is .
Step 3. The period is .
Step 4. Sketch the graph of .
Step 5. Plot two reference points. Two such points are and .
Step 6. Use the reciprocal relationship to draw .
Step 7. Sketch the asymptotes, , .
The graph below shows and together.
How to: given a modified cotangent function of the form , graph one period.
- Express the function in the form .
- Identify the stretching factor, .
- Identify the period, .
- Identify the phase shift, .
- Draw the graph of shifted to the right by and up by .
- Sketch the asymptotes , where is an integer.
- Plot any three reference points and draw the graph through these points.
Example. Sketch a graph of one period of the function .
Solution. Step 1. The function is already written in the general form .
Step 2. , so the stretching factor is .
Step 3. , so the period is .
Step 4. , so the phase shift is .
Step 5. We draw .
Steps 6–7. Three points we can use to guide the graph are , , and . We use the reciprocal relationship of tangent and cotangent to draw .
Step 8. The vertical asymptotes are and .
The graph is shown below.
Using the Graphs of Trigonometric Functions to Solve Real-World Problems
Many real-world scenarios represent periodic functions and may be modeled by trigonometric functions. As an example, let’s return to the scenario from the section opener. Have you ever observed the beam formed by the rotating light on a fire truck and wondered about the movement of the light beam itself across the wall? The periodic behavior of the distance the light shines as a function of time is obvious, but how do we determine the distance? We can use the tangent function.
Example. Suppose the function marks the distance in the movement of a light beam from the top of a police car across a wall where is the time in seconds and is the distance in feet from a point on the wall directly across from the police car.
a. Find and interpret the stretching factor and period. b. Graph on the interval . c. Evaluate and discuss the function’s value at that input.
Solution. a. We know from the general form of that is the stretching factor and is the period.
The vertical stretch factor of means that the beam will have moved feet in the one-quarter period before or after the half-period mark. This corresponds to the -value of the standard tangent function being at one-quarter of the period away from the center of the period, multiplied by the stretching factor of .
The period is . This means that every seconds, the beam of light sweeps the wall. The distance from the spot across from the police car grows larger as the police car approaches.
b. To graph the function, we draw an asymptote at and use the stretching factor and period. See the figure below.
c. ; after second, the beam has moved ft from the spot across from the police car.
Key equations
| Shifted, compressed, and/or stretched tangent function | |
|---|---|
| Shifted, compressed, and/or stretched secant function | |
| Shifted, compressed, and/or stretched cosecant function | |
| Shifted, compressed, and/or stretched cotangent function |
Key concepts
- The tangent function has period .
- is a tangent with vertical and/or horizontal stretch/compression and shift.
- The secant and cosecant are both periodic functions with a period of . gives a shifted, compressed, and/or stretched secant function graph.
- gives a shifted, compressed, and/or stretched cosecant function graph.
- The cotangent function has period and vertical asymptotes at
- The range of cotangent is , and the function is decreasing at each point in its range.
- The cotangent is zero at
- is a cotangent with vertical and/or horizontal stretch/compression and shift.
- Real-world scenarios can be solved using graphs of trigonometric functions.
Practice
Analyze the graph of
If, find.
Tangent is an odd function:.The identityholds for every real number. What does this identity establish about the graph of?
A function’s period is the smallest positive shift that maps its graph back onto itself.Graph variations of
What is the period of?
The period ofis; here.A tangent curve has stretching factor, period, and phase shift. Write its equation in the form.
Sinceand, solve forfirst; the shiftthen plugs straight into the general form.Analyze the graphs of and
If, find.
Cosecant is an odd function:.What is the period of?
Cosecant shares its period with sine.Graph variations of and
What is the period of?
The period ofis; here.What is the smallest positive vertical asymptote of?
The asymptotes ofoccur atfor odd; the smallest positive one has.Analyze the graph of
Which graph shows?
Cotangent is decreasing through every period, crossing the-axis midway between consecutive asymptotes.Rewriteso that every argument is positive.
Cotangent and sine are odd; cosine is even. Apply each parity rule, then simplify the signs.Graph variations of
A graphing calculator exercise asks for two periods of , shown below.
What is the range of? Write your answer in interval notation.
Taking an absolute value folds every negative output up to positive; cotangent itself already reaches every real value.What is the vertical asymptote of that same function,, closest to (but greater than)?
An absolute value does not remove where the inside function is undefined.This section is adapted from Precalculus 2e, Section 6.2: Graphs of the Other Trigonometric Functions by Jay Abramson and OpenStax, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recreated all seventeen instructional figures as accessible spec-first SVGs built from the exact equation each one draws — the one-period tangent graph with its three reference points and two dashed asymptotes; the compressed-tangent Example 1 graph; the shifted-tangent Example 2 graph; the stretched-tangent Example 3 graph and its Try It companion (with the graph’s own marked reference point recreated so the exercise stays derivable from the figure alone, as the worked example’s own point is); the secant-with-dashed-cosine-guide overview and its Features callout; the cosecant-with-dashed-sine-guide overview; the secant Examples 4 and 5 with their local extrema and dashed asymptotes; the given-cosine Try It figure of Example 7 together with the transformed-cosecant graph and its dashed sine guide; the cosecant Example 6 graph; the cotangent overview graph; the paired tangent/cotangent Example 8 graph; the shifted-cotangent Example 9 graph; and the real-world tangent graph of Example 10. Omitted Example 10’s separate annotated-formula panel (arrows pointing to the letters and inside the printed equation), which carries no mathematics beyond what the equation itself already states, and omitted the “Access these online resources” media links. Converted every retained “Try It” into an interactive component: because this section’s curves have vertical asymptotes at multiples of — off the graphplot snap lattice — no Try It or Practice item was authored as a drawn graphplot; instead, each “sketch/graph” Try It keeps its instruction and adds a fillin on one of the curve’s own features (period, an asymptote in a stated window, or a function value), matching the section’s own graphplot-ledger disposition for this class of prompt. The one Try It with no printed or derivable numeric answer in the CNXML (Graph one period of , whose key is only an approximately-labelled image) was kept and given an independently exact asymptote answer, , solved directly from rather than read off the approximate figure. The rewrite-with-positive-argument Try It (originally a fill-in candidate) is authored as a multiplechoice: retyping the printed subject, , is value-equal to the simplified answer and grades correct against it with no available answerForm to block that retype, so the component was changed to keep the exercise honestly gradable. One recognition multiplechoice (mode="graph") is authored for the whole section, matching the corpus’s one-per-section convention for a page with no graphplot: it recreates the source’s own four-graph matching figure (Graphs I–IV) as spec options, with option ariaLabels describing only what is drawn. Adapted eleven selected end-of-section exercises — two evaluate-the-transformed-function items (tangent, cosecant, using their odd-function property), one conceptual period fact recast as multiple choice to avoid a retype hazard (the source’s own printed identity contains the numeral answer), two period/asymptote extraction items each for the tangent and secant/cosecant families, the source’s own sec/csc/cot graph-matching exercise (recast as the section’s graph-recognition multiple choice), the cot-parity rewrite exercise (recast as multiple choice for the same retype-hazard reason described above), and the Technology section’s graphing-calculator exercise, whose only printed answer content is its alt text (“Range is to ”) — split into two fill-ins (range and nearest positive asymptote) since no other end-of-section cotangent-variation exercise in this module carries a printed or derivable answer, into a closing Practice block, one group per objective.