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

A man rides his motorcycle at the speed of 50km/ hour. He has to spend Rs. 2 per km on petrol. If he rides it at a faster speed of 80km/ hour, the petrol cost increases to Rs. 3 per km. He has atmost Rs. 120 to spend on petrol and one hour’s time. He wishes to find the maximum distance that he can travel.
Express this problem as a linear programming problem.
$\int\frac{\text{x}^2+3\text{x}-1}{(\text{x}+1)^2}\text{dx}$
Using differentials, find the approximate values of the following:
$(82)^{\frac{1}{4}}$
Show that $\text{y}=\text{ae}^{2\text{x}}+\text{be}^{-\text{x}}$ is a solution of the differential equation $\frac{\text{d}^2\text{y}}{\text{dx}^2}-\frac{\text{dy}}{\text{dx}}-2\text{y}=0$
Find the area bounded by the parabola $y^2 = 4x$ and the line $y = 2x - 4$:
By using vertical strips.
At what points on the curve $y = 2x^2 - x + 1$ is the tangent parallel to the line $y = 3x + 4?$
Find the position vector of a point R which divides the line joining two points P and Q whose position vectors are $\hat{i}+2\hat{j}-\hat{k}\ \text{and}\ -\hat{i}+\hat{j}+\hat{k}$ respectively, in the ratio 2 : 1
  1. Internally.
  2. Externally.
Verify Rolle's theorem for the following function on the indicated intervals $f(x) = x^2+ 5 x + 6 $on the interval $[-3, -2]$
Find the area of the smaller part of the circle $x^2 + y^2 = a^2$ cut off by the line $\text{x}=\frac{\text{a}}{\sqrt2}.$
If $y = Ae^{mx} + Be^{nx}$, show that $\frac{{{d^2}y}}{{d{x^2}}} - \left( {m + n} \right)\frac{{dy}}{{dx}} + mny = 0$