# 53 Graphs of the Other Trigonometric Functions

### 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

$\mathrm{tan}\,x=\frac{\mathrm{sin}\,x}{\mathrm{cos}\,x}$

The period of the tangent function is$\,\pi \,$because the graph repeats itself on intervals of$\,k\pi \,$where$\,k\,$is a constant. If we graph the tangent function on$\,-\frac{\pi }{2}\,$to$\,\frac{\pi }{2},\,$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.

$\begin{array}{ll}\mathrm{tan}\left(-x\right)=\frac{\mathrm{sin}\left(-x\right)}{\mathrm{cos}\left(-x\right)}\hfill & \begin{array}{ccc}& & \end{array}\text{Definition of tangent}.\hfill \\ \text{ }=\frac{-\mathrm{sin}\,x}{\mathrm{cos}\,x}\hfill & \begin{array}{ccc}& & \end{array}\text{Sine is an odd function, cosine is even}.\hfill \\ \text{ }=-\frac{\mathrm{sin}\,x}{\mathrm{cos}\,x}\hfill & \begin{array}{ccc}& & \end{array}\text{The quotient of an odd and an even function is odd}.\hfill \\ \text{ }=-\mathrm{tan}\,x\hfill & \begin{array}{ccc}& & \end{array}\text{Definition of tangent}.\hfill \end{array}$

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).

 $x$ $-\frac{\pi }{2}$ $-\frac{\pi }{3}$ $-\frac{\pi }{4}$ $-\frac{\pi }{6}$ 0 $\frac{\pi }{6}$ $\frac{\pi }{4}$ $\frac{\pi }{3}$ $\frac{\pi }{2}$ $\mathrm{tan}\left(x\right)$ undefined $-\sqrt{3}$ –1 $-\frac{\sqrt{3}}{3}$ 0 $\frac{\sqrt{3}}{3}$ 1 $\sqrt{3}$ 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$\,\frac{\pi }{3}(Figure).  [latex]x$ 1.3 1.5 1.55 1.56 $\mathrm{tan} \text{ }x$ 3.6 14.1 48.1 92.6

As$\,x\,$approaches$\,\frac{\pi }{2},\,$the outputs of the function get larger and larger. Because$\,y=\mathrm{tan}\,x\,$is an odd function, we see the corresponding table of negative values in (Figure).

 $x$ −1.3 −1.5 −1.55 −1.56 $\mathrm{tan}\,x$ −3.6 −14.1 −48.1 −92.6

We can see that, as$\,x\,$approaches$\,-\frac{\pi }{2},\,$the outputs get smaller and smaller. Remember that there are some values of$\,x\,$for which$\,\mathrm{cos}\,x=0.\,$For example,$\,\mathrm{cos}\left(\frac{\pi }{2}\right)=0\,$and$\,\mathrm{cos}\left(\frac{3\pi }{2}\right)=0.\,$At these values, the tangent function is undefined, so the graph of$\,y=\mathrm{tan}\,x\,$has discontinuities at$\,x=\frac{\pi }{2}\text{ and }\frac{3\pi }{2}.\,$At these values, the graph of the tangent has vertical asymptotes. (Figure) represents the graph of$\,y=\mathrm{tan}\,x.\,$The tangent is positive from 0 to$\,\frac{\pi }{2}\,$and from$\,\pi \,$to$\,\frac{3\pi }{2},\,$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.

$y=A\mathrm{tan}\left(Bx\right)$

We can identify horizontal and vertical stretches and compressions using values of$\,A\,$and$\,B.\,$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$\,A.$

### Features of the Graph of y = Atan(Bx)

• The stretching factor is$\,|A|.$
• The period is$\,P=\frac{\pi }{|B|}.$
• The domain is all real numbers$\,x,$where$\,x\ne \frac{\pi }{2|B|}+\frac{\pi }{|B|}k\,$such that$\,k\,$is an integer.
• The range is$\,\left(\mathrm{-\infty },\infty \right).$
• The asymptotes occur at$\,x=\frac{\pi }{2|B|}+\frac{\pi }{|B|}k,\,$where$\,k\,$is an integer.
• $y=A\mathrm{tan}\left(Bx\right)\,$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$\,f\left(x\right)=A\mathrm{tan}\left(Bx\right).\,$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$\,\left(-\frac{P}{2},\frac{P}{2}\right)\,$and the graph has vertical asymptotes at$\,±\frac{P}{2}\,$where$\,P=\frac{\pi }{B}.\,$On$\,\left(-\frac{\pi }{2},\frac{\pi }{2}\right),\,$the graph will come up from the left asymptote at$\,x=-\frac{\pi }{2},\,$cross through the origin, and continue to increase as it approaches the right asymptote at$\,x=\frac{\pi }{2}.\,$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

$f\left(\frac{P}{4}\right)=A\mathrm{tan}\left(B\frac{P}{4}\right)=A\mathrm{tan}\left(B\frac{\pi }{4B}\right)=A$

because$\,\mathrm{tan}\left(\frac{\pi }{4}\right)=1.$

Given the function$\,f\left(x\right)=A\mathrm{tan}\left(Bx\right),\,$graph one period.

1. Identify the stretching factor,$\,|A|.$
2. Identify$\,B\,$and determine the period,$\,P=\frac{\pi }{|B|}.$
3. Draw vertical asymptotes at$\,x=-\frac{P}{2}\,$and$\,x=\frac{P}{2}.$
4. For$\,A>0,\,$the graph approaches the left asymptote at negative output values and the right asymptote at positive output values (reverse for$\,A<0$).
5. Plot reference points at$\,\left(\frac{P}{4},A\right),\,$$\left(0,0\right),\,$and$\,\left(-\frac{P}{4},-A\right),\,$and draw the graph through these points.

### Sketching a Compressed Tangent

Sketch a graph of one period of the function$\,y=0.5\mathrm{tan}\left(\frac{\pi }{2}x\right).$

[reveal-answer q=”fs-id1051354″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1051354″]

First, we identify$\,A\,$and$\,B.$

Because$\,A=0.5\,$and$\,B=\frac{\pi }{2},\,$we can find the stretching/compressing factor and period. The period is$\,\frac{\pi }{\frac{\pi }{2}}=2,\,$so the asymptotes are at$\,x=±1.\,$At a quarter period from the origin, we have

