Educerie

Educerie · AP · Precalculus

AP Precalculus 3.8

The Tangent Function

What does the tangent function look like, why does it repeat every π\pi, and how do the constants in atan⁡(b(θ+c))+da\tan(b(\theta + c)) + d change it?

What you will learn

  • Understand tangent as the slope of the terminal ray and why it is undefined where the cosine is 0
  • Know the period, asymptotes, zeros, increase and concavity of the tangent graph
  • Know how a, b, c and d change the period, asymptotes and the line through the inflection points

You must be able to

  1. State the period and asymptotes of a tangent function
  2. Describe the graph between two asymptotes
  3. Find asymptotes and zeros of a transformed tangent
  4. Decide increasing or decreasing from the signs of a and b
  5. Write a limit near an asymptote with its direction
  6. Say that tangent has no amplitude

In the exam. Section I multiple choice, both parts. You find a period or an asymptote of a tangent function, choose the graph or formula that fits, or describe increasing and concavity between asymptotes. Section II Question 4 uses tangent identities and equations. The tangent is also the first function in the course whose graph has vertical asymptotes in every period.

1Where the tangent comes from

Take an angle θ\theta in standard position on the unit circle. The terminal ray meets the circle at P=(cos⁡θ,sin⁡θ)P = (\cos\theta, \sin\theta). The slope of the ray is the rise over the run:

tan⁡θ=sin⁡θcos⁡θ,cos⁡θ≠0. \tan\theta = \frac{\sin\theta}{\cos\theta}, \qquad \cos\theta \neq 0.

Some exact values, from Topic 3.3:

θ\theta00π6\frac{\pi}{6}π4\frac{\pi}{4}π3\frac{\pi}{3}π2\frac{\pi}{2}
tan⁡θ\tan\theta033\frac{\sqrt{3}}{3}13\sqrt{3}undefined

As the angle grows from 0, the ray gets steeper, so the slope grows. When the ray is vertical, at π2\frac{\pi}{2}, the slope does not exist.

Why the period is π\pi. Rotate the ray by half a turn. It now points the opposite way along the same line. A line has one slope, so the tangent is the same. This gives

tan⁡(θ+π)=tan⁡θ. \tan(\theta + \pi) = \tan\theta.

The period is π\pi, not 2π2\pi.

2The graph

The graph of the tangent function with its asymptotes −π −π/2 0 π/2 π −4 −2 2 4 y θ
Figure 1 · The graph of y = tan θ with the vertical asymptotes θ = −π ÷ 2 and θ = π ÷ 2 dashed. The point (π ÷ 4, 1) is marked.

Read Figure 1.

  • Asymptotes. The graph approaches the dashed lines θ=−π2\theta = -\frac{\pi}{2} and θ=π2\theta = \frac{\pi}{2} and never touches them. At those angles cos⁡θ=0\cos\theta = 0, so the denominator is 0. The next asymptote to the right is at 3π2\frac{3\pi}{2}, and so on. In general they are at

θ=π2+kπ,k an integer. \theta = \frac{\pi}{2} + k\pi, \quad k \text{ an integer.}

  • Zeros. The graph crosses the axis where sin⁡θ=0\sin\theta = 0: at θ=kπ\theta = k\pi.
  • Increasing. Between any two consecutive asymptotes the function is increasing, from very negative to very positive values. It takes every real value once in each such interval. The range is all real numbers.
  • Concavity. On the left half of that interval, where the tangent is negative, the graph is concave down. On the right half, where it is positive, it is concave up. So the graph changes from concave down to concave up between consecutive asymptotes, at the zero. That zero is a point of inflection.
  • The point (π4,1)(\frac{\pi}{4}, 1) is on the graph. It fits tan⁡π4=1\tan\frac{\pi}{4} = 1.

The tangent is also odd: tan⁡(−θ)=−tan⁡θ\tan(-\theta) = -\tan\theta, so its graph has rotational symmetry about the origin.

