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 \sin x$,then

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

Difficult
View Solution

Differentiate the following with respect to $x$: $\cos x \cdot \cos 2x \cdot \cos 3x$

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

Difficult
View Solution

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

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