Solveeit Logo

Question

Question: Find the domain and range of \(y = \tan x\)....

Find the domain and range of y=tanxy = \tan x.

Explanation

Solution

The domain is the set of all possible values of xx which will satisfy the function, and thus will give us the output values of yy. The range of a function is the complete set of all possible resulting values of the output variable yy which is obtained after substituting the domain.Now using the above definitions we can find the domain and range of y=tanxy = \tan x.

Complete step by step answer:
Given, y=tanx.....................................(i)y = \tan x.....................................\left( i \right).
Now we need to find the domain and range y=tanxy = \tan x.
Now we know that by using one of the basic trigonometric identity we can write (i) as:
tanx=sinxcosx..............................(ii)\tan x = \dfrac{{\sin x}}{{\cos x}}..............................\left( {ii} \right)
Substitute it in (i):
y=tanx=sinxcosx.....................................(iii)y = \tan x = \dfrac{{\sin x}}{{\cos x}}.....................................\left( {iii} \right)
Now first let’s find its domain:
So domain basically represents the values the variable xx can take and thus define the function.So here we have y=tanx=sinxcosxy = \tan x = \dfrac{{\sin x}}{{\cos x}} which has the denominator cosx\cos x .We also know that for a fraction the denominator must not be zero such that in this case we can say:
cosx0\cos x \ne 0.
Now we can find values ofxx:

\Rightarrow x \ne n\dfrac{\pi }{2}................................\left( {iv} \right) \\\ $$ So on analyzing (iv) we can say that the input variable $$x$$ can take any value except $n\dfrac{\pi }{2}\;{\text{where n is an odd integer}}$ . So the domain can be written as $$\left( { - \infty ,\infty } \right) - \left( {n\dfrac{\pi }{2}} \right)$$, ${\text{where n is an odd integer}}$ Now first let’s find its range: So range basically represents the values the variable $$y$$ can take and thus define the function.So here we have $y = \tan x = \dfrac{{\sin x}}{{\cos x}}$ Now we have our domain $$\left( { - \infty ,\infty } \right) - \left( {n\dfrac{\pi }{2}} \right)$$,${\text{where n is an odd integer}}$ So on substituting the domain values in the given function we can obtain any value since $\tan x$ can take any value. So the range can be written as: $\left( { - \infty ,\infty } \right)$ Therefore the domain and range of the function $y = \tan x$ is: **Domain:** $$\left( { - \infty ,\infty } \right) - \left( {n\dfrac{\pi }{2}} \right)$$ ${\text{where n is an odd integer}}$ **Range:** $\left( { - \infty ,\infty } \right)$ **Note:** While doing similar questions one should know the basic trigonometric conversions for ease of calculations. Also while finding the domain one should take care that the value of the denominator of the fraction to not to be zero as well as the number under a square root sign to be positive.