PrecalculusTrigonometric Functions4 of 5
Trigonometric Functions · 4

Graphs of the Other Trigonometric Functions

Sine and cosine make smooth, unbroken waves, so we now want to see how to graph the other four trigonometric functions: tan⁡x\fn{\tan x}, cot⁡x\fn{\cot x}, sec⁡x\fn{\sec x}, and csc⁡x\fn{\csc x}.

1

The Graph of Tangent

Every one of these four functions is a fraction with sin⁡x\wave{\sin x} or cos⁡x\wave{\cos x} in the denominator. We start with tangent, which divides sine by cosine:

tan⁡x\displaystyle \fn{\tan x} =sin⁡xcos⁡x\displaystyle = \frac{\sin x}{\wave{\cos x}}
The Graph of Tangent
x\htmlClass{lc-mute}{x}
11
−1-1
y=sin⁡xy = \htmlClass{lc-blue}{\sin x}
y=cos⁡xy = \htmlClass{lc-pink}{\cos x}

On the unit circle, tan⁡x\fn{\tan x} is the slope of the radius line: the curve crosses 00 whenever the radius is flat, shoots toward ±∞\pm\infty along a vertical asymptote whenever the radius turns vertical (cos⁡x=0\wave{\cos x} = 0), and repeats every half-circle (π\pi) because the radius has the exact same slope on the opposite side.

At angles where tangent is defined, the height of the tangent graph is the slope of the line through the radius of the unit circle.

One full branch of y=tan⁡xy = \fn{\tan x} has a period of π\pi and climbs from left to right between the vertical asymptotes x=−π2x = \asym{-\frac{\pi}{2}} and x=π2x = \asym{\frac{\pi}{2}}, passing through the left quarter-point (−π4,−1)\fn{\left(-\frac{\pi}{4}, -1\right)}, the center (0,0)\fn{(0, 0)}, and the right quarter-point (π4,1)\fn{\left(\frac{\pi}{4}, 1\right)}.

Because the vertical asymptotes repeat every π\pi units, we can write all of them at once by picking one starting asymptote and adding integer multiples of the distance between asymptotes:

Vertical asymptotes:x=π2⏟startingasymptote+π⏟distance betweenasymptotesk(k an integer)Domain:all real numbers x≠π2+πkRange:(−∞,∞)\displaystyle \begin{aligned} &\text{Vertical asymptotes:} \\ &\quad x = \underbrace{\asym{\frac{\pi}{2}}}_{\begin{gathered}\scriptstyle\text{starting}\\\scriptstyle\text{asymptote}\end{gathered}} + \underbrace{\asym{\pi}}_{\begin{gathered}\scriptstyle\text{distance between}\\\scriptstyle\text{asymptotes}\end{gathered}} \asym{k} \\ &\quad (k \text{ an integer}) \\ &\text{Domain:} \\ &\quad \text{all real numbers } x \neq \asym{\frac{\pi}{2} + \pi k} \\ &\text{Range:} \\ &\quad (-\infty, \infty) \end{aligned}
2

The Graph of Cotangent

Now let's graph cotangent, which flips the tangent fraction upside down:

cot⁡x\displaystyle \fn{\cot x} =cos⁡xsin⁡x\displaystyle = \frac{\cos x}{\wave{\sin x}}
The Graph of Cotangent
tan⁡x=sin⁡xcos⁡xcot⁡x=cos⁡xsin⁡x\displaystyle \begin{aligned} \tan x &= \frac{\sin x}{\wave{\cos x}} \\[10pt] \fn{\cot x} &= \frac{\cos x}{\wave{\sin x}} \end{aligned}
sin⁡x\displaystyle \wave{\sin x} =0 when x\displaystyle = 0 \text{ when } x =  ?\displaystyle = \;?

Because sin⁡x\wave{\sin x} is now in the denominator, the vertical asymptotes move to where sin⁡x=0\wave{\sin x} = 0. One full branch of y=cot⁡xy = \fn{\cot x} still has width π\pi, running from x=0x = \asym{0} to x=πx = \asym{\pi}, and goes down from left to right through the quarter-point (π4,1)\fn{\left(\frac{\pi}{4}, 1\right)}, the center (π2,0)\fn{\left(\frac{\pi}{2}, 0\right)}, and the quarter-point (3π4,−1)\fn{\left(\frac{3\pi}{4}, -1\right)}.