$\begin{array}{l}f\left(0.5\right)=0.5\mathrm{tan}\left(\frac{0.5\pi }{2}\right)\hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,=0.5\mathrm{tan}\left(\frac{\pi }{4}\right)\hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,=0.5\hfill \end{array}$

This means the curve must pass through the points$\,\left(0.5,0.5\right),$$\left(0,0\right),$and$\,\left(-0.5,-0.5\right).\,$The only inflection point is at the origin. (Figure) shows the graph of one period of the function.

[/hidden-answer]

### Try It

Sketch a graph of$\,f\left(x\right)=3\mathrm{tan}\left(\frac{\pi }{6}x\right).$

[reveal-answer q=”1354903″]Show Solution[/reveal-answer][hidden-answer a=”1354903″][/hidden-answer]

#### 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$\,C\,$and$\,D\,$to the general form of the tangent function.

$f\left(x\right)=A\mathrm{tan}\left(Bx-C\right)+D$

The graph of a transformed tangent function is different from the basic tangent function$\,\mathrm{tan}\,x\,$in several ways:

### Features of the Graph of y = Atan(Bx−C)+D

• The stretching factor is$\,|A|.$
• The period is$\,\frac{\pi }{|B|}.$
• The domain is$\,x\ne \frac{C}{B}+\frac{\pi }{|B|}k,$where$\,k\,$is an integer.
• The range is$\,\left(\mathrm{-\infty },\infty \right).$
• The vertical asymptotes occur at$\,x=\frac{C}{B}+\frac{\pi }{2|B|}k,$where$\,k\,$is an odd integer.
• There is no amplitude.
• $y=A\,\mathrm{tan}\left(Bx-C\right)+D\,$is an odd function because it is the quotient of odd and even functions (sin and cosine respectively).

Given the function$\,y=A\mathrm{tan}\left(Bx-C\right)+D,\,$sketch the graph of one period.

1. Express the function given in the form$\,y=A\mathrm{tan}\left(Bx-C\right)+D.$
2. Identify the stretching/compressing factor,$\,|A|.$
3. Identify$\,B\,$and determine the period,$\,P=\frac{\pi }{|B|}.$
4. Identify$\,C\,$and determine the phase shift,$\,\frac{C}{B}.$
5. Draw the graph of$\,y=A\mathrm{tan}\left(Bx\right)\,$shifted to the right by$\,\frac{C}{B}\,$and up by$\,D.$
6. Sketch the vertical asymptotes, which occur at$\text{ }x=\frac{C}{B}+\frac{\pi }{2|B|}k,$where$\text{ }k\text{ }$is an odd integer.
7. 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$\,y=-2\mathrm{tan}\left(\pi x+\pi \right)\,-1.$

[reveal-answer q=”826718″]Show Solution[/reveal-answer]
[hidden-answer a=”826718″]

• Step 1. The function is already written in the form$\,y=A\mathrm{tan}\left(Bx-C\right)+D.$
• Step 2.$\,A=-2,\,$so the stretching factor is$\,|A|=2.$
• Step 3.$\,B=\pi ,\,$so the period is$\,P=\frac{\pi }{|B|}=\frac{\pi }{\pi }=1.$
• Step 4.$\,C=-\pi ,\,$so the phase shift is$\,\frac{C}{B}=\frac{-\pi }{\pi }=-1.$
• Step 5-7. The asymptotes are at$\,x=-\frac{3}{2}\,$and$\,x=-\frac{1}{2}\,$and the three recommended reference points are$\,\left(-1.25,1\right),\,$$\left(-1,-1\right),\,$and$\,\left(-0.75,-3\right).\,$The graph is shown in (Figure).

[/hidden-answer]

#### Analysis

Note that this is a decreasing function because$\,A<0.$

### Try It

How would the graph in (Figure) look different if we made$\,A=2\,$instead of$\,-2?$

[reveal-answer q=”fs-id1394906″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1394906″]

It would be reflected across the line$\,y=-1,\,$becoming an increasing function.

[/hidden-answer]

Given the graph of a tangent function, identify horizontal and vertical stretches.

1. Find the period$\,P\,$from the spacing between successive vertical asymptotes or x-intercepts.
2. Write$\,f\left(x\right)=A\mathrm{tan}\left(\frac{\pi }{P}x\right).$
3. Determine a convenient point$\,\left(x,f\left(x\right)\right)\,$on the given graph and use it to determine$\,A.$

### Identifying the Graph of a Stretched Tangent

Find a formula for the function graphed in (Figure).

[reveal-answer q=”fs-id1649014″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1649014″]

The graph has the shape of a tangent function.

• Step 1. One cycle extends from –4 to 4, so the period is$\,P=8.\,$Since$\,P=\frac{\pi }{|B|},\,$we have$\,B=\frac{\pi }{P}=\frac{\pi }{8}.$
• Step 2. The equation must have the form$f\left(x\right)=A\mathrm{tan}\left(\frac{\pi }{8}x\right).$
• Step 3. To find the vertical stretch$\,A,$we can use the point$\,\left(2,2\right).$
$2=A\mathrm{tan}\left(\frac{\pi }{8}\cdot 2\right)=A\mathrm{tan}\left(\frac{\pi }{4}\right)$

Because$\,\mathrm{tan}\left(\frac{\pi }{4}\right)=1,\,$$A=2.$

This function would have a formula$\,f\left(x\right)=2\mathrm{tan}\left(\frac{\pi }{8}x\right).$[/hidden-answer]

### Try It

Find a formula for the function in (Figure).

[reveal-answer q=”fs-id1662824″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1662824″]

$g\left(x\right)=4\mathrm{tan}\left(2x\right)$

[/hidden-answer]

### Analyzing the Graphs of y = sec x and y = cscx

The secant was defined by the reciprocal identity$\,\mathrm{sec}\,x=\frac{1}{\mathrm{cos}\,x}.\,$Notice that the function is undefined when the cosine is 0, leading to vertical asymptotes at$\,\frac{\pi }{2},\,$$\frac{3\pi }{2},\,$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$\,y=\mathrm{sec}\,x\,$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$\,x\,$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,$\,\mathrm{sec}\left(-x\right)=\mathrm{sec}\,x.$

As we did for the tangent function, we will again refer to the constant$\,|A|\,$as the stretching factor, not the amplitude.

### Features of the Graph of y = Asec(Bx)

• The stretching factor is$\,|A|.$
• The period is$\,\frac{2\pi }{|B|}.$
• The domain is$\,x\ne \frac{\pi }{2|B|}k,\,$where$\,k\,$is an odd integer.
• The range is$\,\left(-\infty ,-|A|\right]\cup \left[|A|,\infty \right).$
• The vertical asymptotes occur at$\,x=\frac{\pi }{2|B|}k,\,$where$\,k\,$is an odd integer.
• There is no amplitude.
• $y=A\mathrm{sec}\left(Bx\right)\,$is an even function because cosine is an even function.

Similar to the secant, the cosecant is defined by the reciprocal identity$\,\mathrm{csc}\,x=\frac{1}{\mathrm{sin}\,x}.\,$Notice that the function is undefined when the sine is 0, leading to a vertical asymptote in the graph at$\,0,\,$$\pi ,\,$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$\,y=\mathrm{csc}\,x\,$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$\,x\,$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,$\,\mathrm{csc}\left(-x\right)=\mathrm{-csc}x.$

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$\,|A|.$
• The period is$\,\frac{2\pi }{|B|}.$
• The domain is$\,x\ne \frac{\pi }{|B|}k,\,$where$\,k\,$is an integer.
• The range is$\left(-\infty ,-|A|\right]\cup \left[|A|,\infty \right).$
• The asymptotes occur at$\,x=\frac{\pi }{|B|}k,\,$where$\,k\,$is an integer.
• $y=A\mathrm{csc}\left(Bx\right)\,$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.

$y=A\mathrm{sec}\left(Bx-C\right)+D$
$y=A\mathrm{csc}\left(Bx-C\right)+D$

### Features of the Graph of y = Asec(Bx−C)+D

• The stretching factor is$\,|A|.$
• The period is$\,\frac{2\pi }{|B|}.$
• The domain is$\,x\ne \frac{C}{B}+\frac{\pi }{2|B|}k,$where$\,k\,$is an odd integer.
• The range is$\,\left(-\infty ,-|A|+D\right]\cup \left[|A|+D,\infty \right).$
• The vertical asymptotes occur at$\,x=\frac{C}{B}+\frac{\pi }{2|B|}k,$where$\,k\,$is an odd integer.
• There is no amplitude.
• $y=A\mathrm{sec}\left(Bx-C\right)+D\,$is an even function because cosine is an even function.

### Features of the Graph of y = Acsc(Bx−C)+D

• The stretching factor is$\,|A|.$
• The period is$\,\frac{2\pi }{|B|}.$
• The domain is$\,x\ne \frac{C}{B}+\frac{\pi }{|B|}k,$where$\,k\,$is an integer.
• The range is$\,\left(-\infty ,-|A|+D\right]\cup \left[|A|+D,\infty \right).$
• The vertical asymptotes occur at$\,x=\frac{C}{B}+\frac{\pi }{|B|}k,$where$\,k\,$is an integer.
• There is no amplitude.
• $y=A\mathrm{csc}\left(Bx-C\right)+D\,$is an odd function because sine is an odd function.

Given a function of the form$\,y=A\mathrm{sec}\left(Bx\right),\,$graph one period.

1. Express the function given in the form$\,y=A\mathrm{sec}\left(Bx\right).$
2. Identify the stretching/compressing factor,$\,|A|.$
3. Identify$\,B\,$and determine the period,$\,P=\frac{2\pi }{|B|}.$
4. Sketch the graph of$\,y=A\mathrm{cos}\left(Bx\right).$
5. Use the reciprocal relationship between$\,y=\mathrm{cos}\,x\,$and$\,y=\mathrm{sec}\,x\,$to draw the graph of$\,y=A\mathrm{sec}\left(Bx\right).$
6. Sketch the asymptotes.
7. Plot any two reference points and draw the graph through these points.

### Graphing a Variation of the Secant Function

Graph one period of$\,f\left(x\right)=2.5\mathrm{sec}\left(0.4x\right).$

[reveal-answer q=”331336″]Show Solution[/reveal-answer]
[hidden-answer a=”331336″]

• Step 1. The given function is already written in the general form,$\,y=A\mathrm{sec}\left(Bx\right).$
• Step 2.$\,A=2.5\,$so the stretching factor is$\,\text{2}\text{.5}\text{.}$
• Step 3.$\,B=0.4\,$so$\,P=\frac{2\pi }{0.4}=5\pi .\,$The period is$\,5\pi \,$units.
• Step 4. Sketch the graph of the function$\,g\left(x\right)=2.5\mathrm{cos}\left(0.4x\right).$
• Step 5. Use the reciprocal relationship of the cosine and secant functions to draw the cosecant function.
• Steps 6–7. Sketch two asymptotes at$\,x=1.25\pi \,$and$\,x=3.75\pi .\,$We can use two reference points, the local minimum at$\,\left(0,2.5\right)\,$and the local maximum at$\,\left(2.5\pi ,-2.5\right).\,$(Figure) shows the graph.

[/hidden-answer]

### Try It

Graph one period of$\,f\left(x\right)=-2.5\mathrm{sec}\left(0.4x\right).$

[reveal-answer q=”fs-id1440114″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1440114″]

This is a vertical reflection of the preceding graph because$\,A\,$is negative.

[/hidden-answer]

Do the vertical shift and stretch/compression affect the secant’s range?

Yes. The range of$\,f\left(x\right)=A\mathrm{sec}\left(Bx-C\right)+D\,$is$\left(-\infty ,-|A|+D\right]\cup \left[|A|+D,\infty \right).$

Given a function of the form$\,f\left(x\right)=A\mathrm{sec}\left(Bx-C\right)+D,\,$graph one period.

1. Express the function given in the form$\,y=A\,\mathrm{sec}\left(Bx-C\right)+D.$
2. Identify the stretching/compressing factor,$\,|A|.$
3. Identify$\,B\,$and determine the period,$\,\frac{2\pi }{|B|}.$
4. Identify$\,C\,$and determine the phase shift,$\,\frac{C}{B}.$
5. Draw the graph of$\,y=A\,\mathrm{sec}\left(Bx\right)\,.$but shift it to the right by$\,\frac{C}{B}\,$and up by$\,D.$
6. Sketch the vertical asymptotes, which occur at$\,x=\frac{C}{B}+\frac{\pi }{2|B|}k,$where$\,k\,$is an odd integer.

