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

  • Thread starter Thread starter pugola12
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on finding the derivative dy/dx of the function y=(cosx)^x using the product rule and logarithmic differentiation. The initial attempt incorrectly applied the formula for the derivative of a^u, assuming a constant base. The correct approach involves rewriting the function as y=e^(x ln(cosx)) and applying the product rule, leading to the final answer of dy/dx=(cosx)^x*(ln(cosx)-xtanx). This method clarifies the differentiation process for functions where both the base and exponent are variable.

PREREQUISITES
  • Understanding of logarithmic differentiation
  • Familiarity with the product rule in calculus
  • Knowledge of trigonometric functions and their derivatives
  • Basic proficiency in applying the chain rule
NEXT STEPS
  • Study the application of logarithmic differentiation in various contexts
  • Learn the product rule in depth with examples
  • Explore the differentiation of exponential functions with variable bases
  • Practice solving derivatives involving trigonometric functions
USEFUL FOR

Students studying calculus, particularly those focusing on differentiation techniques, as well as educators seeking to clarify the application of the product rule and logarithmic differentiation.

pugola12
Messages
5
Reaction score
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)
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
7
Views
2K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
7
Views
11K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K