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 e^{x}}$,$\frac{d y}{d x}=y \cdot g(x)$,then $g(x)=$

If $h(x) = x^{x^x}$,then at $x = 1$,$\frac{h'(x)}{h(x)}$ is equal to

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

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

If $y = x^x + x^{\frac{1}{x}}$,then $\frac{dy}{dx}$ is equal to

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