y=tan⁡xy = \htmlClass{lc-blue}{\tan x}
π\pi
(−π4, −1)\htmlClass{lc-blue}{\left(-\tfrac{\pi}{4},\, -1\right)}
(0, 0)\htmlClass{lc-blue}{\left(0,\, 0\right)}
(π4, 1)\htmlClass{lc-blue}{\left(\tfrac{\pi}{4},\, 1\right)}
−π2\htmlClass{lc-green}{-\dfrac{\pi}{2}}
π2\htmlClass{lc-green}{\dfrac{\pi}{2}}
x\htmlClass{lc-mute}{x}
y=cot⁡xy = \htmlClass{lc-blue}{\cot x}
π\pi
(π4, 1)\htmlClass{lc-blue}{\left(\tfrac{\pi}{4},\, 1\right)}
(π2, 0)\htmlClass{lc-blue}{\left(\tfrac{\pi}{2},\, 0\right)}
(3π4, −1)\htmlClass{lc-blue}{\left(\tfrac{3\pi}{4},\, -1\right)}
0\htmlClass{lc-green}{0}
π\htmlClass{lc-green}{\pi}
x\htmlClass{lc-mute}{x}

Starting at the asymptote x=0x = \asym{0} and adding multiples of π\pi gives all the vertical asymptotes and the domain of y=cot⁡xy = \fn{\cot x}:

Vertical asymptotes:x=0+πk=πk(k an integer)Domain:all real numbers x≠πkRange:(−∞,∞)\displaystyle \begin{aligned} &\text{Vertical asymptotes:} \\ &\quad x = \asym{0 + \pi k} = \asym{\pi k} \quad (k \text{ an integer}) \\ &\text{Domain:} \\ &\quad \text{all real numbers } x \neq \asym{\pi k} \\ &\text{Range:} \\ &\quad (-\infty, \infty) \end{aligned}
3

Graphing Transformed Tangent and Cotangent

Next, we want to graph one period and find all vertical asymptotes of a transformed tangent function:

y\displaystyle y =2tan⁡(2x−π2)+1\displaystyle = 2\fn{\tan}\left(2x - \frac{\pi}{2}\right) + \midline{1}

Instead of calculating period and phase shift with separate formulas, we find where the two asymptotes of one branch move and cut the space between them in half.

Graphing Transformed Tangent and Cotangent
y\displaystyle y =2tan⁡(2x−π2)+1\displaystyle = 2\fn{\tan}\left(2x - \frac{\pi}{2}\right) + \midline{1}
Left asymptote: x=  ?Right asymptote: x=  ?\displaystyle \begin{aligned} \text{Left asymptote: } x &= \;? \\ \text{Right asymptote: } x &= \;? \end{aligned}
Text solution
Set the inside equal to tangent's parent asymptotesBecause y=tan⁡xy = \fn{\tan x} has asymptotes at −π2\asym{-\frac{\pi}{2}} and π2\asym{\frac{\pi}{2}}, the transformed branch puts its asymptotes wherever the inside expression 2x−π22x - \frac{\pi}{2} equals −π2\asym{-\frac{\pi}{2}} and π2\asym{\frac{\pi}{2}} (for cotangent, we would set the inside equal to 0\asym{0} and π\asym{\pi}).
Left asymptote:2x−π2=−π2Right asymptote:2x−π2=π22x=02x=πx=0x=π2\displaystyle \begin{aligned} \text{Left asymptote:} \quad 2x - \frac{\pi}{2} &= \asym{-\frac{\pi}{2}} & \text{Right asymptote:} \quad 2x - \frac{\pi}{2} &= \asym{\frac{\pi}{2}} \\ 2x &= 0 & 2x &= \pi \\ x &= \asym{0} & x &= \asym{\frac{\pi}{2}} \end{aligned}
Cut the space between the asymptotes in halfSplitting the interval from 0\asym{0} to π2\asym{\frac{\pi}{2}} in half gives the center xx-value, and splitting each half again gives the two quarter-marks.
Center x=π4,Left quarter-mark x=π8,Right quarter-mark x=3π8\displaystyle \begin{aligned} \text{Center } x &= \fn{\frac{\pi}{4}}, \\ \text{Left quarter-mark } x &= \fn{\frac{\pi}{8}}, \\ \text{Right quarter-mark } x &= \fn{\frac{3\pi}{8}} \end{aligned}
Apply the vertical shift and vertical stretchThe +1\midline{+1} at the end moves the horizontal center line to y=1y = \midline{1}, and the 22 in front puts the quarter-points 22 units below that center line on the left and 22 units above it on the right.
Center point:(π4,1)Left quarter-point:(π8,1−2)=(π8,−1)Right quarter-point:(3π8,1+2)=(3π8,3)\displaystyle \begin{aligned} &\text{Center point:} \\ &\quad \fn{\left(\tfrac{\pi}{4}, 1\right)} \\ &\text{Left quarter-point:} \\ &\quad \left(\tfrac{\pi}{8}, \midline{1} - 2\right) = \fn{\left(\tfrac{\pi}{8}, -1\right)} \\ &\text{Right quarter-point:} \\ &\quad \left(\tfrac{3\pi}{8}, \midline{1} + 2\right) = \fn{\left(\tfrac{3\pi}{8}, 3\right)} \end{aligned}
Write all vertical asymptotes, the domain, and the rangeThe distance between the consecutive asymptotes x=0x = \asym{0} and x=π2x = \asym{\frac{\pi}{2}} is π2\frac{\pi}{2}, so we start at x=0x = \asym{0} and add multiples of π2\frac{\pi}{2}.
Vertical asymptotes:x=0+π2k=π2k(k an integer)Domain:all real numbers x≠π2kRange:(−∞,∞)\displaystyle \begin{aligned} &\text{Vertical asymptotes:} \\ &\quad x = \asym{0 + \frac{\pi}{2}k} = \asym{\frac{\pi}{2}k} \\ &\quad (k \text{ an integer}) \\ &\text{Domain:} \\ &\quad \text{all real numbers } x \neq \asym{\frac{\pi}{2}k} \\ &\text{Range:} \\ &\quad (-\infty, \infty) \end{aligned}
y\htmlClass{lc-mute}{y}
y=1\htmlClass{lc-violet}{y = 1}
(π8, −1)\htmlClass{lc-blue}{\left(\tfrac{\pi}{8},\, -1\right)}
(π4, 1)\htmlClass{lc-blue}{\left(\tfrac{\pi}{4},\, 1\right)}
(3π8, 3)\htmlClass{lc-blue}{\left(\tfrac{3\pi}{8},\, 3\right)}
0\htmlClass{lc-green}{0}
π2\htmlClass{lc-green}{\dfrac{\pi}{2}}
x\htmlClass{lc-mute}{x}
4

