
Differentiate the given function w.r.t x:
${\left( {\sin x - \cos x} \right)^{\left( {\sin x - \cos x} \right)}},\dfrac{\pi }{4} < x < \dfrac{{3\pi }}{4}$
Answer
131.4k+ 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
Difference Between Mutually Exclusive and Independent Events

Difference Between Area and Volume

JEE Main Participating Colleges 2024 - A Complete List of Top Colleges

JEE Main Maths Paper Pattern 2025 – Marking, Sections & Tips

Sign up for JEE Main 2025 Live Classes - Vedantu

JEE Main 2025 Helpline Numbers - Center Contact, Phone Number, Address

Trending doubts
Degree of Dissociation and Its Formula With Solved Example for JEE

Displacement-Time Graph and Velocity-Time Graph for JEE

Clemmenson and Wolff Kishner Reductions for JEE

JEE Main 2025 Session 2 Registration Open – Apply Now! Form Link, Last Date and Fees

Molar Conductivity

Raoult's Law with Examples

Other Pages
JEE Advanced 2024 Syllabus Weightage

CBSE Date Sheet 2025 Class 12 - Download Timetable PDF for FREE Now

JEE Main 2025 - Session 2 Registration Open | Exam Dates, Answer Key, PDF

CBSE Class 10 Hindi Sample Papers with Solutions 2024-25 FREE PDF

CBSE Board Exam Date Sheet Class 10 2025 (OUT): Download Exam Dates PDF

CBSE Class 10 Hindi Course-B Syllabus 2024-25 - Revised PDF Download
