
Differentiate ${{x}^{\sin x}}$ with respect to ${{(\sin x)}^{x}}$.
Answer
597.9k+ 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
Master Class 12 English: Engaging Questions & Answers for Success

Master Class 12 Business Studies: Engaging Questions & Answers for Success

Master Class 12 Economics: Engaging Questions & Answers for Success

Master Class 12 Social Science: Engaging Questions & Answers for Success

Master Class 12 Maths: Engaging Questions & Answers for Success

Master Class 12 Chemistry: Engaging Questions & Answers for Success

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

Explain sex determination in humans with line diag class 12 biology CBSE

The pH of the pancreatic juice is A 64 B 86 C 120 D class 12 biology CBSE

Explain sex determination in humans with the help of class 12 biology CBSE

Differentiate between homogeneous and heterogeneous class 12 chemistry CBSE

Which state in India is known as the Granary of India class 12 social science CBSE

