Question
Question: How do you graph \( y = - \tan \left( {2x} \right) \) and include two full periods ?...
How do you graph y=−tan(2x) and include two full periods ?
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) , where x and f(x) 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) , where x and f(x) 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) .
Let us substitute the value of x as 2π .
⇒y=−tan(2×2π)=−tan(π)
⇒y=0
Let us substitute the value of x as 0 .
⇒y=−tan(2×0)=−tan(0)
⇒y=0
Now we consider the value of x as 6π , the value of y is
⇒y=−tan(2×6π)=−tan(3π)
⇒y=−3
Now we consider the value of x as (3π) , the value of y is
⇒y=−tan(2×3π)=−tan(32π)
⇒y=−(−3)=3
Now we draw a table for these values we have
x | 2π | 3π | (6π) | 0 |
---|---|---|---|---|
y | 0 | 3 | −3 | 0 |
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) . 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 π .