Solveeit Logo

Question

Question: How do you find the derivative of \(y = \ln (\sin 2x)\) ....

How do you find the derivative of y=ln(sin2x)y = \ln (\sin 2x) .

Explanation

Solution

This is a combination of three functions ln\ln , sin\sin and 2  x2\;x . So in this case we will use the chain rule of differentiation. Then we will differentiate the functions term by term. We may have to use the chain rule many times whenever there is a conjugate function.

Formula Used :
Chain rule of differentiation: The derivative of f(g(x))f(g(x)) is f(g(x)).g(x)f'(g(x)).g'(x) .
ddzlnz=1z\dfrac{d}{{dz}}\ln z = \dfrac{1}{z} .
ddz(sinz)=cosz\dfrac{d}{{dz}}(\sin z) = \cos z .
lnu=v\ln u = v
u=ev\Rightarrow u = {e^v} .

Complete step by step answer:
We have;
y=ln(sin2x)y = \ln (\sin 2x)
Let, f=lnf = \ln
And g=sing = \sin
And h(x)=2xh(x) = 2x .
g(h(x))=sin2x\therefore g(h(x)) = \sin 2x .
Then we can write;
y=f(g(h(x)))y = f(g(h(x)))
At first, we will consider g(h(x))=j(x)g(h(x)) = j(x) .
y=f(j(x))\therefore y = f(j(x))
Differentiating both sides w.r.t. xx we will get;
dydx=ddx(f(j(x))\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}(f(j(x))
Here we will apply the chain rule of differentiation and get;
dydx=dfdxdjdx\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{df}}{{dx}}\dfrac{{dj}}{{dx}}
Another form is;
dydx=f(j(x)).j(x)\Rightarrow \dfrac{{dy}}{{dx}} = f'(j(x)).j'(x)
Now, we know that ddzlnz=1z\dfrac{d}{{dz}}\ln z = \dfrac{1}{z} . By applying this we will get;
f(j(x))=1sin2xf'(j(x)) = \dfrac{1}{{\sin 2x}}
Now, similarly by applying the chain rule of differentiation on j(x)j(x) we will get;
j(x)=g(h(x))h(x)j'(x) = g'(h(x))h'(x)
We know that ddz(sinz)=cosz\dfrac{d}{{dz}}(\sin z) = \cos z
g(h(x))=cos2x\therefore g'(h(x)) = \cos 2x
And h(x)=ddx(2x)h'(x) = \dfrac{d}{{dx}}(2x)
Differentiating we get;
h(x)=2\Rightarrow h'(x) = 2
j(x)=(cos2x)×2\therefore j'(x) = (\cos 2x) \times 2
Simplifying we get;
j(x)=2cos2x\Rightarrow j'(x) = 2\cos 2x
Another form is;
dydx=2cos2xsin2x\therefore \dfrac{{dy}}{{dx}} = \dfrac{{2\cos 2x}}{{\sin 2x}}
We know that cosθsinθ=cotθ\dfrac{{\cos \theta }}{{\sin \theta }} = {\text{cot}}\theta .
Applying this we will get;
dydx=2cot2x\Rightarrow \dfrac{{dy}}{{dx}} = 2\cot 2x.
\therefore Differentiating y=ln(sin2x)y = \ln (\sin 2x) we get 2cot2x2{\text{cot2x}} .

Note: This type of conjugate function will be easily solved by the chain rule of differentiation. But students must be careful about the differentiation of different functions and don’t forget to mention w.r.t. what you are differentiating. Most of the time the variable is ignored by the students and then the error occurs. In the alternative method, be careful about differentiating ey{e^y} for xx .
Alternative Method:
We can solve this problem in another way.
Given;
y=ln(sin2x)y = \ln (\sin 2x)
We know that;
lnu=v\ln u = v
u=ev\Rightarrow u = {e^v}
Applying this we will obtain;
ey=sin2x{e^y} = \sin 2x
Now if we will differentiate both sides w.r.t. xx we will get;
ddx(ey)=ddx(sin2x)\Rightarrow \dfrac{d}{{dx}}({e^y}) = \dfrac{d}{{dx}}(\sin 2x)
Now applying the chain rule of differentiation;
ddx(ey)=eydydx\dfrac{d}{{dx}}({e^y}) = {e^y}\dfrac{{dy}}{{dx}}
We have seen that ddx(sin2x)=2cos2x\dfrac{d}{{dx}}(\sin 2x) = 2\cos 2x ;
Putting these values we will obtain;
eydydx=2cos2x{e^y}\dfrac{{dy}}{{dx}} = 2\cos 2x
Dividing both sides with ey{e^y} ;
dydx=2cos2xey\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{2\cos 2x}}{{{e^y}}}
We have seen ey=sin2x{e^y} = \sin 2x .
dydx=2cos2xsin2x\therefore \dfrac{{dy}}{{dx}} = \dfrac{{2\cos 2x}}{{\sin 2x}}
After simplification we will get;
dydx=2cot2x\Rightarrow \dfrac{{dy}}{{dx}} = 2\cot 2x