Learning Objectives
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 police car parked next to a warehouse. The rotating light from the police car 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
The period of the tangent function is[latex]\,\pi \,[/latex]because the graph repeats itself on intervals of[latex]\,k\pi \,[/latex]where[latex]\,k\,[/latex]is a constant. If we graph the tangent function on[latex]\,-\frac{\pi }{2}\,[/latex]to[latex]\,\frac{\pi }{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 (Figure).
[latex]x[/latex] | [latex]-\frac{\pi }{2}[/latex] | [latex]-\frac{\pi }{3}[/latex] | [latex]-\frac{\pi }{4}[/latex] | [latex]-\frac{\pi }{6}[/latex] | 0 | [latex]\frac{\pi }{6}[/latex] | [latex]\frac{\pi }{4}[/latex] | [latex]\frac{\pi }{3}[/latex] | [latex]\frac{\pi }{2}[/latex] |
[latex]\mathrm{tan}\left(x\right)[/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{\pi }{3}
[latex]x[/latex] | 1.3 | 1.5 | 1.55 | 1.56 |
[latex]\mathrm{tan} \text{ }x[/latex] | 3.6 | 14.1 | 48.1 | 92.6 |
As[latex]\,x\,[/latex]approaches[latex]\,\frac{\pi }{2},\,[/latex]the outputs of the function get larger and larger. Because[latex]\,y=\mathrm{tan}\,x\,[/latex]is an odd function, we see the corresponding table of negative values in (Figure).
[latex]x[/latex] | −1.3 | −1.5 | −1.55 | −1.56 |
[latex]\mathrm{tan}\,x[/latex] | −3.6 | −14.1 | −48.1 | −92.6 |
We can see that, as[latex]\,x\,[/latex]approaches[latex]\,-\frac{\pi }{2},\,[/latex]the outputs get smaller and smaller. Remember that there are some values of[latex]\,x\,[/latex]for which[latex]\,\mathrm{cos}\,x=0.\,[/latex]For example,[latex]\,\mathrm{cos}\left(\frac{\pi }{2}\right)=0\,[/latex]and[latex]\,\mathrm{cos}\left(\frac{3\pi }{2}\right)=0.\,[/latex]At these values, the tangent function is undefined, so the graph of[latex]\,y=\mathrm{tan}\,x\,[/latex]has discontinuities at[latex]\,x=\frac{\pi }{2}\text{ and }\frac{3\pi }{2}.\,[/latex]At these values, the graph of the tangent has vertical asymptotes. (Figure) represents the graph of[latex]\,y=\mathrm{tan}\,x.\,[/latex]The tangent is positive from 0 to[latex]\,\frac{\pi }{2}\,[/latex]and from[latex]\,\pi \,[/latex]to[latex]\,\frac{3\pi }{2},\,[/latex]corresponding to quadrants I and III of the unit circle.
Graphing Variations of y = tan x
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[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]
Features of the Graph of y = Atan(Bx)
- The stretching factor is[latex]\,|A|.[/latex]
- The period is[latex]\,P=\frac{\pi }{|B|}.[/latex]
- The domain is all real numbers[latex]\,x,[/latex]where[latex]\,x\ne \frac{\pi }{2|B|}+\frac{\pi }{|B|}k\,[/latex]such that[latex]\,k\,[/latex]is an integer.
- The range is[latex]\,\left(\mathrm{-\infty },\infty \right).[/latex]
- The asymptotes occur at[latex]\,x=\frac{\pi }{2|B|}+\frac{\pi }{|B|}k,\,[/latex]where[latex]\,k\,[/latex]is an integer.
- [latex]y=A\mathrm{tan}\left(Bx\right)\,[/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\left(x\right)=A\mathrm{tan}\left(Bx\right).\,[/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]\,\left(-\frac{P}{2},\frac{P}{2}\right)\,[/latex]and the graph has vertical asymptotes at[latex]\,±\frac{P}{2}\,[/latex]where[latex]\,P=\frac{\pi }{B}.\,[/latex]On[latex]\,\left(-\frac{\pi }{2},\frac{\pi }{2}\right),\,[/latex]the graph will come up from the left asymptote at[latex]\,x=-\frac{\pi }{2},\,[/latex]cross through the origin, and continue to increase as it approaches the right asymptote at[latex]\,x=\frac{\pi }{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
because[latex]\,\mathrm{tan}\left(\frac{\pi }{4}\right)=1.[/latex]
Given the function[latex]\,f\left(x\right)=A\mathrm{tan}\left(Bx\right),\,[/latex]graph one period.
- Identify the stretching factor,[latex]\,|A|.[/latex]
- Identify[latex]\,B\,[/latex]and determine the period,[latex]\,P=\frac{\pi }{|B|}.[/latex]
- Draw vertical asymptotes at[latex]\,x=-\frac{P}{2}\,[/latex]and[latex]\,x=\frac{P}{2}.[/latex]
- For[latex]\,A>0,\,[/latex]the graph approaches the left asymptote at negative output values and the right asymptote at positive output values (reverse for[latex]\,A<0[/latex]).
- Plot reference points at[latex]\,\left(\frac{P}{4},A\right),\,[/latex][latex]\left(0,0\right),\,[/latex]and[latex]\,\left(-\frac{P}{4},-A\right),\,[/latex]and draw the graph through these points.
Sketching a Compressed Tangent
Sketch a graph of one period of the function[latex]\,y=0.5\mathrm{tan}\left(\frac{\pi }{2}x\right).[/latex]
Try It
Sketch a graph of[latex]\,f\left(x\right)=3\mathrm{tan}\left(\frac{\pi }{6}x\right).[/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.
The graph of a transformed tangent function is different from the basic tangent function[latex]\,\mathrm{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{\pi }{|B|}.[/latex]
- The domain is[latex]\,x\ne \frac{C}{B}+\frac{\pi }{|B|}k,[/latex]where[latex]\,k\,[/latex]is an integer.
- The range is[latex]\,\left(\mathrm{-\infty },\infty \right).[/latex]
- The vertical asymptotes occur at[latex]\,x=\frac{C}{B}+\frac{\pi }{2|B|}k,[/latex]where[latex]\,k\,[/latex]is an odd integer.
- There is no amplitude.
- [latex]y=A\,\mathrm{tan}\left(Bx-C\right)+D\,[/latex]is an odd function because it is the quotient of odd and even functions (sin and cosine respectively).
Given the function[latex]\,y=A\mathrm{tan}\left(Bx-C\right)+D,\,[/latex]sketch the graph of one period.
- Express the function given in the form[latex]\,y=A\mathrm{tan}\left(Bx-C\right)+D.[/latex]
- Identify the stretching/compressing factor,[latex]\,|A|.[/latex]
- Identify[latex]\,B\,[/latex]and determine the period,[latex]\,P=\frac{\pi }{|B|}.[/latex]
- Identify[latex]\,C\,[/latex]and determine the phase shift,[latex]\,\frac{C}{B}.[/latex]
- Draw the graph of[latex]\,y=A\mathrm{tan}\left(Bx\right)\,[/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]\text{ }x=\frac{C}{B}+\frac{\pi }{2|B|}k,[/latex]where[latex]\text{ }k\text{ }[/latex]is an odd integer.
- Plot any three reference points and draw the graph through these points.
Graphing One Period of a Shifted Tangent Function
Graph one period of the function[latex]\,y=-2\mathrm{tan}\left(\pi x+\pi \right)\,-1.[/latex]
Analysis
Note that this is a decreasing function because[latex]\,A<0.[/latex]
Try It
How would the graph in (Figure) look different if we made[latex]\,A=2\,[/latex]instead of[latex]\,-2?[/latex]
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\left(x\right)=A\mathrm{tan}\left(\frac{\pi }{P}x\right).[/latex]
- Determine a convenient point[latex]\,\left(x,f\left(x\right)\right)\,[/latex]on the given graph and use it to determine[latex]\,A.[/latex]
Identifying the Graph of a Stretched Tangent
Find a formula for the function graphed in (Figure).
Try It
Find a formula for the function in (Figure).
Analyzing the Graphs of y = sec x and y = cscx
The secant was defined by the reciprocal identity[latex]\,\mathrm{sec}\,x=\frac{1}{\mathrm{cos}\,x}.\,[/latex]Notice that the function is undefined when the cosine is 0, leading to vertical asymptotes at[latex]\,\frac{\pi }{2},\,[/latex][latex]\frac{3\pi }{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=\mathrm{sec}\,x\,[/latex]by observing the graph of the cosine function because these two functions are reciprocals of one another. See (Figure). 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]\,\mathrm{sec}\left(-x\right)=\mathrm{sec}\,x.[/latex]
As we did for the tangent function, we will again refer to the constant[latex]\,|A|\,[/latex]as the stretching factor, not the amplitude.
Features of the Graph of y = Asec(Bx)
- The stretching factor is[latex]\,|A|.[/latex]
- The period is[latex]\,\frac{2\pi }{|B|}.[/latex]
- The domain is[latex]\,x\ne \frac{\pi }{2|B|}k,\,[/latex]where[latex]\,k\,[/latex]is an odd integer.
- The range is[latex]\,\left(-\infty ,-|A|\right]\cup \left[|A|,\infty \right).[/latex]
- The vertical asymptotes occur at[latex]\,x=\frac{\pi }{2|B|}k,\,[/latex]where[latex]\,k\,[/latex]is an odd integer.
- There is no amplitude.
- [latex]y=A\mathrm{sec}\left(Bx\right)\,[/latex]is an even function because cosine is an even function.
Similar to the secant, the cosecant is defined by the reciprocal identity[latex]\,\mathrm{csc}\,x=\frac{1}{\mathrm{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]\pi ,\,[/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=\mathrm{csc}\,x\,[/latex]by observing the graph of the sine function because these two functions are reciprocals of one another. See (Figure). 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]\,\mathrm{csc}\left(-x\right)=\mathrm{-csc}x.[/latex]
The graph of cosecant, which is shown in (Figure), is similar to the graph of secant.
Features of the Graph of y = Acsc(Bx)
- The stretching factor is[latex]\,|A|.[/latex]
- The period is[latex]\,\frac{2\pi }{|B|}.[/latex]
- The domain is[latex]\,x\ne \frac{\pi }{|B|}k,\,[/latex]where[latex]\,k\,[/latex]is an integer.
- The range is[latex]\left(-\infty ,-|A|\right]\cup \left[|A|,\infty \right).[/latex]
- The asymptotes occur at[latex]\,x=\frac{\pi }{|B|}k,\,[/latex]where[latex]\,k\,[/latex]is an integer.
- [latex]y=A\mathrm{csc}\left(Bx\right)\,[/latex]is an odd function because sine is an odd function.
Graphing Variations of y = sec x and y= csc x
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 y = Asec(Bx−C)+D
- The stretching factor is[latex]\,|A|.[/latex]
- The period is[latex]\,\frac{2\pi }{|B|}.[/latex]
- The domain is[latex]\,x\ne \frac{C}{B}+\frac{\pi }{2|B|}k,[/latex]where[latex]\,k\,[/latex]is an odd integer.
- The range is[latex]\,\left(-\infty ,-|A|+D\right]\cup \left[|A|+D,\infty \right).[/latex]
- The vertical asymptotes occur at[latex]\,x=\frac{C}{B}+\frac{\pi }{2|B|}k,[/latex]where[latex]\,k\,[/latex]is an odd integer.
- There is no amplitude.
- [latex]y=A\mathrm{sec}\left(Bx-C\right)+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]\,|A|.[/latex]
- The period is[latex]\,\frac{2\pi }{|B|}.[/latex]
- The domain is[latex]\,x\ne \frac{C}{B}+\frac{\pi }{|B|}k,[/latex]where[latex]\,k\,[/latex]is an integer.
- The range is[latex]\,\left(-\infty ,-|A|+D\right]\cup \left[|A|+D,\infty \right).[/latex]
- The vertical asymptotes occur at[latex]\,x=\frac{C}{B}+\frac{\pi }{|B|}k,[/latex]where[latex]\,k\,[/latex]is an integer.
- There is no amplitude.
- [latex]y=A\mathrm{csc}\left(Bx-C\right)+D\,[/latex]is an odd function because sine is an odd function.
Given a function of the form[latex]\,y=A\mathrm{sec}\left(Bx\right),\,[/latex]graph one period.
- Express the function given in the form[latex]\,y=A\mathrm{sec}\left(Bx\right).[/latex]
- Identify the stretching/compressing factor,[latex]\,|A|.[/latex]
- Identify[latex]\,B\,[/latex]and determine the period,[latex]\,P=\frac{2\pi }{|B|}.[/latex]
- Sketch the graph of[latex]\,y=A\mathrm{cos}\left(Bx\right).[/latex]
- Use the reciprocal relationship between[latex]\,y=\mathrm{cos}\,x\,[/latex]and[latex]\,y=\mathrm{sec}\,x\,[/latex]to draw the graph of[latex]\,y=A\mathrm{sec}\left(Bx\right).[/latex]
- Sketch the asymptotes.
- Plot any two reference points and draw the graph through these points.
Graphing a Variation of the Secant Function
Graph one period of[latex]\,f\left(x\right)=2.5\mathrm{sec}\left(0.4x\right).[/latex]
Try It
Graph one period of[latex]\,f\left(x\right)=-2.5\mathrm{sec}\left(0.4x\right).[/latex]
Do the vertical shift and stretch/compression affect the secant’s range?
Yes. The range of[latex]\,f\left(x\right)=A\mathrm{sec}\left(Bx-C\right)+D\,[/latex]is[latex]\left(-\infty ,-|A|+D\right]\cup \left[|A|+D,\infty \right).[/latex]
Given a function of the form[latex]\,f\left(x\right)=A\mathrm{sec}\left(Bx-C\right)+D,\,[/latex]graph one period.
- Express the function given in the form[latex]\,y=A\,\mathrm{sec}\left(Bx-C\right)+D.[/latex]
- Identify the stretching/compressing factor,[latex]\,|A|.[/latex]
- Identify[latex]\,B\,[/latex]and determine the period,[latex]\,\frac{2\pi }{|B|}.[/latex]
- Identify[latex]\,C\,[/latex]and determine the phase shift,[latex]\,\frac{C}{B}.[/latex]
- Draw the graph of[latex]\,y=A\,\mathrm{sec}\left(Bx\right)\,.[/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{\pi }{2|B|}k,[/latex]where[latex]\,k\,[/latex]is an odd integer.
Graphing a Variation of the Secant Function
Graph one period of[latex]\,y=4\mathrm{sec}\left(\frac{\pi }{3}x-\frac{\pi }{2}\right)+1.[/latex]
Try It
Graph one period of[latex]\,f\left(x\right)=-6\mathrm{sec}\left(4x+2\right)-8.[/latex]
The domain of[latex]\,\mathrm{csc}\,x\,[/latex]was given to be all[latex]\,x\,[/latex]such that[latex]\,x\ne k\pi \,[/latex]for any integer[latex]\,k.\,[/latex]Would the domain of[latex]\,y=A\mathrm{csc}\left(Bx-C\right)+D\,\text{be}\,x\ne \frac{C+k\pi }{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.
Given a function of the form[latex]\,y=A\mathrm{csc}\left(Bx\right),\,[/latex]graph one period.
- Express the function given in the form[latex]\,y=A\mathrm{csc}\left(Bx\right).[/latex]
- [latex]\,|A|.[/latex]
- Identify[latex]\,B\,[/latex]and determine the period,[latex]\,P=\frac{2\pi }{|B|}.[/latex]
- Draw the graph of[latex]\,y=A\mathrm{sin}\left(Bx\right).[/latex]
- Use the reciprocal relationship between[latex]\,y=\mathrm{sin}\,x\,[/latex]and[latex]\,y=\mathrm{csc}\,x\,[/latex]to draw the graph of[latex]\,y=A\mathrm{csc}\left(Bx\right).[/latex]
- Sketch the asymptotes.
- Plot any two reference points and draw the graph through these points.
Graphing a Variation of the Cosecant Function
Graph one period of[latex]\,f\left(x\right)=-3\mathrm{csc}\left(4x\right).[/latex]
Try It
Graph one period of[latex]\,f\left(x\right)=0.5\mathrm{csc}\left(2x\right).[/latex]
Given a function of the form[latex]\,f\left(x\right)=A\mathrm{csc}\left(Bx-C\right)+D,\,[/latex]graph one period.
- Express the function given in the form[latex]\,y=A\mathrm{csc}\left(Bx-C\right)+D.[/latex]
- Identify the stretching/compressing factor,[latex]\,|A|.[/latex]
- Identify[latex]\,B\,[/latex]and determine the period,[latex]\,\frac{2\pi }{|B|}.[/latex]
- Identify[latex]\,C\,[/latex]and determine the phase shift,[latex]\,\frac{C}{B}.[/latex]
- Draw the graph of[latex]\,y=A\mathrm{csc}\left(Bx\right)\,[/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{\pi }{|B|}k,[/latex]where[latex]\,k\,[/latex]is an integer.
Graphing a Vertically Stretched, Horizontally Compressed, and Vertically Shifted Cosecant
Sketch a graph of[latex]\,y=2\mathrm{csc}\left(\frac{\pi }{2}x\right)+1.\,[/latex]What are the domain and range of this function?
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\left(x\right)=2\mathrm{sin}\left(\frac{\pi }{2}x\right)+1,[/latex]shown as the orange dashed wave.
Try It
Given the graph of[latex]\,f\left(x\right)=2\mathrm{cos}\left(\frac{\pi }{2}x\right)+1\,[/latex]shown in (Figure), sketch the graph of[latex]\,g\left(x\right)=2\mathrm{sec}\left(\frac{\pi }{2}x\right)+1\,[/latex]on the same axes.
Analyzing the Graph of y = cot x
The last trigonometric function we need to explore is cotangent. The cotangent is defined by the reciprocal identity[latex]\,\mathrm{cot}\,x=\frac{1}{\mathrm{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,\pi ,\,[/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=\mathrm{cot}\,x\,[/latex]by observing the graph of the tangent function because these two functions are reciprocals of one another. See (Figure). 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]\,\mathrm{tan}\,x=0;\,[/latex]we show these in the graph below with dashed lines. Since the cotangent is the reciprocal of the tangent,[latex]\,\mathrm{cot}\,x\,[/latex]has vertical asymptotes at all values of[latex]\,x\,[/latex]where[latex]\,\mathrm{tan}\,x=0,\,[/latex]and[latex]\,\mathrm{cot}\,x=0\,[/latex]at all values of[latex]\,x\,[/latex]where[latex]\,\mathrm{tan}\,x\,[/latex]has its vertical asymptotes.
Features of the Graph of y = Acot(Bx)
- The stretching factor is[latex]\,|A|.[/latex]
- The period is[latex]\,P=\frac{\pi }{|B|}.[/latex]
- The domain is[latex]\,x\ne \frac{\pi }{|B|}k,\,[/latex]where[latex]\,k\,[/latex]is an integer.
- The range is[latex]\,\left(-\infty ,\infty \right).[/latex]
- The asymptotes occur at[latex]\,x=\frac{\pi }{|B|}k,\,[/latex]where[latex]\,k\,[/latex]is an integer.
- [latex]y=A\mathrm{cot}\left(Bx\right)\,[/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.
Properties of the Graph of y = Acot(Bx−C)+D
- The stretching factor is[latex]\,|A|.[/latex]
- The period is[latex]\,\frac{\pi }{|B|}.[/latex]
- The domain is[latex]\,x\ne \frac{C}{B}+\frac{\pi }{|B|}k,[/latex]where[latex]\,k\,[/latex]is an integer.
- The range is[latex]\,\left(\mathrm{-\infty },\infty \right).[/latex]
- The vertical asymptotes occur at[latex]\,x=\frac{C}{B}+\frac{\pi }{|B|}k,[/latex]where[latex]\,k\,[/latex]is an integer.
- There is no amplitude.
- [latex]y=A\mathrm{cot}\left(Bx\right)\,[/latex]is an odd function because it is the quotient of even and odd functions (cosine and sine, respectively)
Given a modified cotangent function of the form[latex]\,f\left(x\right)=A\mathrm{cot}\left(Bx\right),[/latex]graph one period.
- Express the function in the form[latex]\,f\left(x\right)=A\mathrm{cot}\left(Bx\right).[/latex]
- Identify the stretching factor,[latex]\,|A|.[/latex]
- Identify the period,[latex]\,P=\frac{\pi }{|B|}.[/latex]
- Draw the graph of[latex]\,y=A\mathrm{tan}\left(Bx\right).[/latex]
- Plot any two reference points.
- Use the reciprocal relationship between tangent and cotangent to draw the graph of[latex]\,y=A\mathrm{cot}\left(Bx\right).[/latex]
- Sketch the asymptotes.
Graphing Variations of the Cotangent Function
Determine the stretching factor, period, and phase shift of[latex]\,y=3\mathrm{cot}\left(4x\right),\,[/latex]and then sketch a graph.
Given a modified cotangent function of the form[latex]\,f\left(x\right)=A\mathrm{cot}\left(Bx-C\right)+D,\,[/latex]graph one period.
- Express the function in the form[latex]\,f\left(x\right)=A\mathrm{cot}\left(Bx-C\right)+D.[/latex]
- Identify the stretching factor,[latex]\,|A|.[/latex]
- Identify the period,[latex]\,P=\frac{\pi }{|B|}.[/latex]
- Identify the phase shift,[latex]\,\frac{C}{B}.[/latex]
- Draw the graph of[latex]\,y=A\mathrm{tan}\left(Bx\right)\,[/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{\pi }{|B|}k,[/latex]where[latex]\,k\,[/latex]is an integer.
- Plot any three reference points and draw the graph through these points.
Graphing a Modified Cotangent
Sketch a graph of one period of the function[latex]\,f\left(x\right)=4\mathrm{cot}\left(\frac{\pi }{8}x-\frac{\pi }{2}\right)-2.[/latex]
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 police car 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.
Using Trigonometric Functions to Solve Real-World Scenarios
Suppose the function[latex]\,y=5\mathrm{tan}\left(\frac{\pi }{4}t\right)\,[/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]\,\left[0,5\right].[/latex]
- Evaluate[latex]\,f\left(1\right)\,[/latex]and discuss the function’s value at that input.
Access these online resources for additional instruction and practice with graphs of other trigonometric functions.
Key Equations
Shifted, compressed, and/or stretched tangent function | [latex]y=A\,\mathrm{tan}\left(Bx-C\right)+D[/latex] |
Shifted, compressed, and/or stretched secant function | [latex]y=A\,\mathrm{sec}\left(Bx-C\right)+D[/latex] |
Shifted, compressed, and/or stretched cosecant function | [latex]y=A\,\mathrm{csc}\left(Bx-C\right)+D[/latex] |
Shifted, compressed, and/or stretched cotangent function | [latex]y=A\,\mathrm{cot}\left(Bx-C\right)+D[/latex] |
Key Concepts
- The tangent function has period[latex]\,\pi .[/latex]
- [latex]f\left(x\right)=A\mathrm{tan}\left(Bx-C\right)+D\,[/latex]is a tangent with vertical and/or horizontal stretch/compression and shift. See (Figure), (Figure), and (Figure).
- The secant and cosecant are both periodic functions with a period of[latex]\,2\pi .\,[/latex][latex]f\left(x\right)=A\mathrm{sec}\left(Bx-C\right)+D\,[/latex]gives a shifted, compressed, and/or stretched secant function graph. See (Figure) and (Figure).
- [latex]f\left(x\right)=A\mathrm{csc}\left(Bx-C\right)+D\,[/latex]gives a shifted, compressed, and/or stretched cosecant function graph. See (Figure) and (Figure).
- The cotangent function has period[latex]\,\pi \,[/latex]and vertical asymptotes at[latex]\,0,±\pi ,±2\pi ,....[/latex]
- The range of cotangent is[latex]\,\left(-\infty ,\infty \right),\,[/latex]and the function is decreasing at each point in its range.
- The cotangent is zero at[latex]\,±\frac{\pi }{2},±\frac{3\pi }{2},....[/latex]
- [latex]f\left(x\right)=A\mathrm{cot}\left(Bx-C\right)+D\,[/latex]is a cotangent with vertical and/or horizontal stretch/compression and shift. See (Figure) and (Figure).
- Real-world scenarios can be solved using graphs of trigonometric functions. See (Figure).
Section Exercises
Verbal
Explain how the graph of the sine function can be used to graph[latex]\,y=\mathrm{csc}\,x.[/latex]
How can the graph of[latex]\,y=\mathrm{cos}\,x\,[/latex]be used to construct the graph of[latex]\,y=\mathrm{sec}\,x?[/latex]
Explain why the period of[latex]\,\mathrm{tan}\,x\,[/latex]is equal to[latex]\,\pi .[/latex]
Why are there no intercepts on the graph of[latex]\,y=\mathrm{csc}\,x?[/latex]
How does the period of[latex]\,y=\mathrm{csc}\,x\,[/latex]compare with the period of[latex]\,y=\mathrm{sin}\,x?[/latex]
Algebraic
For the following exercises, match each trigonometric function with one of the following graphs.
[latex]f\left(x\right)=\mathrm{tan}\,x[/latex]
[latex]f\left(x\right)=\mathrm{sec}\,x[/latex]
[latex]f\left(x\right)=\mathrm{csc}\,x[/latex]
[latex]f\left(x\right)=\mathrm{cot}\,x[/latex]
For the following exercises, find the period and horizontal shift of each of the functions.
[latex]f\left(x\right)=2\mathrm{tan}\left(4x-32\right)[/latex]
[latex]h\left(x\right)=2\mathrm{sec}\left(\frac{\pi }{4}\left(x+1\right)\right)[/latex]
[latex]m\left(x\right)=6\mathrm{csc}\left(\frac{\pi }{3}x+\pi \right)[/latex]
If[latex]\,\mathrm{tan}\,x=-1.5,\,[/latex]find[latex]\,\mathrm{tan}\left(-x\right).[/latex]
If[latex]\,\mathrm{sec}\,x=2,\,[/latex]find[latex]\,\mathrm{sec}\left(-x\right).[/latex]
If[latex]\,\mathrm{csc}\,x=-5,\,[/latex]find[latex]\,\mathrm{csc}\left(-x\right).[/latex]
If[latex]\,x\mathrm{sin}\,x=2,\,[/latex]find[latex]\,\left(-x\right)\mathrm{sin}\left(-x\right).[/latex]
For the following exercises, rewrite each expression such that the argument[latex]\,x\,[/latex]is positive.
[latex]\mathrm{cot}\left(-x\right)\mathrm{cos}\left(-x\right)+\mathrm{sin}\left(-x\right)[/latex]
[latex]\mathrm{cos}\left(-x\right)+\mathrm{tan}\left(-x\right)\mathrm{sin}\left(-x\right)[/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.
[latex]f\left(x\right)=2\mathrm{tan}\left(4x-32\right)[/latex]
[latex]\,h\left(x\right)=2\mathrm{sec}\left(\frac{\pi }{4}\left(x+1\right)\right)\,[/latex]
[latex]m\left(x\right)=6\mathrm{csc}\left(\frac{\pi }{3}x+\pi \right)[/latex]
[latex]j\left(x\right)=\mathrm{tan}\left(\frac{\pi }{2}x\right)[/latex]
[latex]p\left(x\right)=\mathrm{tan}\left(x-\frac{\pi }{2}\right)[/latex]
[latex]f\left(x\right)=4\mathrm{tan}\left(x\right)[/latex]
[latex]f\left(x\right)=\mathrm{tan}\left(x+\frac{\pi }{4}\right)[/latex]
[latex]f\left(x\right)=\pi \mathrm{tan}\left(\pi x-\pi \right)-\pi[/latex]
[latex]f\left(x\right)=2\mathrm{csc}\left(x\right)[/latex]
[latex]f\left(x\right)=-\frac{1}{4}\mathrm{csc}\left(x\right)[/latex]
[latex]f\left(x\right)=4\mathrm{sec}\left(3x\right)[/latex]
[latex]f\left(x\right)=-3\mathrm{cot}\left(2x\right)[/latex]
[latex]f\left(x\right)=7\mathrm{sec}\left(5x\right)[/latex]
[latex]f\left(x\right)=\frac{9}{10}\mathrm{csc}\left(\pi x\right)[/latex]
[latex]f\left(x\right)=2\mathrm{csc}\left(x+\frac{\pi }{4}\right)-1[/latex]
[latex]f\left(x\right)=-\mathrm{sec}\left(x-\frac{\pi }{3}\right)-2[/latex]
[latex]f\left(x\right)=\frac{7}{5}\mathrm{csc}\left(x-\frac{\pi }{4}\right)[/latex]
[latex]f\left(x\right)=5\left(\mathrm{cot}\left(x+\frac{\pi }{2}\right)-3\right)[/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.
A tangent curve,[latex]\,A=1,\,[/latex]period of[latex]\,\frac{\pi }{3};\,[/latex]and phase shift[latex]\,\left(h,\,k\right)=\left(\frac{\pi }{4},2\right)[/latex]
A tangent curve,[latex]\,A=-2,\,[/latex]period of[latex]\,\frac{\pi }{4},\,[/latex]and phase shift[latex]\,\left(h,\,k\right)=\left(-\frac{\pi }{4},\,-2\right)[/latex]
For the following exercises, find an equation for the graph of each function.
Technology
For the following exercises, use a graphing calculator to graph two periods of the given function. Note: most graphing calculators do not have a cosecant button; therefore, you will need to input[latex]\,\mathrm{csc}\,x\,[/latex]as[latex]\,\frac{1}{\mathrm{sin}\,x}.[/latex]
[latex]f\left(x\right)=|\mathrm{csc}\left(x\right)|[/latex]
[latex]f\left(x\right)=|\mathrm{cot}\left(x\right)|[/latex]
[latex]f\left(x\right)={2}^{\mathrm{csc}\left(x\right)}[/latex]
[latex]f\left(x\right)=\frac{\mathrm{csc}\left(x\right)}{\mathrm{sec}\left(x\right)}[/latex]
Graph[latex]\,f\left(x\right)=1+{\mathrm{sec}}^{2}\left(x\right)-{\mathrm{tan}}^{2}\left(x\right).\,[/latex]What is the function shown in the graph?
[latex]f\left(x\right)=\mathrm{sec}\left(0.001x\right)[/latex]
[latex]f\left(x\right)=\mathrm{cot}\left(100\pi x\right)[/latex]
[latex]f\left(x\right)={\mathrm{sin}}^{2}x+{\mathrm{cos}}^{2}x[/latex]
Real-World Applications
The function[latex]\,f\left(x\right)=20\mathrm{tan}\left(\frac{\pi }{10}x\right)\,[/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\left(x\right),[/latex]
in feet.
- Graph on the interval[latex]\,\left[0,\,5\right].[/latex]
- Find and interpret the stretching factor, period, and asymptote.
- Evaluate[latex]\,f\left(1\right)\,[/latex]and[latex]\,f\left(2.5\right)\,[/latex]and discuss the function’s values at those inputs.
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).) The boat travels from due west to due east and, ignoring the curvature of the Earth, the distance[latex]\,d\left(x\right),\,[/latex]in kilometers, from the fisherman to the boat is given by the function[latex]\,d\left(x\right)=1.5\mathrm{sec}\left(x\right).[/latex]
- What is a reasonable domain for[latex]\,d\left(x\right)?[/latex]
- Graph[latex]\,d\left(x\right)\,[/latex]on this domain.
- Find and discuss the meaning of any vertical asymptotes on the graph of[latex]\,d\left(x\right).[/latex]
- Calculate and interpret[latex]\,d\left(-\frac{\pi }{3}\right).\,[/latex]Round to the second decimal place.
- Calculate and interpret[latex]\,d\left(\frac{\pi }{6}\right).\,[/latex]Round to the second decimal place.
- What is the minimum distance between the fisherman and the boat? When does this occur?
A laser rangefinder is locked on a comet approaching Earth. The distance[latex]\,g\left(x\right),\,[/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\left(x\right)=250,000\mathrm{csc}\left(\frac{\pi }{30}x\right).[/latex]
- Graph[latex]\,g\left(x\right)\,[/latex]on the interval[latex]\,\left[0,\,35\right].[/latex]
- Evaluate[latex]\,g\left(5\right)\,[/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.
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{\pi }{120}x.[/latex]
- Write a function expressing the altitude[latex]\,h\left(x\right),\,[/latex]in miles, of the rocket above the ground after[latex]\,x\,[/latex]seconds. Ignore the curvature of the Earth.
- Graph[latex]\,h\left(x\right)\,[/latex]on the interval[latex]\,\left(0,\,60\right).[/latex]
- Evaluate and interpret the values[latex]\,h\left(0\right)\,[/latex]and[latex]\,h\left(30\right).[/latex]
- What happens to the values of[latex]\,h\left(x\right)\,[/latex]as [latex]\,x\,[/latex]
approaches 60 seconds? Interpret the meaning of this in terms of the problem.
Candela Citations
- Algebra and Trigonometry. Authored by: Jay Abramson, et. al. Provided by: OpenStax CNX. Located at: http://cnx.org/contents/13ac107a-f15f-49d2-97e8-60ab2e3b519c@11.1. License: CC BY: Attribution. License Terms: Download for free at http://cnx.org/contents/13ac107a-f15f-49d2-97e8-60ab2e3b519c@11.1