The Tangent
Function
Explore the properties of \(\tan(\theta)\): its definition as a ratio, its periodic behavior, vertical asymptotes, and how it connects sine and cosine.
What Is the Tangent Function?
The tangent function is one of the six fundamental trigonometric functions. It is defined as the ratio of sine to cosine:
In a right triangle, \(\tan(\theta)\) equals the length of the opposite side divided by the adjacent side. On the unit circle, it represents the slope of the terminal ray at angle \(\theta\).
Tangent on the Unit Circle
Why Tangent Matters
Key Properties of \(\tan(\theta)\)
Graph of \(y = \tan(x)\)
Understanding Vertical Asymptotes
Since \(\tan(\theta) = \frac{\sin(\theta)}{\cos(\theta)}\), the function is undefined whenever \(\cos(\theta) = 0\). This occurs at:
Tangent vs. Sine & Cosine
| Property | \(\sin(x)\) / \(\cos(x)\) | \(\tan(x)\) |
|---|---|---|
| Period | \(2\pi\) | \(\pi\) |
| Range | \([-1, 1]\) | \((-\infty, \infty)\) |
| Asymptotes | None | Yes, at \(\frac{\pi}{2}+n\pi\) |
| Amplitude | 1 (or scaled) | Not defined |
| Symmetry | \(\sin\): odd, \(\cos\): even | Odd |
| Zeros | \(\sin\): \(n\pi\), \(\cos\): \(\frac{\pi}{2}+n\pi\) | \(n\pi\) |
Graphing Transformed Tangent
Example 1: Evaluating \(\tan(\theta)\)
Find the exact value of \(\tan\!\left(\frac{\pi}{3}\right)\).
Example 2: Negative Angles
Find the exact value of \(\tan\!\left(-\frac{\pi}{4}\right)\).
Example 3: Graphing \(y = 2\tan\!\left(\frac{x}{2}\right)\)
Period and Phase Shift
The Inverse: \(\arctan(x)\)
Because \(\tan\) is not one-to-one over all reals, we restrict its domain to \(\left(-\frac{\pi}{2}, \frac{\pi}{2}\right)\) to define the inverse:
Common Mistakes to Avoid
Summary of Tangent Properties
| Property | Value / Description |
|---|---|
| Definition | \(\dfrac{\sin\theta}{\cos\theta}\) |
| Domain | \(\theta \neq \frac{\pi}{2} + n\pi\) |
| Range | \((-\infty, \infty)\) |
| Period | \(\pi\) |
| Symmetry | Odd: \(\tan(-\theta) = -\tan(\theta)\) |
| Asymptotes | \(x = \frac{\pi}{2} + n\pi\) |
| Zeros | \(x = n\pi\) |
| General Form | \(y = a\tan(b(x-c))+d\) |
Worked practice: Practice Problems — rotating spotlight
Work through this original lesson problem, then reveal the solution and illustrations.
A spotlight is mounted on the ground 20 meters from a straight wall. The light rotates at a constant rate, and the angle θ (in radians) between the perpendicular to the wall and the beam is given by θ(t) = πt/6, where t is time in seconds. Let d(t) be the distance along the wall from the foot of the perpendicular to the point where the beam hits the wall. (a) Write d(t) as a function of t involving the tangent function. (b) State the domain of d(t) in the context of this problem, restricted to one full sweep before the beam reaches the wall's edge at 90° from perpendicular. (c) Find d(t) when t = 1 second. Give an exact answer. (d) Explain, using the properties of the tangent function, what happens to d(t) as t approaches 3 seconds.
Show answer and explanation
Rubric (4 points): Point 1 — Part (a): The beam, the perpendicular, and the wall segment form a right triangle where the adjacent side is 20 m and the opposite side is d(t). Therefore d(t) = 20 tan(θ(t)) = 20 tan(πt/6). Award 1 point for the correct function. Point 2 — Part (b): The beam can only hit the wall when |θ| < π/2, i.e., |πt/6| < π/2, giving |t| < 3. For a single forward sweep (t ≥ 0), the domain is 0 ≤ t < 3 seconds. Award 1 point for stating the domain correctly with an open endpoint at t = 3. Point 3 — Part (c): d(1) = 20 tan(π/6) = 20 × (√3/3) = 20√3/3 meters (approximately 11.55 m). Award 1 point for the exact value 20√3/3. Point 4 — Part (d): As t → 3⁻, the angle θ → π/2, and tan(π/2) is undefined with a vertical asymptote. The function d(t) = 20 tan(πt/6) → +∞, meaning the beam's spot on the wall moves infinitely far from the perpendicular foot — physically, the beam becomes parallel to the wall and no longer intersects it. Award 1 point for connecting the vertical asymptote of tangent to the physical behavior.

Question 1 of 5
What is the period of \(y = \tan(x)\)?
Question 2 of 5
Where are the vertical asymptotes of \(y = \tan(x)\)?
Question 3 of 5
What is the exact value of \(\tan\!\left(\dfrac{5\pi}{4}\right)\)?
Question 4 of 5
What is the period of \(y = \tan(3x)\)?
Question 5 of 5
The range of \(\arctan(x)\) is: