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

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

Explore More

Similar Questions

If $y=(1+x)(1+x^{2})(1+x^{4})$,then $\frac{dy}{dx}$ at $x=1$ is

Differentiate the function with respect to $x$: $(\sin x)^{x} + \sin^{-1} \sqrt{x}$.

Difficult
View Solution

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

If $y = (x^2 + 1)^{\sin x}$ for $x > 0$ such that $\frac{dy}{dx} = y [\frac{2x \sin x}{g(x)} + \cos x \cdot \log(g(x))]$, then the function $\frac{1}{g(x)}$ 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