How do I use the product rule to find dy/dx of y=(cosx)^x?

  • Thread starter Thread starter pugola12
  • Start date Start date
pugola12
5
0

Homework Statement



Find dy/dx of y=(cosx)^x

Homework Equations



d/dx of a^u=lna*a^u*u'

The Attempt at a Solution



I thougt I just had to follow the form shown above, and this is what I got.

y=(cosx)^x
dy/dx=ln(cosx)*(cosx)^x*1
dy/dx=ln(cosx)*(cosx)^x

However, the actual answer is (cosx)^x*(ln(cosx)-xtanx)
I don't understand where this comes from at all. Thanks for your input.
 
Physics news on Phys.org
pugola12 said:

Homework Statement



Find dy/dx of y=(cosx)^x

Homework Equations



d/dx of a^u=lna*a^u*u'

The Attempt at a Solution



I thougt I just had to follow the form shown above, and this is what I got.

y=(cosx)^x
dy/dx=ln(cosx)*(cosx)^x*1
dy/dx=ln(cosx)*(cosx)^x

However, the actual answer is (cosx)^x*(ln(cosx)-xtanx)
I don't understand where this comes from at all. Thanks for your input.

That's not a good form to follow. It assumes that in a^u that a is a constant. That isn't true in your case. Try writing v^u=e^(log(v)*u) and differentiate that.
 
ln y = x ln cosx

You can now use the product rule on the right side..
(Hint: it becomes (1/y)y' on the left)
 
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 . 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