Skip to main content
K12 LibreTexts

2.7.5: Cosine and Secant Graphs

  • Page ID
    14941
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Wave based on x value and radius of a circle; graph based on the reciprocal.

    Imagine for a moment that you have a clock that has only one hand - that rotates counterclockwise!. However, the hand is very slim all the way until the tip, where there is a ball on the end. In fact, the hand is so slim you won't notice it. You only notice the ball on the end of the rotating hand. This hand is rotating faster than normal.

    f-d_9a070a7518368da63aeb9efdd807def3b397fcadaacd79f86572c9ea+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{1}\)

    Consider what it would be like if you put a light above the clock and let the shadow of the hands fall on the wall under the clock. What pattern would that shadow trace out? If you think about it, you might realize that the shadow would make an left and right motion, over and over as the hand of the clock rotated. Now imagine that instead of a wall, there was a large piece of paper for the shadow to fall on. And wherever the shadow fell, there would be a mark on the paper. Finally, imagine moving the paper as the clock rotates. Can you imagine sort of pattern this would trace out?

    Cosine and Secant Graphs

    If you have read other Trigonometry sections in this course, you may have learned that sine and cosine are very closely related. The cosine of an angle is the same as the sine of its complementary angle. So, it should not be a surprise that sine and cosine waves are very similar in that they are both periodic with a period of \(2\pi \), a range from -1 to 1, and a domain of all real angles.

    The cosine of an angle is the ratio of \(\dfrac{x}{r}\), so in the unit circle, the cosine is the x−coordinate of the point of rotation. If we trace the x−coordinate through a rotation, notice the change in the distance of \(\cos x\) starts at one. The x−coordinate at \(0^{\circ}\) is 1 and the x−coordinate for \(90^{\circ}\) is 0, so the cosine value is decreasing from 1 to 0 through the 1st quadrant.

    f-d_df2f1866a6dd75aba62f9b67b711b17cfb66db6d35e734cadb4b62e0+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{2}\)
    f-d_463e5ddebe2d47f9c2a2076f63ad190df9a96567ec1c500a68d5d9d5+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{3}\)
    f-d_aec5ed7857449c77bd5b67eb7b3f187ab3b529d9b65a3b7e7de62343+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{4}\)
    f-d_c4c5f634937971fe9ee1f5e86fe18cfde8de8a2ab626c774d477099c+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{5}\)

    Here is a sequence of rotations. Compare the x− coordinate of the point of rotation with the height of the point as it traces along the horizontal. These pictures plot \((\theta ,\cos \theta )\) on the coordinate plane as \((x,y)\).

    f-d_68cf48503a8a8921617480029131acc8bfa0089f92c8bc33aa53f7e1+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{6}\)
    f-d_3e2e9afef3c3db4291cd68abb9076d073272db1782c3ca193636dbb6+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{7}\)
    f-d_875caef12dd303394ba8ac7711b91d0fafe083a52c46abdfbc81224c+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{8}\)
    f-d_fc343b332dfa0e29c9deeb745e927bfe7e1ca24336aef1a1d6109af0+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{9}\)
    f-d_ebabf7f014c73bbaf5158ee89f5436ce62d998d4cd10c76d9a97d572+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{10}\)

    Plotting the quadrant angles and filling in the in-between values shows the graph of \(y=\cos x\)

    f-d_268c21365c6a5a70c4a2244136dbc9dd16edded1a857837533c2b204+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{11}\)
    f-d_155aef337f5ffc19f5ffc54aa499ee517a3528afa5d614e8e84ec75a+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{12}\)

    The graph of \(y=\cos x\) has a period of \(2\pi \). The range of a cosine curve is \({−1\leq y\leq 1}\) and the domain of \(\cos x\) is all reals. If you've studied the sine function, you may notice that the shape of the curve is exactly the same, but shifted by \(\dfrac{\pi }{2}\).

    Secant is the reciprocal of cosine, or \(\dfrac{1}{x}\). Therefore, whenever the cosine is zero, the secant is going to have a vertical asymptote because it will be undefined. It also has the same sign as the cosine function in the same quadrants. Here is the graph.

    f-d_ee2ad92825556a562ae3aad5b3951e9a6aa514fee7fb5b91041003cb+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{13}\)

    The period of the function is \(2\pi \), just like cosine. The domain of the function is all real numbers, except multiples of \(\pi \) starting at \(\dfrac{\pi }{2} \cdot \left\{\ldots, −\dfrac{\pi }{2},\dfrac{\pi }{2}, 0, \dfrac{3\pi }{2}, \dfrac{5 \pi }{2} \ldots \right\}\). The range is all real numbers greater than or equal to 1 as well as all real numbers less than or equal to -1. Notice that the range is everything except where cosine is defined (other than the tops and bottoms of the cosine curve).

    f-d_b42ef91d6d5e7a732a1838546bb845b9dfccef527f2c1fa156ee63bb+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{14}\)

    Notice again the reciprocal relationships at 0 and the asymptotes. Also look at the intersection points of the graphs at 1 and -1. Again, this graph looks parabolic, but it is not.

    Sketch the graph

    Sketch a graph of \(h(x)=5+\dfrac{1}{2}\sec 4x\) over the interval \([0,2\pi ]\).

    If you compare this example to \(f(x)=\sec x\), it will be translated 5 units up, with an amplitude of \(\dfrac{1}{2}\) and a frequency of 4. This means in our interval of 0 to \(2\pi \), there will be 4 secant curves.

    f-d_2dcc42a06106e54b9d5a387ece7c0514f18823bdccdad42596220dd9+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{15}\)

    Find the equation for the graph below.

    f-d_12ad0579c475e0b3d00985d8642b6583e7ea8ea163964328c9fd23fe+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{16}\)

    First of all, this could be either a secant or cosecant function. Let’s say this is a secant function. Secant usually intersects the y−axis at (0,1) at a minimum. Now, that corresponding minimum is \(\left(\dfrac{\pi }{2},−2\right)\). Because there is no amplitude change, we can say that the vertical shift is the difference between the two y−values, -3. It looks like there is a phase shift and a period change. From minimum to minimum is one period, which is \(\dfrac{9 \pi }{2}−\dfrac{\pi }{2}=\dfrac{8\pi }{2}=4\pi \) and \(B=\dfrac{2\pi }{4\pi} =\dfrac{1}{2}\). Lastly, we need to find the horizontal shift. Since secant usually intersects the y−axis at \((0,1)\) at a minimum, and now the corresponding minimum is \(\left(\dfrac{\pi }{2},−2\right)\), we can say that the horizontal shift is the difference between the two x−values, \(\dfrac{\pi }{2}\). Therefore, our equation is \(f(x)=−3+\sec \left(\dfrac{1}{2}\left(x−\dfrac{\pi }{2}\right)\right)\).

    Graph the function \(h(x)=2−3\cos 4x\)

    f-d_9302c48da46e43debc6cda9de1a5d2baad9844406cd5900f97e63f52+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{17}\)
    Example \(\PageIndex{1}\)

    Earlier, you were asked what would the shadow trace out.

    Solution

    As you have learned in this section, a light shining down on the rotating hand would create a shadow in the pattern of a cosine function, starting at a maximum value as the hand is lying along the "x" axis, going through zero to a maximum negative value when the hand is lying along the negative "y" axis. It would then begin to increase until it returned to a maximum value when the rotating hand was again lying along the positive "x" axis.

    Example \(\PageIndex{2}\)

    Graph \(y=−2+\dfrac{1}{2}\sec (4(x−1))\).

    Solution

    f-d_2fd3288b080d51cc38fbc527fe5182b7d9ef078d1b6048bea1dfbc07+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{18}\)
    Example \(\PageIndex{3}\)

    Determine the function creating this graph:

    f-d_dc690df4fd59623d7dd52474cbe7746b344495dbe317c988e9876150+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{19}\)

    Solution

    This could be either a secant or cosecant function. We will use a cosecant model. First, the vertical shift is -1. The period is the difference between the two given x−values, \(7\dfrac{\pi }{4}−\dfrac{3 \pi }{4}=\pi \), so the frequency is \(\dfrac{2\pi }{\pi }=2\). The horizontal shift incorporates the frequency, so in \(y=\csc x\) the corresponding x−value to \(\left(\dfrac{3 \pi }{4},0\right)\) is \(\left(\dfrac{\pi }{2},1\right)\). The difference between the x−values is \(\dfrac{3 \pi }{4}−\dfrac{\pi }{2}=\dfrac{3 \pi }{4}−\dfrac{2\pi }{4}=\dfrac{\pi }{4}\) and then multiply it by the frequency, \(2\cdot \dfrac{\pi }{4}=\dfrac{\pi }{2}\). The equation is \(y=−1+\csc \left(2\left(x−\dfrac{\pi }{2}\right)\right)\).

    Example \(\PageIndex{4}\)

    Graph \(h(x)=\dfrac{1}{3}\cos 2x\)

    Solution

    f-d_e10bf832105afbde068bfd73c68ea7ccaf05fb38e669a70b5d63b082+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{20}\)

    Review

    Graph each of the following functions.

    1. \(f(x)=\cos (x)\).
    2. \(h(x)=\cos (2x)\).
    3. \(k(x)=\cos (2x+\pi )\).
    4. \(m(x)=−2\cos (2x+\pi )\).
    5. \(g(x)=−2\cos (2x+\pi )+1\).
    6. \(f(x)=\sec (x)\).
    7. \(h(x)=\sec (3x)\).
    8. \(k(x)=\sec (3x+\pi )\).
    9. \(m(x)=2\sec (3x+\pi )\).
    10. \(g(x)=3+2\sec (3x+\pi )\).
    11. \(h(x)=\cos \left(\dfrac{x}{2} \right )\).
    12. \(k(x)=\cos \left(\dfrac{x}{2}+\dfrac{\pi }{2}\right)\).
    13. \(m(x)=2\cos \left(\dfrac{x}{2}+\dfrac{\pi }{2}\right)\).
    14. \(g(x)=2\cos \left(\dfrac{x}{2}+\dfrac{\pi }{2}\right)−3\).
    15. \(h(x)=\sec \left(\dfrac{x}{4}\right)\).
    16. \(k(x)=\sec \left(\dfrac{x}{4}+\dfrac{3\pi }{2}\right)\).
    17. \(m(x)=−3\sec \left(\dfrac{x}{4}+\dfrac{3\pi }{2}\right)\).
    18. \(g(x)=2−3\sec \left(\dfrac{x}{4}+\dfrac{3\pi }{2}\right)\).

    Review (Answers)

    To see the Review answers, open this PDF file and look for section 2.10.

    Vocabulary

    Term Definition
    Circular Function A circular function is a function measured by examining the angle of rotation around the coordinate plane.

    This page titled 2.7.5: Cosine and Secant Graphs is shared under a CK-12 license and was authored, remixed, and/or curated by CK-12 Foundation via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.

    CK-12 Foundation
    LICENSED UNDER
    CK-12 Foundation is licensed under CK-12 Curriculum Materials License
    • Was this article helpful?