1 Graphs of the Secant and Cosecant Functions

As mentioned at the end of Section ??, one way to proceed with our analysis of the circular functions is to use what we know about the functions \(\sin (t)\) and \(\cos (t)\) to rewrite the four additional circular functions in terms of sine and cosine with help from Theorem ?? . We use this approach to analyze \(F(t) = \sec (t)\).

Rewriting \(F(t) = \sec (t)= \frac {1}{\cos (t)}\), we first note that \(F(t)\) is undefined whenever \(\cos (t) = 0\). Thanks to Example ?? number ??, we know \(\cos (t) = 0\) whenever \(t = \frac {\pi }{2} + \pi k\) for integers \(k\).

This gives us one way to describe the domain of \(F\): \(\{ t \, | \, t \neq \frac {\pi }{2} + \pi k, \text {for integers $k$} \}\). To get a better feel for the set of real numbers we’re dealing with, we write out and graph the domain on the number line.

Running through a few values of \(k\), we find some of the values excluded from the domain: \(t \neq \pm \frac {\pi }{2}, \, \pm \frac {3\pi }{2}, \, \pm \frac {5\pi }{2}\). Using these we can graph the domain on the number line below.

Expressing this set using interval notation is a bit of a challenge, owing to the infinitely many intervals present. As a first attempt, we have: \(\ldots \cup \left ( -\frac {5\pi }{2}, -\frac {3\pi }{2}\right ) \cup \left ( -\frac {3\pi }{2}, -\frac {\pi }{2}\right ) \cup \left (-\frac {\pi }{2}, \frac {\pi }{2}\right ) \cup \left (\frac {\pi }{2}, \frac {3\pi }{2}\right ) \cup \left (\frac {3\pi }{2}, \frac {5\pi }{2}\right ) \cup \ldots \), where, as usual, the periods of ellipsis indicate the pattern continues indefinitely. Hence, for now, it suffices to know that the domain of \(F(t) = \sec (t)\) excludes the odd multiples of \(\frac {\pi }{2}\).

To find the range of \(F\), we find it helpful once again to view \(F(t) = \sec (t) = \frac {1}{\cos (t)}\). We know the range of \(\cos (t)\) is \([-1,1]\), and since \(F(t) = \sec (t) = \frac {1}{\cos (t)}\) is undefined when \(\cos (t) = 0\), we split our discussion into two cases: when \(0 < \cos (t) \leq 1\) and when \(-1 \leq \cos (t) < 0\).

If \(0 < \cos (t) \leq 1\), then we can divide the inequality \(\cos (t) \leq 1\) by \(\cos (t)\) to obtain \(\sec (t) = \frac {1}{\cos (t)} \geq 1\). Moreover, we see as \(\cos (t) \rightarrow 0^{+}\), \(\sec (t) \rightarrow \infty \). If, on the other hand, if \(-1 \leq \cos (t) < 0\), then dividing by \(\cos (t)\) causes a reversal of the inequality so that \(\sec (t) = \frac {1}{\cos (t)} \leq -1\). In this case, as \(\cos (t) \rightarrow 0^{-}\), \(\sec (t) \rightarrow -\infty \). Since \(\cos (t)\) admits all of the values in \([-1,1]\), the function \(F(t) = \sec (t)\) admits all of the values in \((-\infty , -1] \cup [1,\infty )\).

Since \(\cos (t)\) is periodic with period \(2\pi \), it shoudn’t be too surprising to find that \(\sec (t)\) is also. Indeed, provided \(\sec (\alpha )\) and \(\sec (\beta )\) are defined, \(\sec (\alpha ) = \sec (\beta )\) if and only if \(\cos (\alpha ) = \cos (\beta )\). Said differently, \(\sec (t)\) ‘inherits’ its period from \(\cos (t)\).

We now turn our attention to graphing \(F(t) = \sec (t)\). Using the table of values we tabulated when graphing \(y = \cos (t)\) in Section ??, we can generate points on the graph of \(y = \sec (t)\) by taking reciprocals.

