Graph of tangent function
The tangent function behaves very differently from sine and cosine. Instead of oscillating between fixed values, it shoots from to within each period, creating a graph with vertical asymptotes and a distinctive S-shaped curve.
Here are the core properties:
- Period: (the pattern repeats every units along the x-axis)
- Domain: All real numbers except odd multiples of , where vertical asymptotes occur
- Range: All real numbers ( to )
- Zeros: The graph crosses the x-axis at integer multiples of (i.e., )
Within one period, say from to , the function increases from to . As approaches from the left, the function heads toward . As approaches from the right, it heads toward . This behavior comes directly from the definition : the asymptotes happen wherever .

Variations of tangent function
Transformations follow the general form . Each parameter controls a specific change:
- Vertical shift (): shifts the graph up by units (or down if )
- Horizontal shift (): shifts the graph right by units (or left if )
- Vertical stretch/compression (): stretches the graph vertically by a factor of when , and compresses it when . If , the graph also reflects across the x-axis.
- Horizontal stretch/compression (): changes the period to . When , the graph compresses horizontally (shorter period). When , it stretches (longer period).
The -value is the one students most often mix up. Remember: a larger means a smaller period, not a larger one.

Secant and cosecant graphs
Secant and cosecant are the reciprocals of cosine and sine, respectively: and . Their graphs look like a series of U-shaped curves (opening up and down) separated by vertical asymptotes.
Both share these properties:
- Period:
- Range: . The function values are never between and .
Where they differ is in the placement of their asymptotes:
| Property | ||
|---|---|---|
| Reciprocal of | ||
| Asymptotes at | Odd multiples of (where ) | Integer multiples of (where ) |
| Local min value | (where cosine = 1) | (where sine = 1) |
| Local max value | (where cosine = ) | (where sine = ) |
| A helpful graphing strategy: sketch the corresponding sine or cosine curve lightly first, then draw the U-shaped reciprocal curves opening away from the x-axis at each peak and valley. |

Cotangent function analysis
The cotangent function is defined as . It's similar to tangent in many ways but with some key differences in its graph.
- Period:
- Domain: All real numbers except integer multiples of (where )
- Range: All real numbers
- Zeros: Odd multiples of (i.e., )
The big visual difference from tangent: within each period, cotangent decreases from to , while tangent increases. On the interval , the graph comes down from near , passes through zero at , and drops toward near .
Transformations of reciprocal functions
The same transformation rules that apply to tangent also apply to secant, cosecant, and cotangent. The general forms are:
- Secant:
- Cosecant:
- Cotangent:
In each case, controls vertical stretch/reflection, changes the period, shifts horizontally, and shifts vertically. The new period is for secant and cosecant, and for cotangent. The asymptotes shift along with the horizontal transformation, so always recalculate their positions after applying and .
Properties of trigonometric functions
This table summarizes the key properties of all six trig functions. It's worth memorizing.
| Function | Domain | Range | Period | Asymptotes |
|---|---|---|---|---|
| All reals | None | |||
| All reals | None | |||
| All reals except odd multiples of | All reals | Odd multiples of | ||
| All reals except integer multiples of | All reals | Integer multiples of | ||
| All reals except odd multiples of | Odd multiples of | |||
| All reals except integer multiples of | Integer multiples of | |||
| Notice the pattern: tangent and secant share the same asymptote locations (both tied to cosine equaling zero), and cotangent and cosecant share theirs (both tied to sine equaling zero). |