topic badge
AustraliaVIC
VCE 12 Methods 2023

3.04 Transformation of tangent

Lesson

Transformations of $\tan x$tanx

Just as we transformed the trigonometric functions $y=\sin x$y=sinx and $y=\cos x$y=cosx we can apply parameters to the equation $y=\tan x$y=tanx to transform it to $y=a\tan\left(b\left(x-c\right)\right)+d$y=atan(b(xc))+d.

Use the geogebra applet below to adjust the parameters in $y=a\tan\left(b\left(x-c\right)\right)+d$y=atan(b(xc))+d and observe how it affects the graph. Try to answer the following questions.

  • Which parameters affect the position of the vertical asymptotes? Which ones don't?
  • Which parameters translate the graph, leaving the shape unchanged? Which ones affect the size?
  • Which parameter changes the period of the graph? Does making this parameter larger make the period larger?

The constants $a$a, $b$b, $c$c and $d$d transform the tangent graph. Let's summarise the impact of each:

Summary

To obtain the graph of $y=a\tan\left(b\left(x-c\right)\right)+d$y=atan(b(xc))+d from the graph of $y=\tan\left(x\right)$y=tan(x):

  • $a$a dilates (stretches) the graph by a factor of $a$a from the $x$x-axis. Before applying translations, this will cause the point $\left(\frac{\pi}{4},1\right)$(π4,1) to stretch to $\left(\frac{\pi}{4},a\right)$(π4,a) and similarly the point $\left(\frac{-\pi}{4},-1\right)$(π4,1) will stretch to $\left(\frac{-\pi}{4},-a\right)$(π4,a)
  • When $a<0$a<0 the graph is reflected about the $x$x-axis. So the graph will be decreasing between the asymptotes rather than increasing
  • $b$b dilates (stretches) the graph by a factor of $\frac{1}{b}$1b from the $y$y-axis. Hence, the period becomes: $period=\frac{\pi}{b}$period=πb
  • When $b<0$b<0 the graph is reflected about the $y$y-axis
  • $c$c translates the graph $c$c units horizontally, when $c>0$c>0, the graph shifts $c$c units to the right and when $c<0$c<0, the graph shifts $|c|$|c| units to the left
  • $d$d translates the graph $d$d units vertically, when $d>0$d>0, the graph shifts $d$d units upwards and when $d<0$d<0, the graph shifts $|d|$|d| units downwards

 

Worked examples

Example 1

Illustrate the change in dilation of the graph $y=\tan x$y=tanx by sketching the graphs of $y=\tan x$y=tanx together with $y=3\tan x$y=3tanx and $y=\frac{2}{7}\tan x$y=27tanx.

Think: Note since only a vertical dilation has been applied all three graphs will share $x$x-intercepts and vertical asymptotes. We first sketch the base graph of $y=\tan x$y=tanx, shown in blue in the graph below. This graph will go through the points $\left(\frac{\pi}{4},1\right)$(π4,1), $\left(0,0\right)$(0,0) and $\left(\frac{-\pi}{4},-1\right)$(π4,1). The asymptotes will be located at $\frac{\pi}{2}$π2, $\frac{-\pi}{2}$π2, $\frac{3\pi}{2}$3π2, $\frac{-3\pi}{2}$3π2,....

The graph of $y=3\tan x$y=3tanx has been vertically dilated by a factor of $3$3. So we can plot the points $\left(\frac{\pi}{4},3\right)$(π4,3) and $\left(\frac{-\pi}{4},-3\right)$(π4,3) to show this stretch clearly. Similarly the graph $y=\frac{2}{7}\tan x$y=27tanx has been vertically dilated by a factor of $\frac{2}{7}$27. To show this we can plot the points $\left(\frac{\pi}{4},\frac{2}{7}\right)$(π4,27) and $\left(\frac{-\pi}{4},\frac{-2}{7}\right)$(π4,27).

Do: The graphs together are shown below.

 

 

Example 2

Sketch the graph of $f(x)=\tan\left(x-\frac{\pi}{4}\right)$f(x)=tan(xπ4).

Think: We see that the function $\tan x$tanx has been moved to the right by a distance of $\frac{\pi}{4}$π4 units. We can sketch this by drawing the base graph of $y=\tan\theta$y=tanθ and shifting each point right by $\frac{\pi}{4}$π4.

The phase shift will also move the asymptotes and since $\tan x$tanx is undefined at $x=\frac{\pi}{2}+n\pi$x=π2+nπ for all integers $n$n, the undefined points for $\tan\left(x-\frac{\pi}{4}\right)$tan(xπ4) must be $x=\frac{3\pi}{4}+n\pi$x=3π4+nπ.

Do: The graph is shown below in purple.

 

Practice questions

question 1

Consider the function $y=-4\tan\frac{1}{5}\left(x+\frac{\pi}{4}\right)$y=4tan15(x+π4).

  1. Determine the period of the function, giving your answer in radians.

  2. Determine the phase shift of the function, giving your answer in radians.

  3. Determine the range of the function.

    $[-1,1]$[1,1]

    A

    $(-\infty,0]$(,0]

    B

    $[0,\infty)$[0,)

    C

    $(-\infty,\infty)$(,)

    D

question 2

The graph of $y=\tan x$y=tanx is shown below. On the same set of axes, draw the graph of $y=5\tan x$y=5tanx.

  1. Loading Graph...

question 3

Select all functions that have the same graph as $y=-\tan x$y=tanx.

  1. $y=-\tan\left(x+\frac{3\pi}{4}\right)$y=tan(x+3π4)

    A

    $y=-\tan\left(x+\pi\right)$y=tan(x+π)

    B

    $y=-\tan\left(x+\frac{\pi}{2}\right)$y=tan(x+π2)

    C

    $y=-\tan\left(x+2\pi\right)$y=tan(x+2π)

    D

Outcomes

U34.AoS1.14

identify key features and properties of the graph of a function or relation and draw the graphs of specified functions and relations, clearly identifying their key features and properties, including any vertical or horizontal asymptotes

U34.AoS1.10

the concepts of domain, maximal domain, range and asymptotic behaviour of functions

What is Mathspace

About Mathspace