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

Answer

Let $y = {\left( {x\cos x} \right)^x} + {\left( {x\sin x} \right)^{\frac{1}{x}}}$

Putting u = (x cos x)x and $v = {\left( {x\sin x} \right)^{\frac{1}{x}}}$

we have y = u + v

$\therefore \frac{{dy}}{{dx}} = \frac{{du}}{{dx}} + \frac{{dv}}{{dx}}$ ....(i)

Now u = (x cos x)x

$\Rightarrow \log u = \log {\left( {x\cos x} \right)^x} = x\log \left( {x\cos x} \right)$

$\Rightarrow \log u = x\left( {\log x + \log \cos x} \right)$

$\Rightarrow \frac{d}{{dx}}\log u = \frac{d}{{dx}}\left\{ {x\left( {\log x + \log \cos x} \right)} \right\}$

$\Rightarrow \frac{1}{u}\frac{{du}}{{dx}}$ $ = x\left[ {\frac{1}{x} + \frac{1}{{\cos x}}.\left( { - \sin x} \right)} \right] + \left( {\log x + \log \cos x} \right).1$

$\Rightarrow \frac{1}{u}\frac{{du}}{{dx}} $$ = \left[ {1 - x\tan x + \log \left( {x\cos x} \right)} \right]$

$\Rightarrow \frac{{du}}{{dx}} = u\left[ {1 - x\tan x + \log \left( {x\cos x} \right)} \right]$

$\Rightarrow \frac{{du}}{{dx}} = {\left( {x\cos x} \right)^x}\left[ {1 - x\tan x + \log \left( {x\cos x} \right)} \right]$ .....(ii)

Again $v = {\left( {x\sin x} \right)^{\frac{1}{x}}}$

$\Rightarrow \log v = \log {\left( {x\sin x} \right)^{\frac{1}{x}}} = \frac{1}{x}\log \left( {x\sin x} \right)$

$\Rightarrow \log v = \frac{1}{x}\left( {\log x + \log \sin x} \right)$

$\Rightarrow \frac{d}{{dx}}\log v = \frac{d}{{dx}}\left\{ {\frac{1}{x}\left( {\log x + \log \sin x} \right)} \right\}$

$\Rightarrow \frac{1}{v}\frac{dv}{{dx}} $$= \frac{1}{x}\left[ {\frac{1}{x} + \frac{1}{{\ sinx }}.\cos x} \right] + \left( {\log x + \log \sin x} \right)\left( {\frac{{ - 1}}{{{x^2}}}} \right)$

$\Rightarrow \frac{1}{v}\frac{dv}{{dx}} $$= \left[ {\frac{1}{{{x^2}}} + \frac{{\cot x}}{x} - \frac{{\log \left( {x\sin x} \right)}}{{{x^2}}}} \right]$

$\Rightarrow \frac{dv}{{dx}} = v\left[ {\frac{1}{{{x^2}}} + \frac{{\cot x}}{x} - \frac{{\log \left( {x\sin x} \right)}}{{{x^2}}}} \right]$

$\Rightarrow \frac{dv}{{dx}} = {\left( {x\sin x} \right)^{\frac{1}{x}}}\left[ {\frac{1}{{{x^2}}} + \frac{{\cot x}}{x} - \frac{{\log \left( {x\sin x} \right)}}{{{x^2}}}} \right]$ ...(iii)

Putting the values from eq. (ii) and (iii) in eq. (i)

$\frac{d}{{dx}} = {\left( {x\cos x} \right)^{^x}}$$\left[ {1 - x\tan x + \log \left( {x\cos x} \right)} \right] + {\left( {x\sin x} \right)^{\frac{1}{x}}}$$\left[ {\frac{1}{{{x^2}}} + \frac{{\cot x}}{x} - \frac{{\log \left( {x\sin x} \right)}}{{{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

Two cards are drawn from a well shuffled pack of 52 cards, one after another without replacement. Find the probability that one of these is red card and the other a black card?
If A' = $\left[\begin{array}{cc} {-2} & {3} \\ {1} & {2} \end{array}\right] \text { and } \mathbf{B}=\left[\begin{array}{rr} {-1} & {0} \\ {1} & {2} \end{array}\right]$, then find (A + 2B)′
For what value of 'a' the vectors $2\hat{\text{i}}-3\hat{\text{j}}+4\hat{\text{k}}$ and $\text{a}\hat{\text{i}}+6\hat{\text{j}}-8\hat{\text{k}}$ are collinear?
Find the vector equation of the plane which is at a distance of 5 units from the orgin and its normal vector is $2\hat{\text{i}}+3\hat{\text{j}}+6\hat{\text{k}}.$
If a line has direction ratios 2, -1, -2, determine its direction cosines.
If A and B are square matrices of the same order such that AB = BA, then show that (A + B)2 = A2 + 2AB + B2.
Verify that the function $x^{2}=2 y^{2} \log y$ (implicit or explicit) is a solution of the differential equation $\left(x^{2}+y^{2}\right) \frac{d y}{d x}-x y=0$ 
If f(x) = x + 1 then write the value of $\frac{\text{d}}{\text{dx}}\text{ fof }\text{(x)}.$
Determine the order and degree of the following differential equations. state also whether they are linear or non linear.
$\frac{\text{d}^2\text{y}}{\text{dx}^2}+\Big(\frac{\text{dy}}{\text{dx}}\Big)^2+\text{xy}=0$
Find the angle between the vectors $\vec{\text{a}} $ and $\vec{\text{b}},$ where

$\vec{\text{a}}=\hat {\text{i}}+2\hat{\text{j}}-\hat{\text{k}},$ and $\vec{\text{b}} =\hat{\text{i}}-\hat{\text{j}}+\hat{\text{k}}$