differentiate x^x+ (sinx)^lnx
Answers
Answer:
Step-by-step explanation:
The trick to handling situations where the variable occurs both in the base of the power as well as the exponent is to take logs, so we get a product, and then use the product rule.
Deal with the terms one at a time.
First the x^x. Let's write y = x^x. Taking logs, this becomes
Now we differentiatie (chain rule on the left and product rule on the right) to get
Now the second term. Again, let's put y = (sin x)^(ln x). Taking logs, we get
Preparing for what's about to come, let's sort out the derivative of ln(sin(x)). Using the chain rule, this will be ( 1 / sin(x) ) × cos(x) = cot(x). Great, so now we can differentiate the equation above, using the product rule on the right and the chain rule on the left just like last time:
Adding the derivatives of the two terms gives the required result.