\[ \begin{array}{|r||r|r|r|} \hline t & \cos (t) & \sec (t) & (t,\sec (t)) \\ \hline 0 & 1 & 1 & (0,1) \\ \hline \frac {\pi }{4} & \frac {\sqrt {2}}{2} & \sqrt {2} & \left (\frac {\pi }{4}, \sqrt {2} \right ) \\ \hline \frac {\pi }{2} & 0 & \text {undefined} & \\ \hline \frac {3\pi }{4} & -\frac {\sqrt {2}}{2} & -\sqrt {2} & \left (\frac {3\pi }{4}, -\sqrt {2} \right ) \\ \hline \pi & -1 & -1 & (\pi , -1) \\ \hline \frac {5\pi }{4} & -\frac {\sqrt {2}}{2} & -\sqrt {2} & \left (\frac {5\pi }{4}, -\sqrt {2} \right ) \\ \hline \frac {3\pi }{2} & 0 & \text {undefined} & \\ \hline \frac {7\pi }{4} & \frac {\sqrt {2}}{2} & \sqrt {2} & \left (\frac {7\pi }{4}, \sqrt {2} \right ) \\ \hline 2\pi & 1 & 1& (2\pi , 1) \\ \hline \end{array} \]

Using the techniques developed in Section ??, we can more closely analyze the behavior of \(F\) near the values excluded from its domain. We find as \(t \rightarrow \frac {\pi }{2}^{-}\), \(\cos (t) \rightarrow 0^{+}\), so \(\lim _{t \rightarrow \frac {\pi }{2}^{-}}\sec (t) = \infty \). Similarly, we get \(\lim _{t \rightarrow \frac {\pi }{2}^{+}}\sec (t) = -\infty \), \(\lim _{t \rightarrow \frac {3\pi }{2}^{-}}\sec (t) = -\infty \), and \(\lim _{t \rightarrow \frac {3\pi }{2}^{+}}\sec (t) = \infty \). This means the lines \(t = \frac {\pi }{2}\) and \(t = \frac {3\pi }{2}\) are vertical asymptotes to the graph of \(y = \sec (t)\).

With help from desmos, we graph a fundamental cycle of \(y = \sec (t)\) with the graph of the fundamental cycle of \(y = \cos (t)\) dotted for reference.

To get a graph of the entire secant function, we paste copies of the fundamental cycle end to end to produce the graph below. The graph suggests that \(F(t) =\sec (t)\) is even. Indeed, since \(\cos (t)\) is even, that is, \(\cos (-t) = \cos (t)\), we have \(\sec (-t) = \frac {1}{\cos (-t)} = \frac {1}{\cos (t)} = \sec (t)\). Hence, along with its period, the secant function inherits its symmetry from the cosine function.

As one would expect, to graph \(G(t) = \csc (t)\) we begin with \(y = \sin (t)\) and take reciprocals of the corresponding \(y\)-values. Here, we encounter issues at \(t = 0\), \(t = \pi \), \(t = 2\pi \), and, in general, at all whole number multiples of \(\pi \), so the domain of \(G\) is \(\{ t \, | \, t \neq \pi k, \text {for integers $k$} \}\). Not surprisingly, these values produce vertical asymptotes.

Proceeding as above, we can generate a table of values for the cosecant function by taking reciprocals of known sine values.

\[ \begin{array}{|r||r|r|r|} \hline x & \sin (x) & \csc (x) & (x,\csc (x)) \\ \hline 0 & 0 & \text {undefined} & \\ \hline \frac {\pi }{4} & \frac {\sqrt {2}}{2} & \sqrt {2} & \left (\frac {\pi }{4}, \sqrt {2} \right ) \\ \hline \frac {\pi }{2} & 1 & 1 & \left (\frac {\pi }{2}, 1 \right ) \\ \hline \frac {3\pi }{4} & \frac {\sqrt {2}}{2} & \sqrt {2} & \left (\frac {3\pi }{4}, \sqrt {2} \right ) \\ \hline \pi & 0 & \text {undefined} & \\ \hline \frac {5\pi }{4} & -\frac {\sqrt {2}}{2} & -\sqrt {2} & \left (\frac {5\pi }{4}, -\sqrt {2} \right ) \\ \hline \frac {3\pi }{2} & -1 & -1 & \left (\frac {3\pi }{2},-1 \right )\\ \hline \frac {7\pi }{4} & -\frac {\sqrt {2}}{2} & -\sqrt {2} & \left (\frac {7\pi }{4}, -\sqrt {2} \right ) \\ \hline 2\pi & 0 & \text {undefined} & \\ \hline \end{array} \]

Plotting these points and performing a similar analysis to the gaps in the domain, we can construct the graph of one cycle of the cosecant function (with a little help from desmos) below.

Pasting copies of the fundamental period of \(y = \csc (t)\) end to end produces the graph below. Since the graphs of \(y = \sin (t)\) and \(y = \cos (t)\) are merely phase shifts of each other, it is not too surprising to find the graphs of \(y = \csc (t)\) and \(y = \sec (t)\) are as well.

As with the graph of secant, the graph below suggests symmetry. Indeed, since the sine function is odd, that is \(\sin (-t) = -\sin (t)\), so too is the cosecant function: \(\csc (-t) = \frac {1}{\sin (-t)} = -\frac {1}{\sin (t)} = -\csc (t)\). Hence, the graph of \(G(t) = \csc (t)\) is symmetric about the origin.

Note that, on the intervals between the vertical asymptotes, both \(F(t) = \sec (t)\) and \(G(t) = \csc (t)\) are continuous and smooth. In other words, they are continuous and smooth on their domains.

The following theorem summarizes the properties of the secant and cosecant functions. Note that all of these properties are direct results of them being reciprocals of the cosine and sine functions, respectively.

In the next example, we discuss graphing more general secant and cosecant curves. We make heavy use of the fact they are reciprocals of sine and cosine functions and apply what we learned in Section ??.

As suggested in Example 1, the concepts of frequency, period, phase shift, and baseline are alive and well with graphs of the secant and cosecant functions. Since the secant and cosecant curves are unbounded, we do not have the concept of ‘amplitude’ for these curves. That being said, the amplitudes of the corresponding cosine and sine curves do play a role here - they measure how wide the gap is between the baseline and the curve.

We gather these observations in the following result whose proof is a consequence of Theorem ?? and is relegated to Exercise ??.

We put Theorem 2 to good use in the next example.

We cannot stress enough that our answers to Example 2 are one of many. For example, in Exercise ??, we ask you to rework this example choosing \(A<0\). It is well worth the time to think about what relationships exist between the different answers, however. For now, we move on to graphing the last pair of circular functions: tangent and cotangent curves.

2 Graphs of the Tangent and Cotangent Functions

Next, we turn our attention to the tangent and cotangent functions. Viewing \(J(t) = \tan (t) = \frac {\sin (t)}{\cos (t)}\), we find the domain of \(J\) excludes all values where \(\cos (t) = 0\). Hence, the domain of \(J\) is \(\{ t \, | \, t \neq \frac {\pi }{2} + \pi k, \text {for integers $k$} \}\). Using this information along with the common values we derived in Section ??, we create the table of values below.

\[ \begin{array}{|r||r|r|} \hline t & \tan (t) & (t,\tan (t)) \\ \hline 0 & 0 & (0, 0) \\ \hline \frac {\pi }{4} & 1 & \left (\frac {\pi }{4},1 \right ) \\ \hline \frac {\pi }{2} & \text {undefined} & \\ \hline \frac {3\pi }{4} & -1 & \left (\frac {3\pi }{4}, -1\right ) \\ \hline \pi & 0 & (\pi , 0) \\ \hline \frac {5\pi }{4} & 1 & \left (\frac {5\pi }{4}, 1 \right ) \\ \hline \frac {3\pi }{2} & \text {undefined} & \\ \hline \frac {7\pi }{4} & -1 & \left (\frac {7\pi }{4}, -1 \right ) \\ \hline 2\pi & 0 & (2\pi , 0) \\ \hline \end{array} \]

