Unit 4, lesson 56

Graphs of Secant and Cosecant

How the secant and cosecant graphs come from taking reciprocals of cosine and sine heights, why they split into U-shaped branches, and why they never take a value strictly between minus one and one.

  • Theory part 111
  • Practice part 112
  • Graphs of Trigonometric Functions

Take the cosine wave and replace every height by one over that height. A height of 12\frac{1}{2} becomes 22, a height of 110\frac{1}{10} becomes 1010, and a height of 00 has no reciprocal at all. What you get is the secant graph, a row of U-shaped pieces separated by walls, with no values strictly between −1-1 and 11.

Key terms

Reciprocal functions

Definition The reciprocal of a function gg is the function 1g\frac{1}{g} with values 1g(x)\frac{1}{g(x)}, defined at exactly those xx in the domain of gg where g(x)≠0g(x) \ne 0. Secant and cosecant are the reciprocals of cosine and sine,

sec⁡x=1cos⁡xfor cos⁡x≠0,csc⁡x=1sin⁡xfor sin⁡x≠0.\begin{aligned} \sec x &= \frac{1}{\cos x} \quad \text{for } \cos x \ne 0, \\[0.8em] \csc x &= \frac{1}{\sin x} \quad \text{for } \sin x \ne 0. \end{aligned}

Wherever both are defined, a function and its reciprocal have the same sign. They are equal exactly where the value is 11 or −1-1, and where 0<∣g(x)∣<10 < \lvert g(x) \rvert < 1 the reciprocal satisfies

∣1g(x)∣>1.\left\lvert \frac{1}{g(x)} \right\rvert > 1.

In plain words To graph a reciprocal, flip each height into one over that height. Small heights turn into large ones, heights of 11 and −1-1 stay where they are, and a height of 00 leaves a gap.

Example Since cos⁡π3=12\cos \frac{\pi}{3} = \frac{1}{2}, the secant there is sec⁡π3=2\sec \frac{\pi}{3} = 2. Since sin⁡7π6=−12\sin \frac{7\pi}{6} = -\frac{1}{2}, the cosecant there is csc⁡7π6=−2\csc \frac{7\pi}{6} = -2, negative just like the sine. At x=π2x = \frac{\pi}{2} the cosine is 00, so sec⁡π2\sec \frac{\pi}{2} is undefined.

Secant graph

Definition The secant graph is the graph of y=sec⁡xy = \sec x with xx in radians. Its domain is all real numbers except π2+kπ\frac{\pi}{2} + k\pi for integers kk, and its vertical asymptotes are the lines x=π2+kπx = \frac{\pi}{2} + k\pi, where cosine is zero. Its range is (−∞,−1]∪[1,∞)(-\infty, -1] \cup [1, \infty), so it never takes a value strictly between −1-1 and 11 and it is never zero. It has period 2π2\pi and it is even, sec⁡(−x)=sec⁡x\sec(-x) = \sec x. It has a local minimum value 11 at each x=2kπx = 2k\pi and a local maximum value −1-1 at each x=π+2kπx = \pi + 2k\pi.

In plain words Sketch the cosine wave lightly first and draw a wall wherever it crosses zero. Between two walls the secant is a U that touches the cosine wave at its peak or valley and bends away from the axis toward the walls.

Example As xx moves from 00 toward π2≈1.5708\frac{\pi}{2} \approx 1.5708, the cosine shrinks toward 00 and the secant grows.

xx00π6\frac{\pi}{6}π4\frac{\pi}{4}π3\frac{\pi}{3}1.51.51.571.57
cos⁡x\cos x110.8660.8660.7070.7070.50.50.07070.07070.0007960.000796
sec⁡x\sec x111.1551.1551.4141.4142214.1414.141255.771255.77

The values grow without bound as xx gets close to π2\frac{\pi}{2} from the left, which is the vertical asymptote x=π2x = \frac{\pi}{2}.

Cosecant graph

Definition The cosecant graph is the graph of y=csc⁡xy = \csc x with xx in radians. Its domain is all real numbers except kπk\pi for integers kk, and its vertical asymptotes are the lines x=kπx = k\pi, where sine is zero. Its range is also (−∞,−1]∪[1,∞)(-\infty, -1] \cup [1, \infty). It has period 2π2\pi and it is odd, csc⁡(−x)=−csc⁡x\csc(-x) = -\csc x. It has a local minimum value 11 at each x=π2+2kπx = \frac{\pi}{2} + 2k\pi and a local maximum value −1-1 at each x=3π2+2kπx = \frac{3\pi}{2} + 2k\pi. For every xx that is not a multiple of π\pi

csc⁡x=sec⁡(x−π2),\csc x = \sec\left(x - \frac{\pi}{2}\right),

so the cosecant graph is the secant graph shifted π2\frac{\pi}{2} units to the right.

In plain words Cosecant is to sine what secant is to cosine. Its walls stand where the sine wave crosses zero, and its U shapes rest on the sine wave’s peaks and valleys.

Example These values cover one period between 00 and 2π2\pi.

xxπ6\frac{\pi}{6}π2\frac{\pi}{2}5π6\frac{5\pi}{6}7π6\frac{7\pi}{6}3π2\frac{3\pi}{2}11π6\frac{11\pi}{6}
sin⁡x\sin x12\frac{1}{2}1112\frac{1}{2}−12-\frac{1}{2}−1-1−12-\frac{1}{2}
csc⁡x\csc x221122−2-2−1-1−2-2

