Solveeit Logo

Question

Question: Find the domain of the function \(y=\dfrac{x}{\sqrt{\sin (\ln x)-\cos (\ln x)}}\)....

Find the domain of the function y=xsin(lnx)cos(lnx)y=\dfrac{x}{\sqrt{\sin (\ln x)-\cos (\ln x)}}.

Explanation

Solution

Domain of a real valued function is a set of real values of x for which the function y is defined. Assume that the given function is a real valued function (from a real set to a real set of numbers). Then analyse the given function and find out for which value of x, y is a real number.

Formula used:
cosxsinysinxcosy=sin(xy)\cos x\sin y-\sin x\cos y=\sin \left( x-y \right)

Complete step by step solution:
Let us first understand what is the domain of a function. Domain of a real valued function is a set of real values of x for which the function y is defined. Here, the function is given to be
y=xsin(lnx)cos(lnx)y=\dfrac{x}{\sqrt{\sin (\ln x)-\cos (\ln x)}}
Now, we have to find those real values of x for which the value of y exists.We can see that the numerator of the function is x, which is always real. However, the denominator contains a square root. The number under a square root must be always a positive real number. Otherwise the result will be an imaginary number which is not real. This means that for the real value of y, sin(lnx)cos(lnx)>0\sin (\ln x)-\cos (\ln x)>0 .

Now, multiply and divide the above inequality by 2\sqrt{2} as shown below.
2(12sin(lnx)12cos(lnx))>0\sqrt{2}\left( \dfrac{1}{\sqrt{2}}\sin (\ln x)-\dfrac{1}{\sqrt{2}}\cos (\ln x) \right)>0
We know that 12=cos(π4)=sin(π4)\dfrac{1}{\sqrt{2}}=\cos \left( \dfrac{\pi }{4} \right)=\sin \left( \dfrac{\pi }{4} \right).
Then, we can write the inequality as
2(cosπ4sin(lnx)sinπ4cos(lnx))>0\sqrt{2}\left( \cos \dfrac{\pi }{4}\sin (\ln x)-\sin \dfrac{\pi }{4}\cos (\ln x) \right)>0
Let us consider that 2\sqrt{2} > 0
Then,
cosπ4sin(lnx)sinπ4cos(lnx)>0\Rightarrow \cos \dfrac{\pi }{4}\sin (\ln x)-\sin \dfrac{\pi }{4}\cos (\ln x)>0
Now, we can write that cosπ4sin(lnx)sinπ4cos(lnx)=sin(lnxπ4)\cos \dfrac{\pi }{4}\sin (\ln x)-\sin \dfrac{\pi }{4}\cos (\ln x)=\sin \left( \ln x-\dfrac{\pi }{4} \right).
With this we get that sin(lnxπ4)>0\sin \left( \ln x-\dfrac{\pi }{4} \right)>0

We know that sine function is positive when the angle is in the first and second quadrant.The general notation for the angles that fall in the first and second quadrant is nπ<θ<(n+1)πn\pi <\theta <(n+1)\pi , where θ\theta is the angle and n belongs to integers.
Then this means that nπ<lnxπ4<(n+1)πn\pi <\ln x-\dfrac{\pi }{4}<(n+1)\pi
nπ+π4<lnx<(n+1)π+π4\Rightarrow n\pi +\dfrac{\pi }{4}<\ln x<(n+1)\pi +\dfrac{\pi }{4}
(4n+1)π4<lnx<(4n+5)π4\Rightarrow \dfrac{(4n+1)\pi }{4}<\ln x<\dfrac{(4n+5)\pi }{4}
e(4n+1)π4<x<e(4n+5)π4\therefore {{e}^{\dfrac{(4n+1)\pi }{4}}} < x< {{e}^{\dfrac{(4n+5)\pi }{4}}}.

Therefore, the domain of the given function is e(4n+1)π4<x<e(4n+5)π4{{e}^{\dfrac{(4n+1)\pi }{4}}} < x < {{e}^{\dfrac{(4n+5)\pi }{4}}}.

Note: Some students may argue that the number under square root can be zero as square root of zero is zero and it is a real number. However, observe that the square root is in the denominator and for a real value of y to exist, the denominator cannot be equal to zero.