The Graphs of Cosecant and Secant

Now we want to graph cosecant and secant, which are the reciprocals of sine and cosine:

csc⁡x\displaystyle \fn{\csc x} =1sin⁡x,sec⁡x\displaystyle = \frac{1}{\wave{\sin x}}, \qquad \fn{\sec x} =1cos⁡x\displaystyle = \frac{1}{\wave{\cos x}}
The Graphs of Cosecant and Secant
csc⁡x=1sin⁡x\htmlClass{lc-blue}{\csc x} = \dfrac{1}{\htmlClass{lc-pink}{\sin x}}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
11
−1-1
y=sin⁡xy = \htmlClass{lc-pink}{\sin x}

Because csc⁡x=1sin⁡x\fn{\csc x} = \frac{1}{\wave{\sin x}} takes the reciprocal of every height on the sine wave, the cosecant U-shapes touch the dashed sine wave at its peaks (1\fn{1}) and valleys (−1\downward{-1}), curve away toward infinity wherever the sine wave approaches 00, and leave the middle strip between y=−1y = \downward{-1} and y=1y = \fn{1} completely empty.

At angles where sine is nonzero, cosecant’s height is the reciprocal of sine’s height.

Both functions have a period of 2π2\pi because one full cycle needs one upward U-shape and one downward U-shape. Their vertical asymptotes occur twice every period, a distance of π\pi apart, wherever the dashed helper wave crosses its center line:

y=csc⁡x=1sin⁡x:Asymptotes x=πk,Domain x≠πk,Range (−∞,−1]∪[1,∞)y=sec⁡x=1cos⁡x:Asymptotes x=π2+πk,Domain x≠π2+πk,Range (−∞,−1]∪[1,∞)\displaystyle \begin{aligned} &y = \fn{\csc x} = \frac{1}{\wave{\sin x}}: \\ &\quad \text{Asymptotes } x = \asym{\pi k}, \\ &\quad \text{Domain } x \neq \asym{\pi k}, \\ &\quad \text{Range } \downward{(-\infty, -1]} \cup \fn{[1, \infty)} \\[8pt] &y = \fn{\sec x} = \frac{1}{\wave{\cos x}}: \\ &\quad \text{Asymptotes } x = \asym{\frac{\pi}{2} + \pi k}, \\ &\quad \text{Domain } x \neq \asym{\frac{\pi}{2} + \pi k}, \\ &\quad \text{Range } \downward{(-\infty, -1]} \cup \fn{[1, \infty)} \end{aligned}
5

Graphing Transformed Secant and Cosecant

Next, we want to graph a transformed secant function and find its asymptotes, domain, and range:

y\displaystyle y =3sec⁡(2x)+1\displaystyle = 3\fn{\sec(2x)} + \midline{1}

