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

[latex]\mathrm{tan}\,x=\frac{\mathrm{sin}\,x}{\mathrm{cos}\,x}[/latex]

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.

[latex]\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}[/latex]

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}(Figure).

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

A graph of y=tangent of x. Asymptotes at -pi over 2 and pi over 2.
Figure 1. Graph of the tangent function

Graphing Variations of y = tan x

As with the sine and cosine functions, the tangent function can be described by a general equation.

[latex]y=A\mathrm{tan}\left(Bx\right)[/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]

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]x = \pm\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

[latex]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[/latex]

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.

  1. Identify the stretching factor, [latex]\,|A|.[/latex]
  2. Identify [latex]\,B\,[/latex] and determine the period, [latex]\,P=\frac{\pi }{|B|}.[/latex]
  3. Draw vertical asymptotes at [latex]\,x=-\frac{P}{2}\,[/latex] and [latex]\,x=\frac{P}{2}.[/latex]
  4. 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]).
  5. 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]

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

First, we identify [latex]\,A\,[/latex] and [latex]\,B.[/latex]

An illustration of equations showing that A is the coefficient of tangent and B is the coefficient of x, which is within the tangent function.

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

[latex]\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}[/latex]

This means the curve must pass through the points [latex]\,\left(0.5,0.5\right),[/latex] [latex]\left(0,0\right),[/latex] and[latex]\,\left(-0.5,-0.5\right).\,[/latex] (Figure 2) shows the graph of one period of the function .

A graph of one period of a modified tangent function, with asymptotes at x=-1 and x=1.
Figure 2.

[/hidden-answer]

Try It

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

[reveal-answer q=”1354903″]Show Solution[/reveal-answer][hidden-answer a=”1354903″]A graph of two periods of a modified tangent function, with asymptotes at x=-3 and x=3.[/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 [latex]\,C\,[/latex] and [latex]\,D\,[/latex] to the general form of the tangent function.

[latex]f\left(x\right)=A\mathrm{tan}\left(Bx-C\right)+D[/latex]

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(BxC)+D

  • The stretching factor is [latex]\,|A|.[/latex]   There is no amplitude.
  • 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.
  • [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.

  1. Express the function given in the form [latex]\,y=A\mathrm{tan}\left(Bx-C\right)+D.[/latex]
  2. Identify the stretching/compressing factor, [latex]\,|A|.[/latex]
  3. Identify [latex]\,B\,[/latex] and determine the period, [latex]\,P=\frac{\pi }{|B|}.[/latex]
  4. Identify [latex]\,C\,[/latex] and determine the phase shift, [latex]\,\frac{C}{B}.[/latex]
  5. 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]
  6. 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.
  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[latex]\,y=-2\mathrm{tan}\left(\pi x+\pi \right)\,-1.[/latex]

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

  • Step 1. The function is already written in the form [latex]\,y=A\mathrm{tan}\left(Bx-C\right)+D.[/latex]
  • Step 2. [latex]\,A=-2,\,[/latex] so the stretching factor is[latex]\,|A|=2.[/latex]
  • Step 3. [latex]\,B=\pi ,\,[/latex] so the period is[latex]\,P=\frac{\pi }{|B|}=\frac{\pi }{\pi }=1.[/latex]
  • Step 4. [latex]\,C=-\pi ,\,[/latex] so the phase shift is[latex]\,\frac{C}{B}=\frac{-\pi }{\pi }=-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]\,\left(-1.25,1\right),\,[/latex] [latex]\left(-1,-1\right),\,[/latex] and [latex]\,\left(-0.75,-3\right).\,[/latex] The graph is shown in (Figure 3).
    A graph of one period of a shifted tangent function, with vertical asymptotes at x=-1.5 and x=-0.5.
    Figure 3.

[/hidden-answer]

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]

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

It would be reflected across the line [latex]\,y=-1,\,[/latex] becoming an increasing function.

