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)...
 
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.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K