The Tangent Function
Tangent measures the slope of the terminal ray, so it blows up whenever the ray stands straight up. This guide covers its values, its period of π, its asymptotes, its shape between them, and the effect of transformations.
\(\tan\theta\) is the slope of the terminal ray of \(\theta\), which equals \(\frac{\sin\theta}{\cos\theta}\). Rays that point in opposite directions have the same slope, so tangent has period \(\pi\). It is undefined where \(\cos\theta = 0\), giving vertical asymptotes at \(\theta = \frac{\pi}{2} + k\pi\). Between consecutive asymptotes it increases from \(-\infty\) to \(\infty\), concave down then concave up. For \(f(\theta) = a\tan(b(\theta + c)) + d\): vertical dilation by \(a\), period \(\frac{\pi}{|b|}\), phase shift \(-c\), and the line through the inflection points moves to \(y = d\).
1Tangent as slope
Find \(\tan\frac{\pi}{4}\), \(\tan\frac{\pi}{3}\), \(\tan\frac{3\pi}{4}\), \(\tan\pi\) and \(\tan\frac{\pi}{2}\).
- 1\(\tan\theta = \frac{\sin\theta}{\cos\theta}\), the slope of the terminal ray.
- 2\(\frac{\pi}{4}\): the ray \(y = x\), slope 1. \(\frac{\pi}{3}\): \(\frac{\sqrt3/2}{1/2} = \sqrt3\). \(\frac{3\pi}{4}\): the ray \(y = -x\) in quadrant II, slope \(-1\).
- 3\(\pi\): the ray along the negative x-axis, slope 0. \(\frac{\pi}{2}\): a vertical ray, no slope, so undefined.
\(\tan\frac{\pi}{2}\) is undefined: there is no output at all. The outputs grow without bound near \(\frac{\pi}{2}\), which is what the asymptote describes.
2Period and asymptotes
Explain why \(\tan\frac{5\pi}{4} = \tan\frac{\pi}{4}\).
- 1Adding \(\pi\) turns the terminal ray to point the opposite way along the same line.
- 2The point \(P\) changes from \((\cos\theta, \sin\theta)\) to \((-\cos\theta, -\sin\theta)\); both signs flip, so the ratio \(\frac{\sin}{\cos}\) stays the same.
Describe \(\tan\theta\) as \(\theta\) approaches \(\frac{\pi}{2}\) from each side.
- 1Just below \(\frac{\pi}{2}\): \(\sin\theta\) is near 1, \(\cos\theta\) is a small positive number, so \(\tan\theta\) is large and positive.
- 2Just above \(\frac{\pi}{2}\): \(\cos\theta\) is a small negative number, so \(\tan\theta\) is large and negative.
“As \(\theta \rightarrow \frac{\pi}{2}^-\), \(\cos\theta \rightarrow 0\) through positive values while \(\sin\theta \rightarrow 1\), so \(\tan\theta \rightarrow \infty\).”
Sine and cosine repeat every \(2\pi\), but their ratio repeats every \(\pi\). For \(\tan(b\theta)\) the period is \(\frac{\pi}{|b|}\), not \(\frac{2\pi}{|b|}\).
3Shape between asymptotes
Between \(-\frac{\pi}{2}\) and \(\frac{\pi}{2}\), tangent rises through every real number. It is concave down on the left half and concave up on the right half, switching at the inflection point \((0, 0)\). Every other branch is a copy shifted by a multiple of \(\pi\).
4Transformations
Describe \(f(\theta) = 2\tan\left(\frac{\theta}{2}\right) - 1\).
- 1Period \(\frac{\pi}{|b|} = \frac{\pi}{1/2} = 2\pi\).
- 2Asymptotes where \(\frac{\theta}{2} = \frac{\pi}{2} + k\pi\): \(\theta = \pi + 2k\pi\).
- 3\(a = 2\) stretches vertically; \(d = -1\) moves the inflection points (where \(\tan\) is 0) to \(y = -1\), at \(\theta = 2k\pi\).
Find the period, an asymptote and a zero of \(g(\theta) = \tan\left(2\left(\theta - \frac{\pi}{8}\right)\right)\).
- 1Period \(\frac{\pi}{2}\).
- 2Zero where the inside is 0: \(\theta = \frac{\pi}{8}\).
- 3Asymptote where the inside is \(\frac{\pi}{2}\): \(2\left(\theta - \frac{\pi}{8}\right) = \frac{\pi}{2}\), so \(\theta = \frac{3\pi}{8}\). Others every \(\frac{\pi}{2}\) from there.
A tangent graph has consecutive asymptotes at \(x = -2\) and \(x = 2\), an inflection point at the origin, and passes through \((1, 3)\). Write an equation.
- 1Distance between consecutive asymptotes is the period: 4. So \(\frac{\pi}{b} = 4\) and \(b = \frac{\pi}{4}\).
- 2Inflection point at the origin: no shifts. \(y = a\tan\left(\frac{\pi x}{4}\right)\).
- 3At \(x = 1\): \(a\tan\frac{\pi}{4} = a = 3\).
Tangent has no maximum or minimum, so it has no amplitude. The \(a\) in \(a\tan\theta\) is a vertical stretch: \(3\tan\frac{\pi}{4} = 3\) instead of 1.
Quick reference
| Feature | \(\tan\theta\) | \(a\tan(b(\theta + c)) + d\) |
|---|---|---|
| Period | \(\pi\) | \(\frac{\pi}{|b|}\) |
| Asymptotes | \(\frac{\pi}{2} + k\pi\) | inside \(= \frac{\pi}{2} + k\pi\) |
| Inflection points | \((k\pi, 0)\) | inside \(= k\pi\), on \(y = d\) |
| Direction | Increasing on each branch | Decreasing if \(a\) and \(b\) have opposite signs |
| Range | All real numbers | All real numbers |