[/hidden-answer]

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

  1. Find the period [latex]\,P\,[/latex] from the spacing between successive vertical asymptotes or x-intercepts.
  2. Write [latex]\,f\left(x\right)=A\mathrm{tan}\left(\frac{\pi }{P}x\right).[/latex]
  3. 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 4).

A graph of two periods of a modified tangent function, with asymptotes at x=-4 and x=4.
Figure 4. A stretched tangent function
[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 [latex]\,P=8.\,[/latex] Since [latex]\,P=\frac{\pi }{|B|},\,[/latex] we have[latex]\,B=\frac{\pi }{P}=\frac{\pi }{8}.[/latex]
  • Step 2. The equation must have the form [latex]f\left(x\right)=A\mathrm{tan}\left(\frac{\pi }{8}x\right).[/latex]
  • Step 3. To find the vertical stretch [latex]\,A,[/latex] we can use the point [latex]\,\left(2,2\right).[/latex]
     [latex]2=A\mathrm{tan}\left(\frac{\pi }{8}\cdot 2\right)=A\mathrm{tan}\left(\frac{\pi }{4}\right)[/latex]

Because [latex]\,\mathrm{tan}\left(\frac{\pi }{4}\right)=1,\,[/latex] [latex]A=2.[/latex]

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

Try It

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

A graph of four periods of a modified tangent function, Vertical asymptotes at -3pi/4, -pi/4, pi/4, and 3pi/4.
Figure 5.
[reveal-answer q=”fs-id1662824″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1662824″]

[latex]g\left(x\right)=4\mathrm{tan}\left(2x\right)[/latex]

[/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 [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 6). 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.

A graph of cotangent of x, with vertical asymptotes at multiples of pi.
Figure 6. The cotangent function

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.

[latex]y=A\mathrm{cot}\left(Bx-C\right)+D[/latex]

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

  • The stretching factor is [latex]\,|A|.[/latex] There is no amplitude.
  • 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.
  • [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.

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

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

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

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

A graph of two periods of a modified tangent function and a modified cotangent function. Vertical asymptotes at x=-pi/4 and pi/4.
Figure 7.

[/hidden-answer]

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.

  1. Express the function in the form [latex]\,f\left(x\right)=A\mathrm{cot}\left(Bx-C\right)+D.[/latex]
  2. Identify the stretching factor, [latex]\,|A|.[/latex]
  3. Identify the period, [latex]\,P=\frac{\pi }{|B|}.[/latex]
  4. Identify the phase shift, [latex]\,\frac{C}{B}.[/latex]
  5. 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]
  6. Sketch the asymptotes [latex]\,x=\frac{C}{B}+\frac{\pi }{|B|}k,[/latex] where [latex]\,k\,[/latex] 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 [latex]\,f\left(x\right)=4\mathrm{cot}\left(\frac{\pi }{8}x-\frac{\pi }{2}\right)-2.[/latex]

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

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

The graph is shown in (Figure 8).

A graph of one period of a modified cotangent function. Vertical asymptotes at x=4 and x=12.
Figure 8. One period of a modified cotangent function

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

A graph of cosine of x and secant of x. Asymptotes for secant of x shown at -3pi/2, -pi/2, pi/2, and 3pi/2.
Figure 9. Graph of the secant function,[latex]\,f\left(x\right)=\mathrm{sec}x=\frac{1}{\mathrm{cos}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] There is no amplitude.
  • 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.
  • [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 10), is similar to the graph of secant.

A graph of cosecant of x and sin of x. Five vertical asymptotes shown at multiples of pi.
Figure 10. The graph of the cosecant function,[latex]\,f\left(x\right)=\mathrm{csc}x=\frac{1}{\mathrm{sin}x}[/latex]

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.

[latex]y=A\mathrm{sec}\left(Bx-C\right)+D[/latex]
[latex]y=A\mathrm{csc}\left(Bx-C\right)+D[/latex]

Features of the Graph of y = Asec(BxC)+D

  • The stretching factor is [latex]\,|A|.[/latex] There is no amplitude.
  • 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.
  • [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(BxC)+D

  • The stretching factor is [latex]\,|A|.[/latex] There is no amplitude.
  • 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.
  • [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.

  1. Express the function given in the form [latex]\,y=A\mathrm{sec}\left(Bx\right).[/latex]
  2. Identify the stretching/compressing factor, [latex]\,|A|.[/latex]
  3. Identify [latex]\,B\,[/latex] and determine the period, [latex]\,P=\frac{2\pi }{|B|}.[/latex]
  4. Sketch the graph of [latex]\,y=A\mathrm{cos}\left(Bx\right).[/latex]
  5. 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]
  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 [latex]\,f\left(x\right)=2.5\mathrm{sec}\left(0.4x\right).[/latex]

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

  • Step 1. The given function is already written in the general form, [latex]\,y=A\mathrm{sec}\left(Bx\right).[/latex]
  • Step 2. [latex]\,A=2.5\,[/latex] so the stretching factor is [latex]\,\text{2}\text{.5}\text{.}[/latex]
  • Step 3. [latex]\,B=0.4\,[/latex] so [latex]\,P=\frac{2\pi }{0.4}=5\pi .\,[/latex] The period is[latex]\,5\pi \,[/latex] units.
  • Step 4. Sketch the graph of the function [latex]\,g\left(x\right)=2.5\mathrm{cos}\left(0.4x\right).[/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\pi \,[/latex] and [latex]\,x=3.75\pi .\,[/latex] We can use two reference points, the local minimum at [latex]\,\left(0,2.5\right)\,[/latex] and the local maximum at [latex]\,\left(2.5\pi ,-2.5\right).\,[/latex] (Figure 11) shows the graph.
    A graph of one period of a modified secant function, which looks like an upward facing prarbola and a downward facing parabola.
    Figure 11.

[/hidden-answer]

Try It

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

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

This is a vertical reflection of the preceding graph because [latex]\,A\,[/latex] is negative.

A graph of one period of a modified secant function, which looks like an downward facing prarbola and a upward facing parabola.[/hidden-answer]

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.

  1. Express the function given in the form [latex]\,y=A\,\mathrm{sec}\left(Bx-C\right)+D.[/latex]
  2. Identify the stretching/compressing factor, [latex]\,|A|.[/latex]
  3. Identify [latex]\,B\,[/latex] and determine the period, [latex]\,\frac{2\pi }{|B|}.[/latex]
  4. Identify [latex]\,C\,[/latex] and determine the phase shift, [latex]\,\frac{C}{B}.[/latex]
  5. 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]
  6. 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]

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

  • Step 1. Express the function given in the form [latex]\,y=4\mathrm{sec}\left(\frac{\pi }{3}x-\frac{\pi }{2}\right)+1.[/latex]
  • Step 2. The stretching/compressing factor is [latex]|A|=4.[/latex]
  • Step 3. The period is
    [latex]\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}[/latex]
  • Step 4. The phase shift is
    [latex]\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}[/latex]
  • Step 5. Draw the graph of  [latex]\,y=A\mathrm{sec}\left(Bx\right),[/latex] but shift it to the right by [latex]\,\frac{C}{B}=1.5\,[/latex] and up by [latex]\,D=6.[/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]\,\left(1.5,5\right)\,[/latex] and a local maximum at [latex]\,\left(4.5,-3\right).\,[/latex] (Figure 12) shows the graph.
