Solveeit Logo

Question

Question: How do you graph \( y = - \tan \left( {2x} \right) \) and include two full periods ?...

How do you graph y=tan(2x)y = - \tan \left( {2x} \right) and include two full periods ?

Explanation

Solution

Hint : A graph of a function f is the set of ordered pairs; the equation of graph is generally represented as y=f(x)y = f\left( x \right) , where x and f(x)f\left( x \right) are real numbers. We substitute the value of x and we determine the value of y and then we mark the points in the graph and we join the points.

Complete step-by-step answer :
Here, in the given question, we have to plot the graph for the given function. A graph of a function is a set of ordered pairs and it is represented as y=f(x)y = f\left( x \right) , where x and f(x)f\left( x \right) are real numbers. These pairs are in the form of cartesian form and the graph is the two-dimensional graph.
First, we have to find the value of y by using the graph equation y=tan(2x)y = - \tan \left( {2x} \right) .
Let us substitute the value of x as π2\dfrac{\pi }{2} .
y=tan(2×π2)=tan(π)\Rightarrow y = - \tan \left( {2 \times \dfrac{\pi }{2}} \right) = - \tan \left( \pi \right)
y=0\Rightarrow y = 0
Let us substitute the value of x as 00 .
y=tan(2×0)=tan(0)\Rightarrow y = - \tan \left( {2 \times 0} \right) = - \tan \left( 0 \right)
y=0\Rightarrow y = 0
Now we consider the value of x as π6\dfrac{\pi }{6} , the value of y is
y=tan(2×π6)=tan(π3)\Rightarrow y = - \tan \left( {2 \times \dfrac{\pi }{6}} \right) = - \tan \left( {\dfrac{\pi }{3}} \right)
y=3\Rightarrow y = - \sqrt 3
Now we consider the value of x as (π3)\left( {\dfrac{\pi }{3}} \right) , the value of y is
y=tan(2×π3)=tan(2π3)\Rightarrow y = - \tan \left( {2 \times \dfrac{\pi }{3}} \right) = - \tan \left( {\dfrac{{2\pi }}{3}} \right)
y=(3)=3\Rightarrow y = - \left( { - \sqrt 3 } \right) = \sqrt 3
Now we draw a table for these values we have

xπ2\dfrac{\pi }{2}π3\dfrac{\pi }{3}(π6)\left( {\dfrac{\pi }{6}} \right)00
y003\sqrt 33- \sqrt 30

We also know the nature of the graph of sine function. Hence, we can now plot the graph of the given function y=tan(2x)y = - \tan \left( {2x} \right) . The nature of the graph of a function and its slope can also be determined from the derivative of the function. The graph plotted for these points is represented below:

Note : The graph is plotted x-axis versus y axis. The graph is two dimensional. By the equation of a graph, we can plot the graph by assuming the value of x. We can’t assume the value of y because the value of y depends on the value of x. The period of tangent function is π\pi .