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*}

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

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*}

- \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*}**\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*}

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

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*}

The second approach involves two transformations. Start by reflecting across the \begin{align*}x\end{align*}

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

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

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