<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
Dismiss
Skip Navigation

Graphing Tangent, Cotangent, Secant and Cosecant

Tangent, cotangent, cosecant, and secant graphs.

Atoms Practice
Estimated9 minsto complete
%
Progress
Practice Graphing Tangent, Cotangent, Secant and Cosecant
 
 
 
MEMORY METER
This indicates how strong in your memory this concept is
Practice
Progress
Estimated9 minsto complete
%
Practice Now
Turn In
Graphs of Other Trigonometric Functions

If you already know the relationship between the equation and graph of sine and cosine functions then the other four functions can be found by identifying zeroes, asymptotes and key points.  Are the four new functions transformations of the sine and cosine functions? 

Graphing Other Trigonometric Functions

Secant and Cosecant

Since secant is the inverse of cosine the graphs are very closely related.

Notice wherever cosine is zero, secant has a vertical asymptote and where \begin{align*}\cos x=1\end{align*}cosx=1 then \begin{align*}\sec x=1\end{align*}secx=1 as well.  These two logical pieces allow you to graph any secant function of the form:

\begin{align*}f(x)=\pm a \cdot \sec (b(x+c))+d\end{align*}f(x)=±asec(b(x+c))+d

The method is to graph it as you would a cosine and then insert asymptotes and the secant curves so they touch the cosine curve at its maximum and minimum values.  This technique is identical to graphing cosecant graphs.  Simply use the sine graph to find the location and asymptotes. 

   

 

Tangent and Cotangent

The tangent and cotangent graphs are more difficult because they are a ratio of the sine and cosine functions.

  • \begin{align*}\tan x=\frac{\sin x}{\cos x}\end{align*}tanx=sinxcosx
  • \begin{align*}\cot x=\frac{\cos x}{\sin x}\end{align*}cotx=cosxsinx

The way to think through the graph of \begin{align*}f(x)=\tan x\end{align*}f(x)=tanx is to first determine its asymptotes.  The asymptotes occur when the denominator, cosine, is zero.  This happens at \begin{align*}\pm \frac{\pi}{2}, \pm \frac{3 \pi}{2} \ldots\end{align*}±π2,±3π2 The next thing to plot is the zeros which occur when the numerator, sine, is zero.  This happens at \begin{align*}0, \pm \pi, \pm, 2 \pi \ldots\end{align*}0,±π,±,2π From the unit circle and basic right triangle trigonometry, you already know some values of \begin{align*}\tan x\end{align*}tanx:

  • \begin{align*}\tan \frac{\pi}{4}=1\end{align*}tanπ4=1
  • \begin{align*}\tan \left(-\frac{\pi}{4}\right)=-1\end{align*}tan(π4)=1

By plotting all this information, you get a very good sense as to what the graph of tangent looks like and you can fill in the rest.

Notice that the period of tangent is \begin{align*}\pi\end{align*}π not \begin{align*}2 \pi\end{align*}2π, because it has a shorter cycle. 

The graph of cotangent can be found using identical logic as tangent.  You know \begin{align*}\cot x=\frac{1}{\tan x}\end{align*}cotx=1tanx.  This means that the graph of cotangent will have zeros wherever tangent has asymptotes and asymptotes wherever tangent has zeroes.  You also know that where tangent is 1, cotangent is also 1. Thus the graph of cotangent is:

  

 

 

 

Examples

Example 1

Earlier, you were asked if the four new functions are transformations of sine and cosine. The four new functions are not purely transformations of the sine and cosine functions.  However, secant and cosecant are transformations of each other as are tangent and cotangent. 

Example 2

Graph the function \begin{align*}f(x)=-2 \cdot \csc (\pi (x-1))+1\end{align*}f(x)=2csc(π(x1))+1.

Graph the function as if it were a sine function.  Then insert asymptotes wherever the sine function crosses the sinusoidal axis.  Lastly add in the cosecant curves. 

The amplitude is 2.  The shape is negative sine.  The function is shifted up one unit and to the right one unit.

Note that only the blue portion of the graph represents the given function.

Example 3

How do you write a tangent function as a cotangent function? 

There are two main ways to go between a tangent function and a cotangent function.  The first method was discussed in Example A:  \begin{align*}f(x)=\tan x=\frac{1}{\cot x}\end{align*}f(x)=tanx=1cotx.