### Graphing a Variation of the Secant Function

Graph one period of$\,y=4\mathrm{sec}\left(\frac{\pi }{3}x-\frac{\pi }{2}\right)+1.$

[reveal-answer q=”318489″]Show Solution[/reveal-answer]
[hidden-answer a=”318489″]

• Step 1. Express the function given in the form$\,y=4\mathrm{sec}\left(\frac{\pi }{3}x-\frac{\pi }{2}\right)+1.$
• Step 2. The stretching/compressing factor is$|A|=4.$
• Step 3. The period is
$\begin{array}{l}\frac{2\pi }{|B|}=\frac{2\pi }{\frac{\pi }{3}}\hfill \\ \text{ }=\frac{2\pi }{1}\cdot \frac{3}{\pi }\hfill \\ \text{ }=6\hfill \end{array}$
• Step 4. The phase shift is
$\begin{array}{l}\frac{C}{B}=\frac{\frac{\pi }{2}}{\frac{\pi }{3}}\hfill \\ \text{ }=\frac{\pi }{2}\cdot \frac{3}{\pi }\hfill \\ \text{ }=1.5\hfill \end{array}$
• Step 5. Draw the graph of $\,y=A\mathrm{sec}\left(Bx\right),$but shift it to the right by$\,\frac{C}{B}=1.5\,$and up by$\,D=6.$
• Step 6. Sketch the vertical asymptotes, which occur at$\,x=0,x=3,$and$\,x=6.\,$There is a local minimum at$\,\left(1.5,5\right)\,$and a local maximum at$\,\left(4.5,-3\right).\,$(Figure) shows the graph.

[/hidden-answer]

### Try It

Graph one period of$\,f\left(x\right)=-6\mathrm{sec}\left(4x+2\right)-8.$

[reveal-answer q=”1439474″]Show Solution[/reveal-answer][hidden-answer a=”1439474″][/hidden-answer]

The domain of$\,\mathrm{csc}\,x\,$was given to be all$\,x\,$such that$\,x\ne k\pi \,$for any integer$\,k.\,$Would the domain of$\,y=A\mathrm{csc}\left(Bx-C\right)+D\,\text{be}\,x\ne \frac{C+k\pi }{B}?$

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$\,y=A\mathrm{csc}\left(Bx\right),\,$graph one period.

1. Express the function given in the form$\,y=A\mathrm{csc}\left(Bx\right).$
2. $\,|A|.$
3. Identify$\,B\,$and determine the period,$\,P=\frac{2\pi }{|B|}.$
4. Draw the graph of$\,y=A\mathrm{sin}\left(Bx\right).$
5. Use the reciprocal relationship between$\,y=\mathrm{sin}\,x\,$and$\,y=\mathrm{csc}\,x\,$to draw the graph of$\,y=A\mathrm{csc}\left(Bx\right).$
6. Sketch the asymptotes.
7. Plot any two reference points and draw the graph through these points.

### Graphing a Variation of the Cosecant Function

Graph one period of$\,f\left(x\right)=-3\mathrm{csc}\left(4x\right).$

[reveal-answer q=”990021″]Show Solution[/reveal-answer]
[hidden-answer a=”990021″]

• Step 1. The given function is already written in the general form,$\,y=A\mathrm{csc}\left(Bx\right).$
• Step 2.$\,|A|=|-3|=3,$so the stretching factor is 3.
• Step 3.$\,B=4,$so$\,P=\frac{2\pi }{4}=\frac{\pi }{2}.\,$The period is$\,\frac{\pi }{2}\,$units.
• Step 4. Sketch the graph of the function$\,g\left(x\right)=-3\mathrm{sin}\left(4x\right).$
• Step 5. Use the reciprocal relationship of the sine and cosecant functions to draw the cosecant function.
• Steps 6–7. Sketch three asymptotes at$\,x=0,\,x=\frac{\pi }{4},\,$and$\,x=\frac{\pi }{2}.\,$We can use two reference points, the local maximum at$\,\left(\frac{\pi }{8},-3\right)\,$and the local minimum at$\,\left(\frac{3\pi }{8},3\right).$(Figure) shows the graph.

[/hidden-answer]

### Try It

Graph one period of$\,f\left(x\right)=0.5\mathrm{csc}\left(2x\right).$

[reveal-answer q=”1150397″]Show Solution[/reveal-answer][hidden-answer a=”1150397″][/hidden-answer]

Given a function of the form$\,f\left(x\right)=A\mathrm{csc}\left(Bx-C\right)+D,\,$graph one period.

1. Express the function given in the form$\,y=A\mathrm{csc}\left(Bx-C\right)+D.$
2. Identify the stretching/compressing factor,$\,|A|.$
3. Identify$\,B\,$and determine the period,$\,\frac{2\pi }{|B|}.$
4. Identify$\,C\,$and determine the phase shift,$\,\frac{C}{B}.$
5. Draw the graph of$\,y=A\mathrm{csc}\left(Bx\right)\,$but shift it to the right by $\frac{C}{B}$ and up by$\,D.$
6. Sketch the vertical asymptotes, which occur at$\,x=\frac{C}{B}+\frac{\pi }{|B|}k,$where$\,k\,$is an integer.

### Graphing a Vertically Stretched, Horizontally Compressed, and Vertically Shifted Cosecant

Sketch a graph of$\,y=2\mathrm{csc}\left(\frac{\pi }{2}x\right)+1.\,$What are the domain and range of this function?

[reveal-answer q=”61156″]Show Solution[/reveal-answer]
[hidden-answer a=”61156″]

• Step 1. Express the function given in the form$\,y=2\mathrm{csc}\left(\frac{\pi }{2}x\right)+1.$
• Step 2. Identify the stretching/compressing factor,$\,|A|=2.$
• Step 3. The period is$\,\frac{2\pi }{|B|}=\frac{2\pi }{\frac{\pi }{2}}=\frac{2\pi }{1}\cdot \frac{2}{\pi }=4.$
• Step 4. The phase shift is$\,\frac{0}{\frac{\pi }{2}}=0.$
• Step 5. Draw the graph of$\,y=A\mathrm{csc}\left(Bx\right)\,$but shift it up$\,D=1.$
• Step 6. Sketch the vertical asymptotes, which occur at$\,x=0,x=2,x=4.$

