Skip to main content
K12 LibreTexts

2.7.3: Tangent and Cotangent Graphs

  • Page ID
    14939
  • \( \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}}\)

    Involve asymptotes spaced \(\pi\) radians apart.

    What if your instructor gave you a set of graphs like these:

    f-d_0746efad6ab278b2eaecd90c373d56b9498833330e98f37c3e0ce6b3+IMAGE_THUMB_POSTCARD_TINY+IMAGE_THUMB_POSTCARD_TINY.png
    Figure \(\PageIndex{1}\)

    and asked you to identify which were the graphs of the tangent and cotangent functions?

    Tangent and cotangent Graphs

    The name of the tangent function comes from the tangent line of a circle. This is a line that is perpendicular to the radius at a point on the circle so that the line touches the circle at exactly one point.

    f-d_eaae910cd68c4673d197997fb0426b9d4b06c14a51a737988ec49254+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{2}\)

    If we extend angle \(\theta \) through the unit circle so that it intersects with the tangent line, \(\tan \theta \) will be equal to the length of the red segment. Below, this segment is labeled the "tangent segment".

    f-d_8cbdffccfb7492d154b2f9f70209fd28ed62bb48bec936adf7579ef1+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{3}\)

    Why? The dashed segment is 1 because it is the radius of the unit circle. Recall that in general, \(\tan \theta =\dfrac{y}{x}\). So here, \(\tan \theta =\dfrac{\text{tangent segment}}{1}=\text{tangent segment}\)

    As the value of \(\theta \) increases, the value of \(\tan \theta\) changes. As we rotate through the first quadrant, the value of \(\tan \theta \) will increase very slowly at first and then more rapidly.

    f-d_d97f1b2083d9f2b9768cd13cee5cb056bc878f8efc0e77995b499694+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{4}\)
    f-d_ddec3968c961271f56a40d6eddd0e109fa98588fe766e0bf9a6efc83+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{5}\)
    f-d_650eb21c40a4adb99ee702852f8a0e980bd067df3ddb1235e7de6c65+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{6}\)

    As we get very close to the y−axis the segment gets infinitely large, until when the angle really hits \( 90^{\circ}\), at which point the extension of the angle and the tangent line will actually be parallel and therefore never intersect.

    f-d_64e5a6c9532feaa7df3219c21d7378a2c8833170c3b60da8782b4a9f+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{7}\)

    This means there is no finite length of the tangent segment, or the tangent segment is infinitely large.

    Let’s translate this portion of the graph onto the coordinate plane. Plot \((\theta ,\tan \theta )\) as \((x,y)\).

    f-d_e7d8377c8a672e622d31d744b5e2fb6bd05a8dea8fb90c0fc32c348f+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{8}\)
    f-d_037f93bc12007bacbd94c24bc036038a4488d9ea45abb909c68b6834+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{9}\)
    f-d_8a86b5a191bece1f8cee23d27d1145533f031e8253f0e5b89eeeea14+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{10}\)
    f-d_58f37f8036b33867c39b42c682960043995c99ee1d6ede3b4c132230+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{11}\)

    In fact as we get infinitely close to \(90^{\circ}\), the tangent value increases without bound, until when we actually reach \(90^{\circ}\), at which point the tangent is undefined. Recall there are some angles (\(90^{\circ}\) and \(270^{\circ}\), for example) for which the tangent is not defined. Therefore, at these points, there are going to be vertical asymptotes.

    Rotating past \(90^{\circ}\), the intersection of the extension of the angle and the tangent line is actually below the x−axis. This fits nicely with what we know about the tangent for a \(2^{nd}\) quadrant angle being negative. At first, it will have very large negative values, but as the angle rotates, the segment gets shorter, reaches 0, then crosses back into the positive numbers as the angle enters the \(3^{rd}\) quadrant. The segment will again get infinitely large as it approaches \(270^{\circ}\). After being undefined at \(270^{\circ}\), the angle crosses into the \(4^{th}\) quadrant and once again changes from being infinitely negative, to approaching zero as we complete a full rotation.

    f-d_8a54c8fbcf3a384fa6ce83ecbd1278c0bd96fea76dd83cf07947cd22+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{12}\)
    f-d_519c372dcdc9c456deec5880abb7373078c3d85412df859ee0f37b3f+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{13}\)
    f-d_caaa266dcb68bcae160d4e5160646652fcaa5e93473e47f3dfd6d113+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{14}\)

    The graph \(y=\tan x\) over several rotations would look like this:

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

    Notice the x−axis is measured in radians. Our asymptotes occur every \(\pi \) radians, starting at \(\dfrac{\pi}{2}\). The period of the graph is therefore \(\pi \) radians. The domain is all reals except for the asymptotes at \(\dfrac{\pi}{2},\; \dfrac{3\pi}{2} ,\; −\dfrac{\pi}{2}\), etc. and the range is all real numbers.

    cotangent is the reciprocal of tangent, \(\dfrac{x}{y}\), so it would make sense that where ever the tangent had an asymptote, now the cotangent will be zero. The opposite of this is also true. When the tangent is zero, now the cotangent will have an asymptote. The shape of the curve is generally the same, so the graph looks like this:

    f-d_810dfcd81177bec7c0e6b1db3a09fc2c9d3cba3bb6678cf969b597c0+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{16}\)
    f-d_d4f2e8cf75121c2483f881e69b04d58ce1fdd8e9192248cefb82ef3e+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{17}\)

    When you overlap the two functions, notice that the graphs consistently intersect at 1 and -1. These are the angles that have \(45^{\circ}\) as reference angles, which always have tangents and cotangents equal to 1 or -1. It makes sense that 1 and -1 are the only values for which a function and it’s reciprocal are the same. Keep this in mind as we look at cosecant and secant compared to their reciprocals of sine and cosine.

    The cotangent function has a domain of all real angles except multiples of \(\pi {\ldots −2\pi ,−\pi , 0, \pi , 2\pi \ldots}\) The range is all real numbers.

    Sketching Graphs

    1. Sketch the graph of \(g(x)=−2+\cot \dfrac{1}{3}x\) over the interval \([0,6\pi ]\)

    Starting with \(y=\cot x\), \(g(x)\) would be shifted down two and frequency is \(\dfrac{1}{3}\), which means the period would be \(3\pi \), instead of \(9\pi \). So, in our interval of \([0,6\pi ]\) there would be two complete repetitions. The red graph is \(y=\cot x\).

    f-d_319af90f3285241eae8d83aa6b6f990ddbd2a05324135371ddfcb602+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{18}\)

    2. Sketch the graph of \(y=−3\tan \left(x−\dfrac{\pi}{4} \right)\) over the interval \([−\pi , 2\pi ]\)

    If you compare this graph to \(y=\tan x\), it will be stretched and flipped. It will also have a phase shift of \(\dfrac{\pi}{4} \) to the right. The red graph is \(y=\tan x\).

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

    3. Sketch the graph of \(h(x)=4\tan \left(x+\dfrac{\pi}{2}\right)+3\) over the interval \([0,2\pi ]\)

    The constant in front of the tangent function will cause the graph to be stretched. It will also have a phase shift of \(\dfrac{\pi}{2}\) to the left. Finally, the graph will be shifted up three. Here you can see both graphs, where the red graph is \(y=\tan x\).

    f-d_37750a9a86a1d32e110e1630d2959fbb37a38fa28ebdab6e22302da2+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{20}\)
    Example \(\PageIndex{1}\)

    Earlier, you were asked to identify which graphs are tangent and cotangent.

    Solution

    As you can tell after completing this section, when presented with the graphs:

    1. f-d_359c9ec86300870ded7b0d256bbc518f4aed88fbcee03f92bfdbf08e+IMAGE_TINY+IMAGE_TINY.jpg
      Figure \(\PageIndex{21}\)
    2. f-d_1eb90bf52af003c8523060c0ecd961166e006a1ad14e9343abf75768+IMAGE_TINY+IMAGE_TINY.jpg
      Figure \(\PageIndex{22}\)
    3. f-d_35f229ef73a0074c7da5c9b33bc8958dd8cefa31db7d815ac7acb06b+IMAGE_TINY+IMAGE_TINY.jpg
      Figure \(\PageIndex{23}\)
    4. f-d_d8e15f828dcd8c67ab8a99cdc979727a3717974ffa57efcb1a401762+IMAGE_TINY+IMAGE_TINY.jpg
      Figure \(\PageIndex{24}\)
    5. f-d_a6e29259dcc3345d244ada5284e4e8e3de66412e998d9e575cdc0f0c+IMAGE_TINY+IMAGE_TINY.jpg
      Figure \(\PageIndex{25}\)
    6. f-d_e794236b76f4798e53b98077bb06b31749ea757588ad2a5a2afc8789+IMAGE_TINY+IMAGE_TINY.jpg
      Figure \(\PageIndex{26}\)

    The tangent and cotangent graphs are the third and sixth graphs.

    Example \(\PageIndex{2}\)

    Graph \(y=−1+\dfrac{1}{3}\cot 2x\)

    Solution

    f-d_4f206e13e097122731f8658f0bb9835e3139c33f4dc68bb494ab5334+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{27}\)
    Example \(\PageIndex{4}\)

    Graph \(f(x)=4+\tan (0.5(x−\pi ))\)

    Solution

    f-d_9ef0528c781b401eba05ef85ed9a3934d281b37aa9a3a9c749ea9635+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{28}\)
    Example \(\PageIndex{5}\)

    Graph \(y=−2\tan 2x\)

    Solution

    f-d_dfe45f0700bc42272b62d03a61bdf9a6f9d64863daa4092c63cc99f8+IMAGE_TINY+IMAGE_TINY.jpg
    Figure \(\PageIndex{29}\)

    Review

    Graph each of the following functions

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

    Review (Answers)

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

    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.3: Tangent and Cotangent 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?