On (0,π)(0, \pi) the branch opens upward with lowest point (π2,1)\left(\frac{\pi}{2}, 1\right), and on (π,2π)(\pi, 2\pi) it opens downward with highest point (3π2,−1)\left(\frac{3\pi}{2}, -1\right).

U-shaped branches

Definition A branch of the secant or cosecant graph is the part of the graph over an open interval between two consecutive vertical asymptotes. On such an interval the related cosine or sine keeps one sign.

  • If it is positive, the branch lies on or above the line y=1y = 1, opens upward, and has its lowest point where the cosine or sine equals 11.
  • If it is negative, the branch lies on or below the line y=−1y = -1, opens downward, and has its highest point where the cosine or sine equals −1-1.

These turning points are the only points the branch shares with the cosine or sine graph, because a number c≠0c \ne 0 equals its reciprocal 1c\frac{1}{c} only when c=1c = 1 or c=−1c = -1.

In plain words Each branch looks like a U, or an upside down U, squeezed between two walls. It is not a parabola, though. Its sides climb along vertical asymptotes instead of spreading out.

Example For secant on (π2,3π2)\left(\frac{\pi}{2}, \frac{3\pi}{2}\right) the cosine is negative, so sec⁡x≤−1\sec x \le -1 there. The branch opens downward with highest point (π,−1)(\pi, -1). It is symmetric about the line x=πx = \pi, and for instance

sec⁡2π3=sec⁡4π3=1−1/2=−2.\sec \frac{2\pi}{3} = \sec \frac{4\pi}{3} = \frac{1}{-1/2} = -2.

Definition For constants A≠0A \ne 0 and B≠0B \ne 0, the function

y=Asec⁡(Bx)=Acos⁡(Bx)y = A\sec(Bx) = \frac{A}{\cos(Bx)}

has period 2π∣B∣\frac{2\pi}{\lvert B \rvert}, vertical asymptotes wherever cos⁡(Bx)=0\cos(Bx) = 0, and range (−∞,−∣A∣]∪[∣A∣,∞)(-\infty, -\lvert A \rvert] \cup [\lvert A \rvert, \infty). The turning points of its branches are exactly the highest and lowest points of the graph of y=Acos⁡(Bx)y = A\cos(Bx). The same holds for y=Acsc⁡(Bx)y = A\csc(Bx) with sin⁡(Bx)\sin(Bx) and y=Asin⁡(Bx)y = A\sin(Bx) in place of cos⁡(Bx)\cos(Bx) and y=Acos⁡(Bx)y = A\cos(Bx).

In plain words Graph the matching cosine or sine wave first. Its zeros become the walls, and its peaks and valleys become the turning points of the branches.

Example To sketch y=3sec⁡(2x)y = 3\sec(2x), start from y=3cos⁡(2x)y = 3\cos(2x), which has period π\pi. Its zeros are at

x=π4+kπ2,x = \frac{\pi}{4} + \frac{k\pi}{2},

so in [−π,π][-\pi, \pi] the walls are x=±π4x = \pm\frac{\pi}{4} and x=±3π4x = \pm\frac{3\pi}{4}. The cosine wave has a peak at (0,3)(0, 3) and a valley at (π2,−3)\left(\frac{\pi}{2}, -3\right). So one branch opens upward from (0,3)(0, 3), the next opens downward from (π2,−3)\left(\frac{\pi}{2}, -3\right), and the range is (−∞,−3]∪[3,∞)(-\infty, -3] \cup [3, \infty).

Check yourself

  1. Why does sec⁡x=12\sec x = \frac{1}{2} have no solution? Then solve sec⁡x=2\sec x = 2 for xx in [0,2π)[0, 2\pi).
Show the answer

Since ∣cos⁡x∣≤1\lvert \cos x \rvert \le 1, every value of secant satisfies ∣sec⁡x∣≥1\lvert \sec x \rvert \ge 1, and 12\frac{1}{2} is too small. The equation sec⁡x=2\sec x = 2 means cos⁡x=12\cos x = \frac{1}{2}, so x=π3x = \frac{\pi}{3} or x=5π3x = \frac{5\pi}{3}.

  1. Find the period of y=csc⁡(2x)y = \csc(2x) and its vertical asymptotes in the open interval (0,2π)(0, 2\pi).
Show the answer

The period is 2π2=π\frac{2\pi}{2} = \pi. The asymptotes are where sin⁡(2x)=0\sin(2x) = 0, that is where 2x=kπ2x = k\pi and x=kπ2x = \frac{k\pi}{2}. In (0,2π)(0, 2\pi) these are x=π2x = \frac{\pi}{2}, x=πx = \pi and x=3π2x = \frac{3\pi}{2}.

  1. Describe the branches of y=−2sec⁡xy = -2\sec x over (−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right) and over (π2,3π2)\left(\frac{\pi}{2}, \frac{3\pi}{2}\right).
Show the answer

On the first interval sec⁡x≥1\sec x \ge 1, so −2sec⁡x≤−2-2\sec x \le -2. That branch opens downward with highest point (0,−2)(0, -2). On the second interval sec⁡x≤−1\sec x \le -1, so −2sec⁡x≥2-2\sec x \ge 2, and that branch opens upward with lowest point (π,2)(\pi, 2). The negative coefficient flips each branch, and the range is (−∞,−2]∪[2,∞)(-\infty, -2] \cup [2, \infty).

How this lesson connects

Where this leads in Calculus