Graphing the Cotangent Function
What you'll learn: You'll discover how to graph y = cot(x), including its shape, period, asymptotes, and how it differs from tangent.
What Is Cotangent?
Recall that cotangent is one of the reciprocal trigonometric functions: cot(x) = 1/tan(x) = cos(x)/sin(x). Just as you learned to graph y = tan(x), you now need to understand how its reciprocal behaves.
The Basic Shape of y = cot(x)
The cotangent function has a distinctive "flipped" appearance compared to tangent:
- Vertical asymptotes occur wherever sin(x) = 0 (since division by zero is undefined)
- This means asymptotes at x = 0, ±π, ±2π, etc. (every multiple of π)
- Between asymptotes, the function decreases from +∞ to -∞ (opposite of tangent!)
Key Features
Period: Like tangent, cotangent repeats every π units (180°).
Domain: All real numbers except multiples of π: x ≠ nπ where n is any integer.
Range: All real numbers (-∞, +∞).
Key Points: On one period (say, 0 < x < π):
- At x = π/4: cot(π/4) = 1
- At x = π/2: cot(π/2) = 0 (crosses the x-axis at the middle of each period)
- At x = 3π/4: cot(3π/4) = -1
The Visual Pattern
Think of cotangent as "upside-down tangent." While tangent curves upward through its period, cotangent curves downward, starting high near the left asymptote and swooping down to the right asymptote. The graph consists of separate, decreasing branches that never touch the vertical asymptote lines.
Key Takeaway: The cotangent function y = cot(x) has period π, vertical asymptotes at x = nπ, decreases from +∞ to -∞ on each branch, and crosses zero at odd multiples of π/2.