Investigating the behavior near the values excluded from the domain, we find as \(t \rightarrow \frac {\pi }{2}^{-}\), \(\sin (t) \rightarrow 1^{-}\) and \(\cos (t) \rightarrow 0^{+}\). Hence, \(\lim _{t \rightarrow \frac {\pi }{2}^{-}}\tan (t) = \infty \) producing a vertical asymptote to the graph at \(t = \frac {\pi }{2}\). Similarly, we get that as \(\lim _{t \rightarrow \frac {\pi }{2}^{+}} \tan (t) = -\infty \), \(\lim _{t \rightarrow \frac {3\pi }{2}^{-}} \tan (t) = \infty \), and \(\lim _{t \rightarrow \frac {3\pi }{2}^{+}}\tan (t) = -\infty \).

Putting all of this information together, we graph \(y = \tan (t)\) with help from desmos over the interval \([0, 2\pi ]\) below.

After the usual ‘copy and paste’ procedure, we create the graph of \(y = \tan (t)\) below:

The graph of \(y = \tan (t)\) suggests symmetry through the origin. Indeed, tangent is odd since sine is odd and cosine is even: \(\tan (-t) = \frac {\sin (-t)}{\cos (-t)} = \frac {-\sin (t)}{\cos (t)} = -\tan (t)\).

We also see the graph suggests the range of \(J(t) = \tan (t)\) is all real numbers, \((-\infty , \infty )\). We present one proof of this fact in Exercise ?? .

Moreover, as noted in Section ??, the period of the tangent function is \(\pi \), and we see that reflected in the graph. This means we can choose any interval of length \(\pi \) to serve as our ‘fundamental cycle.’

We choose the cycle traced out over the (open) interval \(\left ( -\frac {\pi }{2}, \frac {\pi }{2} \right )\) as highlighted above. In addition to the asymptotes at the endpoints \(t = \pm \frac {\pi }{2}\), we use the ‘quarter marks’ \(t = \pm \frac {\pi }{4}\) and \(t = 0\).

It should be no surprise that \(K(t) = \cot (t)\) behaves similarly to \(J(t)=\tan (t)\). Since \(\cot (t) = \frac {\cos (t)}{\sin (t)}\), the domain of \(K\) excludes the values where \(\sin (t) = 0\): \(\{ t \, | \, t \neq \pi k, \text {for integers $k$} \}\).

\[ \begin{array}{|r||r|r|} \hline t & \cot (t) & (t, \cot (t)) \\ \hline 0 & \text {undefined} & \\ \hline \frac {\pi }{4} & 1 & \left (\frac {\pi }{4},1 \right ) \\ \hline \frac {\pi }{2} & 0 & \left (\frac {\pi }{2},0 \right ) \\ \hline \frac {3\pi }{4} & -1 & \left (\frac {3\pi }{4}, -1\right ) \\ \hline \pi & \text {undefined} & \\ \hline \frac {5\pi }{4} & 1 & \left (\frac {5\pi }{4}, 1 \right ) \\ \hline \frac {3\pi }{2} & 0 & \left (\frac {3\pi }{2}, 0 \right ) \\ \hline \frac {7\pi }{4} & -1 & \left (\frac {7\pi }{4}, -1 \right ) \\ \hline 2\pi & \text {undefined} & \\ \hline \end{array} \]

After analyzing the behavior of \(K\) near the values excluded from its domain, we use desmos to help with plotting points and graph \(y = \cot (t)\) over the interval \([0,2\pi ]\) below.

As usual, pasting copies end to end produces the graph of \(K(t) = \cot (t)\) below.

