Home

How to Graph a Tangent Function

|
|  Updated:  
2021-07-09 17:08:01
Pre-Calculus All-in-One For Dummies
Explore Book
Buy On Amazon
The tangent function has a parent graph just like any other function. Using the graph of this function, you can make the same type of transformation that applies to the parent graph of any function. The easiest way to remember how to graph the tangent function is to remember that

The tangent function.

some interesting things happen to tangent's graph. When the denominator of a fraction is 0, the fraction is undefined. Therefore, the graph of tangent has asymptotes, which is where the function is undefined, at each of these places.

The sine, cosine, and tangent of an angle.

It shows the roots (or zeros), the asymptotes (where the function is undefined), and the behavior of the graph in between certain key points on the unit circle.

Table shows the sine, cosine, and tangent of an angle as well as their rootas and asymptotes.

To plot the parent graph of a tangent function f(x) = tan x where x represents the angle in radians, you start out by finding the vertical asymptotes. Those asymptotes give you some structure from which you can fill in the missing points.

  1. Find the vertical asymptotes so you can find the domain.

    These steps use x instead of theta because the graph is on the x-y plane. In order to find the domain of the tangent function f(x) = tan x, you have to locate the vertical asymptotes. The first asymptote occurs when the angle

    The first vertical asymptote in a tangent's graph.

    (Note: The period of the tangent graph is

    Pi radians.

    which is different from that of sine and cosine.) Tangent, in other words, has asymptotes when

    Tangent's asymptotes.

    The easiest way to write this is

    An easy way to express the asymptotes for the tangent function.

    where n is an integer. You write

    N in n times pi is an integer.

    so if an asymptote is at

    Pi halves plus pi equals one of the tangent function's asymptote.

    you automatically find the next asymptote.

  2. Determine values for the range.

    Recall that the tangent function can be defined as

    Sine over cosine equals tangent.

    The closer you get to the values where

    The cosine for x equals zero

    the smaller the number on the bottom of the fraction gets and the larger the value of the overall fraction gets — in either the positive or negative direction.

    The range of tangent has no restrictions; you aren't stuck between 1 and –1, like with sine and cosine. In fact, the ratios are any and all numbers. The range is

    The range for tangent is negative infinite to infinite.
  3. Calculate the graph's x-intercepts.

    Tangent's parent graph has roots (it crosses the x-axis) at

    Zero, pi and two times pi.

    You can find these values by setting

    Sine over cosine

    equal to 0 and then solving. The x-intercepts for the parent graph of tangent are located wherever the sine value is 0.

  4. Figure out what's happening to the graph between the intercepts and the asymptotes.

    • The graph of f(x) = tan x is positive for angles in the first quadrant (with respect to the unit circle) and points upward toward the asymptote at pi/2, because all sine and cosine values are positive for angles in the first quadrant.

    • The graph of f(x) = tan x is negative for angles in Quadrant II because sine is positive and cosine is negative for angles in this quadrant.

    • The graph of f(x) = tan x is positive for angles in Quadrant III because both sine and cosine are negative.

    • Finally, the graph of f(x) = tan x is positive for angles in Quadrant IV because sine is negative and cosine is positive for angles in this quadrant.

      A tangent graph

    Note: A tangent graph has no maximum or minimum points.

The figure shows the parent graph of tangent,

Function of x equals the tangent of x.

About This Article

This article is from the book: 

About the book author:

Mary Jane Sterling (Peoria, Illinois) is the author of Algebra I For Dummies, Algebra Workbook For Dummies, Algebra II For Dummies, Algebra II Workbook For Dummies, and many other For Dummies books. She taught at Bradley University in Peoria, Illinois for more than 30 years, teaching algebra, business calculus, geometry, and finite mathematics.