Math Core

Lesson 8.5 · Trigonometric Functions

The tangent function

Sine and cosine give the coordinates of a point on the unit circle. The third basic trigonometric function, tangent, measures something just as geometric: the slope of the terminal side. Its graph looks nothing like a wave. It has breaks, climbs without bound, and repeats twice as often as sine and cosine.

Tangent on the unit circle

For an angle θ\theta whose terminal side meets the unit circle at (x,y)(x, y),

tan⁡θ=yx=sin⁡θcos⁡θ.\tan\theta = \frac{y}{x} = \frac{\sin\theta}{\cos\theta}.

The terminal side passes through the origin and through (x,y)(x, y), so its slope is y−0x−0=yx\dfrac{y - 0}{x - 0} = \dfrac{y}{x}. In other words, tan⁡θ\tan\theta is the slope of the terminal side of θ\theta.

Tangent

tan⁡θ=sin⁡θcos⁡θ,defined whenever cos⁡θ≠0.\tan\theta = \frac{\sin\theta}{\cos\theta}, \qquad \text{defined whenever } \cos\theta \ne 0.

It equals the slope of the terminal side. Tangent is positive in Quadrants I and III and negative in Quadrants II and IV.

The sign pattern follows from the slope picture: a terminal side in Quadrant I or III rises from left to right, and one in Quadrant II or IV falls.

Worked example: Exact values of tangent

Find the exact value of each expression.

  1. tan⁡π3\tan\dfrac{\pi}{3}
  2. tan⁡3π4\tan\dfrac{3\pi}{4}
  3. tan⁡7π6\tan\dfrac{7\pi}{6}

Solutions.

  1. tan⁡π3=3/21/2=3\tan\dfrac{\pi}{3} = \dfrac{\sqrt{3}/2}{1/2} = \sqrt{3}.
  2. The point at 3π4\dfrac{3\pi}{4} is (−22,22)\left(-\dfrac{\sqrt{2}}{2}, \dfrac{\sqrt{2}}{2}\right), so tan⁡3π4=−1\tan\dfrac{3\pi}{4} = -1. The terminal side is the line y=−xy = -x, with slope −1-1.
  3. The point at 7π6\dfrac{7\pi}{6} is (−32,−12)\left(-\dfrac{\sqrt{3}}{2}, -\dfrac{1}{2}\right), so tan⁡7π6=−1/2−3/2=13=33\tan\dfrac{7\pi}{6} = \dfrac{-1/2}{-\sqrt{3}/2} = \dfrac{1}{\sqrt{3}} = \dfrac{\sqrt{3}}{3}.

Here are the Quadrant I values. Every other value comes from a reference angle and the sign rule.

θ\theta00π6\dfrac{\pi}{6}π4\dfrac{\pi}{4}π3\dfrac{\pi}{3}π2\dfrac{\pi}{2}
tan⁡θ\tan\theta0033\dfrac{\sqrt{3}}{3}113\sqrt{3}undefined

Where tangent is undefined

At θ=π2\theta = \dfrac{\pi}{2}, the terminal side is the vertical yy-axis. A vertical line has no slope, and in the formula cos⁡π2=0\cos\dfrac{\pi}{2} = 0 puts a zero in the denominator. The same thing happens at 3π2\dfrac{3\pi}{2}, −π2-\dfrac{\pi}{2}, and every angle whose terminal side is vertical:

tan⁡x is undefined at x=π2+kπ(k any integer).\tan x \text{ is undefined at } x = \frac{\pi}{2} + k\pi \quad (k \text{ any integer}).

Think about what happens as xx approaches π2\dfrac{\pi}{2} from the left. The terminal side gets steeper and steeper, so tan⁡x\tan x grows without bound. Just past π2\dfrac{\pi}{2}, the terminal side is in Quadrant II and very steep with a negative slope, so tan⁡x\tan x is a huge negative number. The graph has a vertical asymptote there.

The graph of y = tan x

y = tan x with its vertical asymptotes at x = ±π/2 and x = ±3π/2 dashed.Open in grapher →