Rather than learning new transformation rules for U-shapes, we change sec⁡\fn{\sec} to cos⁡\wave{\cos}, sketch that helper wave lightly, and flip its peaks and valleys into U-shapes.

Graphing Transformed Secant and Cosecant
y\displaystyle y =3sec⁡(2x)+1\displaystyle = 3\fn{\sec(2x)} + \midline{1}
Asymptotes=  ?Domain=  ?Range=  ?\displaystyle \begin{aligned} \text{Asymptotes} &= \;? \\ \text{Domain} &= \;? \\ \text{Range} &= \;? \end{aligned}
Text solution
Sketch one period of the helper cosine waveReplacing sec⁡\fn{\sec} with cos⁡\wave{\cos} gives y=3cos⁡(2x)+1y = 3\wave{\cos(2x)} + \midline{1}, which has its horizontal center line at y=1y = \midline{1}, an amplitude of 33, and a period of 2π2=π\frac{2\pi}{2} = \pi divided into four equal quarters at x=0,π4,π2,3π4,πx = 0, \frac{\pi}{4}, \frac{\pi}{2}, \frac{3\pi}{4}, \pi.
Peak height=1+3=4,Valley height=1−3=−2,Period=2π2=π\displaystyle \begin{aligned} \text{Peak height} &= \midline{1} + 3 = \fn{4}, \\ \text{Valley height} &= \midline{1} - 3 = \downward{-2}, \\ \text{Period} &= \frac{2\pi}{2} = \pi \end{aligned}
Place vertical asymptotes where the helper wave crosses its center lineBecause sec⁡(2x)=1cos⁡(2x)\fn{\sec(2x)} = \frac{1}{\wave{\cos(2x)}} is undefined when cos⁡(2x)=0\wave{\cos(2x)} = 0, the vertical asymptotes happen where the cosine wave crosses its center line y=1y = \midline{1}, at x=π4x = \asym{\frac{\pi}{4}} and x=3π4x = \asym{\frac{3\pi}{4}}.
Distance between asymptotes:3π4−π4=π2Vertical asymptotes:x=π4+π2k(k an integer)Domain:all real numbers x≠π4+π2k\displaystyle \begin{aligned} &\text{Distance between asymptotes:} \\ &\quad \asym{\frac{3\pi}{4}} - \asym{\frac{\pi}{4}} = \frac{\pi}{2} \\ &\text{Vertical asymptotes:} \\ &\quad x = \asym{\frac{\pi}{4} + \frac{\pi}{2}k} \quad (k \text{ an integer}) \\ &\text{Domain:} \\ &\quad \text{all real numbers } x \neq \asym{\frac{\pi}{4} + \frac{\pi}{2}k} \end{aligned}
Flip the peaks and valleys into U-shapes to read the rangeThe U-shapes open upward from the peaks at height 4\fn{4} and downward from the valley at height −2\downward{-2}, leaving the strip between −2\downward{-2} and 4\fn{4} empty.
Range:(−∞,−2]∪[4,∞)\displaystyle \text{Range:} \quad \downward{(-\infty, -2]} \cup \fn{[4, \infty)}

When a secant or cosecant graph shifts vertically, the vertical asymptotes stay at the points where the helper wave crosses its horizontal center line (where the cosine or sine part equals 00), even as the wave's xx-intercepts move.

As a secant graph shifts up or down, its vertical asymptotes stay fixed where the helper cosine wave crosses its midline, not where the wave crosses the xx-axis.
6

Writing an Equation from a Graph

Finally, we want to work backward from a given graph, either repeating S-curves or repeating U-shapes, to write its equation.

