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

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
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.