How Do You Differentiate y = sin(x)^x Using Natural Logs?

gyza502
Messages
4
Reaction score
0

Homework Statement


Let y=sin(x)^x. Find dy/dx


My teacher said to use Natural long to solve this.

she got,
step 1:ln(y)=ln(sin(x)^x)=x ln(sin(x))

step 2:y(dy/dx)=1(ln(sin(x)+x(cos(x)/sin(x)

Final answer:dy/dx=((sin(x))^x)[ln(sin(x))+x(cos x/sin x)

I don't understand how she derived ln sin(x) to be cos(x)/sin(x)...
 
Physics news on Phys.org
gyza502 said:

Homework Statement


Let y=sin(x)^x. Find dy/dx


My teacher said to use Natural long to solve this.

she got,
step 1:ln(y)=ln(sin(x)^x)=x ln(sin(x))

step 2:y(dy/dx)=1(ln(sin(x)+x(cos(x)/sin(x)

Final answer:dy/dx=((sin(x))^x)[ln(sin(x))+x(cos x/sin x)

I don't understand how she derived ln sin(x) to be cos(x)/sin(x)...
Hello gyza502. Welcome to PF !

Use the derivative of the natural log, along with the chain rule.
 
Let u= sin(x) so that y= ln(u)

By the chain rule, dy/dx= (dy/du)(du/dx).

What is dy/du? What is du/dx? Be sure to express every thing in terms of x, not u.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top