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

Answer

Let $\text{y}=(\text{x}\cos\text{x})^\text{x}+(\text{x}\sin\text{x})^\frac{1}{\text{x}}$
Also, $\text{u}=(\text{x}\cos\text{x})^\text{x}\text{ and }\text{v}(\text{x}\sin\text{x})^\frac{1}{\text{x}}$
$\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})$
Now, $\text{u}=(\text{x}\cos\text{x})^\text{x}$
$\Rightarrow\log\text{u}=\log(\text{x}\cos\text{x})^\text{x}$
$\Rightarrow\log\text{u}=\text{x}\log(\text{x}\cos\text{x})$
$\Rightarrow\log\text{u}=\text{x}\big[\log\text{x}+\log\cos\text{x}\big]$
$\Rightarrow\log\text{u}=\text{x}\log\text{x}+\text{x}\log\cos\text{x}$
Differentiate both sides with respect to x,
$\frac{1}{\text{u}}\frac{\text{du}}{\text{dx}}=\frac{\text{d}}{\text{dx}}(\text{x}\log\text{x})+\frac{\text{d}}{\text{dx}}(\text{x}\log\cos\text{x})$
$\Rightarrow\frac{\text{du}}{\text{dx}}=\text{u}\Big[\Big\{\log\text{x}\frac{\text{d}}{\text{dx}}(\text{x})+\text{x}\frac{\text{d}}{\text{dx}}(\log\text{x})\Big\} \\ +\Big\{\log\cos\text{x}\frac{\text{d}}{\text{dx}}(\text{x})+\text{x}\frac{\text{d}}{\text{dx}}(\log\cos\text{x})\Big\}\Big]$
$\Rightarrow\frac{\text{du}}{\text{dx}}=(\text{x}\cos\text{x})^\text{x}\Big[\Big(\log\text{x}(1)+\text{x}\big(\frac{1}{\text{x}}\big)\Big) \\ +\Big\{\log\cos\text{x}(1)+\text{x}\frac{1}{\cos\text{x}}\frac{\text{d}}{\text{dx}}(\cos\text{x})\Big\}\Big]$
$\Rightarrow\frac{\text{du}}{\text{dx}}=(\text{x}\cos\text{x})^\text{x}\Big[(\log\text{x}+1)+\Big\{\log\cos\text{x}\frac{\text{x}}{\cos\text{x}}(-\sin\text{x})\Big\}\Big]$
$\Rightarrow\frac{\text{du}}{\text{dx}}=(\text{x}\cos\text{x})^\text{x}\big[(1+\log\text{x})+(\log\cos\text{x}-\text{x}\tan\text{x})\big]$
$\Rightarrow\frac{\text{du}}{\text{dx}}=(\text{x}\cos\text{x})^\text{x}\big[1-\text{x}\tan\text{x}+(\log\text{x}+\log\cos\text{x})\big]$
$\Rightarrow\frac{\text{du}}{\text{dx}}=(\text{x}\cos\text{x})^\text{x}\big[1-\text{x}\tan\text{x}+\log(\text{x}\cos\text{x})\big]\ .....(\text{ii})$
Again, $\text{v}=(\text{x}\sin\text{x})^\frac{1}{\text{x}}$
$\Rightarrow\log\text{v}=\log(\text{x}\sin\text{x})^\frac{1}{\text{x}}$
$\Rightarrow\log\text{v}=\frac{1}{\text{x}}\log(\text{x}\sin\text{x})$
$\Rightarrow\log\text{v}=\frac{1}{\text{x}}(\log\text{x}+\log\sin\text{x})$
$\Rightarrow\log\text{v}=\frac{1}{\text{x}}\log\text{x}+\frac{1}{\text{x}}\log\sin\text{x}$
Differentiating both sides with respect to x,
$\frac{1}{\text{v}}\frac{\text{dv}}{\text{dx}}=\frac{\text{d}}{\text{dx}}\Big(\frac{1}{\text{x}}\log\text{x}\Big)+\frac{\text{d}}{\text{dx}}\Big[\frac{1}{\text{x}}\log(\sin\text{x})\Big]$
$\Rightarrow\frac{1}{\text{v}}\frac{\text{dv}}{\text{dx}}=\Big[\log\text{x}\frac{\text{d}}{\text{dx}}\Big(\frac{1}{\text{x}}\Big)+\frac{1}{\text{x}}\frac{\text{d}}{\text{dx}}(\log\text{x})\Big] \\ +\Big[\log(\sin\text{x})\frac{\text{d}}{\text{dx}}\Big(\frac{1}{\text{x}}\Big)+\frac{1}{\text{x}}\frac{\text{d}}{\text{dx}}\big\{\log(\sin\text{x})\big\}\Big]$
$\Rightarrow\frac{1}{\text{v}}\frac{\text{dv}}{\text{dx}}=\Big[\log\text{x}\Big(-\frac{1}{\text{x}^2}\Big)+\Big(\frac{1}{\text{x}}\Big)\Big(\frac{1}{\text{x}}\Big)\Big] \\ +\Big[\log(\sin\text{x})\Big(-\frac{1}{\text{x}^2}\Big)+\frac{1}{\text{x}}\Big(\frac{1}{\sin\text{x}}\Big)\frac{\text{d}}{\text{dx}}(\sin\text{x})\Big]$
$\Rightarrow\frac{1}{\text{v}}\frac{\text{dv}}{\text{dx}}=\frac{1}{\text{x}^2}(1-\log\text{x})+\Big[-\frac{\log(\sin\text{x})}{\text{x}^2}+\frac{1}{\text{x}\sin\text{x}}(\cos\text{x})\Big]$
$\Rightarrow\frac{\text{dv}}{\text{dx}}=(\text{x}\sin\text{x})^{\frac{1}{\text{x}}}\Big[\frac{1-\log\text{x}}{\text{x}^2}+\frac{\log(\sin\text{x}+\text{x}\cos\text{x})}{\text{x}^2}\Big]$
$\Rightarrow\frac{\text{dv}}{\text{dx}}=(\text{x}\sin\text{x})^\frac{1}{\text{x}}\Big[\frac{1-\log\text{x}-\log(\sin\text{x})+\text{x}\cot\text{x}}{\text{x}^2}\Big]$
$\Rightarrow\frac{\text{dv}}{\text{dx}}=(\text{x}\sin\text{x})^\frac{1}{\text{x}}\Big[\frac{1-\log(\text{x}\sin\text{x})+\text{x}\cot\text{x}}{\text{x}^2}\Big]\ .....(\text{iii})$
From (i), (ii) and (iii), we obtain
$\frac{\text{dy}}{\text{dx}}=(\text{x}\cos\text{x})^\text{x}\big[1-\text{x}\tan\text{x}+\log(\text{x}\cos\text{x})\big]\\+(\text{x}\sin\text{x})^\frac{1}{\text{x}} \Big[\frac{\text{x}\cot\text{x}+1-\log(\text{x}\sin\text{x})}{\text{x}^2}\Big]$

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{y}}{\text{x}}\cos\Big(\frac{\text{y}}{\text{x}}\Big)\text{dx}-\Big\{\frac{\text{x}}{\text{y}}\sin\Big(\frac{\text{y}}{\text{x}}\Big)+\cos\Big(\frac{\text{y}}{\text{x}}\Big)\Big\}\text{dy}=0$
Evaluate the definite integral in Exercise:

 

