PrecalculusGraphs of Trig FunctionsF-IF.C.7e

Graphs of Tangent, Secant and Cosecant

Find asymptotes where cosine or sine is zero.

Not started Jump to practice

The other four trig functions are quotients, so their graphs have a feature sine and cosine never have: vertical asymptotes, where the denominator is zero.

Key idea

$y = \tan x$ has period $\pi$, zeros at $x = k\pi$, vertical asymptotes at $x = \frac{\pi}{2} + k\pi$, and range all real numbers. $\sec x = \frac{1}{\cos x}$ has asymptotes where $\cos x = 0$; $\csc x$ and $\cot x$ have them where $\sin x = 0$. The period of $A\tan(Bx)$ is $\frac{\pi}{B}$; the period of $A\sec(Bx)$ is $\frac{2\pi}{B}$.

Why it works

$\tan x = \frac{\sin x}{\cos x}$. As $x$ approaches $\frac{\pi}{2}$, $\cos x$ shrinks toward $0$ while $\sin x$ stays near $1$, so the quotient grows without bound: an asymptote. Tangent repeats every $\pi$ (not $2\pi$) because a half turn flips the signs of both sine and cosine, and their quotient stays the same. For secant, the reciprocal of a number between $-1$ and $1$ is at least $1$ in size, so $\sec x$ never lies strictly between $-1$ and $1$.
Tangent with its asymptotes. Change $B$ and watch the period, $\frac{\pi}{B}$.

Worked examples

Worked example: A period

Find the period of $y = 2\tan(3x)$.
  1. The basic tangent has period $\pi$.
  2. With $B = 3$, the period is $\frac{\pi}{3}$.

Answer: $\frac{\pi}{3}$

Worked example: Asymptotes of secant

Find the vertical asymptotes of $y = \sec x$ on $[0, 2\pi)$.
  1. $\sec x = \frac{1}{\cos x}$ is undefined where $\cos x = 0$.
  2. On $[0, 2\pi)$, $\cos x = 0$ at $\frac{\pi}{2}$ and $\frac{3\pi}{2}$.

Answer: $x = \frac{\pi}{2}$ and $x = \frac{3\pi}{2}$

Worked example: A squeezed tangent

Find the asymptotes of $y = \tan(2x)$ on $[0, \pi)$.
  1. $\tan u$ has asymptotes at $u = \frac{\pi}{2} + k\pi$.
  2. Here $u = 2x$, so $x = \frac{\pi}{4} + \frac{k\pi}{2}$.
  3. In $[0, \pi)$: $k = 0$ and $k = 1$.

Answer: $x = \frac{\pi}{4}$ and $x = \frac{3\pi}{4}$

Common mistake

Giving tangent the period of sine, $2\pi$. Check two values: $\tan\frac{\pi}{4} = 1$ and $\tan\frac{5\pi}{4} = 1$ as well, only $\pi$ later. The graph repeats every $\pi$.
Tangent is the height where the terminal side meets the line $x = 1$. Near $\frac{\pi}{2}$ the side is almost vertical and that height runs off the chart.

Practice

Pass with 3 right answers, the last 2 in a row. Each right answer earns 2 XP.

Loading practice…

Builds on

Leads to

This is one of the top rungs of Precalculus and Trigonometry.

Sources and further reading

  • OpenStax Precalculus 2e, Section 6.2 Graphs of the Other Trigonometric Functions
  • Common Core State Standards for Mathematics, F-IF.C.7e
@teddyrookbook GitHub