Graphing the Tangent Function
What you'll learn: You'll discover how the tangent function creates a distinctive repeating wave pattern with vertical asymptotes, unlike the smooth hills and valleys of sine and cosine.
The Core Idea
The tangent function, y = tan(x), has a completely different personality from sine and cosine. While sine and cosine create smooth, continuous waves, tangent shoots up to infinity, drops down to negative infinity, and repeats this dramatic behavior over and over.
Think of tan(x) as the ratio sin(x)/cos(x). Whenever cos(x) = 0, you're dividing by zero—which means the function explodes to infinity! These points become vertical asymptotes: invisible boundaries the graph approaches but never touches.
Key Features of y = tan(x)
Period
Unlike sine and cosine (which repeat every 2π), tangent repeats every π radians (180°). It completes one full cycle twice as fast.
Asymptotes
Vertical asymptotes occur at x = ..., -3π/2, -π/2, π/2, 3π/2, 5π/2, ... (wherever cos(x) = 0). The graph approaches these lines but never crosses them.
Shape
Between each pair of asymptotes, the tangent curve:
- Passes through the origin (and points π units to the left or right)
- Increases from negative infinity to positive infinity
- Has an S-shaped curve that gets steeper near the asymptotes
Range and Amplitude
Unlike sine and cosine, tan(x) has no maximum or minimum values—it goes from -∞ to +∞. Therefore, tangent has no amplitude.
Zero Crossings
The function equals zero at x = 0, ±π, ±2π, ±3π, ... (wherever sin(x) = 0).
Key Takeaway: The tangent function y = tan(x) repeats every π units, has vertical asymptotes wherever cos(x) = 0, and climbs from -∞ to +∞ between each pair of asymptotes with no maximum or minimum values.