y\htmlClass{lc-mute}{y}
(π2, 2)\htmlClass{lc-blue}{\left(\tfrac{\pi}{2},\, 2\right)}
(π, −1)\htmlClass{lc-blue}{\left(\pi,\, -1\right)}
(3π2, −4)\htmlClass{lc-blue}{\left(\tfrac{3\pi}{2},\, -4\right)}
0\htmlClass{lc-green}{0}
2π\htmlClass{lc-green}{2\pi}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(π2, 5)\htmlClass{lc-blue}{\left(\tfrac{\pi}{2},\, 5\right)}
(3π2, 1)\htmlClass{lc-orange}{\left(\tfrac{3\pi}{2},\, 1\right)}
0\htmlClass{lc-green}{0}
π\htmlClass{lc-green}{\pi}
2π\htmlClass{lc-green}{2\pi}
x\htmlClass{lc-mute}{x}
Writing an Equation from a Graph
S-curves: y=  ?U-shapes: y=  ?\displaystyle \begin{aligned} \text{S-curves: } y &= \;? \\ \text{U-shapes: } y &= \;? \end{aligned}
Text solution
First graph (S-curves), pick tangent or cotangent and find the vertical shift and stretchThe branch starts at a vertical asymptote at x=0x = \asym{0} and goes down from left to right, so we can use cotangent with no horizontal shift. Its center point (π,−1)\fn{(\pi, -1)} gives the center line y=−1y = \midline{-1}, and the quarter-point (π2,2)\fn{\left(\frac{\pi}{2}, 2\right)} sits 33 units from that center line.
Vertical shift=−1,Vertical stretch=2−(−1)=3\displaystyle \begin{aligned} \text{Vertical shift} &= \midline{-1}, \\ \text{Vertical stretch} &= \fn{2} - (\midline{-1}) = 3 \end{aligned}
First graph, find BB from the asymptote spacingOne branch runs from x=0x = \asym{0} to x=2πx = \asym{2\pi}, so when x=2πx = \asym{2\pi}, the inside expression BxBx equals cotangent's right asymptote π\asym{\pi}.
B(2π)=πB=12y=3cot⁡(12x)−1\displaystyle \begin{aligned} B(\asym{2\pi}) &= \asym{\pi} \\ B &= \frac{1}{2} \\ y &= 3\fn{\cot}\left(\tfrac{1}{2}x\right) \midline{{}- 1} \end{aligned}
Second graph (U-shapes), connect the tips to build the helper waveDrawing a dashed wave through the empty middle between the peak at (π2,5)\fn{\left(\frac{\pi}{2}, 5\right)} and the valley at (3π2,1)\downward{\left(\frac{3\pi}{2}, 1\right)} puts the center line halfway between 1\downward{1} and 5\fn{5}, with the amplitude from the center line to the peak.
Center line y=5+12=3,Amplitude=5−3=2\displaystyle \begin{aligned} \text{Center line } y &= \frac{\fn{5} + \downward{1}}{2} = \midline{3}, \\ \text{Amplitude} &= \fn{5} - \midline{3} = 2 \end{aligned}
Second graph, write the helper wave equation and swap to its reciprocalThe dashed wave starts on its center line at (0,3)(0, \midline{3}), rises to a peak at π2\frac{\pi}{2}, and finishes one cycle at 2π2\pi, which is y=2sin⁡(x)+3y = 2\wave{\sin(x)} + \midline{3}, so swapping sin⁡\wave{\sin} for csc⁡\fn{\csc} gives the equation of the U-shapes.
Helper wave:y=2sin⁡(x)+3U-shape graph:y=2csc⁡(x)+3\displaystyle \begin{aligned} \text{Helper wave:} &\quad y = 2\wave{\sin(x)} + \midline{3} \\ \text{U-shape graph:} &\quad y = 2\fn{\csc(x)} + \midline{3} \end{aligned}

Key concepts

Everything about these four graphs comes from looking at which wave sits in the denominator and choosing between the two graph shapes:

The denominator tells you where the base asymptotes are

Functions with cos⁡x\wave{\cos x} on the bottom (tan⁡x=sin⁡xcos⁡x\fn{\tan x} = \frac{\sin x}{\wave{\cos x}} and sec⁡x=1cos⁡x\fn{\sec x} = \frac{1}{\wave{\cos x}}) have base vertical asymptotes where cos⁡x=0\wave{\cos x} = 0, at x=−π2x = \asym{-\frac{\pi}{2}} and x=π2x = \asym{\frac{\pi}{2}}, so all their asymptotes follow x=π2+πkx = \asym{\frac{\pi}{2} + \pi k}. Functions with sin⁡x\wave{\sin x} on the bottom (cot⁡x=cos⁡xsin⁡x\fn{\cot x} = \frac{\cos x}{\wave{\sin x}} and csc⁡x=1sin⁡x\fn{\csc x} = \frac{1}{\wave{\sin x}}) have base vertical asymptotes where sin⁡x=0\wave{\sin x} = 0, at x=0x = \asym{0} and x=πx = \asym{\pi}, so all their asymptotes follow x=πkx = \asym{\pi k}.

S-curves (tan⁡\fn{\tan} and cot⁡\fn{\cot}) cut the space between asymptotes in half