Between two neighboring asymptotes, the graph rises from −∞-\infty to +∞+\infty, crossing the xx-axis halfway. Then the pattern repeats.

Why is the period π\pi and not 2π2\pi? Adding π\pi to an angle sends its point to the opposite side of the circle, (−x,−y)(-x, -y). The slope −y−x\dfrac{-y}{-x} equals yx\dfrac{y}{x}, so the tangent doesn't change. A half turn is enough to repeat.

Key features of y = tan x

featurey=tan⁡xy = \tan x
domainall real numbers except x=π2+kπx = \dfrac{\pi}{2} + k\pi
rangeall real numbers
periodπ\pi
xx-interceptsx=kπx = k\pi
vertical asymptotesx=π2+kπx = \dfrac{\pi}{2} + k\pi
symmetryodd: tan⁡(−x)=−tan⁡x\tan(-x) = -\tan x

Common mistake

Tangent has no amplitude. Its graph has no maximum or minimum, because it climbs forever near each asymptote. In y=3tan⁡xy = 3\tan x, the 33 is a vertical stretch (the graph passes through (π4,3)\left(\dfrac{\pi}{4}, 3\right) instead of (π4,1)\left(\dfrac{\pi}{4}, 1\right)), but don't call it an amplitude.

Transforming the tangent graph

The same transformations apply, with one change: since the basic period is π\pi, the period of y=atan⁡(bx)y = a\tan(bx) is

period=π∣b∣.\text{period} = \frac{\pi}{|b|}.

To find the asymptotes, set the inside equal to where tangent is undefined: bx=π2+kπbx = \dfrac{\pi}{2} + k\pi.

Worked example: Period and asymptotes

Find the period and the asymptotes of y=2tan⁡(3x)y = 2\tan(3x).

The period is π3\dfrac{\pi}{3}. For the asymptotes, solve

3x=π2+kπ⟹x=π6+kπ3.3x = \frac{\pi}{2} + k\pi \quad\Longrightarrow\quad x = \frac{\pi}{6} + \frac{k\pi}{3}.

So there are asymptotes at x=±π6x = \pm\dfrac{\pi}{6}, ±π2\pm\dfrac{\pi}{2}, ±5π6\pm\dfrac{5\pi}{6}, and so on, spaced π3\dfrac{\pi}{3} apart, exactly one period.

y = 2tan(3x). Its branches repeat every π/3.Open in grapher →

Solving with tangent

Because tangent has period π\pi, solutions of tan⁡x=c\tan x = c repeat every π\pi. On the interval 0≤x<2π0 \le x < 2\pi, you get two solutions, one from each half turn.

Worked example: Solving an equation

Solve tan⁡x=3\tan x = \sqrt{3} on the interval 0≤x≤2π0 \le x \le 2\pi.

From the table, tan⁡π3=3\tan\dfrac{\pi}{3} = \sqrt{3}. Add the period π\pi to get the other solution: π3+π=4π3\dfrac{\pi}{3} + \pi = \dfrac{4\pi}{3}. Adding π\pi again leaves the interval, so the solutions are x=π3x = \dfrac{\pi}{3} and x=4π3x = \dfrac{4\pi}{3}.

Check with signs: 4π3\dfrac{4\pi}{3} is in Quadrant III, where tangent is positive.

Practice

Practice 1

Find tan⁡π4\tan\dfrac{\pi}{4}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

Find the exact value of tan⁡5π6\tan\dfrac{5\pi}{6}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Find the exact value of tan⁡4π3\tan\dfrac{4\pi}{3}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

The terminal side of θ\theta passes through (4,−3)(4, -3). Find tan⁡θ\tan\theta.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

Which line is a vertical asymptote of y=tan⁡xy = \tan x?

Practice 6

What is the period of y=tan⁡(3x)y = \tan(3x)?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

What is the smallest positive xx-value at which y=tan⁡(x2)y = \tan\left(\dfrac{x}{2}\right) has a vertical asymptote?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

Solve tan⁡x=−1\tan x = -1 on the interval 0≤x≤2π0 \le x \le 2\pi.

Separate answers with commas, e.g. 2, -5