Graphing the Tangent Function

Learn to graph y = tan(x), identify asymptotes, period, and key features of the tangent curve.

Advanced25 minLesson

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 ?

Worked Examples

Sketch one period of and identify the asymptotes, intercepts, and behavior.

1

Find the asymptotes

when and Vertical asymptotes at

2

Find the x-intercept

when , so x-intercept at

3

Find key points

and Points: and

4

Describe the behavior

As , ; as , Curve rises from to

Common Mistakes

Thinking the period of tangent is like sine and cosine

Why it's wrong: The tangent function repeats every radians because for all in the domain.

Correct: The period of is . For , the period is .

Drawing the curve crossing through the asymptotes

Why it's wrong: Asymptotes represent values where the function is undefined. The curve approaches but never touches or crosses them.

Correct: Draw vertical dashed lines for asymptotes. The curve approaches as it nears each asymptote.

Forgetting that tangent has no maximum or minimum value

Why it's wrong: Unlike sine and cosine which are bounded between and , tangent's range is all real numbers.

Correct: The range of is . There is no amplitude for tangent functions.

Interactive Visual

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.

Linear Function Explorer

y = x
Slope (m)1
Y-Intercept (b)0
b
run
rise

Interactive Sandbox

Interactive Grapher

Try these examples:

y = 2x + 1

m=2, b=1

Expression Calculator

Try these:

History

No calculations yet

Practice Problems

15 problems
Problem 1 of 15
Easy

What is the period of ?

Why It Matters

The tangent function appears throughout mathematics and real-world applications:
  • Architecture: Calculating roof pitch and ramp angles
  • Physics: Analyzing projectile motion and pendulum swings
  • Navigation: Determining bearings and flight paths
  • Engineering: Designing roads, bridges, and structures with specific inclines
Understanding the tangent graph helps you visualize how the ratio of vertical to horizontal change behaves as angles vary.

Real World Applications

Road Engineering

Engineers use the tangent function when designing roads with specific gradients and banking angles.

Example:

A road rises 5 meters over a horizontal distance of 100 meters. The grade angle satisfies , giving .

1Try It Yourself

A wheelchair ramp must have a maximum slope ratio of 1:12 (rise to run).

What is the maximum angle of the ramp?

Step 1: Write the mathematical expression

Calculate :

Aviation Navigation

Pilots use tangent ratios when calculating descent angles and approach paths.

Example:

A plane descends from 10,000 feet while traveling 30 miles horizontally. The descent angle has .

2Try It Yourself

A standard 3-degree glide slope is used for landing approaches.

For every mile of horizontal distance, how many feet does the plane descend?

Step 1: Write the mathematical expression

Calculate:

Key Takeaways

  • 1The tangent function is defined as
  • 2The period of is (not )
  • 3Vertical asymptotes occur at where cosine equals zero
  • 4The range is all real numbers with no maximum or minimum
  • 5For , the period is
  • 6The graph passes through the origin and has x-intercepts at multiples of

Frequently Asked Questions

Because , the function is undefined wherever . Division by zero creates vertical asymptotes. Sine and cosine are defined for all real numbers with no division involved.
Because , the function is undefined wherever . Division by zero creates vertical asymptotes. Sine and cosine are defined for all real numbers with no division involved.
Asymptotes occur where cosine equals zero: at odd multiples of . That's , etc. Think: halfway between each zero of cosine.
The tangent function repeats after radians because both sine and cosine change sign together after , so their ratio stays the same: .

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.

More in This Topic