Figure 12.

[/hidden-answer]

Try It

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

[reveal-answer q=”1439474″]Show Solution[/reveal-answer][hidden-answer a=”1439474″]A graph of one period of a modified secant function. There are two vertical asymptotes, one at approximately x=-pi/20 and one approximately at 3pi/16.[/hidden-answer]

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.

  1. Express the function given in the form [latex]\,y=A\mathrm{csc}\left(Bx\right).[/latex]
  2. [latex]\,|A|.[/latex]
  3. Identify [latex]\,B\,[/latex] and determine the period, [latex]\,P=\frac{2\pi }{|B|}.[/latex]
  4. Draw the graph of [latex]\,y=A\mathrm{sin}\left(Bx\right).[/latex]
  5. 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]
  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 [latex]\,f\left(x\right)=-3\mathrm{csc}\left(4x\right).[/latex]

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

  • Step 1. The given function is already written in the general form, [latex]\,y=A\mathrm{csc}\left(Bx\right).[/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\pi }{4}=\frac{\pi }{2}.\,[/latex] The period is [latex]\,\frac{\pi }{2}\,[/latex] units.
  • Step 4. Sketch the graph of the function [latex]\,g\left(x\right)=-3\mathrm{sin}\left(4x\right).[/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{\pi }{4},\,[/latex] and [latex]\,x=\frac{\pi }{2}.\,[/latex] We can use two reference points, the local maximum at [latex]\,\left(\frac{\pi }{8},-3\right)\,[/latex] and the local minimum at [latex]\,\left(\frac{3\pi }{8},3\right).[/latex] (Figure 13) shows the graph.
    A graph of one period of a cosecant function. There are vertical asymptotes at x=0, x=pi/4, and x=pi/2.
    Figure 13.

[/hidden-answer]

Try It

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

[reveal-answer q=”1150397″]Show Solution[/reveal-answer][hidden-answer a=”1150397″]A graph of one period of a modified secant function, which looks like an downward facing prarbola and a upward facing parabola.[/hidden-answer]

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

  1. Express the function given in the form [latex]\,y=A\mathrm{csc}\left(Bx-C\right)+D.[/latex]
  2. Identify the stretching/compressing factor, [latex]\,|A|.[/latex]
  3. Identify [latex]\,B\,[/latex] and determine the period, [latex]\,\frac{2\pi }{|B|}.[/latex]
  4. Identify [latex]\,C\,[/latex] and determine the phase shift, [latex]\,\frac{C}{B}.[/latex]
  5. 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]
  6. 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?

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

  • Step 1. Express the function given in the form [latex]\,y=2\mathrm{csc}\left(\frac{\pi }{2}x\right)+1.[/latex]
  • Step 2. Identify the stretching/compressing factor, [latex]\,|A|=2.[/latex]
  • Step 3. The period is [latex]\,\frac{2\pi }{|B|}=\frac{2\pi }{\frac{\pi }{2}}=\frac{2\pi }{1}\cdot \frac{2}{\pi }=4.[/latex]
  • Step 4. The phase shift is [latex]\,\frac{0}{\frac{\pi }{2}}=0.[/latex]
  • Step 5. Draw the graph of [latex]\,y=A\mathrm{csc}\left(Bx\right)\,[/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 14).