Behaviour near an asymptote. As θ\theta approaches π2\frac{\pi}{2} from the left, the values grow without bound. As θ\theta approaches π2\frac{\pi}{2} from the right, they fall without bound. A limit is written lim⁡θ→π2−tan⁡θ=∞\displaystyle\lim_{\theta \to \frac{\pi}{2}^-} \tan\theta = \infty, with the arrow showing the direction.

3Transformations of the tangent

The tangent is transformed the same way as the sine, with differences in the period and in what the middle line means.

ChangeEffect on y=tan⁡θy = \tan\theta
tan⁡θ+d\tan\theta + dVertical translation by dd. The line through the points of inflection moves by dd too.
tan⁡(θ+c)\tan(\theta + c)Phase shift: horizontal translation by −c-c.
atan⁡θa\tan\thetaVertical dilation by \(a\). If a<0a < 0, also a reflection over the xx-axis.
tan⁡(bθ)\tan(b\theta)Horizontal dilation: the period is \(\frac{\pi}{b}\). If b<0b < 0, also a reflection over the yy-axis.

All together, y=atan⁡(b(θ+c))+dy = a\tan\bigl(b(\theta + c)\bigr) + d has:

  • period π∣b∣\frac{\pi}{|b|},
  • a vertical dilation by ∣a∣|a|,
  • a vertical shift of the line through the inflection points to y=dy = d,
  • a phase shift of −c-c.

Tangent has no amplitude, because it has no maximum or minimum. The word "midline" is replaced by the line containing the points of inflection.

Finding the asymptotes. The asymptotes of atan⁡(b(θ+c))+da\tan(b(\theta + c)) + d are where the inside equals π2+kπ\frac{\pi}{2} + k\pi:

b(θ+c)=π2+kπ. b(\theta + c) = \frac{\pi}{2} + k\pi.

Worked example 1. Find the period, the asymptotes and the zeros of f(θ)=2tan⁡(3θ)f(\theta) = 2\tan(3\theta).

  • b=3b = 3, so the period is π3\frac{\pi}{3}.
  • Asymptotes: 3θ=π2+kπ3\theta = \frac{\pi}{2} + k\pi, so θ=π6+kπ3\theta = \frac{\pi}{6} + \frac{k\pi}{3}. Two consecutive asymptotes are θ=−π6\theta = -\frac{\pi}{6} and θ=π6\theta = \frac{\pi}{6}, a distance π3\frac{\pi}{3} apart, matching the period.
  • Zeros: 3θ=kπ3\theta = k\pi, so θ=kπ3\theta = \frac{k\pi}{3}. One zero sits halfway between two asymptotes, at θ=0\theta = 0.
  • The factor 2 stretches the graph vertically. The line through the inflection points is y=0y = 0.

Worked example 2. Describe g(θ)=−tan⁡(θ−π4)+1g(\theta) = -\tan\left(\theta - \frac{\pi}{4}\right) + 1.

  • Phase shift: −c=+π4-c = +\frac{\pi}{4}, so the graph moves right by π4\frac{\pi}{4}. The asymptotes move from π2+kπ\frac{\pi}{2} + k\pi to 3π4+kπ\frac{3\pi}{4} + k\pi.
  • a=−1a = -1: the graph is reflected over a horizontal line, so it is decreasing between asymptotes.
  • The line through the points of inflection is y=1y = 1.
  • Period π\pi, because b=1b = 1.

Check: at θ=π4\theta = \frac{\pi}{4}, g=−tan⁡0+1=1g = -\tan 0 + 1 = 1, on the line y=1y = 1, and that point is the point of inflection.

4Equations with the tangent

To solve tan⁡θ=1\tan\theta = 1, find where the slope is 1: θ=π4\theta = \frac{\pi}{4}, then add whole periods of π\pi: θ=π4+kπ\theta = \frac{\pi}{4} + k\pi. The tangent has only one solution per period, because it takes each value once between asymptotes. This is different from sine and cosine, which take most values twice per period.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.