Graph of y = tan x
The graph of y = tan x has domain x ≠ π/2 + kπ and range all real numbers. It is odd, increasing on each branch, period π. Asymptotes: vertical x = π/2 + kπ. Intercepts: (kπ, 0).
f(x) =
Type any function of x; the derivative is computed symbolically in your browser.
How to work it out
- 1
Domain: the x values the function accepts. For tan x that is x ≠ π/2 + kπ.
- 2
Range: the y values it takes: all real numbers.
- 3
Symmetry: the function is odd. Rotating its graph half a turn about the origin leaves it unchanged, so f(−x) = −f(x).
- 4
Intercepts and asymptotes: intercepts (kπ, 0); asymptotes vertical x = π/2 + kπ.
- 5
Slope: the derivative is the formula for the slope at each point.
LaTeX source of the formulas on this page
\[ y = \tan x \]
\[ \frac{d}{dx}\left(\tan x\right) = \frac{1}{\cos\left(x\right)^{2}} \]Table of values
| x | y |
|---|---|
| -3 | 0.1425 |
| -2 | 2.185 |
| -1 | -1.5574 |
| -0.5 | -0.5463 |
| 0 | 0 |
| 0.5 | 0.5463 |
| 1 | 1.5574 |
| 2 | -2.185 |
| 3 | -0.1425 |
Questions
What is the domain of y = tan x?
X ≠ π/2 + kπ.
What is the range of y = tan x?
All real numbers.
Is y = tan x even or odd?
It is odd.
What are the asymptotes of y = tan x?
Vertical x = π/2 + kπ.
What is the derivative of tan x?
1 / cos(x)^2.