The graph for this function is shown in (Figure).

[/hidden-answer]

#### 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$\,f\left(x\right)=2\mathrm{sin}\left(\frac{\pi }{2}x\right)+1,$shown as the orange dashed wave.

### Try It

Given the graph of$\,f\left(x\right)=2\mathrm{cos}\left(\frac{\pi }{2}x\right)+1\,$shown in (Figure), sketch the graph of$\,g\left(x\right)=2\mathrm{sec}\left(\frac{\pi }{2}x\right)+1\,$on the same axes.

[reveal-answer q=”1528623″]Show Solution[/reveal-answer][hidden-answer a=”1528623″][/hidden-answer]

### 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$\,\mathrm{cot}\,x=\frac{1}{\mathrm{tan}\,x}.\,$Notice that the function is undefined when the tangent function is 0, leading to a vertical asymptote in the graph at$\,0,\pi ,\,$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$\,y=\mathrm{cot}\,x\,$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$\,x\,$where$\,\mathrm{tan}\,x=0;\,$we show these in the graph below with dashed lines. Since the cotangent is the reciprocal of the tangent,$\,\mathrm{cot}\,x\,$has vertical asymptotes at all values of$\,x\,$where$\,\mathrm{tan}\,x=0,\,$and$\,\mathrm{cot}\,x=0\,$at all values of$\,x\,$where$\,\mathrm{tan}\,x\,$has its vertical asymptotes.

### Features of the Graph of y = Acot(Bx)

• The stretching factor is$\,|A|.$
• The period is$\,P=\frac{\pi }{|B|}.$
• The domain is$\,x\ne \frac{\pi }{|B|}k,\,$where$\,k\,$is an integer.
• The range is$\,\left(-\infty ,\infty \right).$
• The asymptotes occur at$\,x=\frac{\pi }{|B|}k,\,$where$\,k\,$is an integer.
• $y=A\mathrm{cot}\left(Bx\right)\,$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.

$y=A\mathrm{cot}\left(Bx-C\right)+D$

### Properties of the Graph of y = Acot(Bx−C)+D

• The stretching factor is$\,|A|.$
• The period is$\,\frac{\pi }{|B|}.$
• The domain is$\,x\ne \frac{C}{B}+\frac{\pi }{|B|}k,$where$\,k\,$is an integer.
• The range is$\,\left(\mathrm{-\infty },\infty \right).$
• The vertical asymptotes occur at$\,x=\frac{C}{B}+\frac{\pi }{|B|}k,$where$\,k\,$is an integer.
• There is no amplitude.
• $y=A\mathrm{cot}\left(Bx\right)\,$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$\,f\left(x\right)=A\mathrm{cot}\left(Bx\right),$graph one period.

1. Express the function in the form$\,f\left(x\right)=A\mathrm{cot}\left(Bx\right).$
2. Identify the stretching factor,$\,|A|.$
3. Identify the period,$\,P=\frac{\pi }{|B|}.$
4. Draw the graph of$\,y=A\mathrm{tan}\left(Bx\right).$
5. Plot any two reference points.
6. Use the reciprocal relationship between tangent and cotangent to draw the graph of$\,y=A\mathrm{cot}\left(Bx\right).$
7. Sketch the asymptotes.

### Graphing Variations of the Cotangent Function

Determine the stretching factor, period, and phase shift of$\,y=3\mathrm{cot}\left(4x\right),\,$and then sketch a graph.

[reveal-answer q=”526668″]Show Solution[/reveal-answer]
[hidden-answer a=”526668″]

• Step 1. Expressing the function in the form$\,f\left(x\right)=A\mathrm{cot}\left(Bx\right)\,$gives$\,f\left(x\right)=3\mathrm{cot}\left(4x\right).$
• Step 2. The stretching factor is$\,|A|=3.$
• Step 3. The period is$\,P=\frac{\pi }{4}.$
• Step 4. Sketch the graph of$\,y=3\mathrm{tan}\left(4x\right).$
• Step 5. Plot two reference points. Two such points are$\,\left(\frac{\pi }{16},3\right)\,$and$\,\left(\frac{3\pi }{16},-3\right).$
• Step 6. Use the reciprocal relationship to draw$\,y=3\mathrm{cot}\left(4x\right).$
• Step 7. Sketch the asymptotes,$\,x=0,\,\,x=\frac{\pi }{4}.$

The orange graph in (Figure) shows$\,y=3\mathrm{tan}\left(4x\right)\,$and the blue graph shows$\,y=3\mathrm{cot}\left(4x\right).$

[/hidden-answer]

Given a modified cotangent function of the form$\,f\left(x\right)=A\mathrm{cot}\left(Bx-C\right)+D,\,$graph one period.

1. Express the function in the form$\,f\left(x\right)=A\mathrm{cot}\left(Bx-C\right)+D.$
2. Identify the stretching factor,$\,|A|.$
3. Identify the period,$\,P=\frac{\pi }{|B|}.$
4. Identify the phase shift,$\,\frac{C}{B}.$
5. Draw the graph of$\,y=A\mathrm{tan}\left(Bx\right)\,$ shifted to the right by$\,\frac{C}{B}\,$and up by$\,D.$
6. Sketch the asymptotes$\,x=\frac{C}{B}+\frac{\pi }{|B|}k,$where$\,k\,$is an integer.
7. 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$\,f\left(x\right)=4\mathrm{cot}\left(\frac{\pi }{8}x-\frac{\pi }{2}\right)-2.$

[reveal-answer q=”352430″]Show Solution[/reveal-answer]
[hidden-answer a=”352430″]

