Differentiate ${{x}^{\sin x}}$ with respect to ${{(\sin x)}^{x}}$.
Answer
680.1k+ views
Hint:To solve this problem, we should know the basic concepts of differentiation with respect to a variable. In general, if we have to function g(x) and f(x). Then, to find the differentiation of g(x) with respect to f(x), we find the derivative of g(x) with respect to x and then find the derivative of f(x) with respect to x. Finally, we will divide these two results. In short, we have -
$\dfrac{d(g(x))}{d(f(x))}=\dfrac{\dfrac{d(g(x))}{dx}}{\dfrac{d(f(x))}{dx}}$
We will use the chain rule of differentiation and the product rule of differentiation along with this. We have, the product rule of differentiation as -
$\dfrac{d\left( p(x)q(x) \right)}{dx}=p(x)\dfrac{d(q(x))}{dx}+q(x)\dfrac{d(p(x))}{dx}$
The chain rule is given as –
Derivative of f(g(x)) is $\dfrac{d(f(g(x)))}{dx}\left( \dfrac{d(g(x))}{dx} \right)$
We can now solve this problem by using these formulas.
Complete step-by-step answer:
Before solving this problem, we would first define the functions as g(x) = ${{x}^{\sin x}}$ and f(x) = ${{(\sin x)}^{x}}$. Now, since, we have to find $\dfrac{d(g(x))}{d(f(x))}=\dfrac{\dfrac{d(g(x))}{dx}}{\dfrac{d(f(x))}{dx}}$, we first start by finding the derivative of g(x) with respect to x first. We have,
= $\dfrac{d(g(x))}{dx}$
= $\dfrac{d({{x}^{\sin x}})}{dx}$
The above expression cannot be solved by normal properties of differentiation properties since the exponent of x is not a constant. Thus, to solve this type of problems, we have to take logarithm on both sides of g(x), thus, we have,
g(x) = ${{x}^{\sin x}}$
log(g(x)) = (sinx) log(x) -- (A)
Now, we use product rule of differentiation, this rule is given by –
$\dfrac{d\left( p(x)q(x) \right)}{dx}=p(x)\dfrac{d(q(x))}{dx}+q(x)\dfrac{d(p(x))}{dx}$
Now, we have,
Taking p(x) = sin x and q(x) = log(x), we have,
$\dfrac{d(\sin x(\log x))}{dx}=\dfrac{\sin x}{x}+(\log x)(\cos x)$ -- (1)
Now, to find the derivative of log(g(x)) with respect to x (in the LHS part of equation (A)), we need to use the chain rule of differentiation. According to this rule, derivative of any function f(g(x)) is $\dfrac{d(f(g(x)))}{dx}\left( \dfrac{d(g(x))}{dx} \right)$. Thus, we have,
$\dfrac{d(\log (g(x))}{dx}=\dfrac{1}{(g(x))}\dfrac{d(g(x))}{dx}$ -- (2)
Substituting (1) and (2) in derivative of (A), we have,
$\dfrac{1}{(g(x))}\dfrac{d(g(x))}{dx}=\dfrac{\sin x}{x}+(\log x)(\cos x)$
$\dfrac{d(g(x))}{dx}=(g(x))\left( \dfrac{\sin x}{x}+(\log x)(\cos x) \right)$ -- (B)
Now, we solve similarly for f(x), we have,
f(x) = ${{(\sin x)}^{x}}$
log(f(x)) = x log(sin(x)) -- (C)
Now, we use product rule of differentiation, this rule is given by –
$\dfrac{d\left( p(x)q(x) \right)}{dx}=p(x)\dfrac{d(q(x))}{dx}+q(x)\dfrac{d(p(x))}{dx}$
Now, first solving RHS of (C), we use product rule of differentiation and chain rule of differentiation, we have,
Taking p(x) = x and q(x) = log(sin(x)), we have,
$\dfrac{d(x(\log (\sin x))}{dx}=x\dfrac{\cos x}{\sin x}+\log (\sin x)$ -- (3)
Now, solving the LHS part of (C), we use the chain rule. According to this rule, derivative of f(g(x)) is $\dfrac{d(f(g(x)))}{dx}\left( \dfrac{d(g(x))}{dx} \right)$. Thus, using this on the LHS of equation (C), we have,
$\dfrac{d(\log (f(x))}{dx}=\dfrac{1}{(f(x))}\dfrac{d(f(x))}{dx}$ -- (4)
Substituting (3) and (4) as RHS and LHS respectively in derivative of (C), we have,
$\dfrac{1}{(f(x))}\dfrac{d(f(x))}{dx}=x\dfrac{\cos x}{\sin x}+\log (\sin x)$
$\dfrac{d(f(x))}{dx}=(f(x))\left( x\dfrac{\cos x}{\sin x}+\log (\sin x) \right)$ -- (D)
Now, we divide (B) and (D), we have,
$\dfrac{d\left( g(x) \right)}{d\left( f(x) \right)}=\dfrac{(g(x))\left( \dfrac{\sin x}{x}+(\log x)(\cos x) \right)}{(f(x))\left( x\dfrac{\cos x}{\sin x}+\log (\sin x) \right)}$
Substituting, the value of f(x) = ${{(\sin x)}^{x}}$ and g(x) = ${{x}^{\sin x}}$, we have,
$\dfrac{d\left( g(x) \right)}{d\left( f(x) \right)}=\dfrac{({{x}^{\sin x}})\left( \dfrac{\sin x}{x}+(\log x)(\cos x) \right)}{({{(\sin x)}^{x}})\left( x\dfrac{\cos x}{\sin x}+\log (\sin x) \right)}$
The above expression is the final answer.
Note: When finding the derivative of any function, in most cases, we have to use the product rule of differentiation together with the chain rule of differentiation. This can be seen in the problem above where we had to use both the properties together such as for differentiating ${{x}^{\sin x}}$. Further, it is also useful to know about the basics of differentiation of basic functions like log(x), sin(x) and other functions since the differentiation of these functions are a must before we can use the chain rule or product rule of differentiation.
$\dfrac{d(g(x))}{d(f(x))}=\dfrac{\dfrac{d(g(x))}{dx}}{\dfrac{d(f(x))}{dx}}$
We will use the chain rule of differentiation and the product rule of differentiation along with this. We have, the product rule of differentiation as -
$\dfrac{d\left( p(x)q(x) \right)}{dx}=p(x)\dfrac{d(q(x))}{dx}+q(x)\dfrac{d(p(x))}{dx}$
The chain rule is given as –
Derivative of f(g(x)) is $\dfrac{d(f(g(x)))}{dx}\left( \dfrac{d(g(x))}{dx} \right)$
We can now solve this problem by using these formulas.
Complete step-by-step answer:
Before solving this problem, we would first define the functions as g(x) = ${{x}^{\sin x}}$ and f(x) = ${{(\sin x)}^{x}}$. Now, since, we have to find $\dfrac{d(g(x))}{d(f(x))}=\dfrac{\dfrac{d(g(x))}{dx}}{\dfrac{d(f(x))}{dx}}$, we first start by finding the derivative of g(x) with respect to x first. We have,
= $\dfrac{d(g(x))}{dx}$
= $\dfrac{d({{x}^{\sin x}})}{dx}$
The above expression cannot be solved by normal properties of differentiation properties since the exponent of x is not a constant. Thus, to solve this type of problems, we have to take logarithm on both sides of g(x), thus, we have,
g(x) = ${{x}^{\sin x}}$
log(g(x)) = (sinx) log(x) -- (A)
Now, we use product rule of differentiation, this rule is given by –
$\dfrac{d\left( p(x)q(x) \right)}{dx}=p(x)\dfrac{d(q(x))}{dx}+q(x)\dfrac{d(p(x))}{dx}$
Now, we have,
Taking p(x) = sin x and q(x) = log(x), we have,
$\dfrac{d(\sin x(\log x))}{dx}=\dfrac{\sin x}{x}+(\log x)(\cos x)$ -- (1)
Now, to find the derivative of log(g(x)) with respect to x (in the LHS part of equation (A)), we need to use the chain rule of differentiation. According to this rule, derivative of any function f(g(x)) is $\dfrac{d(f(g(x)))}{dx}\left( \dfrac{d(g(x))}{dx} \right)$. Thus, we have,
$\dfrac{d(\log (g(x))}{dx}=\dfrac{1}{(g(x))}\dfrac{d(g(x))}{dx}$ -- (2)
Substituting (1) and (2) in derivative of (A), we have,
$\dfrac{1}{(g(x))}\dfrac{d(g(x))}{dx}=\dfrac{\sin x}{x}+(\log x)(\cos x)$
$\dfrac{d(g(x))}{dx}=(g(x))\left( \dfrac{\sin x}{x}+(\log x)(\cos x) \right)$ -- (B)
Now, we solve similarly for f(x), we have,
f(x) = ${{(\sin x)}^{x}}$
log(f(x)) = x log(sin(x)) -- (C)
Now, we use product rule of differentiation, this rule is given by –
$\dfrac{d\left( p(x)q(x) \right)}{dx}=p(x)\dfrac{d(q(x))}{dx}+q(x)\dfrac{d(p(x))}{dx}$
Now, first solving RHS of (C), we use product rule of differentiation and chain rule of differentiation, we have,
Taking p(x) = x and q(x) = log(sin(x)), we have,
$\dfrac{d(x(\log (\sin x))}{dx}=x\dfrac{\cos x}{\sin x}+\log (\sin x)$ -- (3)
Now, solving the LHS part of (C), we use the chain rule. According to this rule, derivative of f(g(x)) is $\dfrac{d(f(g(x)))}{dx}\left( \dfrac{d(g(x))}{dx} \right)$. Thus, using this on the LHS of equation (C), we have,
$\dfrac{d(\log (f(x))}{dx}=\dfrac{1}{(f(x))}\dfrac{d(f(x))}{dx}$ -- (4)
Substituting (3) and (4) as RHS and LHS respectively in derivative of (C), we have,
$\dfrac{1}{(f(x))}\dfrac{d(f(x))}{dx}=x\dfrac{\cos x}{\sin x}+\log (\sin x)$
$\dfrac{d(f(x))}{dx}=(f(x))\left( x\dfrac{\cos x}{\sin x}+\log (\sin x) \right)$ -- (D)
Now, we divide (B) and (D), we have,
$\dfrac{d\left( g(x) \right)}{d\left( f(x) \right)}=\dfrac{(g(x))\left( \dfrac{\sin x}{x}+(\log x)(\cos x) \right)}{(f(x))\left( x\dfrac{\cos x}{\sin x}+\log (\sin x) \right)}$
Substituting, the value of f(x) = ${{(\sin x)}^{x}}$ and g(x) = ${{x}^{\sin x}}$, we have,
$\dfrac{d\left( g(x) \right)}{d\left( f(x) \right)}=\dfrac{({{x}^{\sin x}})\left( \dfrac{\sin x}{x}+(\log x)(\cos x) \right)}{({{(\sin x)}^{x}})\left( x\dfrac{\cos x}{\sin x}+\log (\sin x) \right)}$
The above expression is the final answer.
Note: When finding the derivative of any function, in most cases, we have to use the product rule of differentiation together with the chain rule of differentiation. This can be seen in the problem above where we had to use both the properties together such as for differentiating ${{x}^{\sin x}}$. Further, it is also useful to know about the basics of differentiation of basic functions like log(x), sin(x) and other functions since the differentiation of these functions are a must before we can use the chain rule or product rule of differentiation.
Recently Updated Pages
What is BLO What is the full form of BLO class 8 social science CBSE

Explain the Treaty of Vienna of 1815 class 10 social science CBSE

10 examples of friction in our daily life

Draw a diagram of nephron and explain its structur class 11 biology CBSE

Write structures of the following compounds i 2 Chloro3methylpentane class 11 chemistry CBSE

A Paragraph on Pollution in about 100-150 Words

Trending doubts
Draw a labelled sketch of the human eye class 12 physics CBSE

Which are the Top 10 Largest Countries of the World?

Differentiate between homogeneous and heterogeneous class 12 chemistry CBSE

Draw ray diagrams each showing i myopic eye and ii class 12 physics CBSE

Which is the correct genotypic ratio of mendel dihybrid class 12 biology CBSE

What is the Full Form of PVC, PET, HDPE, LDPE, PP and PS ?