A graph of 3 periods of a modified cosecant function, with 3 vertical asymptotes, and a dotted sinusoidal function that has local maximums where the cosecant function has local minimums and local minimums where the cosecant function has local maximums.
Figure 14. A transformed cosecant function

[/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 [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 15), sketch the graph of [latex]\,g\left(x\right)=2\mathrm{sec}\left(\frac{\pi }{2}x\right)+1\,[/latex] on the same axes.

A graph of two periods of a modified cosine function. Range is [-1,3], graphed from x=-4 to x=4.
Figure 15.
[reveal-answer q=”1528623″]Show Solution[/reveal-answer][hidden-answer a=”1528623″]A graph of two periods of both a secant and consine function. Grpah shows that cosine function has local maximums where secant function has local minimums and vice versa.[/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 [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.

  1. Find and interpret the stretching factor and period.
  2. Graph on the interval [latex]\,\left[0,5\right].[/latex]
  3. Evaluate [latex]\,f\left(1\right)\,[/latex] 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 [latex]\,y=A\mathrm{tan}\left(Bt\right)\,[/latex] that [latex]\,|A|\,[/latex] is the stretching factor and [latex]\,\frac{\pi }{B}\,[/latex] is the period.
    A graph showing that variable A is the coefficient of the tangent function and variable B is the coefficient of x, which is within that tangent function.
    Figure 16.

    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{\pi }{\frac{\pi }{4}}=\frac{\pi }{1}\cdot \frac{4}{\pi }=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.

  2. To graph the function, we draw an asymptote at [latex]\,t=2\,[/latex] and use the stretching factor and period. See (Figure 17)
    A graph of one period of a modified tangent function, with a vertical asymptote at x=4.
    Figure 17.
  3. period: [latex]\,f\left(1\right)=5\mathrm{tan}\left(\frac{\pi }{4}\left(1\right)\right)=5\left(1\right)=5;\,[/latex] 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 [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 2), (Figure 3), and (Figure 4).
  • 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 11) and (Figure 12).
  • [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 13) and (Figure 14).
  • 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 7) and (Figure 8).
  • Real-world scenarios can be solved using graphs of trigonometric functions. See (Figure 17).

Section Exercises

Verbal

Explain how the graph of the sine function can be used to graph [latex]\,y=\mathrm{csc}\,x.[/latex]

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

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

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]