• Step 1. The function is already written in the general form$\,f\left(x\right)=A\mathrm{cot}\left(Bx-C\right)+D.$
• Step 2.$\,A=4,$so the stretching factor is 4.
• Step 3.$\,B=\frac{\pi }{8},$so the period is$\,P=\frac{\pi }{|B|}=\frac{\pi }{\frac{\pi }{8}}=8.$
• Step 4.$\,C=\frac{\pi }{2},$so the phase shift is$\,\frac{C}{B}=\frac{\frac{\pi }{2}}{\frac{\pi }{8}}=4.$
• Step 5. We draw$\,f\left(x\right)=4\mathrm{tan}\left(\frac{\pi }{8}x-\frac{\pi }{2}\right)-2.$
• Step 6-7. Three points we can use to guide the graph are$\,\left(6,2\right),\left(8,-2\right),\,$and$\,\left(10,-6\right).\,$We use the reciprocal relationship of tangent and cotangent to draw$\,f\left(x\right)=4\mathrm{cot}\left(\frac{\pi }{8}x-\frac{\pi }{2}\right)-2.$
• Step 8. The vertical asymptotes are$\,x=4\,$and$\,x=12.$

The graph is shown in (Figure).

[/hidden-answer]

### 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$\,y=5\mathrm{tan}\left(\frac{\pi }{4}t\right)\,$marks the distance in the movement of a light beam from the top of a police car across a wall where$\,t\,$is the time in seconds and$\,y\,$is the distance in feet from a point on the wall directly across from the police car.

1. Find and interpret the stretching factor and period.
2. Graph on the interval$\,\left[0,5\right].$
3. Evaluate$\,f\left(1\right)\,$and discuss the function’s value at that input.
[reveal-answer q=”fs-id1658187″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1658187″]

1. We know from the general form of$\,y=A\mathrm{tan}\left(Bt\right)\,$that$\,|A|\,$is the stretching factor and$\,\frac{\pi }{B}\,$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$\,\frac{\pi }{\frac{\pi }{4}}=\frac{\pi }{1}\cdot \frac{4}{\pi }=4.\,$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.

2. To graph the function, we draw an asymptote at$\,t=2\,$and use the stretching factor and period. See (Figure)
3. period:$\,f\left(1\right)=5\mathrm{tan}\left(\frac{\pi }{4}\left(1\right)\right)=5\left(1\right)=5;\,$after 1 second, the beam of has moved 5 ft from the spot across from the police car.[/hidden-answer]

Access these online resources for additional instruction and practice with graphs of other trigonometric functions.

### Key Equations

 Shifted, compressed, and/or stretched tangent function $y=A\,\mathrm{tan}\left(Bx-C\right)+D$ Shifted, compressed, and/or stretched secant function $y=A\,\mathrm{sec}\left(Bx-C\right)+D$ Shifted, compressed, and/or stretched cosecant function $y=A\,\mathrm{csc}\left(Bx-C\right)+D$ Shifted, compressed, and/or stretched cotangent function $y=A\,\mathrm{cot}\left(Bx-C\right)+D$

### Key Concepts

• The tangent function has period$\,\pi .$
• $f\left(x\right)=A\mathrm{tan}\left(Bx-C\right)+D\,$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$\,2\pi .\,$$f\left(x\right)=A\mathrm{sec}\left(Bx-C\right)+D\,$gives a shifted, compressed, and/or stretched secant function graph. See (Figure) and (Figure).
• $f\left(x\right)=A\mathrm{csc}\left(Bx-C\right)+D\,$gives a shifted, compressed, and/or stretched cosecant function graph. See (Figure) and (Figure).
• The cotangent function has period$\,\pi \,$and vertical asymptotes at$\,0,±\pi ,±2\pi ,....$
• The range of cotangent is$\,\left(-\infty ,\infty \right),\,$and the function is decreasing at each point in its range.
• The cotangent is zero at$\,±\frac{\pi }{2},±\frac{3\pi }{2},....$
• $f\left(x\right)=A\mathrm{cot}\left(Bx-C\right)+D\,$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$\,y=\mathrm{csc}\,x.$

[reveal-answer q=”fs-id1439607″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1439607″]

Since$\,y=\mathrm{csc}\,x\,$is the reciprocal function of$\,y=\mathrm{sin}\,x,\,$you can plot the reciprocal of the coordinates on the graph of$\,y=\mathrm{sin}\,x\,$to obtain the y-coordinates of$\,y=\mathrm{csc}\,x.\,$The x-intercepts of the graph$\,y=\mathrm{sin}\,x\,$are the vertical asymptotes for the graph of$\,y=\mathrm{csc}\,x.$[/hidden-answer]

How can the graph of$\,y=\mathrm{cos}\,x\,$be used to construct the graph of$\,y=\mathrm{sec}\,x?$

Explain why the period of$\,\mathrm{tan}\,x\,$is equal to$\,\pi .$

[reveal-answer q=”fs-id1461033″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1461033″]

Answers will vary. Using the unit circle, one can show that$\,\mathrm{tan}\left(x+\pi \right)=\mathrm{tan}\,x.\,$[/hidden-answer]

Why are there no intercepts on the graph of$\,y=\mathrm{csc}\,x?$

How does the period of$\,y=\mathrm{csc}\,x\,$compare with the period of$\,y=\mathrm{sin}\,x?$

[reveal-answer q=”fs-id1365332″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1365332″]

The period is the same:$\,2\pi .$[/hidden-answer]

#### Algebraic

For the following exercises, match each trigonometric function with one of the following graphs.

$f\left(x\right)=\mathrm{tan}\,x$

$f\left(x\right)=\mathrm{sec}\,x$

[reveal-answer q=”fs-id1512360″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1512360″]

IV

[/hidden-answer]

$f\left(x\right)=\mathrm{csc}\,x$

$f\left(x\right)=\mathrm{cot}\,x$

[reveal-answer q=”fs-id1410903″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1410903″]

III

[/hidden-answer]

For the following exercises, find the period and horizontal shift of each of the functions.

$f\left(x\right)=2\mathrm{tan}\left(4x-32\right)$

$h\left(x\right)=2\mathrm{sec}\left(\frac{\pi }{4}\left(x+1\right)\right)$

[reveal-answer q=”fs-id1581685″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1581685″]

period: 8; horizontal shift: 1 unit to left

[/hidden-answer]

$m\left(x\right)=6\mathrm{csc}\left(\frac{\pi }{3}x+\pi \right)$

If$\,\mathrm{tan}\,x=-1.5,\,$find$\,\mathrm{tan}\left(-x\right).$

[reveal-answer q=”fs-id1429264″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1429264″]

