Graphs of Tangent, Cotangent, Secant, and Cosecant
Measurements, material estimation, cutting calculations
Voltage drop, wire sizing, load balancing
The sine and cosine graphs are smooth, continuous waves. The other four trig functions behave differently — they have vertical asymptotes where they are undefined, and their shapes are distinct. Understanding these graphs completes your picture of all six trig functions and is essential for advanced work in AC circuit analysis, structural engineering, and any field that relies on periodic behavior.
The Tangent Function
The tangent function is defined as . Whenever , tangent is undefined — and that is where the vertical asymptotes appear.
Key properties of :
- Period: (not ) — the tangent repeats twice as fast as sine and cosine
- Vertical asymptotes: at for any integer (wherever )
- Passes through the origin with slope 1 — the tangent line to the curve at has slope 1
- Range: all real numbers
- Odd function: , so the graph is symmetric about the origin
Graph of y = tan(x)
Between each pair of asymptotes, the tangent curve rises from to , passing through zero at every multiple of . Each S-shaped segment is one complete period.
The Cotangent Function
The cotangent function is , the reciprocal of tangent. It is undefined wherever .
Key properties of :
- Period: (same as tangent)
- Vertical asymptotes: at for any integer (wherever )
- Decreasing: between each pair of asymptotes, cotangent falls from to — the opposite direction of tangent
- Range: all real numbers
- Odd function:
You can think of cotangent as a reflected and shifted tangent. Specifically:
This means the cotangent graph is the tangent graph reflected across the horizontal axis and shifted right by . While tangent passes through the origin heading upward, cotangent passes through heading downward.
The key difference to remember: tangent has asymptotes at odd multiples of , while cotangent has asymptotes at multiples of (including zero).
The Secant Function
The secant function is . Since it is the reciprocal of cosine, it shares the same asymptote locations as tangent (wherever ), but its shape is entirely different — instead of S-curves, it forms U-shaped parabola-like curves opening upward and downward.
Key properties of :
- Period: (same as cosine)
- Vertical asymptotes: at (same as tangent)
- Range: — secant is never between and
- Even function: , symmetric about the -axis
- Where , (the curves touch)
- Where , (the curves touch)
Graph of y = sec(x) with y = cos(x) reference
Notice how the secant curve touches the cosine curve at every peak and trough — at those points, and . Between those contact points, the secant curves away to infinity as cosine approaches zero.
The upward-opening U-shapes appear wherever cosine is positive, and the downward-opening U-shapes appear wherever cosine is negative. The secant graph never enters the horizontal band between and .
The Cosecant Function
The cosecant function is . It relates to sine in the same way that secant relates to cosine.
Key properties of :
- Period: (same as sine)
- Vertical asymptotes: at (wherever ) — same locations as cotangent
- Range: — never between and , just like secant
- Odd function:
- U-shaped curves opening up and down, same shape as secant but shifted
The relationship between cosecant and secant mirrors the relationship between sine and cosine. Since , we have:
The cosecant graph is the secant graph shifted right by . Where sine reaches its peak of , cosecant has a minimum of . Where sine hits its trough of , cosecant has a maximum of .
Summary Comparison
| Function | Period | Asymptotes | Range | Odd/Even |
|---|---|---|---|---|
| All reals | Odd | |||
| All reals | Odd | |||
| Even | ||||
| Odd |
Notice the pattern: tangent and secant share the same asymptote locations (where ), while cotangent and cosecant share the same asymptote locations (where ).
Transformations
The same transformation rules you learned for sine and cosine graphs apply to all six trig functions. The general transformed tangent function is:
- Vertical stretch : multiplies all -values by (if is negative, the curve flips vertically)
- Period: for tangent and cotangent, for secant and cosecant
- Phase shift : shifts the graph (and its asymptotes) left or right
- Vertical shift : moves the entire graph up or down
For example, has period (asymptotes twice as close together) and a vertical stretch of 3. The function shifts the standard secant graph right by and up by 1.
When you transform secant or cosecant, remember that the forbidden band (the gap where no values exist) shifts with . For , the graph never takes values between and .
Common Mistakes
Mixing up asymptote locations. Tangent and secant have asymptotes at (odd multiples of ). Cotangent and cosecant have asymptotes at (integer multiples of ). A quick check: tangent is undefined where cosine is zero, cotangent is undefined where sine is zero.
Forgetting the forbidden range. Secant and cosecant never take values between and . If you compute , you have made an error — that value is impossible.
Drawing continuous curves across asymptotes. The secant and cosecant graphs are not connected across asymptotes. Each U-shaped segment is a separate piece of the graph. Similarly, each S-shaped tangent/cotangent segment is separate. Never draw a line crossing an asymptote.
Using period for tangent and cotangent. The tangent and cotangent functions repeat every , not every . This is one of the most common errors when setting up graphs or solving equations.
Practice Problems
Test your understanding with these problems. Click to reveal each answer.
Problem 1: Where are the asymptotes of ?
The standard tangent has asymptotes at . With the transformation replacing , set:
Answer: The asymptotes are at , which gives
Problem 2: What is the period of ?
For cotangent, the period formula is . Here :
Answer: The period is .
Problem 3: What is the range of ?
The standard secant has range . Multiplying by 2 stretches vertically: . Adding 1 shifts everything up by 1:
Answer: The range is . The function never takes values between and .
Problem 4: Sketch . What changes from the standard graph?
The negative sign reflects the graph across the -axis. Every U-shaped curve that opened upward now opens downward, and vice versa.
- The asymptotes stay in the same locations ()
- The period is still
- Where (at ), now
- Where (at ), now
Answer: The graph is the standard cosecant flipped upside down. The range remains , but the upward and downward branches swap positions.
Problem 5: If , in which quadrants could be?
Since , we have .
Cosine is negative in Quadrant II and Quadrant III.
The reference angle where is (or ), so:
Answer: is in Quadrant II or Quadrant III.
Key Takeaways
- Tangent and cotangent have period and range all real numbers — they are the “S-curve” trig functions
- Secant and cosecant have period and range — they are the “U-curve” trig functions
- Vertical asymptotes occur where the denominator function ( or ) equals zero
- Tangent/secant share asymptote locations; cotangent/cosecant share asymptote locations
- The same transformation rules (amplitude, period, phase shift, vertical shift) apply to all six trig functions
- These functions are never drawn as continuous curves across their asymptotes — each segment is a separate branch
Return to Trigonometry for more topics in this section.
Next Up in Trigonometry
Last updated: March 28, 2026