Question
Question: What is the domain and range of \[y=\tan x\]?...
What is the domain and range of y=tanx?
Solution
In this problem, we have to find the domain and range of the given function y=tanx. We know that the domain of the function y=tanx is all real numbers except the values where cosx is equal to zero, i.e. the values 2π+πn for all integers n. The range of the tangent function is all real numbers. We can draw the graph for the given function and write the domain and the range.
Complete step by step solution:
Here we have to find the domain and the range of the given function y=tanx.
We know that the domain of the function y=tanx is all real numbers except the values where cosx is equal to zero, i.e. the values 2π+πn for all integers n as we know that tanx=cosxsinx which is not defined when denominator is 0.
The range of the tangent function is all real numbers.
If we plug y=tanx in a graphing calculator, we can see that the ends of each section continue on infinitely along the y-axis.
Therefore, the domain of the given function y=tanx is (θ=k2π, where k is an integer).
The range is (−∞,∞).
Note: We should always remember that the function y=tanx is all real numbers except the values where cosx is equal to zero, i.e. the values 2π+πn for all integers n as we know that tanx=cosxsinx which is not defined when denominator is 0. The range of the tangent function is all real numbers.