$\int^{\frac{\pi}{4}}_{0}\frac{\sin\text{x}+\cos\text{x}}{9+16\sin2\text{x}}\text{dx}$

Verify Rolle's theorem for the following function on the indicated intervals

$\text{f}(\text{x})=\sin2\text{x}\text{ on }\Big[0,\frac{\pi}{2}\Big]$

Find the direction cosines of the lines, connected by the relations: l + m + n = 0 and $\frac{2}{\text{m}}+\frac{2}{\text{n}}-\text{mn}=0$.
Find $\frac{\text{dy}}{\text{dx}},$ when
$\text{x}=\text{ae}^{\theta}(\sin\theta-\cos\theta),\text{y}=\text{ae}^\theta(\sin\theta+\cos\theta)$
The points A(4, 5, 10), B(2, 3, 4) and C(1, 2, –1) are three vertices of a parallelogram ABCD. Find the vector equations of the sides AB and BC and also find the coordinates of point D.
Three cards are drawn successively, without replacement from a pack of 52 well shuffled cards. What is the probability that first two cards are kings and third card drawn is an ace?
Evaluate the following integrals:
$\int_{0}^\limits{1}\frac{1}{1+2\text{x}+2\text{x}^2+2\text{x}^3+\text{x}^4}\text{ dx}$
If $\text{f}(\text{a}+\text{b}-\text{x})=\text{f(x)},$ then prove that $\int\limits^{\text{b}}_\text{a}\text{x}\text{f(x)}\text{dx}=\frac{\text{a}+\text{b}}{2}\int\limits^{\text{b}}_\text{a}\text{f(x)}\text{dx}$ 
Differentiate the following functions with respect to x:
$\tan^{-1}\Big(\frac{2\text{a}^{\text{x}}}{1-\text{a}^{2\text{x}}}\Big),\text{a}>1, -\infty<\text{x}<0$