1.5

[/hidden-answer]

If$\,\mathrm{sec}\,x=2,\,$find$\,\mathrm{sec}\left(-x\right).$

If$\,\mathrm{csc}\,x=-5,\,$find$\,\mathrm{csc}\left(-x\right).$

[reveal-answer q=”fs-id1375607″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1375607″]

5

[/hidden-answer]

If$\,x\mathrm{sin}\,x=2,\,$find$\,\left(-x\right)\mathrm{sin}\left(-x\right).$

For the following exercises, rewrite each expression such that the argument$\,x\,$is positive.

$\mathrm{cot}\left(-x\right)\mathrm{cos}\left(-x\right)+\mathrm{sin}\left(-x\right)$

[reveal-answer q=”fs-id1407073″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1407073″]

$-\mathrm{cot}x\mathrm{cos}x-\mathrm{sin}x$

[/hidden-answer]

$\mathrm{cos}\left(-x\right)+\mathrm{tan}\left(-x\right)\mathrm{sin}\left(-x\right)$

#### Graphical

For the following exercises, sketch two periods of the graph for each of the following functions. Identify the stretching factor, period, and asymptotes.

$f\left(x\right)=2\mathrm{tan}\left(4x-32\right)$

[reveal-answer q=”46974″]Show Solution[/reveal-answer]
[hidden-answer a=”46974″]

stretching factor: 2; period:$\text{ }\frac{\pi }{4};\text{ }$asymptotes:$\text{ }x=\frac{1}{4}\left(\frac{\pi }{2}+\pi k\right)+8,\text{ where }k\text{ is an integer}$

[/hidden-answer]

$\,h\left(x\right)=2\mathrm{sec}\left(\frac{\pi }{4}\left(x+1\right)\right)\,$

$m\left(x\right)=6\mathrm{csc}\left(\frac{\pi }{3}x+\pi \right)$

[reveal-answer q=”278253″]Show Solution[/reveal-answer]
[hidden-answer a=”278253″]

stretching factor: 6; period: 6; asymptotes:$\text{ }x=3k,\text{ where }k\text{ is an integer}$

[/hidden-answer]

$j\left(x\right)=\mathrm{tan}\left(\frac{\pi }{2}x\right)$

$p\left(x\right)=\mathrm{tan}\left(x-\frac{\pi }{2}\right)$

[reveal-answer q=”528553″]Show Solution[/reveal-answer]
[hidden-answer a=”528553″]

stretching factor: 1; period:$\text{ }\pi ;\text{ }$asymptotes:$\text{ }x=\pi k,\text{ where }k\text{ is an integer}$

[/hidden-answer]

$f\left(x\right)=4\mathrm{tan}\left(x\right)$

$f\left(x\right)=\mathrm{tan}\left(x+\frac{\pi }{4}\right)$

[reveal-answer q=”156444″]Show Solution[/reveal-answer]
[hidden-answer a=”156444″]

Stretching factor: 1; period:$\text{ }\pi ;\text{ }$asymptotes:$\text{ }x=\frac{\pi }{4}+\pi k,\text{ where }k\text{ is an integer}$

[/hidden-answer]

$f\left(x\right)=\pi \mathrm{tan}\left(\pi x-\pi \right)-\pi$

$f\left(x\right)=2\mathrm{csc}\left(x\right)$

[reveal-answer q=”970468″]Show Solution[/reveal-answer]
[hidden-answer a=”970468″]

stretching factor: 2; period:$\text{ }2\pi ;\text{ }$asymptotes:$\text{ }x=\pi k,\text{ where }k\text{ is an integer}$

[/hidden-answer]

$f\left(x\right)=-\frac{1}{4}\mathrm{csc}\left(x\right)$

$f\left(x\right)=4\mathrm{sec}\left(3x\right)$

[reveal-answer q=”999274″]Show Solution[/reveal-answer]
[hidden-answer a=”999274″]

stretching factor: 4; period:$\text{ }\frac{2\pi }{3};\text{ }$asymptotes:$\text{ }x=\frac{\pi }{6}k,\text{ where }k\text{ is an odd integer}$

[/hidden-answer]

$f\left(x\right)=-3\mathrm{cot}\left(2x\right)$

$f\left(x\right)=7\mathrm{sec}\left(5x\right)$

[reveal-answer q=”643578″]Show Solution[/reveal-answer]
[hidden-answer a=”643578″]

stretching factor: 7; period:$\text{ }\frac{2\pi }{5};\text{ }$asymptotes:$\text{ }x=\frac{\pi }{10}k,\text{ where }k\text{ is an odd integer}$

[/hidden-answer]

$f\left(x\right)=\frac{9}{10}\mathrm{csc}\left(\pi x\right)$

$f\left(x\right)=2\mathrm{csc}\left(x+\frac{\pi }{4}\right)-1$

[reveal-answer q=”125458″]Show Solution[/reveal-answer]
[hidden-answer a=”125458″]

stretching factor: 2; period:$\text{ }2\pi ;\text{ }$asymptotes:$\text{ }x=-\frac{\pi }{4}+\pi k,\text{ where }k\text{ is an integer}$

[/hidden-answer]

$f\left(x\right)=-\mathrm{sec}\left(x-\frac{\pi }{3}\right)-2$

$f\left(x\right)=\frac{7}{5}\mathrm{csc}\left(x-\frac{\pi }{4}\right)$

[reveal-answer q=”538264″]Show Solution[/reveal-answer]
[hidden-answer a=”538264″]

stretching factor:$\text{ }\frac{7}{5};\text{ }$period:$\text{ }2\pi ;\text{ }$asymptotes:$\text{ }x=\frac{\pi }{4}+\pi k,\text{ where }k\text{ is an integer}$

[/hidden-answer]

$f\left(x\right)=5\left(\mathrm{cot}\left(x+\frac{\pi }{2}\right)-3\right)$

For the following exercises, find and graph two periods of the periodic function with the given stretching factor,$\,|A|,\,$period, and phase shift.

A tangent curve,$\,A=1,\,$period of$\,\frac{\pi }{3};\,$and phase shift$\,\left(h,\,k\right)=\left(\frac{\pi }{4},2\right)$

[reveal-answer q=”fs-id1694857″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1694857″]

