# 2.7: Graphing Tangent, Cotangent, Secant, and Cosecant

**At Grade**Created by: CK-12

## Learning Objectives

- Apply transformations to the remaining four trigonometric functions.
- Identify the equation, given a basic graph.

## Tangent and Cotangent

From Section 2.3, the graph of tangent looks like the picture below, where the period is and vertical asymptotes are at and , where is any integer. Notice that the period is only and the function repeats after every asymptote. The intercepts are The general equation of a tangent function is just like sine and cosine, , where , , , and represent the same transformations as they did before.

Cotangent also has a period of , but the asymptotes and intercepts are reversed. What this means is that the vertical asymptotes are now at 0 and , and the intercepts are at and , where is an integer. The general equation of a cotangent function is just like sine and cosine, , where , , , and represent the same transformations as they did before.

One important difference: the period of sine and cosine is defined as . The period of tangent and cotangent is only , so the period would be .

**Example 1:** Sketch the graph of over the interval .

**Solution:** Starting with , would be shifted down two and frequency is , which means the period would be , instead of . So, in our interval of there would be two complete repetitions. The red graph is .

**Example 2:** Sketch the graph of over the interval .

**Solution:** If you compare this graph to , it will be stretched and flipped. It will also have a phase shift of to the right. The red graph is .

## Secant and Cosecant

Because secant is the reciprocal of cosine, it will have the same period, . Notice that an entire period encompasses an upward and downward and the asymptote between them. There are no intercepts and only one intercept at . The vertical asymptotes are everywhere cosine is zero, so and , where is any integer. The general equation of a secant function is just like the others, , where , , , and represent the same transformations as they did before.

The cosecant is the reciprocal of sine and it has the same period, . Notice that an entire period encompasses an upward and downward and the asymptote between them, just like secant. There are no intercepts and no intercepts. The vertical asymptotes are everywhere sine is zero, so , where is any integer. The general equation of a cosecant function is just like the others, , where , , , and represent the same transformations as they did before.

Recall that the period of sine and cosine is defined as . The period of secant and cosecant will also be defined this way.

**Example 3:** Sketch a graph of over the interval .

**Solution:** If you compare this example to , it will be translated 5 units up, with an amplitude of and a frequency of 4. This means in our interval of 0 to , there will be 4 secant curves.

## Graphing Calculator Note

For the two examples above, it might seem difficult to graph these on a graphing calculator. Most graphing calculators do not have sec, csc, or cot buttons. However, we do know that these three functions are reciprocals of cosine, sine, and tangent, respectively. So, you must enter them into the calculator in this way. For example, the equation would be entered like in the menu.

**Find the Equation from a Graph**

For tangent, cotangent, secant, and cosecant it can be difficult to determine the equation from a graph, so to simplify this section amplitude changes will not be included.

**Example 4:** Find the equation of the graph below.

**Solution:** From the graph, we can see this is tangent. Usually tangent intercepts the origin, but here it intercepts at . Therefore, we know that there is no horizontal shift and the vertical shift is up 2. Because we have eliminated amplitude from this section, the only thing left to find is the period. Normally, the period of tangent is , but as you can see from the graph, there are three curves from . So, the frequency is 3. The equation is .

**Example 5:** Find the equation for the graph below.

**Solution:** First of all, this could be either a secant or cosecant function. Let’s say this is a secant function. Secant usually intersects the axis at at a minimum. Now, that corresponding minimum is . Because there is no amplitude change, we can say that the vertical shift is the difference between the two values, -3. It looks like there is a phase shift and a period change. From minimum to minimum is one period, which is and . Lastly, we need to find the horizontal shift. Since secant usually intersects the axis at at a minimum, and now the corresponding minimum is , we can say that the horizontal shift is the difference between the two values, . Therefore, our equation is .

## Points to Consider

- How can you shift or change tangent to make it look like cotangent?
- Are secant and cosecant “out of phase” like sine and cosine?
- Why do tangent and cotangent have a different period than the other four trig functions?

## Review Questions

For questions 1-6, graph the following functions. Determine the amplitude, period, frequency, phase shift and vertical translation.

- We know that sine and cosine (and secant and cosecant) would be the same graph with a shift of . How can we manipulate the graph of to match up with ?

For problems 8 and 9, determine the equation of the trig functions below. All amplitudes are 1.

## Review Answers

- To make cotangent match up with tangent, it is helpful to graph the two on the same set of axis. First, cotangent needs to be flipped, which would make the amplitude of -1. Once cotangent is flipped, it also needs a phase shift of . So, .
- This is a tangent graph. From the two points we are given, we can determine the phase shift, vertical shift and frequency. There is no phase shift, the vertical shift is 3 and the frequency is 6.
- This could be either a secant or cosecant function. We will use a cosecant model. First, the vertical shift is -1. The period is the difference between the two given values, , so the frequency is . The horizontal shift incorporates the frequency, so in the corresponding value to is . The difference between the values is and then multiply it by the frequency, . The equation is .