
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
124.5k+ 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
Physics Average Value and RMS Value JEE Main 2025

JEE Main 2023 January 25 Shift 1 Question Paper with Answer Keys & Solutions

Inertial and Non-Inertial Frame of Reference - JEE Important Topic

JEE Main Course 2025: Get All the Relevant Details

Free Radical Substitution Mechanism of Alkanes for JEE Main 2025

JEE Main 2022 July 28 Shift 2 Question Paper with Answer Keys & Solutions

Other Pages
JEE Advanced 2025: Dates, Registration, Syllabus, Eligibility Criteria and More

Introduction to Dimensions With Different Units and Formula for JEE

Elastic Collisions in One Dimension - JEE Important Topic

JEE Advanced 2025 Revision Notes for Practical Organic Chemistry

JEE Advanced 2025 Revision Notes for Physics on Modern Physics

JEE Main Marks Vs Percentile 2025: Calculate Percentile Based on Marks
