Differentiate the function with respect to $x$: $x^{x \cos x} + \frac{x^{2}+1}{x^{2}-1}$

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(N/A) Let $y = x^{x \cos x} + \frac{x^{2}+1}{x^{2}-1}$.
Let $u = x^{x \cos x}$ and $v = \frac{x^{2}+1}{x^{2}-1}$.
Then $\frac{dy}{dx} = \frac{du}{dx} + \frac{dv}{dx}$ .............$(1)$
For $u = x^{x \cos x}$,taking log on both sides:
$\log u = (x \cos x) \log x$.
Differentiating with respect to $x$:
$\frac{1}{u} \frac{du}{dx} = \frac{d}{dx}(x \cos x) \cdot \log x + (x \cos x) \cdot \frac{d}{dx}(\log x)$
$\frac{1}{u} \frac{du}{dx} = (\cos x - x \sin x) \log x + (x \cos x) \cdot \frac{1}{x}$
$\frac{du}{dx} = x^{x \cos x} [\cos x \log x - x \sin x \log x + \cos x]$
$\frac{du}{dx} = x^{x \cos x} [\cos x(1 + \log x) - x \sin x \log x]$ .............$(2)$
For $v = \frac{x^{2}+1}{x^{2}-1}$,using the quotient rule:
$\frac{dv}{dx} = \frac{(x^{2}-1)(2x) - (x^{2}+1)(2x)}{(x^{2}-1)^{2}}$
$\frac{dv}{dx} = \frac{2x^{3} - 2x - 2x^{3} - 2x}{(x^{2}-1)^{2}} = \frac{-4x}{(x^{2}-1)^{2}}$ .............$(3)$
Substituting $(2)$ and $(3)$ into $(1)$:
$\frac{dy}{dx} = x^{x \cos x} [\cos x(1 + \log x) - x \sin x \log x] - \frac{4x}{(x^{2}-1)^{2}}$

Explore More

Similar Questions

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

Find the derivative of the function: $\frac{d}{dx} \{(\sin x)^{\log x}\}$

If $y=(\log x)^{1/x} + x^{\log x}$,find $\frac{dy}{dx}$ at $x=e$.

The derivative of $f(x)=x^{\tan ^{-1} x}$ with respect to $g(x)=\sec ^{-1}\left(\frac{1}{2 x^2-1}\right)$ is

If $a>0$ and $f(x)=\left(\frac{a+x}{1+x}\right)^{a+1+2x}$,then $f^{\prime}(0)=$

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