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 Rolle's theorem of the following function on the indicated interval
$\text{f}(\text{x})=\frac{6\text{x}}{\pi}-4\sin^{2}\text{x}\text{ on }\Big[0,\frac{\pi}{6}\Big]$
Evaluate the following intregals:
$\int\frac{1}{(\sin\text{x}-2\cos\text{x})(2\sin\text{x}-\cos\text{x})}\ \text{dx}$
Solve the following differential equations:$(\text{xy}^2+2\text{x})\text{dx}+(\text{x}^2\text{y+2y})\text{dy}=0$
A publisher sells a hard cover edition of a text book for $Rs. 72.00$ and paperback edition of the same ext for $Rs. 40.00.$ Costs to the publisher are $Rs. 56.00$ and $Rs. 28.00$ per book respectively in addition to weekly costs of $Rs. 9600.00.$ Both types require $5$ minutes of printing time, although hardcover requires $10$ minutes binding time and the paperback requires only $2$ minutes. Both the printing and binding operations have $4,800$ minutes available each week. How many of each type of book should be produced in order to maximize profit?
Solve the following determinant equations: $\begin{vmatrix}3\text{x}-8&3&3\\3&3\text{x}-8&8\\3&3&3\text{x}-8\end{vmatrix}=0$
Find $\frac{\text{dy}}{\text{dx}} y = e^x + 10^x + x^x$
Two institutions decided to award their employees for the three values of resourcefulness, competence and determination in the form of prices at the rate of Rs. x, y and z respectively per person. The first institution decided to award respectively 4, 3 and 2 employees with a total price money of Rs. 37000 and the second institution decided to award respectively 5, 3 and 4 employees with a total price money of Rs. 47000. If all the three prices per person together amount to Rs. 12000 then using matrix method find the value of x, y and z. What values are described in this equations?
If the tangent to the curve $y = x^3 + ax + b$ at $(1, − 6)$ is parallel to the line $x − y + 5 = 0,$ find $a$ and $b.$
Using integration, find the area of the region in the first quadrant enclosed by the $x-$axis, the line $y = x$ and the circle $x^2 + y^2 = 32.$
Evaluate the following determinant:
$\begin{vmatrix}1&3&9&27\\3&9&27&1\\9&27&1&3\\27&1&3&9 \end{vmatrix}$