Question
Differentiate the function $x^{x}-2^{\sin x} w.r.t. x.$

Answer

Given: $x^x - 2 \sin x$
Let $y = x^x - 2 \sin x$
Let $y = u - v$
$\Rightarrow u = x^x$ and $v = 2 \sin x$
$For, u = x^x$
Taking $\log$ on both sides, we get
$\log u = \log x^x$
$\Rightarrow \log u = x.\log(x)$
Now, differentiate both sides with respect to $x$
$\frac{\mathrm{d}}{\mathrm{dx}}(\log \mathrm{u})=\frac{\mathrm{d}}{\mathrm{dx}}[\mathrm{x} \cdot \log (\mathrm{x})]$
$\Rightarrow \frac{1}{\mathrm{u}} \frac{\mathrm{du}}{\mathrm{dx}}=\mathrm{x} \cdot \frac{\mathrm{d}}{\mathrm{dx}}(\log \mathrm{x})+\log \mathrm{x} \cdot \frac{\mathrm{d}}{\mathrm{dx}}(\mathrm{x})$
$\Rightarrow \frac{\mathrm{du}}{\mathrm{dx}}=\mathrm{u}\left[\mathrm{x} \cdot \frac{1}{\mathrm{x}}+\log \mathrm{x} \cdot(1)\right]$
$\Rightarrow \frac{d u}{d x}=x^{x}(1+\log x)$
$For, v = 2^{ \sin x}$
Taking $\log$ on both sides, we get
$\log v = \log 2^{ \sin x}$
$\Rightarrow \log v = \sin x.\log (2)$
Now, differentiate both sides with respect to $x$
$\frac{\mathrm{d}}{\mathrm{dx}}(\log \mathrm{v})=\frac{\mathrm{d}}{\mathrm{dx}}[ \sin \mathrm{x} \cdot \log (2)]$
$\Rightarrow \frac{1}{\mathrm{v}} \frac{\mathrm{d} \mathrm{v}}{\mathrm{dx}}=\log 2 \cdot \frac{\mathrm{d}}{\mathrm{dx}}( \sin \mathrm{x})$
$\Rightarrow \frac{d v}{d x}=v[\log 2 .(\cos x)]$
$\Rightarrow \frac{d v}{d x}=2^{ \sin x} \cdot \cos x \cdot \log 2$
Because, $y = u - v$
$\Rightarrow \frac{d y}{d x}=\frac{d u}{d x}-\frac{d v}{d x}$
$\frac{dy}{dx} = x^x(1 + \log x) - 2^{ \sin x.}cosx.\log 2$

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

Determine P(E|F) : A coin is tossed three times.
E : at most two tails, F : at least one tail.
Prove that the given vectors are coplanar:
$2\hat{\text{i}}-\hat{\text{j}}+\hat{\text{k}},\ \hat{\text{i}}-3\hat{\text{j}}-5\hat{\text{k}}$ and $3\hat{\text{i}}-4\hat{\text{j}}-4\hat{\text{k}}$
Let $A = R - {3}$ and $B = R - {1}.$ Consider the function $f : A \rightarrow B$ defined by $\text{f(x)}=\frac{\text{x}-2}{\text{x}-3}.$ Show that $f$ is one$-$one and onto and hence find $f^{-1}.$
For the binary operation $\times _7$ on the set $S = \{1, 2, 3, 4, 5, 6\},$ compute $3^{−1} \times _7 4.$
Find the shortest distance between the lines $l_1$ and $l_2$ whose vector equations are
$\vec r = \hat i + \hat j + \lambda (2\hat i - \hat j + \hat k) ...(1)  $
and $\vec r = 2\hat i + \hat j - \hat k + \mu (3\hat i - 5\hat j + 2\hat k) ...(2)$
If $\sin^{-1}\frac{2\text{a}}{1+\text{a}^2}-\cos^{-1}\frac{1-\text{b}^2}{1+\text{b}^2}=\tan^{-1}\frac{2\text{x}}{1-\text{x}^2},$ then prove that $\text{x}=\frac{\text{a}-\text{b}}{1+\text{ab}}$
Test whether the following relations $R_{3 }$ are:
  1. Reflexive.
  2. Symmetric.
  3. Transitive.
$R_3$ on $R$ defined by $(\text{a, b})\in\text{R}_3\Leftrightarrow\ \text{a}^2-4\text{ab}+3\text{b}^2=0$
A, B, and C are independent witness of an event which is known to have occurred. A speaks the truth three times out of four, B four times out of five and C five times out of six. What is the probability that the occurrence will be reported truthfully by majority of three witnesses?
Find the area of a triangle whose vertices are $A(1,1,1), B(1,2,3)$ and $C(2,3,3)$.
A coin is tossed three times. Find $\text{P}\Big(\frac{\text{A}}{\text{B}}\Big)$ in each of the following:
A = Heads on third toss,
B = Heads on first two tosses.