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

The derivative of $y=(\sin x)^{x^2}$ with respect to $x$ is

If $x^p \cdot y^q = (x + y)^{p + q}$,then $\frac{dy}{dx}$ is:

Difficult
View Solution

If $y=(\sin x)^{\tan x}$,then $\frac{dy}{dx}$ is equal to

If $y=(x-1)^{2}(x-2)^{3}(x-3)^{5}$,then $\frac{dy}{dx}$ at $x=4$ is equal to

If $f(x)=\frac{\cos ^2 x}{1+\sin ^2 x}$, then $f\left(\frac{\pi}{4}\right)-3 f^{\prime}\left(\frac{\pi}{4}\right)=$

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