The tangent is an odd function because

The tangent has a period of π because

The tangent is undefined whenever cos *x* = 0. This occurs when *x* = *q*π/2, where *q* is an odd integer. At these points, the value of the tangent approaches infinity and is undefined. When graphing the tangent, a dashed line is used to show where the value of the tangent is undefined. These lines are called **asymptotes**. The values of the tangent for various angle sizes are shown in Table 1

The graph of the tangent function over the interval from 0 to π/2 is as shown in Figure 1

** Figure 1
** A portion of the tangent function.

The tangent is an odd function and is symmetric about the origin. The graph of the tangent over several periods is shown in Figure 2

** Figure 2
** Several periods of the tangent function.

The cotangent is the reciprocal of the tangent, and its graph is shown in Figure 3

** Figure 3**

A portion of the cotangent function.

As shown in Figure 4

** Figure 4**

Several periods of the cotangent function.

Because the graphs of both the tangent and cotangent extend without bound both above and below the *x*‐axis, the amplitude for the tangent and cotangent is not defined.

The general forms of the tangent and cotangent functions are

The variables *C* and *D* determine the period and phase shift of the function as they did in the sine and cosine functions. The period is π/ *C* and the phase shift is |D/C|. The shift is to the right if | *D/C* | < 0, and to the left if | *D/C* | > 0. The variable *B* does not represent an amplitude because the tangent and cotangent are unbounded, but it does represent how much the graph is “stretched” in a vertical direction. The variable *A* represents the vertical shift.

**Example 1:** Determine the period, phase shift, and the location of the asymptotes for the function

The asymptotes can be found by solving *Cx* + *D* = π/2 and *Cx* + *D* = −π/2 for *X*.

The period of the function is

The phase shift of the function is

Because the phase shift is positive, it is to the left (Figure 5

** Figure 5**

Phase shift of the tangent function.

The amplitude is not defined for the secant or cosecant. The secant and cosecant are graphed as the reciprocals of the cosine and sine, respectively, and have the same period (2π). Therefore, the phase shift and period of these functions is found by solving the equations *Cx* + *D* = 0 and *Cx* + *D* = 2π for *x*.

**Example 2:** Determine the period, phase shift, and the location of the asymptotes for the function

The asymptotes can be found by solving *Cx* + *D* = 0, *Cx* + *D* = π, and *Cx* + *D* = 2π for *x*.

The period of the function is

The phase shift of the function is

Because the phase shift is positive, it is to the left.

The graph of the reciprocal function

**Figure 6**

Several periods of the cosecant function and the sine function.