Answer
Verified
88.2k+ views
Hint: As the function is in the form of variable to the power of variable we apply log on both sides of the equation and then differentiate.
Complete step-by-step answer:
Let $y = {\left( {\sin x - \cos x} \right)^{\left( {\sin x - \cos x} \right)}}$
Take log both the side
$ \Rightarrow \log y = \log {\left( {\sin x - \cos x} \right)^{\left( {\sin x - \cos x} \right)}}$
We know that $\log {a^b} = b\log a$
$ \Rightarrow \log y = \left( {\sin x - \cos x} \right)\log \left( {\sin x - \cos x} \right)$
Now differentiate both the side w.r.t x
Here we use chain rule of differentiation
Differentiation of sinx wrt x is cosx
Differentiation of cosx wrt x is -sinx
Differentiation of logx wrt x is $\dfrac{1}{x}$
$ \Rightarrow \dfrac{1}{y}\dfrac{{dy}}{{dx}} = \left( {\sin x - \cos x} \right)\dfrac{{d\log \left( {\sin x - \cos x} \right)}}{{dx}} + \log \left( {\sin x - \cos x} \right)\dfrac{{d\left( {sinx - \cos x} \right)}}{{dx}}$
$ \Rightarrow \dfrac{1}{y}\dfrac{{dy}}{{dx}} = \left( {\sin x - \cos x} \right)\dfrac{1}{{\left( {\sin x - \cos x} \right)}}\dfrac{{d\left( {\sin x - \cos x} \right)}}{{dx}} + \log \left( {\sin x - \cos x} \right)\left( {\cos x + \sin x} \right)$
$ \Rightarrow \dfrac{1}{y}\dfrac{{dy}}{{dx}} = \left( {\sin x - \cos x} \right)\dfrac{1}{{\left( {\sin x - \cos x} \right)}}\left( {\cos x + \sin x} \right) + \log \left( {\sin x - \cos x} \right)\left( {\cos x + \sin x} \right)$
$ \Rightarrow \dfrac{1}{y}\dfrac{{dy}}{{dx}} = \left( {\cos x + \sin x} \right) + \log \left( {\sin x - \cos x} \right)\left( {\cos x + \sin x} \right)$
$ \Rightarrow \dfrac{1}{y}\dfrac{{dy}}{{dx}} = \left( {1 + log\left( {\sin x - \cos x} \right)} \right)\left( {\cos x + \sin x} \right)$
$ \Rightarrow \dfrac{{dy}}{{dx}} = y\left( {1 + log\left( {\sin x - \cos x} \right)} \right)\left( {\cos x + \sin x} \right)$
$ \Rightarrow \dfrac{{dy}}{{dx}} = {\left( {\sin x - \cos x} \right)^{\left( {\sin x - \cos x} \right)}}\left( {1 + log\left( {\sin x - \cos x} \right)} \right)\left( {\cos x + \sin x} \right)$
So this is your required answer.
Note: In this type of question always take log on both sides then solve, If there is any function in log then after applying differentiation of log function is again differentiated w.r.t the variable.
Complete step-by-step answer:
Let $y = {\left( {\sin x - \cos x} \right)^{\left( {\sin x - \cos x} \right)}}$
Take log both the side
$ \Rightarrow \log y = \log {\left( {\sin x - \cos x} \right)^{\left( {\sin x - \cos x} \right)}}$
We know that $\log {a^b} = b\log a$
$ \Rightarrow \log y = \left( {\sin x - \cos x} \right)\log \left( {\sin x - \cos x} \right)$
Now differentiate both the side w.r.t x
Here we use chain rule of differentiation
Differentiation of sinx wrt x is cosx
Differentiation of cosx wrt x is -sinx
Differentiation of logx wrt x is $\dfrac{1}{x}$
$ \Rightarrow \dfrac{1}{y}\dfrac{{dy}}{{dx}} = \left( {\sin x - \cos x} \right)\dfrac{{d\log \left( {\sin x - \cos x} \right)}}{{dx}} + \log \left( {\sin x - \cos x} \right)\dfrac{{d\left( {sinx - \cos x} \right)}}{{dx}}$
$ \Rightarrow \dfrac{1}{y}\dfrac{{dy}}{{dx}} = \left( {\sin x - \cos x} \right)\dfrac{1}{{\left( {\sin x - \cos x} \right)}}\dfrac{{d\left( {\sin x - \cos x} \right)}}{{dx}} + \log \left( {\sin x - \cos x} \right)\left( {\cos x + \sin x} \right)$
$ \Rightarrow \dfrac{1}{y}\dfrac{{dy}}{{dx}} = \left( {\sin x - \cos x} \right)\dfrac{1}{{\left( {\sin x - \cos x} \right)}}\left( {\cos x + \sin x} \right) + \log \left( {\sin x - \cos x} \right)\left( {\cos x + \sin x} \right)$
$ \Rightarrow \dfrac{1}{y}\dfrac{{dy}}{{dx}} = \left( {\cos x + \sin x} \right) + \log \left( {\sin x - \cos x} \right)\left( {\cos x + \sin x} \right)$
$ \Rightarrow \dfrac{1}{y}\dfrac{{dy}}{{dx}} = \left( {1 + log\left( {\sin x - \cos x} \right)} \right)\left( {\cos x + \sin x} \right)$
$ \Rightarrow \dfrac{{dy}}{{dx}} = y\left( {1 + log\left( {\sin x - \cos x} \right)} \right)\left( {\cos x + \sin x} \right)$
$ \Rightarrow \dfrac{{dy}}{{dx}} = {\left( {\sin x - \cos x} \right)^{\left( {\sin x - \cos x} \right)}}\left( {1 + log\left( {\sin x - \cos x} \right)} \right)\left( {\cos x + \sin x} \right)$
So this is your required answer.
Note: In this type of question always take log on both sides then solve, If there is any function in log then after applying differentiation of log function is again differentiated w.r.t the variable.
Recently Updated Pages
Name the scale on which the destructive energy of an class 11 physics JEE_Main
Write an article on the need and importance of sports class 10 english JEE_Main
Choose the exact meaning of the given idiomphrase The class 9 english JEE_Main
Choose the one which best expresses the meaning of class 9 english JEE_Main
What does a hydrometer consist of A A cylindrical stem class 9 physics JEE_Main
A motorcyclist of mass m is to negotiate a curve of class 9 physics JEE_Main
Other Pages
Velocity of car at t 0 is u moves with a constant acceleration class 11 physics JEE_Main
Derive an expression for maximum speed of a car on class 11 physics JEE_Main
Electric field due to uniformly charged sphere class 12 physics JEE_Main
If a wire of resistance R is stretched to double of class 12 physics JEE_Main