Differentiate the function with respect to $x$: $x^{\sin x}+(\sin x)^{\cos x}$

Vedclass pdf generator app on play store
Vedclass iOS app on app store
Let $y=x^{\sin x}+(\sin x)^{\cos x}$.
Let $u=x^{\sin x}$ and $v=(\sin x)^{\cos x}$.
Then $y=u+v$,so $\frac{dy}{dx}=\frac{du}{dx}+\frac{dv}{dx}$ $(1)$.
For $u=x^{\sin x}$,taking log on both sides: $\log u = \sin x \log x$.
Differentiating with respect to $x$: $\frac{1}{u} \frac{du}{dx} = \cos x \log x + \sin x \cdot \frac{1}{x}$.
So,$\frac{du}{dx} = x^{\sin x} \left( \cos x \log x + \frac{\sin x}{x} \right)$ $(2)$.
For $v=(\sin x)^{\cos x}$,taking log on both sides: $\log v = \cos x \log(\sin x)$.
Differentiating with respect to $x$: $\frac{1}{v} \frac{dv}{dx} = -\sin x \log(\sin x) + \cos x \cdot \frac{1}{\sin x} \cdot \cos x$.
So,$\frac{dv}{dx} = (\sin x)^{\cos x} [\cot x \cos x - \sin x \log(\sin x)]$ $(3)$.
Substituting $(2)$ and $(3)$ into $(1)$,we get:
$\frac{dy}{dx} = x^{\sin x} \left( \cos x \log x + \frac{\sin x}{x} \right) + (\sin x)^{\cos x} [\cot x \cos x - \sin x \log(\sin x)]$.

Explore More

Similar Questions

If $y = x^{x^2}$,then $\frac{dy}{dx} = $

If $y = x^{\ln x}$,then $dy/dx$ equals :-

Differentiate the function with respect to $x$: $(x+3)^{2} \cdot(x+4)^{3} \cdot(x+5)^{4}$

If $y = {\left( {1 + \frac{1}{x}} \right)^x}$,then $\frac{dy}{dx} = $

If $y = \left(\frac{x^{2}}{x+1}\right)^{x}$ and $\frac{dy}{dx} = y \left[g(x) + \log \left(\frac{x^{2}}{x+1}\right)\right]$,then $g(x) =$

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo