find dy/dx of sin(x)^x
(xcos(x) - sin(x))/x^2 using quotient rule
y = (sin(x))^x ln(y) = ln((sin(x))^x) ln(y) = x*ln(sin(x)) d/dx[ln(y)] = d/dx[x*ln(sin(x))] y'/y = ln(sin(x))+(x*cos(x))/sin(x) y'/y = ln(sin(x))+x*cot(x) y' = y(ln(sin(x))+x*cot(x)) y' = (sin(x))^x(ln(sin(x))+x*cot(x))
how did you know you had to do it that way?
forget my ans -- I solved a similar one.
it's in the form f(x)^(g(x)), so you have to use a log
ohh alright lol ty
you can also write \[\sin(x)^x=e^{x\ln(\sin(x))}\] and use the chain rule but the work is identical
haha alright do you know why he did
ln(sinx)+ xcos/sin?
i dont understand why he has the + sign in there
yes it is the product rule+ chain rule
why is that the first part ?
yes I used the product rule which is d/dx[f(x)*g(x)] = f'(x)g(x) + f(x)g'(x) then the chain rule d/dx[f(g(x))] = g'(x)*f'(g(x))
you have \[x\ln(\sin(x))\] which is a product. so you have to take the derivative of x (which is 1) and multiply it by \[\ln(\sin(x))\] and then take x and multiply it by the derivative of \[\ln(\sin(x))\] which is \[\frac{1}{\sin(x)}\times \cos(x)=\frac{\cos(x)}{\sin(x)}=\cot(x)\]
hopefully that's a bit clearer...
ohhh ya that helps alot actually ty guys
Join our real-time social learning platform and learn together with your friends!