As with \(J(t) = \tan (t)\), the graph of \(K(t) = \cot (t)\) suggests \(K\) is odd, a fact we leave to the reader to prove in Exercise ??. Also, we see that the period of cotangent (like tangent) is \(\pi \) and the range is \((-\infty , \infty )\).

We take as one fundamental cycle the graph as traced out over the interval \((0,\pi )\), highlighted above, with quarter marks: \(t= 0\), \(t=\frac {\pi }{4}\), \(t=\frac {\pi }{2}\), \(t=\frac {3\pi }{4}\) and \(t=\pi \).

The properties of the tangent and cotangent functions are summarized below. As with Theorem 1, each of the results below can be traced back to properties of the cosine and sine functions and the definition of the tangent and cotangent functions as quotients thereof.

Unlike the secant and cosecant functions, the tangent and cotangent functions have different periods than sine and cosine. Moreover, in the case of the tangent function, the fundamental cycle we’ve chosen starts at \(-\frac {\pi }{2}\) instead of \(0\). Nevertheless, we can use the same notions of period and phase shift to graph transformed versions of tangent and cotangent functions, since these results ultimately trace back to applying Theorem ??. We state a version of Theorem ?? for tangent and cotangent functions below.

The proof of the proof of Theorem 4 is left to the reader in Exercise ??.

We put Theorem 4 to good use in the following example.

Our next example flips the script and we reverse engineer tangent and cotangent functions from a graph.

Once again, our answers to Example 4 are one of many, and we invite the reader to think about what all of the solutions would have in common. We close this section with an application.

3 Extended Interval Notation

Using interval notation to describe the domains of the secant, cosecant, tangent, and cotangent functions is complicated by the fact there are infinitely many intervals to represent. In this section, we introduce extended interval notation to handle these situations.

Let us return to the domain of \(F(t) = \sec (t)\), \(\{ t \, | \, t \neq \frac {\pi }{2} + \pi k, \text {for integers $k$} \}\). Using interval notation, we describe this set as: \(\ldots \cup \left ( -\frac {5\pi }{2}, -\frac {3\pi }{2}\right ) \cup \left ( -\frac {3\pi }{2}, -\frac {\pi }{2}\right ) \cup \left (-\frac {\pi }{2}, \frac {\pi }{2}\right ) \cup \left (\frac {\pi }{2}, \frac {3\pi }{2}\right ) \cup \left (\frac {3\pi }{2}, \frac {5\pi }{2}\right ) \cup \ldots \)

In order to write this set in a more compact way, we let \(t_{k}\) denote the the \(k\)th real number excluded from the domain. That is, \(t_{k} = \frac {\pi }{2} + \pi k\). (This is sequence notation from Chapter ??.)

Getting a common denominator and factoring out the \(\pi \) in the numerator, we get \(t_{k} = \frac {(2k+1)\pi }{2}\). The set we’re after consists of the union of intervals determined by the successive points \(t_{k}\): \(\left (t_{k}, t_{k+1}\right ) = \left ( \frac {(2k+1)\pi }{2}, \frac {(2k+3)\pi }{2}\right )\) where \(k\) ranges through the integers. We denote this union as:

\[\bigcup _{k = -\infty }^{\infty } \left ( \frac {(2k+1)\pi }{2}, \frac {(2k+3) \pi }{2} \right ).\]

The reader should compare this notation with summation notation introduced in Section ??, in particular the notation used to describe geometric series in Theorem ??. In the same way the index \(k\) in the series

\[\sum _{k = 1}^{\infty } a r^{k-1}\]

never equals \(\infty \), but rather, ranges through all of the natural numbers, the index \(k\) in the union

\[\bigcup _{k = -\infty }^{\infty } \left ( \frac {(2k+1)\pi }{2}, \frac {(2k+3) \pi }{2} \right )\]

never equals \(\infty \) or \(-\infty \), but rather, this conveys the idea that \(k\) ranges through all of the integers.

Using extended interval notation, we summarize the domains and ranges of all six circular functions below.