Graphs of the Other Trigonometric Functions: Learn It 2

Graphing Transformations of y = tan x

Graphing One Period of a Shifted Tangent Function

Now that we can graph a tangent function that is stretched or compressed, we will add a vertical and/or horizontal (or phase) shift. In this case, we add C and D to the general form of the tangent function.

[latex]f(x)=A\tan(Bx−C)+D[/latex]

The graph of a transformed tangent function is different from the basic tangent function tan x in several ways:

features of the graph of [latex]y = A\tan\left(Bx−C\right)+D[/latex]

  • The period is [latex]\frac{\pi}{|B|}[/latex].
  • The domain is [latex]x\ne\frac{C}{B}+\frac{\pi}{|B|}k[/latex], where k is an integer.
  • The range is [latex](-\infty,\infty)[/latex]
  • The vertical asymptotes occur at [latex]x=\frac{C}{B}+\frac{\pi}{2|B|}k[/latex], where k is an odd integer.
  • There is no amplitude.
  • [latex]y=A\tan(Bx)[/latex] is an odd function because it is the quotient of odd and even functions (sine and cosine respectively).
How To: Given the function [latex]y=A\tan(Bx−C)+D[/latex], sketch the graph of one period.

  1. Express the function given in the form [latex]y=A\tan(Bx−C)+D[/latex].
  2. Identify the stretching/compressing factor, |A|.
  3. Identify B and determine the period, [latex]P=\frac{\pi}{|B|}[/latex].
  4. Identify C and determine the phase shift, [latex]\frac{C}{B}[/latex].
  5. Draw the graph of [latex]y=A\tan(Bx)[/latex] shifted to the right by [latex]\frac{C}{B}[/latex] and up by D.
  6. Sketch the vertical asymptotes, which occur at [latex]x=\frac{C}{B}+\frac{\pi}{2|B|}k[/latex], where k is an odd integer.
  7. Plot any three reference points and draw the graph through these points.
Graph one period of the function [latex]y=−2\tan(\pi x+\pi)−1[/latex].

How would the graph in Example 2 look different if we made A = 2 instead of −2?

Find a formula for the function.A graph of two periods of a modified tangent function, with asymptotes at x=-4 and x=4.

Find a formula for the function.A graph of four periods of a modified tangent function, Vertical asymptotes at -3pi/4, -pi/4, pi/4, and 3pi/4.