Don't draw a helper wave for tangent or cotangent. Set the inside expression equal to the parent asymptotes (−π2\asym{-\frac{\pi}{2}} and π2\asym{\frac{\pi}{2}} for tan⁡\fn{\tan}; 0\asym{0} and π\asym{\pi} for cot⁡\fn{\cot}) and split the interval in half for the center and quarter-points. For y=2tan⁡(2x−π2)+1y = 2\fn{\tan}\left(2x - \frac{\pi}{2}\right) + \midline{1}, setting 2x−π2=−π22x - \frac{\pi}{2} = \asym{-\frac{\pi}{2}} and π2\asym{\frac{\pi}{2}} gives the branch from x=0x = \asym{0} to x=π2x = \asym{\frac{\pi}{2}} with center (π4,1)\fn{\left(\frac{\pi}{4}, 1\right)} and range (−∞,∞)(-\infty, \infty). When writing an equation from an S-curve whose center moved horizontally to x=π3x = \fn{\frac{\pi}{3}}, put that shift directly into tangent as B(x−π3)B\left(x - \fn{\frac{\pi}{3}}\right).

U-shapes (sec⁡\fn{\sec} and csc⁡\fn{\csc}) come from flipping a helper wave's peaks and valleys

Don't memorize separate point rules for secant or cosecant; swap sec⁡\fn{\sec} for cos⁡\wave{\cos} or csc⁡\fn{\csc} for sin⁡\wave{\sin} and sketch the helper wave first. Draw vertical asymptotes wherever the helper wave crosses its horizontal center line, and flip the peaks and valleys into U-shapes. For y=3sec⁡(2x)+1y = 3\fn{\sec(2x)} + \midline{1}, the helper wave y=3cos⁡(2x)+1y = 3\wave{\cos(2x)} + \midline{1} goes between −2\downward{-2} and 4\fn{4} around y=1y = \midline{1}, so the middle strip stays empty and the range is (−∞,−2]∪[4,∞)\downward{(-\infty, -2]} \cup \fn{[4, \infty)}.

One pattern writes all vertical asymptotes and the domain

Once you have two neighboring asymptotes on any graph, pick one starting asymptote and add integer multiples of the distance to the next asymptote:

x=starting asymptote+(distance between asymptotes)k,Domain: x≠starting asymptote+(distance between asymptotes)k\displaystyle \begin{aligned} &x = \asym{\text{starting asymptote}} \\ &\quad \asym{{}+ (\text{distance between asymptotes})k}, \\[6pt] &\text{Domain: } x \neq \asym{\text{starting asymptote}} \\ &\quad \asym{{}+ (\text{distance between asymptotes})k} \end{aligned}
7

Practice

1

Which two of the functions tan⁡x\tan x, cot⁡x\cot x, sec⁡x\sec x, and csc⁡x\csc x have vertical asymptotes at x=πkx = \pi k (where kk is an integer), and what are the domain and range of each of those two functions?

Write each function as a fraction using sin⁡x\sin x and cos⁡x\cos x, and check which denominator equals 00 at x=0,π,2π,…x = 0, \pi, 2\pi, \dots.

Vertical asymptotes at x=πkx = \asym{\pi k} occur where the denominator is sin⁡x=0\wave{\sin x} = 0:
cot⁡x\displaystyle \fn{\cot x} =cos⁡xsin⁡x,csc⁡x\displaystyle = \frac{\cos x}{\wave{\sin x}}, \qquad \fn{\csc x} =1sin⁡x\displaystyle = \frac{1}{\wave{\sin x}}
Warning: Don't pair tan⁡x\fn{\tan x} with cot⁡x\fn{\cot x} just because both have period π\pi; tan⁡x\fn{\tan x} has cos⁡x\wave{\cos x} on the bottom, so its asymptotes are at x=π2+πkx = \asym{\frac{\pi}{2} + \pi k}. Also be careful not to write [−1,1][-1, 1] or (−∞,∞)(-\infty, \infty) for the range of csc⁡x\fn{\csc x}: its U-shapes open away from the middle strip between −1\downward{-1} and 1\fn{1}.
Both cot⁡x\cot x and csc⁡x\csc x have domain all real numbers x≠πkx \neq \pi k. The range of cot⁡x\cot x is (−∞,∞)(-\infty, \infty), and the range of csc⁡x\csc x is (−∞,−1]∪[1,∞)(-\infty, -1] \cup [1, \infty).
2

For one period of y=−3tan⁡(x+π4)+2y = -3\tan\left(x + \frac{\pi}{4}\right) + 2, find the left and right vertical asymptotes, the center point, and the two quarter-points.

Set the inside expression x+π4x + \frac{\pi}{4} equal to tangent's two parent asymptotes −π2\asym{-\frac{\pi}{2}} and π2\asym{\frac{\pi}{2}}, then cut the interval between them in half.

