Question
Differentiate the function $x^{x \cos x}+\frac{x^{2}+1}{x^{2}-1}$ w.r.t. x.

Answer

Given: $\mathrm{x}^{\mathrm{x} \cos \mathrm{x}}+\frac{\mathrm{x}^{2}+1}{\mathrm{x}^{2}-1}$
Let $y=x^{x \cos x}+\frac{x^{2}+1}{x^{2}-1}$
Let y = u + v
$\Rightarrow u = x^{xcos x}$ and v = $\frac{x^{2}+1}{x^{2}-1}$
For, $\mathrm{u}=\mathrm{x}^{\mathrm{x} \cos x}$
Taking log on both sides, we get
$\log u=\log {x} ^{x \cos x}$
$\Rightarrow \log u=x \cdot \cos x \cdot \log x$
Now, differentiate both sides with respect to x
$\frac{d}{d x}(\log u)=\frac{d}{d x}[x \cdot \cos x \cdot \log x]$
$\Rightarrow \frac{1}{\mathrm{u}} \frac{\mathrm{du}}{\mathrm{dx}}=\cos \mathrm{x} \cdot \log \mathrm{x} \cdot \frac{\mathrm{d}}{\mathrm{dx}}(\mathrm{x})+\mathrm{x} \cdot \log \mathrm{x} \cdot \frac{\mathrm{d}}{\mathrm{dx}}(\cos \mathrm{x})+\mathrm{x} \cdot \cos \mathrm{x} \cdot \frac{\mathrm{d}}{\mathrm{dx}} \log \mathrm{x}$
$\Rightarrow \frac{\mathrm{d} \mathrm{u}}{\mathrm{dx}}=\mathrm{u}\left[\cos \mathrm{x} . \log \mathrm{x}+\mathrm{x} \cdot \log \mathrm{x}(-\sin \mathrm{x})+\mathrm{x} \cdot \cos \mathrm{x} \cdot\left(\frac{1}{\mathrm{x}}\right)\right]$
$\Rightarrow \frac{d u}{d x}=x^{x \cos x}[\cos x \cdot \log x-x \cdot \log x \cdot \sin x+\cos x]$
$\Rightarrow \frac{d u}{d x}=x^{x \cos x}[\cos x(1+\log x)-x \cdot \log x \cdot \sin x]$
For, v = $\frac{x^{2}+1}{x^{2}-1}$
Takinglog on both sides, we get
$\log \mathrm{v}=\log \left(\frac{\mathrm{x}^{2}+1}{\mathrm{x}^{2}-1}\right)$
$\Rightarrow \log v=\log \left(x^{2}+1\right)-\log \left(x^{2}-1\right)$
Now, differentiate both sides with respect to x
$\frac{d}{d x}(\log v)=\frac{d}{d x}\left[\log \left(x^{2}+1\right)-\log \left(x^{2}-1\right)\right]$
$\Rightarrow \frac{1}{\mathrm{v}} \frac{\mathrm{d} \mathrm{v}}{\mathrm{dx}}=\frac{1}{\mathrm{x}^{2}+1} \cdot \frac{\mathrm{d}}{\mathrm{dx}}\left(\mathrm{x}^{2}\right)-\frac{1}{\mathrm{x}^{2}-1} \cdot \frac{\mathrm{d}}{\mathrm{dx}}\left(\mathrm{x}^{2}\right)$
$\Rightarrow \frac{d v}{d x}=v \cdot\left[\frac{1}{x^{2}+1} \cdot(2 x)-\frac{1}{x^{2}-1} \cdot(2 x)\right]$
$\Rightarrow \frac{d v}{d x}=\left(\frac{x^{2}+1}{x^{2}-1}\right) \cdot\left[\frac{2 x\left(x^{2}-1\right)-2 x\left(x^{2}+1\right)}{\left(x^{2}+1\right)\left(x^{2}-1\right)}\right]$
$\Rightarrow \frac{d v}{d x}=\left(\frac{x^{2}+1}{x^{2}-1}\right) \cdot\left[\frac{-4 x}{\left(x^{2}+1\right)\left(x^{2}-1\right)}\right]$
$\Rightarrow \frac{d v}{d x}=\left[\frac{-4 x}{\left(x^{2}-1\right)^{2}}\right]$
Because, y = u + v
$\Rightarrow \frac{d y}{d x}=\frac{d u}{d x}+\frac{d v}{d x}$
$\Rightarrow \frac{d y}{d x}=x^{x \cos x}[\cos x(1+\log x)-x \cdot \log x \cdot \sin x]-\left[\frac{4 x}{\left(x^{2}-1\right)^{2}}\right]$

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

Verify Lagrange's mean value theorem for the following function on the indicated intervals. find a point 'c' in the indicated interval as stated by the Lagrange's mean value theorem.
$f(x) = x(x + 4)^2$​​​​​​​ on $[0,4]$
Let C be a curve defined parametrically as $\text{x}=\text{a}\cos^3\theta,\text{y}=\text{a}\sin^3\theta,0\leq\theta\leq\frac{\pi}{2}.$ Determine a point P on C, where the tangent to C is parallel to the chord joining the points (a, 0) and (0, a).
If A and B are two events such that $\text{P}(\text{A})=\frac{1}{3},\text{P(B)}=\frac{1}{5}$ and $\text{P}(\text{A}\cup\text{B})=\frac{11}{30}$ find $\text{P}\Big(\frac{\text{A}}{\text{B}}\Big)$ and $\text{P}\Big(\frac{\text{B}}{\text{A}}\Big).$
Differentiate the function $(\sin x)^x + \sin^{–1}\sqrt{x}$ w.r.t. $x$.
Integrate the function in Exercise:
$\text{e}^\text{x}\Bigg(\frac{1+\sin\text{x}}{1+\cos\text{x}}\Bigg)$
Evaluate the following integrals:$\int\frac{\text{x}^2\tan^{-1}\text{x}}{1+\text{x}^2}\text{dx}$
Find the distance between the planes $\vec{\text{r}}\cdot(\hat{\text{i}}+2\hat{\text{j}}+3\hat{\text{k}})+7=0$ and $\vec{\text{r}}\cdot(2\hat{\text{i}}+4\hat{\text{j}}+6\hat{\text{k}})+7=0$
Differentiate the following functions with respect to x:
$\tan^{-1}\Big(\frac{\text{x}}{1+6\text{x}^3}\Big)$
Solve the following systems of homogeneous linear equations by matrix method:
$x + y + z = 0$
$x - y - 5z = 0$
$x + 2y + 4z = 0$
In each of the show that the given differential equation is homogeneous and solve each of them.
$(\text{x}^2+\text{xy})\ \text{dy}=({\text{x}^{2}+\text{y}^{2}})\ \text{dx}$