Solveeit Logo

Question

Question: How do you graph \(f\left( x \right)=\tan x\) and include two full periods?...

How do you graph f(x)=tanxf\left( x \right)=\tan x and include two full periods?

Explanation

Solution

To graph f(x)=tanxf\left( x \right)=\tan x including two full periods, we need to first of all know the period of tanx\tan x and then multiply the period of tanx\tan x by 2. We know the period of tanx\tan x is π\pi . Now, we need some points to plot this graph in two full periods. For that, we are going to use the tangent at some angles like 0,π6,π3,π4,π20,\dfrac{\pi }{6},\dfrac{\pi }{3},\dfrac{\pi }{4},\dfrac{\pi }{2} and then plot these points on the graph.

Complete step by step solution:
In the above problem, we are asked to graph f(x)=tanxf\left( x \right)=\tan x in two full periods.
First of all, we will plot this function f(x)f\left( x \right) in one full period then repeat the same profile in the next period also.
We know that the period of tanx\tan x is π\pi so we are plotting the graph from 00 to π\pi . To graph the function, we need some points so we are going to plot the following angles of tan\tan on the graph paper:
tan0=0; tanπ6=13; tanπ4=12; tanπ3=3; tanπ2= \begin{aligned} & \tan 0=0; \\\ & \tan \dfrac{\pi }{6}=\dfrac{1}{\sqrt{3}}; \\\ & \tan \dfrac{\pi }{4}=\dfrac{1}{\sqrt{2}}; \\\ & \tan \dfrac{\pi }{3}=\sqrt{3}; \\\ & \tan \dfrac{\pi }{2}=\infty \\\ \end{aligned}
In the above equations, let us name the first point when angle is 0 as A, then when angle is π6\dfrac{\pi }{6}, name this angle as point B and so on till angle π2\dfrac{\pi }{2} so naming these angles will look like:
tan0=0;(A) tanπ6=13;(B) tanπ4=1;(C) tanπ3=3;(D) tanπ2=(E) \begin{aligned} & \tan 0=0;\left( A \right) \\\ & \tan \dfrac{\pi }{6}=\dfrac{1}{\sqrt{3}};\left( B \right) \\\ & \tan \dfrac{\pi }{4}=1;\left( C \right) \\\ & \tan \dfrac{\pi }{3}=\sqrt{3};\left( D \right) \\\ & \tan \dfrac{\pi }{2}=\infty \left( E \right) \\\ \end{aligned}
Plotting the above points on the graph paper and joining them we get,

You might be wondering why we have plotted E on the x axis because the y at x=π2x=\dfrac{\pi }{2} is not defined.
Now, we are plotting the points for the angles from π2toπ\dfrac{\pi }{2}to\pi .
tanπ2=;(E) tan5π6=13;(F) tan3π4=1;(G) tan2π3=3;(H) tanπ=0(I) \begin{aligned} & \tan \dfrac{\pi }{2}=\infty ;\left( E \right) \\\ & \tan \dfrac{5\pi }{6}=-\dfrac{1}{\sqrt{3}};\left( F \right) \\\ & \tan \dfrac{3\pi }{4}=-1;\left( G \right) \\\ & \tan \dfrac{2\pi }{3}=-\sqrt{3};\left( H \right) \\\ & \tan \pi =0\left( I \right) \\\ \end{aligned}
Plotting the above points on the graph paper we get,

Now, repeat this graph from πto2π\pi \, to\, 2\pi and we get,

Hence, we have drawn the graph of f(x)=tanxf\left( x \right)=\tan x including two full periods.

Note: To solve this problem you should know the values of tan at different angles then you can plot them and get the profile of the curve. Also, you should know the period of tan then you can draw for the two full periods.