Question
Differentiate the following functions with respect to x:
$\text{x}^{\text{x}\cos\text{x}}+\frac{\text{x}^2+1}{\text{x}^2-1}$

Answer

Let $\text{y}=\text{x}^{\text{x}\cos\text{x}}+\frac{\text{x}^2+1}{\text{x}^2-1}$
Also, let $\text{u}=\text{x}^{\text{x}\cos\text{x}}\text{ and v}=\frac{\text{x}^2+1}{\text{x}^2-1}$
$\therefore\ \text{y}=\text{u}+\text{v}$
$\Rightarrow\ \frac{\text{dy}}{\text{dx}}=\frac{\text{du}}{\text{dx}}+\frac{\text{dv}}{\text{dx}}\ .....(\text{i})$
$\text{u}=\text{x}^{\text{x}\cos\text{x}}$
$\Rightarrow\ \log\text{u}=\log(\text{x}^{\text{x}\cos\text{x}})$
$\Rightarrow\log\text{u}=\text{x}\cos\text{x}\log\text{x}$
Diffrerentiating both sides with respect to x, we obtain
$\frac{1}{\text{u}}\frac{\text{du}}{\text{dx}}=\frac{\text{d}}{\text{dx}}(\text{x}).\cos\text{x}\log\text{x}+\text{x}.\frac{\text{d}}{\text{dx}}(\cos\text{x}).\log\text{x}+\text{x}\cos\text{x}.\frac{\text{d}}{\text{dx}}(\log\text{x})$
$\Rightarrow\frac{\text{du}}{\text{dx}}=\text{u}\Big[1.\cos\text{x}.\log\text{x}+\text{x}.(-\sin\text{x})\log\text{x}+\text{x}\cos\text{x}.\frac{1}{\text{x}}\Big]$
$\Rightarrow\frac{\text{du}}{\text{dx}}=\text{x}^{\text{x}\cos\text{x}}(\cos\text{x}\log\text{x}-\text{x}\sin\text{x}\log\text{x}+\cos\text{x})$
$\Rightarrow\frac{\text{du}}{\text{dx}}=\text{x}^{\text{x}\cos\text{x}}\big[\cos\text{x}(1+\cos\text{x})-\text{x}\sin\text{x}\log\text{x}\big]\ .....(\text{ii})$
$\text{v}=\frac{\text{x}^2+1}{\text{x}^2-1}$
$\Rightarrow\log\text{v}=\log(\text{x}^2+1)-\log(\text{x}^2-1)$
Differentiating both sides with respect to x, we obtain
$\frac{1}{\text{v}}\frac{\text{dv}}{\text{dx}}=\frac{2\text{x}}{\text{x}^2+1}-\frac{2\text{x}}{\text{x}^2-1}$
$\Rightarrow\frac{\text{dv}}{\text{dx}}=\text{v}\Big[\frac{2\text{x}(\text{x}^2-1)-2\text{x}(\text{x}^2+1)}{(\text{x}^2+1)(\text{x}^2-1)}\Big]$
$\Rightarrow\frac{\text{dv}}{\text{dx}}=\frac{\text{x}^2+1}{\text{x}^2-1}\times\Big[\frac{-4\text{x}}{(\text{x}^2+1)(\text{x}^2-1)}\Big]$
$\Rightarrow\frac{\text{dv}}{\text{dx}}=\frac{-4\text{x}}{(\text{x}^2-1)^2}\ .....(\text{iii})$
From (1), (2) and (3), we obtain
$\frac{\text{dy}}{\text{dx}}=\text{x}^{\text{x}\cos\text{x}}\big[\cos\text{x}(1+\log\text{x})-\text{x}\sin\text{x}\log\text{x}\big]-\frac{4\text{x}}{(\text{x}^2-1)^2}$

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

Maximize $z=4 x_1+3 x_2$ subject to $3 x_1+x_2 \leq 15,3 x_1+4 x_2 \leq 24, x_1 \geq 0, x_2 \geq 0$
Evaluate the following integrals:$\int\text{x}^2\sin^{-1}\text{x dx}$
Find the shortest distance between the following pairs of lines whose vector equation are:
$\vec{\text{r}}=(8+3\lambda)\hat{\text{i}}-(9+16\lambda)\hat{\text{j}}+(10+7\lambda)\hat{\text{k}}$ and $\vec{\text{r}}=15\hat{\text{i}}+29\hat{\text{j}}+5\hat{\text{k}}+\mu\big(3\hat{\text{i}}+8\hat{\text{j}}-5\hat{\text{k}}\big)$
Using vector method, prove that the point is collinear:
A(6, -7, -1), B(2, -3, 1) and C(4, -5, 0)
Evaluate the following integrals:
$\int\frac{1}{(1+\text{x}^2)\sqrt{1-\text{x}^2}}\text{ dx}$
Show that the relation $R,$ defined on the set A of all polygons as $R = \{(P_1, P_2): P_1$ and $P_2$ have same number of sides$\}$, is an equivalence relation. What is the set of all elements in A related to the right angle triangle $T$ with sides $3, 4$ and $5?$
Find the angle between the follwing pairs of lines:$\vec{\text{r}}=\big(3\hat{\text{i}}+2\hat{\text{j}}-4\hat{\text{k}}\big)+\lambda\big(\hat{\text{i}}+2\hat{\text{j}}+2\hat{\text{k}}\big)$ and $\vec{\text{r}}=\big(5\hat{\text{j}}-2\hat{\text{k}}\big)+\mu\big(3\hat{\text{i}}+2\hat{\text{j}}+6\hat{\text{k}}\big)$
In a quadrilateral $ABCD$, prove that $AB^2+ BC^2+ CD^2+ DA^2= AC^2+ BD^2+ 4PQ^2$​​​​​​​, where $P$ and $Q$ are middle points of diagonals $AC$ and $BD$.
Solve the following differential equation:
$(1+\text{y}^2)+(\text{x}-\text{e}^{\tan^{-1}\text{y}})\frac{\text{dy}}{\text{dx}}=0$
Show that $\text{y}=\text{A}\cos2\text{x}+\text{B}\sin2\text{x}$ is a solution of the differential equation $\frac{\text{d}^2\text{y}}{\text{dx}^2}+4\text{y}=0$