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 = (\log_{x} \sin x)^{x}$,then $\frac{dy}{dx} = $

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

If $y = e^{\cos ^{-1}\left(\sqrt{1-x^2}\right)}$,then find $\frac{1}{y} \frac{d y}{d x}$.

If $y=x^{\sin x}+(\sin x)^x$,then $\frac{d y}{d x}$ at $x=\frac{\pi}{2}$ is

If $\frac{d}{d x}\left(\frac{x \cdot 2^x-x}{1-\cos x}\right)=\left(\frac{x \cdot 2^x-x}{1-\cos x}\right)(f(x)+\log 2)$, then $f(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