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

Compare the area under the curve $\text{y}=\cos^2\text{x}\text{ and }\text{y}=\sin^2\text{x}$ between x = 0 and $\text{x}=\pi.$
Find the dimensions of the rectangle of perimeter 36cm which will sweep out a volume as large as possible, when revolved about one of its sides. Also find the maximum volume.
Integrate the function in Exercise:$\frac{1}{\big(\text{x}^{2}+1\big)\big(\text{x}^{2}+4\big)}$
Evaluate the following intregals:
$\int\frac{1}{1+3\sin^2\text{x}}\text{ dx}$
Find the equation of the tangent line to the curve $y = x^2 - 2x + 7$ which is perpendicular to the line $5y - 15x = 13.$
Find the area of the ragion bounded by $x^2= 4ay$ and its latusrectum.
Evaluate the following integrals:
$\int\frac{\text{x}}{3\text{x}^4-18\text{x}^2+11}\text{dx}$
Find the probability distribution of the number of doublets in three throws of a pair of dice and find its mean.
A firm manufactures headache pills in two sizes A and B. Size A contains 2 grains of aspirin, 5 grains of bicarbonate and 1 grain of codeine; size B contains 1 grain of aspirin, 8 grains of bicarbonate and 66 grains of codeine. It has been found by users that it requires at least 12 grains of aspirin, 7.4 grains of bicarbonate and 24 grains of codeine for providing immediate effects. Determine graphically the least number of pills a patient should have to get immediate relief. Determine also the quantity of codeine consumed by patient
A class has 15 students whose ages are 14, 17, 15, 14, 21, 19, 20, 16, 18, 17, 20, 17, 16, 19 and 20 years respectively. One student is selected in such a manner that each has the same chance to being selected and the age X of the selected student is recorded. What is the probability distribution of the random variable X.