[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 [latex]\,\mathrm{tan}\left(x+\pi \right)=\mathrm{tan}\,x.\,[/latex][/hidden-answer]

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]

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

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

Algebraic

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

Trigonometric graph of tangent of x.Trigonometric graph of secant of x.Trigonometric graph of cosecant of x.Trigonometric graph of cotangent of x.

[latex]f\left(x\right)=\mathrm{tan}\,x[/latex]

[latex]f\left(x\right)=\mathrm{sec}\,x[/latex]

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

IV

[/hidden-answer]

[latex]f\left(x\right)=\mathrm{csc}\,x[/latex]

[latex]f\left(x\right)=\mathrm{cot}\,x[/latex]

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

[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]

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

period: 8; horizontal shift: 1 unit to left

[/hidden-answer]

[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]

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

1.5

[/hidden-answer]

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]

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

5

[/hidden-answer]

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]

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

[latex]-\mathrm{cot}x\mathrm{cos}x-\mathrm{sin}x[/latex]

[/hidden-answer]

[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]

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

A graph of two periods of a modified tangent function. There are two vertical asymptotes.

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

[/hidden-answer]

[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]

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

A graph of two periods of a modified cosecant function. Vertical Asymptotes at x= -6, -3, 0, 3, and 6.

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

[/hidden-answer]

[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]

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

A graph of two periods of a modified tangent function. Vertical asymptotes at multiples of pi.

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

[/hidden-answer]

[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]

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

A graph of two periods of a modified tangent function. Three vertical asymptiotes shown.

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

[/hidden-answer]

[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]

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

A graph of two periods of a modified cosecant function. Vertical asymptotes at multiples of pi.

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

[/hidden-answer]

[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]

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

A graph of two periods of a modified secant function. Vertical asymptotes at x=-pi/2, -pi/6, pi/6, and pi/2.

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

[/hidden-answer]

[latex]f\left(x\right)=-3\mathrm{cot}\left(2x\right)[/latex]

[latex]f\left(x\right)=7\mathrm{sec}\left(5x\right)[/latex]

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

A graph of two periods of a modified secant function. There are four vertical asymptotes all pi/5 apart.

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

[/hidden-answer]

[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]

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

A graph of two periods of a modified cosecant function. Three vertical asymptotes, each pi apart.

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

[/hidden-answer]

[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]

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

A graph of a modified cosecant function. Four vertical asymptotes.

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

[/hidden-answer]

[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]

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

[latex]y=\mathrm{tan}\left(3\left(x-\frac{\pi }{4}\right)\right)+2[/latex]

