Question
Differentiate the function $\left(x+\frac{1}{x}\right)^{x}+x^{\left(1+\frac{1}{x}\right)}$ w.r.t. x.

Answer

Given: $\left(x+\frac{1}{x}\right)^{x}+x^{\left(1+\frac{1}{x}\right)}$
Let y = $\left(x+\frac{1}{x}\right)^{x}+x^{\left(1+\frac{1}{x}\right)}$
Also, let y = u + v
$\Rightarrow \mathrm{u}=\left(\mathrm{x}+\frac{1}{\mathrm{x}}\right)^x$ and $\mathrm{v}=\mathrm{x}^{\left(1+\frac{1}{\mathrm{x}}\right)}$
For, $\mathrm{u}=\left(\mathrm{x}+\frac{1}{\mathrm{x}}\right)^{\mathrm{x}}$ 
Taking log on both sides, we get
$\log u=\log \left(x+\frac{1}{x}\right)^{x}$ 
Now, differentiate both sides with respect to x
$\frac{d}{d x}(\log u)=\frac{d}{d x}\left[x \cdot \log \left(x+\frac{1}{x}\right)\right]$ 
$\Rightarrow \frac{1}{\mathrm{u}} \frac{\mathrm{du}}{\mathrm{dx}}=\mathrm{x} \cdot \frac{\mathrm{d}}{\mathrm{dx}}\left(\log \left(\mathrm{x}+\frac{1}{\mathrm{x}}\right)\right)+\log \left(\mathrm{x}+\frac{1}{\mathrm{x}}\right) \cdot \frac{\mathrm{d}}{\mathrm{dx}}(\mathrm{x})$ 
$\Rightarrow \frac{\mathrm{d} \mathrm{u}}{\mathrm{dx}}=\mathrm{u}\left[\mathrm{x} \cdot \frac{1}{\left(\mathrm{x}+\frac{1}{\mathrm{x}}\right)} \cdot \frac{\mathrm{d}}{\mathrm{dx}}\left(\mathrm{x}+\frac{1}{\mathrm{x}}\right)+\log \left(\mathrm{x}+\frac{1}{\mathrm{x}}\right)\right]$ 
$\Rightarrow \frac{\mathrm{du}}{\mathrm{dx}}=\mathrm{u}\left[\mathrm{x} \cdot \frac{1}{\left(\mathrm{x}+\frac{1}{\mathrm{x}}\right)} \cdot\left(\frac{\mathrm{dx}}{\mathrm{dx}}+\frac{\mathrm{d}}{\mathrm{dx}}\left(\frac{1}{\mathrm{x}}\right)\right)+\log \left(\mathrm{x}+\frac{1}{\mathrm{x}}\right)\right]$ 
$\Rightarrow \frac{d u}{d x}=u\left[\frac{x}{\left(x+\frac{1}{x}\right)} \cdot\left(1-\frac{1}{x^{2}}\right)+\log \left(x+\frac{1}{x}\right)\right]$
$\Rightarrow \frac{d u}{d x}=u\left[\frac{x}{\left(x+\frac{1}{x}\right)} \cdot\left(\frac{x^{2}-1}{x^{2}}\right)+\log \left(x+\frac{1}{x}\right)\right]$ 
$\Rightarrow \frac{d u}{d x}=\left(x+\frac{1}{x}\right)^{x}\left[\left(\frac{x^{2}-1}{x^{2}+1}\right)+\log \left(x+\frac{1}{x}\right)\right]$
For, $\mathrm{v}=\mathrm{x}^{\left(1+\frac{1}{\mathrm{x}}\right)}$ 
Taking log on both sides, we get
$\log v=\log {x}^{\left(1+\frac{1}{x}\right)}$ 
$\Rightarrow \log \mathrm{v}=\left(1+\frac{1}{\mathrm{x}}\right) \cdot \log \mathrm{x}$ 
Now, differentiate both sides with respect to x
$\frac{d}{d x}(\log v)=\frac{d}{d x}\left[\left(1+\frac{1}{x}\right) \cdot \log x\right]$ 
$\Rightarrow \frac{1}{\mathrm{v}} \frac{\mathrm{dv}}{\mathrm{dx}}=\log \mathrm{x} \cdot \frac{\mathrm{d}}{\mathrm{dx}}\left(1+\frac{1}{\mathrm{x}}\right)+\left(1+\frac{1}{\mathrm{x}}\right) \cdot \frac{\mathrm{d}}{\mathrm{dx}}(\log \mathrm{x})$ 
$\Rightarrow \frac{d V}{d x}=v\left[\log x \cdot\left(0-\frac{1}{x^{2}}\right)+\left(1+\frac{1}{x}\right) \cdot \frac{1}{x}\right]$ 
$\Rightarrow \frac{d v}{d x}=x^{\left(1+\frac{1}{x}\right)}\left[-\frac{\log x}{x^{2}}+\left(\frac{1}{x}+\frac{1}{x^{2}}\right)\right]$ 
$\Rightarrow \frac{d v}{d x}=x^{\left(1+\frac{1}{x}\right)}\left[\frac{-\log x+x+1}{x^{2}}\right]$ 
$\Rightarrow \frac{d v}{d x}=x^{\left(1+\frac{1}{x}\right)}\left[\frac{x+1-\log x}{x^{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}=\left(x+\frac{1}{x}\right)^{x}\left[\left(\frac{x^{2}-1}{x^{2}+1}\right)+\log \left(x+\frac{1}{x}\right)\right]+x^{\left(1+\frac{1}{x}\right)}\left[\frac{x+1-\log x}{x^{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

Solve the following differential equation
$\frac{\text{dy}}{\text{dx}}=\frac{\text{x e }^\text{x}\log\text{x}+\text{e}^\text{x}}{\text{x}\cos\text{y}}$
If $\cos\text{y}=\text{x}\cos(\text{a}+\text{y}),$ where $\cos\text{a}\neq\pm1,$ prove that $\frac{\text{dy}}{\text{dx}}=\frac{\cos^2(\text{a}+\text{y})}{\sin\text{a}}$
Find the shortest distance between the lines
$\vec{\text{r}}=\hat{\text{i}}+2\hat{\text{j}}+3\hat{\text{k}}+\lambda\big(\hat{\text{i}}-3\hat{\text{j}}+2\hat{\text{k}}\big)$ and $\vec{\text{r}}=4\hat{\text{i}}+5\hat{\text{j}}+6\hat{\text{k}}+\mu\big(2\hat{\text{i}}+3\hat{\text{j}}+\hat{\text{k}}\big)$
Evaluate the following integrals:
$\int^\limits{\text{a}}_0\text{x}\sqrt{\frac{\text{a}^2-\text{x}^2}{\text{a}^2+\text{x}^2}}\text{ dx}$
Two like parallel forces $\overrightarrow{a}$ and$\overrightarrow{b}$ act on a rigid body at A and B respectively. If $\overrightarrow{P}$ and $\overrightarrow{Q}$ are interchanged in position, show that the point of application of the resultant will be displaced through a distance $\frac{P -Q}{P + Q}.AB$
Find the value of k in this question, so that the function f is continuous at the indicated point:
$\text{f(x)}=\begin{cases}\frac{\sqrt{1+\text{kx}}-\sqrt{1-\text{kx}}}{\text{x}},&\text{if}-1\leq0\\\frac{2\text{x}+1}{\text{x}-1},&\text{if }0\leq\text{x}\leq1\end{cases}$ at x = 0.
Prove that the diagonals of a rhombus are perpendicular bisectors of each other.
Find the value of $\int_{\pi / 6}^{\pi / 3} \frac{d x}{1+\sqrt{\tan x}}$
Solve the following initial value problems:
$\frac{\text{dy}}{\text{dx}}+\text{y}\cot\text{x}=2\cos\text{x},\text{ y}\Big(\frac{\pi}{2}\Big)=0$
If the value of c prescribed bye Lagrange's mean value theorem for the function
$\text{f}(\text{x})=\sqrt{\text{x}^2-4}$ defined on [2, 3].