Recall from the introduction of the unit circle we can define the tangent function as follows:
Let's revisit the applet from the introduction once more and focus our attention on the orange line. With the definitions above in mind, for what values of $\theta$θ is $\tan\theta$tanθ undefined? This would be the same as asking when is the slope of the line $OP$OP undefined, or when does $\cos\theta=0$cosθ=0. What is the value of $\tan0^\circ$tan0°? How often does the pattern repeat? That is what is the period of $\tan\theta$tanθ?
Change the angle in the applet below and try to imagine the shape of the graph of $\tan\theta$tanθ and key features.
|
Key features of the graph of $y=\tan\left(\theta\right)$y=tan(θ) are:
The asymptotes of the function are where the angle $\theta$θ would cause the line $OP$OP to be vertical and hence the gradient is undefined. We can also see this through the definition $\tan\theta=\frac{\sin\theta}{\cos\theta}$tanθ=sinθcosθ. The function is undefined where $\cos\theta=0$cosθ=0 and the graph approaches the vertical lines at these values forming asymptotes.
The fact that the tangent function repeats at intervals of $\pi$π can be verified by considering the unit circle diagram. Either by considering the gradient of the line $OP$OP and how the gradient will be the same for a point at an angle of $\theta$θ or at at angle of $\theta+\pi$θ+π. Or we can consider this algebraically by looking at the ratio $\frac{\sin\theta}{\cos\theta}$sinθcosθ. If $\pi$π is added to an angle $\theta$θ, then the diagram below shows that $\sin(\theta+\pi)$sin(θ+π) has the same magnitude as $\sin\theta$sinθ but opposite sign. The same relation holds between $\cos(\theta+\pi)$cos(θ+π) and $\cos\theta$cosθ.
We make use of the definition: $$
$\tan(\theta+\pi)$tan(θ+π) | $=$= | $\frac{\sin(\theta+\pi)}{\cos(\theta+\pi)}$sin(θ+π)cos(θ+π) |
$=$= | $\frac{-\sin\theta}{-\cos\theta}$−sinθ−cosθ | |
$=$= | $\tan\theta$tanθ |
Consider the graph of $y=\tan x$y=tanx for $-2\pi\le x\le2\pi$−2π≤x≤2π.
How would you describe the graph?
Periodic
Decreasing
Even
Linear
Which of the following is not appropriate to refer to in regard to the graph of $y=\tan x$y=tanx?
Amplitude
Range
Period
Asymptotes
The period of a periodic function is the length of $x$x-values that it takes to complete one full cycle.
Determine the period of $y=\tan x$y=tanx in radians.
State the range of $y=\tan x$y=tanx.
$-\infty
$y>0$y>0
$\frac{-\pi}{2}
$-\pi
As $x$x increases, what would be the next asymptote of the graph after $x=\frac{7\pi}{2}$x=7π2?
Just as we transformed the trigonometric functions $y=\sin\theta$y=sinθ and $y=\cos\theta$y=cosθ 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(x−c))+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(x−c))+d and observe how it affects the graph. Try to answer the following questions.
|
The constants $a$a, $b$b, $c$c and $d$d transform the tangent graph. Let's summarise the impact of each:
To obtain the graph of $y=a\tan\left(b\left(x-c\right)\right)+d$y=atan(b(x−c))+d from the graph of $y=\tan\left(x\right)$y=tan(x):
Remember: If more than one transformation is applied to a function and it is written in the form $y=a\tan\left(b\left(x-c\right)\right)+d$y=atan(b(x−c))+d, a way to remember the order in which to apply the transformations is "dilate then translate horizontally, dilate then translate vertically".
Illustrate 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: These are vertical dilations which means the graph of $y=\tan x$y=tanx is stretched vertically and the $y$y values are multiplied by the value of $a$a . 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 a vertical dilation 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 a vertical dilation 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). The graphs together are shown below.
Sketch the graph of $f(x)=\tan\left(x-\frac{\pi}{4}\right)$f(x)=tan(x−π4).
Think: This is a horizontal translation of the function $\tan x$tanx by $\frac{\pi}{4}$π4 units to the right. We can sketch this by graphing the base graph of $y=\tan\theta$y=tanθ and shifting each point right by $\frac{\pi}{4}$π4 (add $\frac{\pi}{4}$π4 to the $x$x values).
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π. The graph is shown below in purple.
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.
Select all functions that have the same graph as $y=-\tan x$y=−tanx.
$y=-\tan\left(x+\frac{3\pi}{4}\right)$y=−tan(x+3π4)
$y=-\tan\left(x+\pi\right)$y=−tan(x+π)
$y=-\tan\left(x+\frac{\pi}{2}\right)$y=−tan(x+π2)
$y=-\tan\left(x+2\pi\right)$y=−tan(x+2π)
Consider the function $y=-4\tan\frac{1}{5}\left(x+\frac{\pi}{4}\right)$y=−4tan15(x+π4).
Determine the period of the function, giving your answer in radians.
Determine the phase shift of the function, giving your answer in radians.
Determine the range of the function.
$[-1,1]$[−1,1]
$(-\infty,0]$(−∞,0]
$[0,\infty)$[0,∞)
$(-\infty,\infty)$(−∞,∞)
We can graph a tangent function by graphing the base function and then applying the transformations in stages to achieve the final sketch. Just as with sine and cosine functions we could also sketch the function using key features. The following steps may assist in sketching:
Sketch the function $y=3\tan\left(2\left(x-\frac{\pi}{4}\right)\right)+1$y=3tan(2(x−π4))+1 for the interval $-\pi\le x\le\pi$−π≤x≤π
Think: What transformations would take $y=\tan x$y=tanx to $y=3\tan\left(2\left(x-\frac{\pi}{4}\right)\right)+1$y=3tan(2(x−π4))+1? The order is "dilate then translate horizontally, dilate then translate vertically".
We need to dilate the graph by a factor of $\frac{1}{2}$12 horizontally. This means $x$x values are halved. For $\tan x$tanx the period is $\pi$π so this function has period of $\frac{\pi}{2}$π2.
Do: List the parameters $a=3$a=3, $b=2$b=2, $c=\frac{\pi}{4}$c=π4 and $d=1$d=1. Sketch a dotted line for the central line $y=1$y=1 and plot the point $\left(c,d\right)=\left(\frac{\pi}{4},1\right)$(c,d)=(π4,1)
Find the period: $period=\frac{\pi}{b}$period=πb$=\frac{\pi}{2}$=π2 and draw dotted lines for the asymptotes half a period in both directions from the point $\left(\frac{\pi}{4},1\right)$(π4,1). Then repeat at multiples of the period from these lines.
From the point $\left(\frac{\pi}{4},1\right)$(π4,1) plot a point by going forwards $\frac{period}{4}$period4$=\frac{\pi}{8}$=π8 and up $a$a units ($3$3 units). Mirror this by plotting a second point backwards $\frac{\pi}{8}$π8 from $\left(\frac{\pi}{4},1\right)$(π4,1) and down $3$3 units.
Join the points with a smooth curve which also approaches the asymptotes.
Lastly, repeat the pattern for each period.
Graph of $y=3\tan\left(2\left(x-\frac{\pi}{4}\right)\right)+1$y=3tan(2(x−π4))+1 |
Reflect: Does the graph match how it should look after transformations? Does its cycle repeat the correct number of times for the domain given?
For our example above we did not have a $y$y-intercept as an asymptote coincided with the $y$y-axis. If this was not the case we could find the $y$y-intercept by evaluating the function at $x=0$x=0.
If we were required to label the $x$x-intercepts and there had been no vertical translation these would be found at the points of inflection at $x=c+Pn$x=c+Pn, where $P$P in the period and $n$n is any integer. However, if as in our example we have a vertical shift the $x$x-intercepts can be found with the assistance of technology or by solving the equation when $y=0$y=0. We will look further at solution to trigonometric equations later in this chapter.
Consider the graph of the given $\tan$tan function.
The given graph is the result of what transformation?
Translating the graph of $y=\tan x$y=tanx horizontally.
Translating the graph of $y=\tan x$y=tanx vertically.
Reflecting the graph of $y=\tan x$y=tanx about the $x$x-axis.
State the equation of the graphed function.
We want to identify how the coordinates of key points on the graph of $f\left(x\right)=\tan x$f(x)=tanx change as we apply a phase shift to produce the graph of $g\left(x\right)=\tan\left(x-60^\circ\right)$g(x)=tan(x−60°).
The point $A$A on the graph of $f\left(x\right)$f(x) has the coordinates $\left(0^\circ,0\right)$(0°,0).
What are the coordinates of the corresponding point on the graph of $g\left(x\right)$g(x)? Give your answer in the form $\left(\editable{},\editable{}\right)$(,).
The point $B$B on the graph of $f\left(x\right)$f(x) has the coordinates $\left(45^\circ,1\right)$(45°,1).
What are the coordinates of the corresponding point on the graph of $g\left(x\right)$g(x)? Give your answer in the form $\left(\editable{},\editable{}\right)$(,).
The graph of $f\left(x\right)$f(x) has an asymptote passing through point $C$C with coordinates $\left(90^\circ,0\right)$(90°,0).
What are the coordinates of the corresponding point on the graph of $g\left(x\right)$g(x)? Give your answer in the form $\left(\editable{},\editable{}\right)$(,).
Using the answers from the previous parts, apply a phase shift to the graph of $f\left(x\right)=\tan x$f(x)=tanx to draw the graph of $g\left(x\right)=\tan\left(x-60^\circ\right)$g(x)=tan(x−60°).
Consider the function $y=\tan4x-3$y=tan4x−3.
Answer the following questions in radians, where appropriate.
Determine the $y$y-intercept.
Determine the period of the function.
How far apart are the asymptotes of the function?
State the first asymptote of the function for $x\ge0$x≥0.
State the first asymptote of the function for $x\le0$x≤0.
Graph the function.
Consider the function $y=\tan\left(2\left(x-45\right)\right)$y=tan(2(x−45)).
To get the graph of $y=\tan\left(2\left(x-45\right)\right)$y=tan(2(x−45)) from $y=\tan x$y=tanx, we apply two transformations. Which transformation occurs first?
Horizontal translation of $45$45 units to the right.
Horizontal dilation by a scale factor of $\frac{1}{2}$12.
The graph of $y=\tan x$y=tanx is given below. Adjust the points given to plot the graph of $y=\tan2x$y=tan2x.
Your answer to part (b) is shown below. Adjust the points given to plot the graph of $y=\tan\left(2\left(x-45\right)\right)$y=tan(2(x−45)).