Skip to main content ?

Section 2.2 : Graphs of Trig Functions

There is not a whole lot to this section. It is here just to remind you of the graphs of the six trig functions as well as a couple of nice properties about trig functions.

Before jumping into the problems remember we saw in the Trig Function Evaluation section that trig functions are examples of periodic functions. This means that all we really need to do is graph the function for one periods length of values then repeat the graph.

Graph the following function. Show All Solutions Hide All Solutions

  1. \(y = \cos \left( x \right)\)
    Show Solution

    There really isn’t a whole lot to this one other than plotting a few points between 0 and \(2\pi \), then repeat. Remember cosine has a period of \(2\pi \) (see Problem 5 in Trig Function Evaluation).

    Here’s the graph for \( - 4\pi \le x \le 4\pi \).

    The graph of \(y = \cos \left( x \right)\) on \( - 4\pi \le x \le 4\pi \).  It is a wave with peaks at \(y = 1\) and valleys at \(y = - 1\) and a period of \(2\pi \), so there are four complete cycles shown.  The graph has a peak at \(x = 0\).

    Notice that graph does repeat itself 4 times in this range of \(x\)’s as it should.

    Let’s also note here that we can put all values of \(x\) into cosine (which won’t be the case for most of the trig functions) and let’s also note that

    \[ - 1 \le \cos \left( x \right) \le 1\]

    It is important to notice that cosine will never be larger than 1 or smaller than -1. This will be useful on occasion in a calculus class.

  2. \(y = \cos \left( {2x} \right)\)
    Show Solution

    We need to be a little careful with this graph. \(\cos \left( x \right)\) has a period of \(2\pi \), but we’re not dealing with \(\cos \left( x \right)\) here. We are dealing with \(\cos \left( {2x} \right)\). In this case notice that if we plug in \(x = \pi \) we will get

    \[\cos \left( {2\left( \pi \right)} \right) = \cos \left( {2\pi } \right) = \cos \left( 0 \right) = 1\]

    In this case the function starts to repeat itself after \(\pi \) instead of \(2\pi \)! So, this function has a period of \(\pi \). So, we can expect the graph to repeat itself 8 times in the range \( - 4\pi \le x \le 4\pi \). Here is that graph.

    The graph of \(y = \cos \left( {2x} \right)\) on \( - 4\pi \le x \le 4\pi \).  It is a wave with peaks at \(y = 1\) and valleys at \(y = - 1\) and a period of \(\pi \), so there are eight complete cycles shown, twice as many as the graph of \(\cos \left( x \right)\).

    Sure enough, there are twice as many cycles in this graph.

    In general, we can get the period of \(\cos \left( {\omega \,x} \right)\) using the following.

    \[{\rm{Period}} = \frac{{2\pi }}{\omega }\]

    If \(\omega > 1\) we can expect a period smaller than \(2\pi \) and so the graph will oscillate faster. Likewise, if \(\omega < 1\) we can expect a period larger than \(2\pi \) and so the graph will oscillate slower.

    Note that the period does not affect how large cosine will get. We still have

    \[ - 1 \le \cos \left( {2x} \right) \le 1\]
  3. \(y = 5\cos \left( {2x} \right)\)
    Show Solution

    In this case I added a 5 in front of the cosine. All that this will do is increase how big cosine will get. The number in front of the cosine or sine is called the amplitude. Here’s the graph of this function.

    The graph of \(y = 5\cos \left( {2x} \right)\) on \( - 4\pi \le x \le 4\pi \).  It is a wave with the same period of \(\pi \) as the graph of \(\cos \left( {2x} \right)\), so there are eight complete cycles shown, but the peaks are now at \(y = 5\) and the valleys at \(y = - 5\).

    Note the scale on the \(y\)-axis for this problem and do not confuse it with the previous graph. The \(y\)-axis scales are different!

    In general,

    \[ - R \le R\cos \left( {\omega \,x} \right) \le R\]
  4. \(y = \sin \left( x \right)\)
    Show Solution

    As with the first problem in this section there really isn’t a lot to do other than graph it. Here is the graph on the range \( - 4\pi \le x \le 4\pi \).

    The graph of \(y = \sin \left( x \right)\) on \( - 4\pi \le x \le 4\pi \).  It is a wave with peaks at \(y = 1\) and valleys at \(y = - 1\) and a period of \(2\pi \), so there are four complete cycles shown.  The graph passes through the origin going upwards.

    From this graph we can see that sine has the same range that cosine does. In general

    \[ - R \le R\sin \left( {\omega \,x} \right) \le R\]

    As with cosine, sine itself will never be larger than 1 and never smaller than -1.

  5. \(\displaystyle y = \sin \left( {\frac{x}{3}} \right)\)
    Show Solution

    So, in this case we don’t have just an \(x\) inside the parenthesis. Just as in the case of cosine we can get the period of \(\sin \left( {\omega \,x} \right)\) by using

    \[\text{Period}=\frac{2\pi }{\omega }=\frac{2\pi }{{}^{1}/{}_{3}}=6\pi \]

    In this case the curve will repeat every \(6\pi \). So, for this graph I’ll change the range to \( - 6\pi \le x \le 6\pi \) so we can get at least two traces of the curve showing. Here is the graph.

    The graph of \(y = \sin \left( {\frac{x}{3}} \right)\) on \( - 6\pi \le x \le 6\pi \).  It is a wave with peaks at \(y = 1\) and valleys at \(y = - 1\) and a period of \(6\pi \), so only two complete cycles are shown.  The graph passes through the origin going upwards.
  6. \(y = \tan \left( x \right)\)
    Show Solution

    In the case of tangent, we have to be careful when plugging \(x\)’s in since tangent doesn’t exist wherever cosine is zero (remember that \(\tan x = \frac{{\sin x}}{{\cos x}}\)). Tangent will not exist at

    \[x = \cdots , - \frac{{5\pi }}{2}, - \frac{{3\pi }}{2}, - \frac{\pi }{2},\frac{\pi }{2},\frac{{3\pi }}{2},\frac{{5\pi }}{2}, \ldots \]

    and the graph will have asymptotes at these points. Here is the graph of tangent on the range \( - \frac{{5\pi }}{2} < x < \frac{{5\pi }}{2}\).

    The graph of \(y = \tan \left( x \right)\) on \( - \frac{{5\pi }}{2} < x < \frac{{5\pi }}{2}\).  There are dashed vertical asymptotes at \(x = - \frac{{5\pi }}{2}\), \( - \frac{{3\pi }}{2}\), \( - \frac{\pi }{2}\), \(\frac{\pi }{2}\), \(\frac{{3\pi }}{2}\) and \(\frac{{5\pi }}{2}\).  Between each pair of asymptotes the graph is an increasing curve that comes up from negative infinity on the left, passes through the x-axis at the midpoint and goes up to positive infinity on the right, and this shape repeats with a period of \(\pi \).

    Finally, a couple of quick properties about \(R\tan \left( {\omega \,x} \right)\).

    \[\begin{array}{c} - \infty < R\tan \left( {\omega \,x} \right) < \infty \\ {\rm{Period}} = \displaystyle \frac{\pi }{\omega }\end{array}\]

    For the period remember that \(\tan \left( x \right)\) has a period of \(\pi \) unlike sine and cosine and that accounts for the absence of the 2 in the numerator that was there for sine and cosine.

  7. \(y = \sec \left( x \right)\)
    Show Solution

    As with tangent we will have to avoid \(x\)’s for which cosine is zero (remember that \(\sec x = \frac{1}{{\cos x}}\)). Secant will not exist at

    \[x = \cdots , - \frac{{5\pi }}{2}, - \frac{{3\pi }}{2}, - \frac{\pi }{2},\frac{\pi }{2},\frac{{3\pi }}{2},\frac{{5\pi }}{2}, \ldots \]

    and the graph will have asymptotes at these points. Here is the graph of secant on the range \( - \frac{{5\pi }}{2} < x < \frac{{5\pi }}{2}\).

    The graph of \(y = \sec \left( x \right)\) on \( - \frac{{5\pi }}{2} < x < \frac{{5\pi }}{2}\).  There are dashed vertical asymptotes at \(x = - \frac{{5\pi }}{2}\), \( - \frac{{3\pi }}{2}\), \( - \frac{\pi }{2}\), \(\frac{\pi }{2}\), \(\frac{{3\pi }}{2}\) and \(\frac{{5\pi }}{2}\).  Between the asymptotes the graph alternates between a “U” shaped piece sitting above the x-axis whose lowest point is at \(y = 1\) and an upside down “U” shaped piece below the x-axis whose highest point is at \(y = - 1\).  The graph never takes values between -1 and 1.

    Notice that the graph is always greater than 1 or less than -1. This should not be terribly surprising. Recall that \( - 1 \le \cos \left( x \right) \le 1\). So, 1 divided by something less than 1 will be greater than 1. Also, \({1}/{\pm 1}=\pm 1\) and so we get the following ranges out of secant.

    \[R\sec \left( {\omega \,x} \right) \ge R\hspace{0.5in}{\rm{and}}\hspace{0.55in}R\sec \left( {\omega \,x} \right) \le - R\]
  8. \(y = \csc \left( x \right)\)
    Show Solution

    For this graph we will have to avoid \(x\)’s where sine is zero \(\left( {\csc x = \frac{1}{{\sin x}}} \right)\). So, the graph of cosecant will not exist for

    \[x = \cdots , - 2\pi , - \pi ,0,\pi ,2\pi , \cdots \]

    Here is the graph of cosecant.

    The graph of \(y = \csc \left( x \right)\) on \( - 3\pi < x < 3\pi \).  There are dashed vertical asymptotes at \(x = - 3\pi \), \( - 2\pi \), \( - \pi \), \(0\), \(\pi \), \(2\pi \) and \(3\pi \).  Between the asymptotes the graph alternates between a “U” shaped piece sitting above the x-axis whose lowest point is at \(y = 1\) and an upside down “U” shaped piece below the x-axis whose highest point is at \(y = - 1\).  The graph never takes values between -1 and 1.

    Cosecant will have the same range as secant.

    \[R\csc \left( {\omega \,x} \right) \ge R\hspace{0.5in}{\rm{and}}\hspace{0.5in}R\csc \left( {\omega \,x} \right) \le - R\]
  9. \(y = \cot \left( x \right)\)
    Show Solution

    Cotangent must avoid

    \[x = \cdots , - 2\pi , - \pi ,0,\pi ,2\pi , \cdots \]

    since we will have division by zero at these points. Here is the graph.

    The graph of \(y = \cot \left( x \right)\) on \( - 3\pi < x < 3\pi \).  There are dashed vertical asymptotes at \(x = - 3\pi \), \( - 2\pi \), \( - \pi \), \(0\), \(\pi \), \(2\pi \) and \(3\pi \).  Between each pair of asymptotes the graph is a decreasing curve that comes down from positive infinity on the left, crosses the x-axis at the midpoint and drops to negative infinity on the right, and this shape repeats with a period of \(\pi \).

    Cotangent has the following range.

    \[ - \infty < R\cot \left( {\omega \,x} \right) < \infty \]