Set the inside equal to −π2\asym{-\frac{\pi}{2}} and π2\asym{\frac{\pi}{2}} to find the asymptotes:
x+π4=−π2  ⟹  x=−3π4x+π4=π2  ⟹  x=π4\displaystyle \begin{aligned} x + \frac{\pi}{4} &= \asym{-\frac{\pi}{2}} \implies x = \asym{-\frac{3\pi}{4}} \\ x + \frac{\pi}{4} &= \asym{\frac{\pi}{2}} \implies x = \asym{\frac{\pi}{4}} \end{aligned}
Splitting the interval from −3π4\asym{-\frac{3\pi}{4}} to π4\asym{\frac{\pi}{4}} in half gives the center x=−π4x = \fn{-\frac{\pi}{4}} on the center line y=2y = \midline{2}, and the quarter-marks x=−π2x = \fn{-\frac{\pi}{2}} and x=0x = \fn{0}.
Warning: Don't ignore the negative sign in front of −3-3 and go down on the left and up on the right (which would give (−π2,−1)\left(-\frac{\pi}{2}, -1\right) and (0,5)(0, 5)). The negative sign flips the S-curve upside down, so from the center line y=2y = \midline{2} we go up 33 on the left and down 33 on the right:
Left quarter-point:(−π2,2+3)=(−π2,5),Right quarter-point:(0,2−3)=(0,−1)\displaystyle \begin{aligned} &\text{Left quarter-point:} \\ &\quad \left(-\tfrac{\pi}{2}, \midline{2} + 3\right) = \fn{\left(-\tfrac{\pi}{2}, 5\right)}, \\ &\text{Right quarter-point:} \\ &\quad (0, \midline{2} - 3) = \fn{(0, -1)} \end{aligned}
Left asymptote: x=−3π4x = -\frac{3\pi}{4}; right asymptote: x=π4x = \frac{\pi}{4}; center point: (−π4,2)\left(-\frac{\pi}{4}, 2\right); left quarter-point: (−π2,5)\left(-\frac{\pi}{2}, 5\right); right quarter-point: (0,−1)(0, -1).
3

Find the equation for all vertical asymptotes and the domain of y=4cot⁡(3x−π)−1y = 4\cot(3x - \pi) - 1.

Set the inside expression 3x−π3x - \pi equal to cotangent's two parent asymptotes to find two consecutive asymptotes and the spacing between them.

Because the function is cotangent, set the inside equal to 0\asym{0} and π\asym{\pi}.
Warning: Don't set 3x−π3x - \pi equal to −π2-\frac{\pi}{2} and π2\frac{\pi}{2} (tangent's parent asymptotes), which would give the wrong asymptotes x=π6+π3kx = \frac{\pi}{6} + \frac{\pi}{3}k.
3x−π=0  ⟹  3x=π  ⟹  x=π33x−π=π  ⟹  3x=2π  ⟹  x=2π3\displaystyle \begin{aligned} 3x - \pi &= \asym{0} \implies 3x = \pi \\ &\implies x = \asym{\frac{\pi}{3}} \\[6pt] 3x - \pi &= \asym{\pi} \implies 3x = 2\pi \\ &\implies x = \asym{\frac{2\pi}{3}} \end{aligned}
The distance between consecutive asymptotes is 2π3−π3=π3\asym{\frac{2\pi}{3}} - \asym{\frac{\pi}{3}} = \frac{\pi}{3}.
Asymptotes: x=π3+π3kx = \frac{\pi}{3} + \frac{\pi}{3}k (or x=π3kx = \frac{\pi}{3}k), where kk is an integer. Domain: all real numbers x≠π3+π3kx \neq \frac{\pi}{3} + \frac{\pi}{3}k (or x≠π3kx \neq \frac{\pi}{3}k).
4

For y=2csc⁡(πx)−3y = 2\csc(\pi x) - 3, find the midline, peak height, and valley height of the helper sine wave, then find the equation for all vertical asymptotes, the domain, and the range of the cosecant graph.

Replace csc⁡\fn{\csc} with sin⁡\wave{\sin} to analyze the helper wave y=2sin⁡(πx)−3y = 2\wave{\sin(\pi x)} - 3 over one full period of 2ππ=2\frac{2\pi}{\pi} = 2.

The helper sine wave y=2sin⁡(πx)−3y = 2\wave{\sin(\pi x)} \midline{{}- 3} has midline y=−3y = \midline{-3}, amplitude 22, and period 2ππ=2\frac{2\pi}{\pi} = 2:
Peak height=−3+2=−1,Valley height=−3−2=−5\displaystyle \begin{aligned} \text{Peak height} &= \midline{-3} + 2 = \fn{-1}, \\ \text{Valley height} &= \midline{-3} - 2 = \downward{-5} \end{aligned}
Over one period from x=0x = 0 to x=2x = 2, the helper sine wave crosses its midline y=−3y = \midline{-3} at x=0x = \asym{0}, x=1x = \asym{1}, and x=2x = \asym{2}.
Warning: Don't use the full period 22 as the distance between vertical asymptotes (which would give x=2kx = 2k). The sine wave crosses its midline twice every period, so consecutive asymptotes are 11 unit apart.
Helper wave midline: y=−3y = -3; peak height: −1-1; valley height: −5-5; vertical asymptotes: x=kx = k (where kk is an integer); domain: all real numbers x≠kx \neq k; range: (−∞,−5]∪[−1,∞)(-\infty, -5] \cup [-1, \infty).
5

