Section 3.2 – Graphs of Other Trigonometric Functions
Learning Objectives
Welcome to Section 3.2! In this section, you will…
- Analyze the graph of y=tan x.
- Graph variations of y=tan x.
- Analyze the graphs of y=sec x and y=csc x.
- Graph variations of y=sec x and y=csc x.
- Analyze the graph of y=cot x.
- Graph variations of y=cot x.
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 y = tan x
We will begin with the graph of the tangent function, plotting points as we did for the sine and cosine functions. Recall that
[latex]tan \: x=\frac{sin \: x}{cos \: x}[/latex]
The period of the tangent function is [latex]π[/latex] because the graph repeats itself on intervals of [latex]kπ[/latex] where [latex]k[/latex] is a constant. If we graph the tangent function on [latex]−\frac{π}{2}[/latex] to [latex]\frac{π}{2}[/latex], 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 in Table 1.
[latex]x[/latex] |
–[latex]\frac{π}{2}[/latex] |
–[latex]\frac{π}{3}[/latex] |
–[latex]\frac{π}{4}[/latex] |
–[latex]\frac{π}{6}[/latex] |
0 |
[latex]\frac{π}{6}[/latex] |
[latex]\frac{π}{4}[/latex] |
[latex]\frac{π}{3}[/latex] |
[latex]\frac{π}{2}[/latex] |
[latex]tan \: x[/latex] |
undefined |
–[latex]\sqrt{3}[/latex] |
-1 |
–[latex]\frac{\sqrt{3}}{3}[/latex] |
0 |
[latex]\frac{\sqrt{3}}{3}[/latex] |
1 |
[latex]\sqrt{3}[/latex] |
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 [latex]\frac{π}{3} < x < \frac{π}{2}[/latex], we can use a table to look for a trend. Because [latex]\frac{π}{3}≈1.05[/latex] and [latex]\frac{π}{2}≈1.57[/latex], we will evaluate [latex]x[/latex] at radian measures [latex]1.05 [latex]x[/latex] 1.3 1.5 1.55 1.56 [latex]tan \: x[/latex] 3.6 14.1 48.1 92.6 As [latex]x[/latex] approaches [latex]\frac{π}{2}[/latex], the outputs of the function get larger and larger. Because [latex]y=tan \: x[/latex] is an odd function, we see the corresponding table of negative values in Table 3. [latex]x[/latex] −1.3 −1.5 −1.55 −1.56 [latex]tan \: x[/latex] −3.6 −14.1 −48.1 −92.6 We can see that, as [latex]x[/latex] approaches [latex]−\frac{π}{2}[/latex], the outputs get smaller and smaller. Remember that there are some values of [latex]x[/latex] for which [latex]cos \: x=0[/latex]. For example, [latex]cos(\frac{π}{2})=0[/latex] and [latex]cos(\frac{3π}{2})=0[/latex]. At these values, the tangent function is undefined, so the graph of [latex]y=tan \: x[/latex] has discontinuities at [latex]x=\frac{π}{2}[/latex] and [latex]\frac{3π}{2}[/latex]. At these values, the graph of the tangent has vertical asymptotes. Figure 1 represents the graph of [latex]y=tan \: x[/latex]. The tangent is positive from 0 to [latex]\frac{π}{2}[/latex] and from [latex]π[/latex] to [latex]\frac{3π}{2}[/latex], corresponding to quadrants I and III of the unit circle. As with the sine and cosine functions, the tangent function can be described by a general equation. [latex]y=Atan(Bx)[/latex] We can identify horizontal and vertical stretches and compressions using values of [latex]A[/latex] and [latex]B[/latex]. 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 [latex]A[/latex].
Graphing Variations of y = tan x
Features of the Graph of y = Atan(Bx)
- The stretching factor is [latex]\lvert A \rvert[/latex].
- The period is [latex]P=\frac{π}{|B|}[/latex].
- The domain is all real numbers [latex]x[/latex], where [latex]x≠\frac{π}{2|B|}+\frac{π}{|B|}k[/latex] such that [latex]k[/latex] is an integer.
- The range is [latex](−∞,∞)[/latex].
- The asymptotes occur at [latex]x=\frac{π}{2|B|}+\frac{π}{|B|}k[/latex],
where [latex]k[/latex] is an integer. - [latex]y=Atan(Bx)[/latex] 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 [latex]f(x)=Atan(Bx)[/latex]. 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 [latex](−\frac{P}{2},\frac{P}{2})[/latex] and the graph has vertical asymptotes at [latex]±\frac{P}{2}[/latex] where [latex]P=\frac{π}{B}[/latex]. On [latex](−\frac{π}{2},\frac{π}{2})[/latex], the graph will come up from the left asymptote at [latex]x=−\frac{π}{2}[/latex], cross through the origin, and continue to increase as it approaches the right asymptote at [latex]x=\frac{π}{2}[/latex]. 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
[latex]f(\frac{P}{4})=Atan(B\frac{P}{4})=Atan(B\frac{π}{4B})=A[/latex]
because [latex]tan(\frac{π}{4})=1[/latex].
How To
Given the function [latex]f(x)=Atan(Bx)[/latex], graph one period.
- Identify the stretching factor, [latex]\lvert A \rvert[/latex].
- Identify [latex]B[/latex] and determine the period, [latex]P=\frac{π}{|B|}[/latex].
- Draw vertical asymptotes at [latex]x=−\frac{P}{2}[/latex] and [latex]x=\frac{P}{2}[/latex].
- For [latex]AB>0[/latex], the graph approaches the left asymptote at negative output values and the right asymptote at positive output values (reverse for [latex]AB<0[/latex] ).
- Plot reference points at [latex](\frac{P}{4},A)[/latex], [latex](0,0)[/latex], and [latex](−\frac{P}{4},−A)[/latex], and draw the graph through these points.
Example 1
Sketching a Compressed Tangent
Sketch a graph of one period of the function [latex]y=0.5tan(\frac{π}{2}x)[/latex].
Show/Hide Solution
First, we identify [latex]A[/latex] and [latex]B[/latex].
Because [latex]A=0.5[/latex] and [latex]B=\frac{π}{2}[/latex], we can find the stretching/compressing factor and period. The period is [latex]\frac{π}{\frac{π}{2}}=2[/latex], so the asymptotes are at [latex]x=±1[/latex]. At a quarter period from the origin, we have
This means the curve must pass through the points [latex](0.5,0.5)[/latex],
[latex]0,0[/latex],
and [latex]−0.5,−0.5[/latex].
The only inflection point is at the origin. Figure 2 shows the graph of one period of the function.
Try It #1
Sketch a graph of [latex]f(x)=3tan(\frac{π}{6}x)[/latex].
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 [latex]C[/latex] and [latex]D[/latex] to the general form of the tangent function.
[latex]f(x)=Atan(Bx−C)+D[/latex]
The graph of a transformed tangent function is different from the basic tangent function [latex]tan \: x[/latex] in several ways:
Features of the Graph of y = Atan(Bx−C)+D
- The stretching factor is [latex]|A|[/latex].
- The period is [latex]\frac{π}{|B|}[/latex].
- The domain is [latex]x≠\frac{C}{B}+\frac{π}{|B|}k[/latex], where [latex]k[/latex] is an integer.
- The range is [latex](−∞,∞)[/latex].
- The vertical asymptotes occur at [latex]x=\frac{C}{B}+\frac{π}{2|B|}k[/latex], where [latex]k[/latex] is an odd integer.
- There is no amplitude.
- [latex]y=A tan(Bx−C)+D[/latex] is an odd function because it is the quotient of odd and even functions (sine and cosine respectively).
How To
Given the function [latex]y=Atan(Bx−C)+D[/latex], sketch the graph of one period.
- Express the function given in the form [latex]y=Atan(Bx−C)+D[/latex].
- Identify the stretching/compressing factor, [latex]\lvert A \rvert[/latex].
- Identify [latex]B[/latex] and determine the period, [latex]P=\frac{π}{|B|}[/latex].
- Identify [latex]C[/latex] and determine the phase shift, [latex]\frac{C}{B}[/latex].
- Draw the graph of [latex]y=Atan(Bx)[/latex] shifted to the right by [latex]\frac{C}{B}[/latex] and up by [latex]D[/latex].
- Sketch the vertical asymptotes, which occur at [latex]x=\frac{C}{B}+\frac{π}{2|B|}k[/latex], where [latex]k[/latex] is an odd integer.
- Plot any three reference points and draw the graph through these points.
Example 2
Graphing One Period of a Shifted Tangent Function
Graph one period of the function [latex]y=−2tan(πx+π)−1[/latex].
Show/Hide Solution
- Step 1. The function is already written in the form [latex]y=Atan(Bx−C)+D[/latex].
- Step 2. [latex]A=−2[/latex], so the stretching factor is [latex]|A|=2[/latex].
- Step 3. [latex]B=π[/latex], so the period is [latex]P=\frac{π}{|B|}=\frac{π}{π}=1[/latex].
- Step 4. [latex]C=−π[/latex], so the phase shift is [latex]\frac{C}{B}=\frac{−π}{π}=−1[/latex].
- Step 5-7. The asymptotes are at [latex]x=−\frac{3}{2}[/latex] and [latex]x=−\frac{1}{2}[/latex] and the three recommended reference points are [latex](−1.25,1), [latex](−1,−1)[/latex], and [latex](−0.75,−3)[/latex]. The graph is shown in Figure 3.
Analysis
Note that this is a decreasing function because [latex]A<0[/latex].
Try It #2
How would the graph in Example 2 look different if we made [latex]A=2[/latex] instead of [latex]−2?[/latex]
How To
Given the graph of a tangent function, identify horizontal and vertical stretches.
- Find the period [latex]P[/latex] from the spacing between successive vertical asymptotes or x-intercepts.
- Write [latex]f(x)=Atan(\frac{π}{P}x)[/latex].
- Determine a convenient point [latex](x,f(x))[/latex] on the given graph and use it to determine [latex]A[/latex].
Example 3
Identifying the Graph of a Stretched Tangent
Find a formula for the function graphed in Figure 4.
Show/Hide Solution
The graph has the shape of a tangent function.
- Step 1. One cycle extends from –4 to 4, so the period is [latex]P=8[/latex]. Since [latex]P=\frac{π}{|B|}[/latex], we have [latex]B=\frac{π}{P}=\frac{π}{8}[/latex].
- Step 2. The equation must have the form [latex]f(x)=Atan(\frac{π}{8}x)[/latex].
- Step 3. To find the vertical stretch [latex]A[/latex], we can use the point [latex](2,2)[/latex].
[latex]2=Atan(\frac{π}{8}⋅2)=Atan(\frac{π}{4})[/latex]
Because [latex]tan(\frac{π}{4})=1[/latex], [latex]A=2[/latex].
This function would have a formula [latex]f(x)=2tan(\frac{π}{8}x)[/latex].
Try It #3
Find a formula for the function in Figure 5.
Analyzing the Graphs of y = sec x and y = cscx
The reciprocal identity [latex]sec x=\frac{1}{cos \: x}[/latex]. Notice that the function is undefined when the cosine is 0, leading to vertical asymptotes at [latex]\frac{π}{2}[/latex], [latex]\frac{3π}{2}[/latex], etc. Because the cosine is never more than 1 in absolute value, the secant, being the reciprocal, will never be less than 1 in absolute value.
We can graph [latex]y=sec x[/latex] by observing the graph of the cosine function because these two functions are reciprocals of one another. See Figure 6. The graph of the cosine is shown as a dashed orange 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 [latex]x[/latex] where the cosine graph crosses the x-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, [latex]sec(−x)=sec x[/latex].
As we did for the tangent function, we will again refer to the constant [latex]\lvert A \rvert[/latex] as the stretching factor, not the amplitude.
Features of the Graph of y = Asec(Bx)
- The stretching factor is [latex]\lvert A \rvert[/latex].
- The period is [latex]\frac{2π}{|B|}[/latex].
- The domain is [latex]x≠\frac{π}{2|B|}k[/latex], where [latex]k[/latex] is an odd integer.
- The range is [latex](−∞,−|A|]∪[|A|,∞)[/latex].
- The vertical asymptotes occur at [latex]x=\frac{π}{2|B|}k[/latex], where [latex]k[/latex] is an odd integer.
- There is no amplitude.
- [latex]y=Asec(Bx)[/latex] is an even function because cosine is an even function.
Similar to the secant, the cosecant is defined by the reciprocal identity [latex]csc \: x=\frac{1}{sin \: x}[/latex]. Notice that the function is undefined when the sine is 0, leading to a vertical asymptote in the graph at [latex]0[/latex], [latex]π[/latex], etc. Since the sine is never more than 1 in absolute value, the cosecant, being the reciprocal, will never be less than 1 in absolute value.
We can graph [latex]y=csc \: x[/latex] by observing the graph of the sine function because these two functions are reciprocals of one another. See Figure 7. The graph of sine is shown as a dashed orange 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 [latex]x[/latex] where the sine graph crosses the x-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, [latex]csc(−x)=−csc \: x[/latex].
The graph of cosecant, which is shown in Figure 7, is similar to the graph of secant.
Features of the Graph of y = Acsc(Bx)
- The stretching factor is [latex]\lvert A \rvert[/latex].
- The period is [latex]\frac{2π}{|B|}[/latex].
- The domain is [latex]x≠\frac{π}{|B|}k[/latex], where [latex]k[/latex] is an integer.
- The range is [latex](−∞,−|A|]∪[|A|,∞)[/latex].
- The asymptotes occur at [latex]x=\frac{π}{|B|}k[/latex], where [latex]k[/latex] is an integer.
- [latex]y=Acsc(Bx)[/latex] is an odd function because sine is an odd function.
Graphing Variations of y = sec x and y= cscx
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.
[latex]y=Asec(Bx−C)+D[/latex]
[latex]y=Acsc(Bx−C)+D[/latex]
Features of the Graph of y = Asec(Bx−C)+D
- The stretching factor is [latex]\lvert A \rvert[/latex].
- The period is [latex]\frac{2π}{|B|}[/latex].
- The domain is [latex]x≠\frac{C}{B}+\frac{π}{2|B|}k[/latex], where [latex]k[/latex] is an odd integer.
- The range is [latex](−∞,−|A|+D]∪[|A|+D,∞)[/latex].
- The vertical asymptotes occur at [latex]x=\frac{C}{B}+\frac{π}{2|B|}k[/latex], where [latex]k[/latex] is an odd integer.
- There is no amplitude.
- [latex]y=Asec(Bx−C)+D[/latex] is an even function because cosine is an even function.
Features of the Graph of y = Acsc(Bx−C)+D
- The stretching factor is [latex]\lvert A \rvert[/latex].
- The period is [latex]\frac{2π}{|B|}[/latex].
- The domain is [latex]x≠\frac{C}{B}+\frac{π}{|B|}k[/latex], where [latex]k[/latex] is an integer.
- The range is [latex](−∞,−|A|+D]∪[|A|+D,∞)[/latex].
- The vertical asymptotes occur at [latex]x=\frac{C}{B}+\frac{π}{|B|}k[/latex], where [latex]k[/latex] is an integer.
- There is no amplitude.
- [latex]y=Acsc(Bx−C)+D[/latex] is an odd function because sine is an odd function.
How To
Given a function of the form [latex]y=Asec(Bx)[/latex], graph one period.
- Express the function given in the form [latex]y=Asec(Bx)[/latex].
- Identify the stretching/compressing factor, [latex]\lvert A \rvert[/latex].
- Identify [latex]B[/latex] and determine the period, [latex]P=\frac{2π}{|B|}[/latex].
- Sketch the graph of [latex]y=Acos(Bx)[/latex].
- Use the reciprocal relationship between [latex]y=cos \: x[/latex] and [latex]y=sec \: x[/latex] to draw the graph of [latex]y=Asec(Bx)[/latex].
- Sketch the asymptotes.
- Plot any two reference points and draw the graph through these points.
Example 4
Graphing a Variation of the Secant Function
Graph one period of [latex]f(x)=2.5sec(0.4x)[/latex].
Show/Hide Solution
- Step 1. The given function is already written in the general form, [latex]y=Asec(Bx)[/latex].
- Step 2. [latex]A=2.5[/latex] so the stretching factor is [latex]2.5[/latex].
- Step 3. [latex]B=0.4[/latex] so [latex]P=\frac{2π}{0.4}=5π[/latex]. The period is [latex]5π[/latex] units.
- Step 4. Sketch the graph of the function [latex]g(x)=2.5cos(0.4x)[/latex].
- Step 5. Use the reciprocal relationship of the cosine and secant functions to draw the cosecant function.
- Steps 6–7. Sketch two asymptotes at [latex]x=1.25π[/latex] and [latex]x=3.75π[/latex]. We can use two reference points, the local minimum at [latex](0,2.5)[/latex] and the local maximum at [latex](2.5π,−2.5)[/latex]. Figure 8 shows the graph.
Try It #4
Graph one period of [latex]f(x)=−2.5sec(0.4x)[/latex].
Q&A
Do the vertical shift and stretch/compression affect the secant’s range?
Yes. The range of [latex]f(x)=Asec(Bx−C)+D[/latex] is [latex](−∞,−|A|+D]∪[|A|+D,∞)[/latex].
How To
Given a function of the form [latex]f(x)=Asec(Bx−C)+D[/latex], graph one period.
- Express the function given in the form [latex]y=A sec(Bx−C)+D[/latex].
- Identify the stretching/compressing factor, [latex]\lvert A \rvert[/latex].
- Identify [latex]B[/latex] and determine the period, [latex]\frac{2π}{|B|}[/latex].
- Identify [latex]C[/latex] and determine the phase shift, [latex]\frac{C}{B}[/latex].
- Draw the graph of [latex]y=A sec(Bx)[/latex] , but shift it to the right by [latex]\frac{C}{B}[/latex] and up by [latex]D[/latex].
- Sketch the vertical asymptotes, which occur at [latex]x=\frac{C}{B}+\frac{π}{2|B|}k[/latex], where [latex]k[/latex] is an odd integer.
Example 5
Graphing a Variation of the Secant Function
Graph one period of [latex]y=4sec(\frac{π}{3}x−\frac{π}{2})+1[/latex].
Show/Hide Solution
- Step 1. Express the function given in the form [latex]y=4sec(\frac{π}{3}x−\frac{π}{2})+1[/latex].
- Step 2. The stretching/compressing factor is [latex]|A|=4[/latex].
- Step 3. The period is:
- Step 4. The phase shift is:
- Step 5. Draw the graph of [latex]y=Asec(Bx)[/latex], but shift it to the right by [latex]\frac{C}{B}=1.5[/latex] and up by [latex]D=1[/latex].
- Step 6. Sketch the vertical asymptotes, which occur at [latex]x=0,x=3[/latex], and [latex]x=6[/latex]. There is a local minimum at [latex](1.5,5)[/latex] and a local maximum at [latex](4.5,−3)[/latex]. Figure 9 shows the graph.
Try It #5
Graph one period of [latex]f(x)=−6sec(4x+2)−8[/latex].
Q&A
The domain of [latex]csc \: x[/latex] was given to be all [latex]x[/latex] such that [latex]x≠kπ[/latex] for any integer [latex]k[/latex]. Would the domain of [latex]y=Acsc(Bx−C)+D[/latex] be [latex]x≠\frac{C+kπ}{B}[/latex]?
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 [latex]y=Acsc(Bx)[/latex], graph one period.
- Express the function given in the form [latex]y=Acsc(Bx)[/latex].
- [latex]\lvert A \rvert[/latex].
- Identify [latex]B[/latex] and determine the period, [latex]P=\frac{2π}{|B|}[/latex].
- Draw the graph of [latex]y=Asin(Bx)[/latex].
- Use the reciprocal relationship between [latex]y=sin \: x[/latex] and [latex]y=csc \: x[/latex] to draw the graph of [latex]y=Acsc(Bx)[/latex].
- Sketch the asymptotes.
- Plot any two reference points and draw the graph through these points.
Example 6
Graphing a Variation of the Cosecant Function
Graph one period of [latex]f(x)=−3csc(4x)[/latex].
Show/Hide Solution
- Step 1. The given function is already written in the general form, [latex]y=Acsc(Bx)[/latex].
- Step 2. [latex]A=|−3|=3[/latex], so the stretching factor is 3.
- Step 3. [latex]B=4[/latex], so [latex]P=\frac{2π}{4}=\frac{π}{2}[/latex]. The period is [latex]\frac{π}{2}[/latex] units.
- Step 4. Sketch the graph of the function [latex]g(x)=−3sin(4x)[/latex].
- Step 5. Use the reciprocal relationship of the sine and cosecant functions to draw the cosecant function.
- Steps 6–7. Sketch three asymptotes at [latex]x=0, x=\frac{π}{4}[/latex], and [latex]x=\frac{π}{2}[/latex]. We can use two reference points, the local maximum at [latex](\frac{π}{8},−3)[/latex] and the local minimum at [latex](\frac{3π}{8},3)[/latex]. Figure 10 shows the graph.
Try It #6
Graph one period of [latex]f(x)=0.5csc(2x)[/latex].
How To
Given a function of the form [latex]f(x)=Acsc(Bx−C)+D[/latex], graph one period.
- Express the function given in the form [latex]y=Acsc(Bx−C)+D[/latex].
- Identify the stretching/compressing factor, [latex]\lvert A \rvert[/latex].
- Identify [latex]B[/latex] and determine the period, [latex]\frac{2π}{|B|}[/latex].
- Identify [latex]C[/latex] and determine the phase shift, [latex]\frac{C}{B}[/latex].
- Draw the graph of [latex]y=Acsc(Bx)[/latex] but shift it to the right by [latex]\frac{C}{B}[/latex] and up by [latex]D[/latex].
- Sketch the vertical asymptotes, which occur at [latex]x=\frac{C}{B}+\frac{π}{|B|}k[/latex], where [latex]k[/latex] is an integer.
Example 7
Graphing a Vertically Stretched, Horizontally Compressed, and Vertically Shifted Cosecant
Sketch a graph of [latex]y=2csc(\frac{π}{2}x)+1[/latex].
What are the domain and range of this function?
Show/Hide Solution
- Step 1. Express the function given in the form [latex]y=2csc(\frac{π}{2}x)+1[/latex].
- Step 2. Identify the stretching/compressing factor, [latex]|A|=2[/latex].
- Step 3. The period is [latex]\frac{2π}{|B|}=\frac{2π}{\frac{π}{2}}=\frac{2π}{1}⋅\frac{2}{π}=4[/latex].
- Step 4. The phase shift is [latex]\frac{0}{\frac{π}{2}}=0[/latex].
- Step 5. Draw the graph of [latex]y=Acsc(Bx)[/latex] but shift it up [latex]D=1[/latex].
- Step 6. Sketch the vertical asymptotes, which occur at [latex]x=0,x=2,x=4[/latex].
The graph for this function is shown in Figure 11.
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 [latex]f(x)=2sin(\frac{π}{2}x)+1[/latex], shown as the orange dashed wave.
Try It #7
Given the graph of [latex]f(x)=2cos(\frac{π}{2}x)+1[/latex] shown in Figure 12, sketch the graph of [latex]g(x)=2sec(\frac{π}{2}x)+1[/latex] on the same axes.
Analyzing the Graph of y = cot x
The last trigonometric function we need to explore is reciprocal identity [latex]cot \: x=\frac{1}{tan \: x}[/latex]. Notice that the function is undefined when the tangent function is 0, leading to a vertical asymptote in the graph at [latex]0,π[/latex], 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 [latex]y=cot \: x[/latex] by observing the graph of the tangent function because these two functions are reciprocals of one another. See Figure 13. 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 [latex]x[/latex] where [latex]tan \: x=0[/latex]; we show these in the graph below with dashed lines. Since the cotangent is the reciprocal of the tangent, [latex]cot \: x[/latex] has vertical asymptotes at all values of [latex]x[/latex] where [latex]tan \: x=0[/latex], and [latex]cot \: x=0[/latex] at all values of [latex]x[/latex] where [latex]tan \: x[/latex] has its vertical asymptotes.
Features of the Graph of y = Acot(Bx)
- The stretching factor is [latex]\lvert A \rvert[/latex].
- The period is [latex]P=πB[/latex].
- The domain is [latex]x≠πBk[/latex], where [latex]k[/latex] is an integer.
- The range is [latex](−∞,∞)[/latex].
- The asymptotes occur at [latex]x=πBk[/latex], where [latex]k[/latex] is an integer.
- [latex]y=AcotBx[/latex] is an odd function.
Graphing Variations of y = cot x
We can transform the graph of the cotangent in much the same way as we did for the tangent. The equation becomes the following:
[latex]y=Acot(Bx−C)+D[/latex]
Features of the Graph of y = Acot(Bx−C)+D
- The stretching factor is [latex]\lvert A \rvert[/latex].
- The period is [latex]\frac{π}{|B|}[/latex].
- The domain is [latex]x≠\frac{C}{B}+\frac{π}{|B|}k[/latex], where [latex]k[/latex] is an integer.
- The range is [latex](−∞,∞)[/latex].
- The vertical asymptotes occur at [latex]x=\frac{C}{B}+\frac{π}{|B|}k[/latex], where [latex]k[/latex] is an integer.
- There is no amplitude.
- [latex]y=Acot(Bx)[/latex] 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 [latex]f(x)=Acot(Bx)[/latex], graph one period.
- Express the function in the form [latex]f(x)=Acot(Bx)[/latex].
- Identify the stretching factor, [latex]\lvert A \rvert[/latex].
- Identify the period, [latex]P=\frac{π}{|B|}[/latex].
- Draw the graph of [latex]y=Atan(Bx)[/latex].
- Plot any two reference points.
- Use the reciprocal relationship between tangent and cotangent to draw the graph of [latex]y=Acot(Bx)[/latex].
- Sketch the asymptotes.
Example 8
Graphing Variations of the Cotangent Function
Determine the stretching factor, period, and phase shift of [latex]y=3cot(4x)[/latex], and then sketch a graph.
Show/Hide Solution
- Step 1. Expressing the function in the form [latex]f(x)=Acot(Bx)[/latex] gives [latex]f(x)=3cot(4x)[/latex].
- Step 2. The stretching factor is [latex]A=|3|[/latex].
- Step 3. The period is [latex]P=\frac{π}{4}[/latex].
- Step 4. Sketch the graph of [latex]y=3tan(4x)[/latex].
- Step 5. Plot two reference points. Two such points are [latex](\frac{π}{16},3)[/latex] and [latex](\frac{3π}{16},−3)[/latex].
- Step 6. Use the reciprocal relationship to draw [latex]y=3cot(4x)[/latex].
- Step 7. Sketch the asymptotes, [latex]x=0, x=\frac{π}{4}[/latex].
The blue graph in Figure 14 shows [latex]y=3tan(4x)[/latex] and the green graph shows [latex]y=3cot(4x)[/latex].
How To
Given a modified cotangent function of the form [latex]f(x)=Acot(Bx−C)+D[/latex], graph one period.
- Express the function in the form [latex]f(x)=Acot(Bx−C)+D[/latex].
- Identify the stretching factor, [latex]\lvert A \rvert[/latex].
- Identify the period, [latex]P=\frac{π}{|B|}[/latex].
- Identify the phase shift, [latex]\frac{C}{B}[/latex].
- Draw the graph of [latex]y=Atan(Bx)[/latex] shifted to the right by [latex]\frac{C}{B}[/latex] and up by [latex]D[/latex].
- Sketch the asymptotes [latex]x=\frac{C}{B}+\frac{π}{|B|}k[/latex],
where [latex]k[/latex] is an integer. - Plot any three reference points and draw the graph through these points.
Example 9
Graphing a Modified Cotangent
Sketch a graph of one period of the function [latex]f(x)=4cot(\frac{π}{8}x−\frac{π}{2})−2[/latex].
Show/Hide Solution
- Step 1. The function is already written in the general form [latex]f(x)=Acot(Bx−C)+D[/latex].
- Step 2. [latex]A=4[/latex], so the stretching factor is 4.
- Step 3. [latex]B=\frac{π}{8}[/latex], so the period is [latex]P=\frac{π}{|B|}=\frac{π}{\frac{π}{8}}=8[/latex].
- Step 4. [latex]C=\frac{π}{2}[/latex], so the phase shift is [latex]\frac{C}{B}=\frac{\frac{π}{2}}{\frac{π}{8}}=4[/latex].
- Step 5. We draw [latex]f(x)=4tan(\frac{π}{8}x−\frac{π}{2})−2[/latex].
- Step 6-7. Three points we can use to guide the graph are [latex](6,2), (8,−2)[/latex], and [latex](10,−6)[/latex]. We use the reciprocal relationship of tangent and cotangent to draw [latex]f(x)=4cot(\frac{π}{8}x−\frac{π}{2})−2[/latex].
- Step 8. The vertical asymptotes are [latex]x=4[/latex] and [latex]x=12[/latex].
The graph is shown in Figure 15.
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 10
Using Trigonometric Functions to Solve Real-World Scenarios
Suppose the function [latex]y=5tan(\frac{π}{4}t)[/latex] marks the distance in the movement of a light beam from the top of a police car across a wall where [latex]t[/latex] is the time in seconds and [latex]y[/latex] is the distance in feet from a point on the wall directly across from the police car.
ⓐ Find and interpret the stretching factor and period.
ⓑ Graph on the interval [latex][0,5][/latex].
ⓒ Evaluate [latex]f(1)[/latex] and discuss the function’s value at that input.
Show/Hide Solution
ⓐ We know from the general form of [latex]y=Atan(Bt)[/latex] that [latex]\lvert A \rvert[/latex] is the stretching factor and [latex]\frac{π]{B}[/latex] is the period.
We see that the stretching factor is 5. This means that the beam of light will have moved 5 ft after half the period.
The period is [latex]\frac{π}{\frac{π}{4}}=\frac{π}{1}⋅\frac{4}{π}=4[/latex]. This means that every 4 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.
ⓑ To graph the function, we draw an asymptote at [latex]t=2[/latex] and use the stretching factor and period. See Figure 17
ⓒ Period: [latex]f(1)=5tan(\frac{π}{4}(1))=5(1)=5[/latex]; after 1 second, the beam has moved 5 ft from the spot across from the police car.
Media
Access these online resources for additional instruction and practice with graphs of other trigonometric functions.
3.2 Section Exercises
Verbal
1. Explain how the graph of the sine function can be used to graph [latex]y=csc \: x[/latex].
2. How can the graph of [latex]y=cos \: x[/latex] be used to construct the graph of [latex]y=sec \: x?[/latex]
3. Explain why the period of [latex]tan \: x[/latex] is equal to [latex]π[/latex].
4. Why are there no intercepts on the graph of [latex]y=csc \: x?[/latex]
5. How does the period of [latex]y=csc \: x[/latex] compare with the period of [latex]y=sin \: x?[/latex]
Algebraic
For the following exercises, match each trigonometric function with one of the following graphs.
6. [latex]f(x)=tan \: x[/latex]
7. [latex]f(x)=sec x[/latex]
8. [latex]f(x)=csc \: x[/latex]
9. [latex]f(x)=cot \: x[/latex]
For the following exercises, find the period and horizontal shift of each of the functions.
10. [latex]f(x)=2tan(4x−32)[/latex]
11. [latex]h(x)=2sec(\frac{π}{4}(x+1))[/latex]
12. [latex]m(x)=6csc(\frac{π}{3}x+π)[/latex]
For the following exercises, evaluate the transformed functions.
13. If [latex]tan \: x=−1.5[/latex], find [latex]tan(−x)[/latex].
14. If [latex]sec \: x=2[/latex], find [latex]sec(−x)[/latex].
15. If [latex]csc \: x=−5[/latex], find [latex]csc(−x)[/latex].
16. If [latex]xsin \: x=2[/latex], find [latex](−x)sin(−x)[/latex].
For the following exercises, rewrite each expression such that the argument [latex]x[/latex] is positive.
17. [latex]cot(−x)cos(−x)+sin(−x)[/latex]
18. [latex]cos(−x)+tan(−x)sin(−x)[/latex]
Graphical
For the following exercises, sketch two periods of the graph for each of the following functions. Identify the stretching factor, period, and asymptotes.
19. [latex]f(x)=2tan(4x−32)[/latex]
20. [latex]h(x)=2sec(\frac{π}{4}(x+1))[/latex]
21. [latex]m(x)=6csc(\frac{π}{3}x+π)[/latex]
22. [latex]j(x)=tan(\frac{π}{2}x)[/latex]
23. [latex]p(x)=tan(x−\frac{π}{2})[/latex]
24. [latex]f(x)=4tan(x)[/latex]
25. [latex]f(x)=tan(x+\frac{π}{4})[/latex]
26. [latex]f(x)=πtan(πx−π)−π[/latex]
27. [latex]f(x)=2csc(x)[/latex]
28. [latex]f(x)=−\frac{1}{4}csc(x)[/latex]
29. [latex]f(x)=4sec(3x)[/latex]
30. [latex]f(x)=−3cot(2x)[/latex]
31. [latex]f(x)=7sec(5x)[/latex]
32. [latex]f(x)=\frac{9}{10}csc(πx)[/latex]
33. [latex]f(x)=2csc(x+\frac{π}{4})−1[/latex]
34. [latex]f(x)=−sec(x−\frac{π}{3})−2[/latex]
35. [latex]f(x)=\frac{7}{5}csc(x−\frac{π}{4})[/latex]
36. [latex]f(x)=5(cot(x+\frac{π}{2})−3)[/latex]
For the following exercises, find and graph two periods of the periodic function with the given stretching factor, [latex]A[/latex], period, and phase shift.
37. A tangent curve, [latex]A=1[/latex], period of [latex]\frac{π}{3}[/latex]; and phase shift [latex](h, k)=(\frac{π}{4},2)[/latex]
38. A tangent curve, [latex]A=−2[/latex], period of [latex]\frac{π}{4}[/latex], and phase shift [latex](h, k)=(−\frac{π}{4}, −2)[/latex]
For the following exercises, find an equation for the graph of each function.
39.
40.
41.
42.
43.
44.
45.
Technology
For the following exercises, use a graphing application tool to graph 2 periods of the given function. Copy down what you see onto paper and answer the related questions.
What is the parent function of the given equation? How is the resulting graph related to the equation and to its parent function? Are any asymptotes visible? If so, explain where they occur and why.
46. [latex]f(x)=|cos \: x |[/latex]
47. [latex]f(x)=|csc \: x |[/latex]
48. [latex]f(x)=|cot \: x|[/latex]
Compare and contrast the following functions. Do they look similar to other functions you’re familiar with? Explain the behavior that you see.
49. [latex]f(x)=sec(0.001x)[/latex]
50. [latex]f(x)=cot(100πx)[/latex]
What is the function shown in the graph of the following trigonometric functions? Explain the behavior of the resulting graph.
51. [latex]f(x)=\frac{csc(x)}{sec(x)}[/latex]
52. [latex]f(x)=1+sec^2(x)−tan^2(x)[/latex]
53. [latex]f(x)=sin^2x+cos^2x[/latex]
Real-World Applications
54. The function [latex]f(x)=20tan(\frac{π}{10}x)[/latex] marks the distance in the movement of a light beam from a police car across a wall for time [latex]x[/latex], in seconds, and distance [latex]f(x)[/latex], in feet.
ⓐ Graph on the interval [latex][0, 5][/latex].
ⓑ Find and interpret the stretching factor, period, and asymptote.
ⓒ Evaluate [latex]f(1)[/latex] and [latex]f(2.5)[/latex] and discuss the function’s values at those inputs.
55. Standing on the shore of a lake, a fisherman sights a boat far in the distance to his left. Let [latex]x[/latex], measured in radians, be the angle formed by the line of sight to the ship and a line due north from his position. Assume due north is 0 and [latex]x[/latex] is measured negative to the left and positive to the right. (See Figure 19.) The boat travels from due west to due east and, ignoring the curvature of the Earth, the distance [latex]d(x)[/latex], in kilometers, from the fisherman to the boat is given by the function [latex]d(x)=1.5sec(x)[/latex].
ⓐWhat is a reasonable domain for [latex]d(x)?[/latex]
ⓑGraph [latex]d(x)[/latex] on this domain.
ⓒFind and discuss the meaning of any vertical asymptotes on the graph of [latex]d(x)[/latex].
ⓓCalculate and interpret [latex]d(−\frac{π}{3})[/latex]. Round to the second decimal place.
ⓔCalculate and interpret [latex]d((\frac{π}{6})[/latex]. Round to the second decimal place.
ⓕWhat is the minimum distance between the fisherman and the boat? When does this occur?
56. A laser rangefinder is locked on a comet approaching Earth. The distance [latex]g(x)[/latex], in kilometers, of the comet after [latex]x[/latex] days, for [latex]x[/latex] in the interval 0 to 30 days, is given by [latex]g(x)=250,000csc(\frac{π}{30}x)[/latex].
ⓐ Graph [latex]g(x)[/latex] on the interval [latex][0, 30][/latex].
ⓑ Evaluate [latex]g(5)[/latex] and interpret the information.
ⓒ What is the minimum distance between the comet and Earth? When does this occur? To which constant in the equation does this correspond?
ⓓ Find and discuss the meaning of any vertical asymptotes.
57. A video camera is focused on a rocket on a launching pad 2 miles from the camera. The angle of elevation from the ground to the rocket after [latex]x[/latex] seconds is [latex]\frac{π}{120}x[/latex].
ⓐWrite a function expressing the altitude [latex]h(x)[/latex], in miles, of the rocket above the ground after [latex]x[/latex] seconds. Ignore the curvature of the Earth.
ⓑGraph [latex]h(x)[/latex] on the interval [latex](0, 60)[/latex].
ⓒEvaluate and interpret the values [latex]h(0)[/latex] and [latex]h(30)[/latex].
ⓓWhat happens to the values of [latex]h(x)[/latex] as [latex]x[/latex] approaches 60 seconds? Interpret the meaning of this in terms of the problem.