The second approach involves two transformations.  Start by reflecting across the \begin{align*}x\end{align*}x or the \begin{align*}y\end{align*}y axis.  Notice that this produces an identical result.  Next shift the function to the right or left by \begin{align*}\frac{\pi}{2}\end{align*}π2.  Again this produces an identical result. \begin{align*}f(x)=\tan x=-\cot \left(x-\frac{\pi}{2}\right)\end{align*}f(x)=tanx=cot(xπ2).

Example 4

Find the equation of the function in the following graph.

If you connect the relative maximums and minimums of the function, it produces a shifted cosine curve that is easier to work with.

The amplitude is 3.  The vertical shift is 2 down.  The period is 4 which implies that \begin{align*}b=\frac{\pi}{2}\end{align*}b=π2.  The shape is positive cosine and if you choose to start at \begin{align*}x=0\end{align*}x=0 there is no phase shift.

\begin{align*}f(x)=3 \cdot \csc \left(\frac{\pi}{2}x\right)-2\end{align*}f(x)=3csc(π2x)2

Example 5

Where are the asymptotes for tangent and why do they occur?

Since \begin{align*}\tan x=\frac{\sin x}{\cos x}\end{align*} the asymptotes occur whenever \begin{align*}\cos x=0\end{align*} which is \begin{align*}\pm \frac{\pi}{2}, \pm \frac{3 \pi}{2}, \ldots\end{align*}

Review

1. What function can you use to help you make a sketch of \begin{align*}f(x)=\sec x\end{align*}? Why?

2. What function can you use to help you make a sketch of \begin{align*}g(x)=\csc x\end{align*}?  Why?

Make a sketch of each of the following from memory. 

3. \begin{align*}f(x)=\sec x\end{align*}

4. \begin{align*}g(x)=\csc x\end{align*}

5. \begin{align*}h(x)=\tan x\end{align*}

6. \begin{align*}k(x)=\cot x\end{align*}

Graph each of the following.

7. \begin{align*}f(x)=2 \csc (x)+1\end{align*}

8. \begin{align*}g(x)=2 \csc \left(\frac{\pi}{2}x\right)+1\end{align*}

9. \begin{align*}h(x)=2 \csc \left(\frac{\pi}{2}(x-3)\right)+1\end{align*}

10. \begin{align*}j(x)=\cot \left(\frac{\pi}{2}x\right)+3\end{align*}

11. \begin{align*}k(x)=-\sec \left(\frac{\pi}{3}(x+1)\right)-4\end{align*}

12. \begin{align*}m(x)=-\tan (x)+1\end{align*}

13. \begin{align*}p(x)=-2 \tan \left(x-\frac{\pi}{2}\right)+1\end{align*}

14. Find two ways to write \begin{align*}\sec x\end{align*} in terms of other trigonometric functions.

15. Find two ways to write \begin{align*}\csc x\end{align*} in terms of other trigonometric functions.

Review (Answers)

To see the Review answers, open this PDF file and look for section 5.7. 

Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes
Please to create your own Highlights / Notes
Show More

Vocabulary

Asymptotes

An asymptote is a line on the graph of a function representing a value toward which the function may approach, but does not reach (with certain exceptions).

Cosecant

The cosecant of an angle in a right triangle is a relationship found by dividing the length of the hypotenuse by the length of the side opposite to the given angle. This is the reciprocal of the sine function.

Cotangent

The cotangent of an angle in a right triangle is a relationship found by dividing the length of the side adjacent to the given angle by the length of the side opposite to the given angle. This is the reciprocal of the tangent function.

Secant

The secant of an angle in a right triangle is the value found by dividing length of the hypotenuse by the length of the side adjacent the given angle. The secant ratio is the reciprocal of the cosine ratio.

Transformations

Transformations are used to change the graph of a parent function into the graph of a more complex function.

Vertical Asymptote

A vertical asymptote is a vertical line marking a specific value toward which the graph of a function may approach, but will never reach.

Image Attributions

Explore More

Sign in to explore more, including practice questions and solutions for Graphing Tangent, Cotangent, Secant and Cosecant.
Please wait...
Please wait...