$y=\mathrm{tan}\left(3\left(x-\frac{\pi }{4}\right)\right)+2$

[/hidden-answer]

A tangent curve,$\,A=-2,\,$period of$\,\frac{\pi }{4},\,$and phase shift$\,\left(h,\,k\right)=\left(-\frac{\pi }{4},\,-2\right)$

For the following exercises, find an equation for the graph of each function.

[reveal-answer q=”fs-id1706414″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1706414″]

$f\left(x\right)=\mathrm{csc}\left(2x\right)$

[/hidden-answer]

[reveal-answer q=”fs-id1405484″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1405484″]

$f\left(x\right)=\mathrm{csc}\left(4x\right)$

[/hidden-answer]

[reveal-answer q=”fs-id705620″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id705620″]

$f\left(x\right)=2\mathrm{csc}x$

[/hidden-answer]

[reveal-answer q=”fs-id1460872″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1460872″]

$f\left(x\right)=\frac{1}{2}\mathrm{tan}\left(100\pi x\right)$

[/hidden-answer]

#### 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$\,\mathrm{csc}\,x\,$as$\,\frac{1}{\mathrm{sin}\,x}.$

$f\left(x\right)=|\mathrm{csc}\left(x\right)|$

$f\left(x\right)=|\mathrm{cot}\left(x\right)|$

[reveal-answer q=”1656302″]Show Solution[/reveal-answer][hidden-answer a=”1656302″][/hidden-answer]

$f\left(x\right)={2}^{\mathrm{csc}\left(x\right)}$

$f\left(x\right)=\frac{\mathrm{csc}\left(x\right)}{\mathrm{sec}\left(x\right)}$

[reveal-answer q=”1420323″]Show Solution[/reveal-answer][hidden-answer a=”1420323″][/hidden-answer]

Graph$\,f\left(x\right)=1+{\mathrm{sec}}^{2}\left(x\right)-{\mathrm{tan}}^{2}\left(x\right).\,$What is the function shown in the graph?

$f\left(x\right)=\mathrm{sec}\left(0.001x\right)$

[reveal-answer q=”1586275″]Show Solution[/reveal-answer][hidden-answer a=”1586275″][/hidden-answer]

$f\left(x\right)=\mathrm{cot}\left(100\pi x\right)$

$f\left(x\right)={\mathrm{sin}}^{2}x+{\mathrm{cos}}^{2}x$

[reveal-answer q=”1631004″]Show Solution[/reveal-answer][hidden-answer a=”1631004″][/hidden-answer]

#### Real-World Applications

The function$\,f\left(x\right)=20\mathrm{tan}\left(\frac{\pi }{10}x\right)\,$marks the distance in the movement of a light beam from a police car across a wall for time$\,x,\,$in seconds, and distance$\,f\left(x\right),$
in feet.

1. Graph on the interval$\,\left[0,\,5\right].$
2. Find and interpret the stretching factor, period, and asymptote.
3. Evaluate$\,f\left(1\right)\,$and$\,f\left(2.5\right)\,$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$\,x,\,$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$\,x\,$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$\,d\left(x\right),\,$in kilometers, from the fisherman to the boat is given by the function$\,d\left(x\right)=1.5\mathrm{sec}\left(x\right).$

1. What is a reasonable domain for$\,d\left(x\right)?$
2. Graph$\,d\left(x\right)\,$on this domain.
3. Find and discuss the meaning of any vertical asymptotes on the graph of$\,d\left(x\right).$
4. Calculate and interpret$\,d\left(-\frac{\pi }{3}\right).\,$Round to the second decimal place.
5. Calculate and interpret$\,d\left(\frac{\pi }{6}\right).\,$Round to the second decimal place.
6. What is the minimum distance between the fisherman and the boat? When does this occur?
[reveal-answer q=”fs-id1700717″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1700717″]

1. $\,\left(-\frac{\pi }{2},\,\frac{\pi }{2}\right);\,$
2. $\,x=-\frac{\pi }{2}\,$and$\,x=\frac{\pi }{2};\,$the distance grows without bound as$\,|x|$approaches$\,\frac{\pi }{2}\,$—i.e., at right angles to the line representing due north, the boat would be so far away, the fisherman could not see it;
3. 3; when$\,x=-\frac{\pi }{3},\,$the boat is 3 km away;
4. 1.73; when$\,x=\frac{\pi }{6},\,$the boat is about 1.73 km away;
5. 1.5 km; when$\,x=0\,$[/hidden-answer]

A laser rangefinder is locked on a comet approaching Earth. The distance$\,g\left(x\right),\,$in kilometers, of the comet after$\,x\,$days, for$\,x\,$in the interval 0 to 30 days, is given by$\,g\left(x\right)=250,000\mathrm{csc}\left(\frac{\pi }{30}x\right).$

1. Graph$\,g\left(x\right)\,$on the interval$\,\left[0,\,35\right].$
2. Evaluate$\,g\left(5\right)\,$
and interpret the information.
3. What is the minimum distance between the comet and Earth? When does this occur? To which constant in the equation does this correspond?
4. 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$\,x\,$seconds is$\,\frac{\pi }{120}x.$

1. Write a function expressing the altitude$\,h\left(x\right),\,$in miles, of the rocket above the ground after$\,x\,$seconds. Ignore the curvature of the Earth.
2. Graph$\,h\left(x\right)\,$on the interval$\,\left(0,\,60\right).$
3. Evaluate and interpret the values$\,h\left(0\right)\,$and$\,h\left(30\right).$
4. What happens to the values of$\,h\left(x\right)\,$as $\,x\,$
approaches 60 seconds? Interpret the meaning of this in terms of the problem.
[reveal-answer q=”fs-id1523906″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1523906″]

1. $h\left(x\right)=2\mathrm{tan}\left(\frac{\pi }{120}x\right);$
2. $h\left(0\right)=0:\,$after 0 seconds, the rocket is 0 mi above the ground;$h\left(30\right)=2:\,$after 30 seconds, the rockets is 2 mi high;
3. As$\,x\,$approaches 60 seconds, the values of$\,h\left(x\right)\,$grow increasingly large. The distance to the rocket is growing so large that the camera can no longer track it.

[/hidden-answer]

## License

Algebra and Trigonometry OpenStax by OpenStax is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.