A graph of two periods of a modified tangent function. Vertical asymptotes at x=-pi/4 and pi/12.[/hidden-answer]

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.

A graph of two periods of a modified cosecant function, with asymptotes at multiples of pi/2.
[reveal-answer q=”fs-id1706414″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1706414″]

[latex]f\left(x\right)=\mathrm{csc}\left(2x\right)[/latex]

[/hidden-answer]

A graph of a modified cotangent function. Vertical asymptotes at x=-1 and x=0 and x=1.
A graph of a modified cosecant function. Vertical asymptotes at multiples of pi/4.
[reveal-answer q=”fs-id1405484″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1405484″]

[latex]f\left(x\right)=\mathrm{csc}\left(4x\right)[/latex]

[/hidden-answer]

A graph of a modified tangent function. Vertical asymptotes at -pi/8 and 3pi/8.
A graph of a modified cosecant function. Vertical asymptotyes at multiples of pi.
[reveal-answer q=”fs-id705620″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id705620″]

[latex]f\left(x\right)=2\mathrm{csc}x[/latex]

[/hidden-answer]

A graph of a modified secant function. Four vertical asymptotes.
graph of two periods of a modified tangent function. Vertical asymptotes at x=-0.005 and x=0.005.
[reveal-answer q=”fs-id1460872″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1460872″]

[latex]f\left(x\right)=\frac{1}{2}\mathrm{tan}\left(100\pi x\right)[/latex]

[/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 [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]

[reveal-answer q=”1656302″]Show Solution[/reveal-answer][hidden-answer a=”1656302″]A graph of the absolute value of the cotangent function. Range is 0 to infinity.[/hidden-answer]

[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]

[reveal-answer q=”1420323″]Show Solution[/reveal-answer][hidden-answer a=”1420323″]A graph of tangent of x.[/hidden-answer]

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]

[reveal-answer q=”1586275″]Show Solution[/reveal-answer][hidden-answer a=”1586275″]A graph of two periods of a modified secant function. Vertical asymptotes at multiples of 500pi.[/hidden-answer]

[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]

[reveal-answer q=”1631004″]Show Solution[/reveal-answer][hidden-answer a=”1631004″]A graph of y=1.[/hidden-answer]

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.

  1. Graph on the interval [latex]\,\left[0,\,5\right].[/latex]
  2. Find and interpret the stretching factor, period, and asymptote.
  3. 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]

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

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

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]

  1. Graph [latex]\,g\left(x\right)\,[/latex] on the interval [latex]\,\left[0,\,35\right].[/latex]
  2. Evaluate [latex]\,g\left(5\right)\,[/latex]
    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[latex]\,x\,[/latex]seconds is [latex]\,\frac{\pi }{120}x.[/latex]

  1. 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.
  2. Graph [latex]\,h\left(x\right)\,[/latex] on the interval [latex]\,\left(0,\,60\right).[/latex]
  3. Evaluate and interpret the values [latex]\,h\left(0\right)\,[/latex] and [latex]\,h\left(30\right).[/latex]
  4. 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.
[reveal-answer q=”fs-id1523906″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1523906″]

  1. [latex]h\left(x\right)=2\mathrm{tan}\left(\frac{\pi }{120}x\right);[/latex]
  2. An exponentially increasing function with a vertical asymptote at x=60.
  3. [latex]h\left(0\right)=0:\,[/latex] after 0 seconds, the rocket is 0 mi above the ground; [latex]h\left(30\right)=2:\,[/latex] after 30 seconds, the rockets is 2 mi high;
  4. As [latex]\,x\,[/latex] approaches 60 seconds, the values of [latex]\,h\left(x\right)\,[/latex] grow increasingly large. The distance to the rocket is growing so large that the camera can no longer track it.

[/hidden-answer]

License

Icon for the Creative Commons Attribution 4.0 International License

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

Share This Book