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 = xxcos 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

Let $\vec{\text{u}},\vec{\text{v}}$ and $\vec{\text{w}}$ be vectors such $\vec{\text{u}}+\vec{\text{v}}+\vec{\text{w}}=\vec{0}.$ If $|\vec{\text{u}}|=3,|\vec{\text{v}}|=4$ and $|\vec{\text{w}}|=5,$ then find $\vec{\text{u}}.\vec{\text{v}}+\vec{\text{v}}.\vec{\text{w}}+\vec{\text{w}}.\vec{\text{u}}.$
Prove the following identities:
$\begin{vmatrix}\text{y}+\text{z}&\text{z}&\text{y}\\\text{z}&\text{z}+\text{x}&\text{x}\\\text{y}&\text{x}&\text{x}+\text{y}\end{vmatrix}=4\text{xyz}$
Differentiate the following functions with respect to x:
$\frac{\sqrt{\text{x}^2+1}+\sqrt{\text{x}^2-1}}{\sqrt{\text{x}^2+1}-\sqrt{\text{x}^2-1}}$
By computing the shortest distance determine whether the following pairs of lines intersect or not:
$\vec{\text{r}}=\big(\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}}\big)+\lambda\big(3\hat{\text{i}}-\hat{\text{j}}\big)$ and $\vec{\text{r}}=\big(4\hat{\text{i}}-\hat{\text{k}}\big)+\mu\big(2\hat{\text{i}}+3\hat{\text{k}}\big)$
Solve the following differential equation
$\text{x}(\text{x}^{2} - 1)\frac{\text{dy}}{\text{dx}} = 1, \text{y}(2) = 0$
Show that x = 2 is a root of the equation $\begin{vmatrix}\text{x}&-6&-1\\2&-3\text{x}&\text{x}-3\\-3&2\text{x}&\text{x}+2\end{vmatrix}=0$ and solve it completely.
Evaluate the following intregals:
$\int\frac{2\text{x}+1}{(\text{x}-2)(\text{x}-3)}\ \text{dx}$
Three cards are cdrawn successively with replacement from a well shffled deck of 52 cards. A random variable X denotes the number of hearts in the three cards drawn. Determine the probability distribution of X.
A factory has three machines A, B and C, which produce 100, 200 and 300 items of a particular type daily. The machines produce 2%, 3% and 5% defective items respectively. One day when the production was over, an item was picked up randomly and it was found to be defective. Find the probability that it was produced by machine A.
Evalute the following integrals:
$\int\frac{\text{cosec x}}{\log\tan\frac{\text{x}}{2}}\text{dx}$