Graphs of the Other Trigonometric Functions

Learning Outcomes

  • Analyze the graph of  y=tan x and y=cot x.
  • Graph variations of  y=tan x and y=cot x.
  • Determine a function formula from a tangent or cotangent graph.
  • Analyze the graphs of  y=sec x  and  y=csc x.
  • Graph variations of  y=sec x  and  y=csc x.
  • Determine a function formula from a secant or cosecant graph.

Analyzing the Graph of y = tan x and Its Variations

We will begin with the graph of the tangent function, plotting points as we did for the sine and cosine functions. Recall that

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

The period of the tangent function is π because the graph repeats itself on intervals of where k is a constant. If we graph the tangent function on [latex]−\dfrac{\pi}{2}\text{ to }\dfrac{\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{align}\tan(−x)&=\frac{\sin(−x)}{\cos(−x)} && \text{Definition of tangent.} \\ &=\frac{−\sin x}{\cos x} && \text{Sine is an odd function, cosine is even.} \\ &=−\frac{\sin x}{\cos x} && \text{The quotient of an odd and an even function is odd.} \\ &=−\tan x && \text{Definition of tangent.} \end{align}[/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 the table below.

x [latex]-\frac{\pi}{6}[/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]
tan (x) undefined [latex]−\sqrt{3}[/latex] –1 [latex]−\dfrac{\sqrt{3}}{3}[/latex] 0 [latex]\dfrac{\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}<x<\frac{\pi}{2}[/latex], we can use a table to look for a trend. Because [latex]\frac{\pi}{3}\approx 1.05[/latex] and [latex]\frac{\pi}{2}\approx 1.57[/latex], we will evaluate x at radian measures 1.05 < x < 1.57 as shown in the table below.

x 1.3 1.5 1.55 1.56
tan x 3.6 14.1 48.1 92.6

As x approaches [latex]\frac{\pi}{2}[/latex], the outputs of the function get larger and larger. Because [latex]y=\tan x[/latex] is an odd function, we see the corresponding table of negative values in the table below.

x −1.3 −1.5 −1.55 −1.56
tan x −3.6 −14.1 −48.1 −92.6

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

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.

A General Note: Features of the Graph of y = Atan(Bx)

  • The stretching factor is |A| .
  • The period is [latex]P=\frac{\pi}{|B|}[/latex].
  • The domain is all real numbers x, where [latex]x\ne \frac{\pi}{2|B|} + \frac{\pi}{|B|} k[/latex] such that k is an integer.
  • The range is [latex]\left(-\infty,\infty\right)[/latex].
  • The asymptotes occur at [latex]x=\frac{\pi}{2|B|} + \frac{\pi}{|B|}k[/latex], where k is an integer.
  • [latex]y = A \tan (Bx)[/latex] is an odd function.

Graphing One Period of a Stretched or Compressed Tangent Function

We can use what we know about the properties of the tangent function to quickly sketch a graph of any stretched and/or compressed tangent function of the form [latex]f(x)=A\tan(Bx)[/latex]. We focus on a single period of the function including the origin, because the periodic property enables us to extend the graph to the rest of the function’s domain if we wish. Our limited domain is then the interval [latex](−\frac{P}{2}, \frac{P}{2})[/latex] and the graph has vertical asymptotes at [latex]\pm \frac{P}{2}[/latex] where [latex]P=\frac{\pi}{B}[/latex]. On [latex](−\dfrac{\pi}{2}, \dfrac{\pi}{2})[/latex], the graph will come up from the left asymptote at [latex]x=−\dfrac{\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 \tan\left(B\frac{P}{4}\right)=A\tan\left(B\frac{\pi}{4B}\right)=A[/latex]

because  [latex]\tan\left(\frac{\pi}{4}\right)=1[/latex].

How To: Given the function [latex]f(x)=A\tan(Bx)[/latex], graph one period.

  1. Identify the stretching factor, |A|.
  2. Identify B and determine the period, [latex]P=\frac{\pi}{|B|}[/latex].
  3. Draw vertical asymptotes at  [latex]x=−\dfrac{P}{2}[/latex] and [latex]x=\frac{P}{2}[/latex].
  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 [latex]\left(\frac{P}{4},A\right)[/latex] (0, 0), and ([latex]−\dfrac{P}{4}[/latex],− A), and draw the graph through these points.

Example 1: Sketching a Compressed Tangent

Sketch a graph of one period of the function [latex]y=0.5\tan\left(\frac{\pi}{2}x\right)[/latex].

Try It

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

Try It

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.

[latex]f(x)=A\tan(Bx−C)+D[/latex]

The graph of a transformed tangent function is different from the basic tangent function tan x in several ways:

A General Note: Features of the Graph of [latex]y = A\tan\left(Bx−C\right)+D[/latex]

  • The stretching factor is |A|.
  • The period is [latex]\frac{\pi}{|B|}[/latex].
  • The domain is [latex]x\ne\frac{C}{B}+\frac{\pi}{|B|}k[/latex], where k is an integer.
  • The range is (−∞,−|A|] ∪ [|A|, ∞).
  • The vertical asymptotes occur at [latex]x=\frac{C}{B}+\frac{\pi}{2|B|}k[/latex], where k is an odd integer.
  • There is no amplitude.
  • [latex]y=A\tan(Bx)[/latex] is an odd function because it is the quotient of odd and even functions (sine and cosine respectively).

How To: Given the function [latex]y=A\tan(Bx−C)+D[/latex], sketch the graph of one period.

  1. Express the function given in the form [latex]y=A\tan(Bx−C)+D[/latex].
  2. Identify the stretching/compressing factor, |A|.
  3. Identify B and determine the period, [latex]P=\frac{\pi}{|B|}[/latex].
  4. Identify C and determine the phase shift, [latex]\frac{C}{B}[/latex].
  5. Draw the graph of [latex]y=A\tan(Bx)[/latex] shifted to the right by [latex]\frac{C}{B}[/latex] and up by D.
  6. Sketch the vertical asymptotes, which occur at [latex]x=\frac{C}{B}+\frac{\pi}{2|B|}k[/latex], where k is an odd integer.
  7. Plot any three reference points and draw the graph through these points.

Example 2: Graphing One Period of a Shifted Tangent Function

Graph one period of the function [latex]y=−2\tan(\pi x+\pi)−1[/latex].

Try It

How would the graph in Example 2 look different if we made A = 2 instead of −2?

How To: 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 [latex]f(x)=A\tan\left(\frac{\pi}{P}x\right)[/latex].
  3. Determine a convenient point (x, f(x)) on the given graph and use it to determine A.

Example 3: Identifying the Graph of a Stretched Tangent

Find a formula for the function graphed in Figure 5.

A graph of two periods of a modified tangent function, with asymptotes at x=-4 and x=4.

Figure 5

Try It

Find a formula for the function in Figure 6.

A graph of four periods of a modified tangent function, Vertical asymptotes at -3pi/4, -pi/4, pi/4, and 3pi/4.

Figure 6

Try It

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 .

Example 4: Using Trigonometric Functions to Solve Real-World Scenarios

Suppose the function [latex]y=5\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 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 [0, 5].
  3. Evaluate f(1) and discuss the function’s value at that input.

Analyzing the Graphs of y = sec x and y = cscx and Their Variations

The secant was defined by the reciprocal identity [latex]\sec x=\frac{1}{\cos x}[/latex]. Notice that the function is undefined when the cosine is 0, leading to vertical asymptotes at [latex]\frac{\pi}{2},\frac{3\pi}{2}\text{, etc}[/latex]. Because the cosine is never more than 1 in absolute value, the secant, being the reciprocal, will never be less than 1 in absolute value.

We can graph [latex]y=\sec x[/latex] by observing the graph of the cosine function because these two functions are reciprocals of one another. See Figure 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 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, [latex]\sec(−x)=\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(x)=\sec x=\frac{1}{\cos x}[/latex]

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

A General Note: Features of the Graph of y = Asec(Bx)

  • The stretching factor is |A|.
  • The period is [latex]\frac{2\pi}{|B|}[/latex].
  • The domain is [latex]x\ne \frac{\pi}{2|B|}k[/latex], where k is an odd integer.
  • The range is (−∞, −|A|] ∪ [|A|, ∞).
  • The vertical asymptotes occur at [latex]x=\frac{\pi}{2|B|}k [/latex], where k is an odd integer.
  • There is no amplitude.
  • [latex]y=A\sec(Bx)[/latex] is an even function because cosine is an even function.

Similar to the secant, the cosecant is defined by the reciprocal identity [latex]\csc x=1\sin x[/latex]. Notice that the function is undefined when the sine is 0, leading to a vertical asymptote in the graph at 0, π, etc. Since the sine is never more than 1 in absolute value, the cosecant, being the reciprocal, will never be less than 1 in absolute value.

We can graph [latex]y=\csc x[/latex] by observing the graph of the sine function because these two functions are reciprocals of one another. See Figure 10. 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, [latex]\csc(−x)=−\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(x)=\csc x=\frac{1}{\sin x}/latex]

A General Note: Features of the Graph of [latex]y=A\csc(Bx)

  • The stretching factor is |A|.
  • The period is [latex]\frac{2\pi}{|B|}[/latex].
  • The domain is [latex]x\ne\frac{\pi}{|B|}k[/latex], where k is an integer.
  • The range is ( −∞, −|A|] ∪ [|A|, ∞).
  • The asymptotes occur at [latex]x=\frac{\pi}{|B|}k[/latex], where k is an integer.
  • [latex]y=A\csc(Bx)[/latex] is an odd function because sine is an odd function.

Graphing Variations of y = sec x and = 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\sec(Bx−C)+D[/latex]
[latex]y=A\csc(Bx−C)+D[/latex]

A General Note: Features of the Graph of [latex]y=A\sec(Bx−C)+D[/latex]

  • The stretching factor is |A|.
  • 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 k is an odd integer.
  • The range is (−∞, −|A|] ∪ [|A|, ∞).
  • The vertical asymptotes occur at [latex]x=\frac{C}{B}+\frac{\pi}{2|B|}k[/latex], where k is an odd integer.
  • There is no amplitude.
  • [latex]y=A\sec(Bx)[/latex] is an even function because cosine is an even function.

A General Note: Features of the Graph of [latex]y=A\csc(Bx−C)+D[/latex]

  • The stretching factor is |A|.
  • 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 k is an integer.
  • The range is (−∞, −|A|] ∪ [|A|, ∞).
  • The vertical asymptotes occur at [latex]x=\frac{C}{B}+\frac{\pi}{|B|}k[/latex], where k is an integer.
  • There is no amplitude.
  • [latex]y=A\csc(Bx)[/latex] is an odd function because sine is an odd function.

How To: Given a function of the form [latex]y=A\sec(Bx)[/latex], graph one period.

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

Example 6: Graphing a Variation of the Secant Function

Graph one period of [latex]f(x)=2.5\sec(0.4x)[/latex].

Try It

Graph one period of [latex]f(x)=−2.5\sec(0.4x)[/latex].

Q & A

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

Yes. The range of [latex]f(x) = A\sec(Bx − C) + D[/latex] is ( −∞, −|A| + D] ∪ [|A| + D, ∞).

How To: Given a function of the form [latex]f(x)=A\sec (Bx−C)+D[/latex], graph one period.

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

Example 7: Graphing a Variation of the Secant Function

Graph one period of [latex]y=4\sec \left(\frac{\pi}{3}x−\frac{\pi}{2}\right)+1[/latex].

Try It

Graph one period of [latex]f(x)=−6\sec(4x+2)−8[/latex].

Try It

Q & A

The domain of [latex]\csc x[/latex] was given to be all x such that [latex]x\ne k\pi[/latex] for any integer k. Would the domain of [latex]y=A\csc(Bx−C)+D[/latex] be [latex]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.

How To: Given a function of the form [latex]y=A\csc(Bx)[/latex], graph one period.

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

Example 8: Graphing a Variation of the Cosecant Function

Graph one period of [latex]f(x)=−3\csc(4x)[/latex].

Try It

Graph one period of [latex]f(x)=0.5\csc(2x)[/latex].

How To: Given a function of the form [latex]f(x)=A\csc(Bx−C)+D[/latex], graph one period.

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

Example 9: Graphing a Vertically Stretched, Horizontally Compressed, and Vertically Shifted Cosecant

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

Try It

Given the graph of [latex]f(x)=2\cos\left(\frac{\pi}{2}x\right)+1[/latex] shown in Figure 15, sketch the graph of [latex]g(x)=2\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

Analyzing the Graph of y = cot x and Its Variations

The last trigonometric function we need to explore is cotangent. The cotangent is defined by the reciprocal identity [latex]\cot x=\frac{1}{\tan x}[/latex]. Notice that the function is undefined when the tangent function is 0, leading to a vertical asymptote in the graph at 0, π, etc. Since the output of the tangent function is all real numbers, the output of the cotangent function is also all real numbers.

We can graph [latex]y=\cot x[/latex] by observing the graph of the tangent function because these two functions are reciprocals of one another. See Figure 16. 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 [latex]\tan x=0[/latex]; we show these in the graph below with dashed lines. Since the cotangent is the reciprocal of the tangent, [latex]\cot x[/latex] has vertical asymptotes at all values of x where [latex]\tan x=0[/latex] , and [latex]\cot x=0[/latex] at all values of x where tan x has its vertical asymptotes.

A graph of cotangent of x, with vertical asymptotes at multiples of pi.

Figure 16. The cotangent function

A General Note: Features of the Graph of y = Acot(Bx)

  • The stretching factor is |A|.
  • The period is [latex]P=\frac{\pi}{|B|}[/latex].
  • The domain is [latex]x\ne\frac{\pi}{|B|}k[/latex], where k is an integer.
  • The range is (−∞, ∞).
  • The asymptotes occur at [latex]x=\frac{\pi}{|B|}k[/latex], where k is an integer.
  • [latex]y=A\cot(Bx)[/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\cot(Bx−C)+D[/latex]

A General Note: Properties of the Graph of y = Acot(Bx−C)+D

  • The stretching factor is |A|.
  • The period is [latex]\frac{\pi}{|B|}[/latex].
  • The domain is [latex]x\ne\frac{C}{B}+\frac{\pi}{|B|}k[/latex], where k is an integer.
  • The range is (−∞, −|A|] ∪ [|A|, ∞).
  • The vertical asymptotes occur at [latex]x=\frac{C}{B}+\frac{\pi}{|B|}k[/latex], where k is an integer.
  • There is no amplitude.
  • [latex]y=A\cot(Bx)[/latex] is an odd function because it is the quotient of even and odd functions (cosine and sine, respectively)

How To: Given a modified cotangent function of the form [latex]f(x)=A\cot(Bx)[/latex], graph one period.

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

Example 10: Graphing Variations of the Cotangent Function

Determine the stretching factor, period, and phase shift of [latex]y=3\cot(4x)[/latex], and then sketch a graph.

How To: Given a modified cotangent function of the form [latex]f(x)=A\cot(Bx−C)+D[/latex], graph one period.

  1. Express the function in the form [latex]f(x)=A\cot(Bx−C)+D[/latex].
  2. Identify the stretching factor, |A|.
  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\tan(Bx)[/latex] shifted to the right by [latex]\frac{C}{B}[/latex] and up by D.
  6. Sketch the asymptotes [latex]x =\frac{C}{B}+\frac{\pi}{|B|}k[/latex], where k is an integer.
  7. Plot any three reference points and draw the graph through these points.

Example 11: Graphing a Modified Cotangent

Sketch a graph of one period of the function [latex]f(x)=4\cot\left(\frac{\pi}{8}x−\frac{\pi}{2}\right)−2[/latex].

Key Equations

Shifted, compressed, and/or stretched tangent function [latex]y=A\tan(Bx−C)+D[/latex]
Shifted, compressed, and/or stretched secant function [latex]y=A\sec(Bx−C)+D[/latex]
Shifted, compressed, and/or stretched cosecant [latex]y=A\csc(Bx−C)+D[/latex]
Shifted, compressed, and/or stretched cotangent function [latex]y=A\cot(Bx−C)+D[/latex]

Key Concepts

  • The tangent function has period π.
  • [latex]f(x)=A\tan(Bx−C)+D[/latex] is a tangent with vertical and/or horizontal stretch/compression and shift.
  • The secant and cosecant are both periodic functions with a period of2π. [latex]f(x)=A\sec(Bx−C)+D[/latex] gives a shifted, compressed, and/or stretched secant function graph.
  • [latex]f(x)=A\csc(Bx−C)+D[/latex] gives a shifted, compressed, and/or stretched cosecant function graph.
  • The cotangent function has period π and vertical asymptotes at 0, ±π,±2π,….
  • The range of cotangent is (−∞,∞),and the function is decreasing at each point in its range.
  • The cotangent is zero at [latex]\pm\frac{\pi}{2}\text{, }\pm\frac{3\pi}{2}[/latex],….
  • [latex]f(x)=A\cot(Bx−C)+D[/latex] is a cotangent with vertical and/or horizontal stretch/compression and shift.
  • Real-world scenarios can be solved using graphs of trigonometric functions.