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

Answer

Let y = u + v

When $u = {x^{\sin x}}$, $v = {\left( {\sin x} \right)^{\cos x}}$

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

$u = {x^{\sin x}}$

Taking log both side

log $u = \log {x^{\sin x}}$

log $u = \sin x.\log x$

diff. both side w.r. to x

$\frac{1}{u}\frac{{du}}{{dx}} = \sin x.\frac{1}{x} + \log x\cos x$

$\frac{{du}}{{dx}} = u\left[ {\frac{{\sin x}}{x} + \log x.\cos x} \right]$

$\frac{{du}}{{dx}} = {x^{\sin x}}\left[ {\frac{{\sin x + x\log x.\cos x}}{x}} \right]$

$v = {\left( {\sin x} \right)^{\cos x}}$

Taking log both sides

log $v = \log {\left( {\sin x} \right)^{\cos x}}$

$\log v = \cos x.\log \left( {\sin x} \right)$

Differentiating both sides  w.r.t to x

$\frac{1}{v}.\frac{{dv}}{{dx}} = \cos x.\frac{1}{{\sin x}}\left( {\cos x} \right) + \log \left( {\sin x} \right)\left( { - \sin x} \right)$

$\frac{{dv}}{{dx}} = v\left[ {\cot x.\cos x - \log \left( {\sin x} \right).\sin x} \right]$

$\frac{{dv}}{{dx}} = {\left( {\sin x} \right)^{\cos x}}\left[ {\cot x.\cos x - \log \left( {\sin x} \right).\sin x} \right]$

Hence

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

Evaluate the following integrals:
$\int\limits^0_{-5}\text{f(x)}\text{dx,}$ Where $\text{f(x)}=|\text{x}|+|\text{x}+2|+|\text{x}+5|$
Evaluate the following intregals:
$\int\frac{\text{x}^2+6\text{x}-8}{\text{x}^3-4\text{x}}\ \text{dx}$
Show that the following system of linear equations is consistent and also find solution:
$2x + 3y = 5$
$6x + 9y = 15$
Verify Rolle's theorem of the following function on the indicated interval
$\text{f}(\text{x})=\cos2\text{x}\text{ on }\Big[\frac{-\pi}{4},\frac{\pi}{4}\Big]$
If $\begin{vmatrix}\text{p}&\text{q}&\text{c}\\\text{a}&\text{q}&\text{c}\\\text{a}&\text{b}&\text{r} \end{vmatrix}=0,$ find the value of $\frac{\text{p}}{\text{p}-\text{a}}+\frac{\text{q}}{\text{q}-\text{b}}+\frac{\text{r}}{\text{r}-\text{c}},$ $\text{p}\neq\text{a},\text{q}\neq\text{b},\text{r}\neq\text{c}.$
A firm manufactures $3$ products $A, B$ and $C.$ The profits are $Rs. 3, Rs. 2$ and $Rs. 4$ respectively. The firm has $2$ machines and below is the required processing time in minutes for each machine on each product:
Machine
Products
$A$ $B$ $C$
$M_1$ $4$ $3$ $5$
$M_2$ $2$ $2$ $4$
Machines $M_1$ and $M_{2}$ have $2000$ and $2500$ machine minutes respectively. The firm must manufacture $100 A's, 200 B's$ and $50 C's$ but not more than $150 A's.$ Set up a $\text{LPP}$ to maximize the profit.
Solve the following differential equation $\sqrt{1-\text{x}^4}\text{dy}=\text{x dx}$
Sketch the graph y = |x + 3|. Evaluate $\int\limits_{-6}^{0}|\text{x}-3|\text{dx} $ . What does this value of the integral represent on the graph.
Evaluate the following integrals:
$\int\text{x}\sqrt{\text{x}^4+1}\text{dx}$
If $ \vec{\text{a}}=2\hat{\text{i}}-\hat{\text{j}}-2\hat{\text{k}}\ \text{and}\ \vec{\text{b}}=7\hat{\text{i}}+2\hat{\text{j}}-3\hat{\text{k}}, $ then express $ \overrightarrow{\text{b}}$ in the form of $\overrightarrow{\text{b}}=\ \overrightarrow{\text{b}}_1+\overrightarrow{\text{b}}_2,$ where $ \overrightarrow{\text{b}}_1$ is parallel to $\overrightarrow{\text{a}}$ and $ \overrightarrow{\text{b}}_2$ is perpendicular to$\overrightarrow{\text{a}}$.