CMClearMathAcademy

Graphing Tangent

A free Trigonometry lesson from the “Graphs of Trig Functions” unit, with a worked example and practice problems including step-by-step solutions.

The graph of y = tan(x) repeats every pi units and has vertical asymptotes wherever cosine is zero, at x = pi/2 + k*pi. Between consecutive asymptotes the curve rises continuously from negative infinity to positive infinity, crossing zero at every multiple of pi; tangent has no amplitude because its range is all real numbers. For y = tan(bx), the period compresses or stretches to pi/|b|.

What you'll learn

Why it matters: Tangent's repeating "blow-up to infinity" shape models a beam of light or radar sweeping across a flat wall: as the angle nears 90 degrees the spot races off to infinity, exactly where the tangent graph has its asymptote.

Worked example

Problem. Find the period and the location of the vertical asymptotes for y = tan(2x).

  1. Period of tan(bx) is pi/|b|, so with b = 2 the period is pi/2
  2. Asymptotes occur where the inside equals pi/2 + k*pi: 2x = pi/2 + k*pi
  3. Solve for x: x = pi/4 + k*pi/2

Answer: Period = pi/2; asymptotes at x = pi/4 + k*pi/2

Lesson preview: this page shows 5 practice items. The interactive activity contains 28 practice items and 15 quiz items (typed response and multiple choice). Counts include repeated prompts and variants.

Practice problems

1. What is the period of y = tan(x)?

Show solution
  1. The basic tangent function repeats every pi units
  2. So the period is pi

Answer: pi

2. Which best describes the amplitude of y = tan(x)?

Choices: Amplitude is 1 · Amplitude is pi · Tangent has no amplitude (its range is all real numbers) · Amplitude is 1/2

Show solution
  1. Amplitude measures half the distance between max and min for bounded waves
  2. Tangent increases without bound toward both infinities, so no amplitude is defined

Answer: Tangent has no amplitude (its range is all real numbers)

3. At what x-value between -pi/2 and pi/2 does the graph of y = tan(x) cross the x-axis?

Show solution
  1. x-intercepts of tan(x) occur at multiples of pi
  2. The only multiple of pi in (-pi/2, pi/2) is 0

Answer: 0

4. Give the equation of the vertical asymptote of y = tan(x) that lies between x = 0 and x = pi.

Show solution
  1. Asymptotes of tan(x) are at x = pi/2 + k*pi
  2. The one between 0 and pi is x = pi/2

Answer: x = pi/2

5. What is the period of y = tan(x/2)?

Show solution
  1. Period of tan(bx) is pi/|b| with b = 1/2
  2. pi divided by 1/2 equals 2pi

Answer: 2pi

Practice this interactively with instant feedback and an AI tutor.

Practice Graphing Tangent Take the free placement check

More Trigonometry lessons