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

Practice problems

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

Show solution
  1. Warm-up: First identify exactly what the question is asking: What is the period of y = tan(x)?
  2. Use inverse operations to isolate the unknown, and keep both sides balanced at every step.
  3. The basic tangent function repeats every pi units
  4. So the period is pi
  5. Check the result by substituting or estimating: the response should match pi and make sense in the original problem.

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. Warm-up: First identify exactly what the question is asking: Which best describes the amplitude of y = tan(x)?
  2. Use inverse operations to isolate the unknown, and keep both sides balanced at every step.
  3. Amplitude measures half the distance between max and min for bounded waves
  4. Tangent increases without bound toward both infinities, so no amplitude is defined
  5. Verify the selected choice by checking that it satisfies the original prompt and that the other choices fail the same test.

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. Warm-up: First identify exactly what the question is asking: At what x-value between -pi/2 and pi/2 does the graph of y = tan(x) cross the x-axis?
  2. Use inverse operations to isolate the unknown, and keep both sides balanced at every step.
  3. x-intercepts of tan(x) occur at multiples of pi
  4. The only multiple of pi in (-pi/2, pi/2) is 0
  5. Check the result by substituting or estimating: the response should match 0 and make sense in the original problem.

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. Core Practice: First identify exactly what the question is asking: Give the equation of the vertical asymptote of y = tan(x) that lies between x = 0 and x = pi.
  2. Use inverse operations to isolate the unknown, and keep both sides balanced at every step.
  3. Asymptotes of tan(x) are at x = pi/2 + k*pi
  4. The one between 0 and pi is x = pi/2
  5. Check the result by substituting or estimating: the response should match x = pi/2 and make sense in the original problem.

Answer: x = pi/2

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

Show solution
  1. Core Practice: First identify exactly what the question is asking: What is the period of y = tan(x/2)?
  2. Use inverse operations to isolate the unknown, and keep both sides balanced at every step.
  3. Period of tan(bx) is pi/|b| with b = 1/2
  4. pi divided by 1/2 equals 2pi
  5. Check the result by substituting or estimating: the response should match 2pi and make sense in the original problem.

Answer: 2pi

Practice this interactively with instant feedback and an AI tutor.

Practice Graphing Tangent Take the free placement check

More Trigonometry lessons