Graphing the Tangent Function
Learn to graph y = tan(x), identify asymptotes, period, and key features of the tangent curve.
Definition
The tangent function is defined as the ratio of sine to cosine:
Unlike sine and cosine, the tangent function has vertical asymptotes where .
**Key Properties of :**
- Period: (not like sine and cosine)
- Domain: All real numbers except where is any integer
- Range: All real numbers
- Asymptotes: Vertical lines at
- x-intercepts: At
- The function passes through the origin
Try it now
What is the period of ?
Watch a video explanation
The same topic explained by another teacher, if a video helps you more.
How to Graph a General Tangent Function | Step-By-Step Example
Interactive Visual
Function graph
Tap or hover over the graph to read off values.
- Period = π
y = A·tan(Bx)Asymptote
- Zero (x-intercept): (-6.28, 0)
- Zero (x-intercept): (-3.14, 0)
- Zero (x-intercept): (0, 0)
- Zero (x-intercept): (3.14, 0)
- Zero (x-intercept): (6.28, 0)
Unit Circle
Degrees
0°
Radians
0
sin(θ)
0
cos(θ)
1
tan(θ)
0
Coordinates (cos, sin)
(1, 0)
Click and drag to rotate the angle around the unit circle.
Interactive Sandbox
Interactive Grapher
Tap or hover over the graph to read off values.
Try these examples:
tan(x)
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
15 problemsProblem 1 of 15
Easy
What is the period of ?
Glossary
- Asymptote
- A line that a curve approaches but never touches. For tangent, these are vertical lines where the function is undefined.
- Period
- The horizontal distance before a function repeats. For , the period is .
- Tangent function
- A trigonometric function defined as , representing the ratio of opposite to adjacent sides in a right triangle.