A graph consists of repeating S-curves that climb from left to right between consecutive vertical asymptotes at x=−π6x = -\frac{\pi}{6} and x=5π6x = \frac{5\pi}{6}. That branch has its center point at (π3,1)\left(\frac{\pi}{3}, 1\right) and passes through the quarter-points (π12,−1)\left(\frac{\pi}{12}, -1\right) and (7π12,3)\left(\frac{7\pi}{12}, 3\right). Write an equation for the function.

Use the climbing direction and the coordinates of the center point (π3,1)\fn{\left(\frac{\pi}{3}, 1\right)} to find the parent function, horizontal shift, and vertical shift, then check the distance between the asymptotes for BB.

Because the S-curve climbs from left to right, we can use a tangent graph. The center point (π3,1)\fn{\left(\frac{\pi}{3}, 1\right)} gives a vertical shift of +1\midline{+1}, and the quarter-point (7π12,3)\fn{\left(\frac{7\pi}{12}, 3\right)} sits 3−1=2\fn{3} - \midline{1} = 2 units above the center line, giving a vertical stretch of 22.
Warning: Don't use the left asymptote x=−π6x = \asym{-\frac{\pi}{6}} as the horizontal shift inside tangent (which would give y=2tan⁡(x+π6)+1y = 2\tan\left(x + \frac{\pi}{6}\right) + 1). Tangent's center normally sits at x=0x = 0, so the horizontal shift is where the center point moved, x=π3x = \fn{\frac{\pi}{3}}.
The distance between the asymptotes is 5π6−(−π6)=π\asym{\frac{5\pi}{6}} - \left(\asym{-\frac{\pi}{6}}\right) = \pi, which is tangent's normal period, so B=1B = 1:
y\displaystyle y =2tan⁡(x−π3)+1\displaystyle = 2\tan\left(x - \frac{\pi}{3}\right) + 1
6

A graph consists of repeating U-shapes with vertical asymptotes at x=πx = \pi, x=3πx = 3\pi, and x=5πx = 5\pi. It has upward-opening U-shapes with tips at (0,2)(0, 2) and (4π,2)(4\pi, 2), and a downward-opening U-shape with tip at (2π,−6)(2\pi, -6). Write an equation for the function.

Connect the tips (0,2)\fn{(0, 2)}, (2π,−6)\downward{(2\pi, -6)}, and (4π,2)\fn{(4\pi, 2)} through the empty middle to find the midline, amplitude, and period of the helper wave first.

Connecting the tips gives a helper wave with peak 2\fn{2} and valley −6\downward{-6}:
Midline y=2+(−6)2=−2,Amplitude=2−(−2)=4\displaystyle \begin{aligned} \text{Midline } y &= \frac{\fn{2} + (\downward{-6})}{2} = \midline{-2}, \\ \text{Amplitude} &= \fn{2} - (\midline{-2}) = 4 \end{aligned}
Because the wave starts at a peak at (0,2)\fn{(0, 2)} and returns to the next peak at (4π,2)\fn{(4\pi, 2)}, it is a cosine wave with period 4π4\pi.
Warning: Don't use the distance between consecutive asymptotes (3π−π=2π3\pi - \pi = 2\pi) as the period of the helper cosine wave (which would give B=1B = 1 and y=4sec⁡(x)−2y = 4\sec(x) - 2). One full cosine cycle corresponds to both an upward U-shape and a downward U-shape, running from x=0x = 0 to x=4πx = 4\pi:
B\displaystyle B =2πPeriod\displaystyle = \frac{2\pi}{\text{Period}} =2π4π\displaystyle = \frac{2\pi}{4\pi} =12\displaystyle = \frac{1}{2}
Swapping cos⁡\wave{\cos} for sec⁡\fn{\sec} in the helper wave y=4cos⁡(12x)−2y = 4\wave{\cos\left(\frac{1}{2}x\right)} \midline{{}- 2} gives:
y\displaystyle y =4sec⁡(12x)−2\displaystyle = 4\sec\left(\tfrac{1}{2}x\right) - 2