Trigonometry differentiation problem

Click For Summary
SUMMARY

The discussion focuses on differentiating the function cos²(x) using the chain rule. The initial attempt incorrectly applies the chain rule, leading to the wrong answer of -2 sin(x). The correct differentiation involves letting u = cos(x) and applying the chain rule properly, resulting in the correct answer of -2 cos(x) sin(x). The importance of consistently applying the derivative of the inner function is emphasized throughout the explanation.

PREREQUISITES
  • Understanding of basic differentiation rules, specifically the power rule.
  • Familiarity with the chain rule in calculus.
  • Knowledge of trigonometric functions and their derivatives.
  • Ability to manipulate expressions involving derivatives of composite functions.
NEXT STEPS
  • Study the application of the chain rule in differentiation with various functions.
  • Learn about higher-order derivatives and their significance in calculus.
  • Explore the differentiation of trigonometric functions in more complex scenarios.
  • Practice problems involving the differentiation of composite functions to reinforce understanding.
USEFUL FOR

Students studying calculus, particularly those focusing on differentiation techniques, as well as educators looking for clear explanations of common mistakes in applying the chain rule.

bryansonex
Messages
3
Reaction score
0

Homework Statement


Differentiate the following
[tex]cos^2 x[/tex]

The Attempt at a Solution


[tex] <br /> \frac{d(cos^2 x)}{dx}<br /> <br /> = 2 (-sin^{2-1} x).\frac{dx}{dx}<br /> <br /> = 2 (-sin x).1<br /> <br /> = -2 sin x<br /> [/tex]

But the answer given is-
[tex] -2 cos x sin x[/tex]

Can you please tell me what's wrong !
 
Physics news on Phys.org
You should be more careful in applying the chain rule. There are many formulations, the way I prefer it is to let u = cos(x). Then you are asked for d(u2(x))/dx. According to the chain rule, this is
[tex]\frac{d}{dx} u(x)^2 = \frac{d(u^2)}{du} \cdot \frac{du}{dx}[/tex]
The first factor is 2u = 2 sin(x), but then you need to multiply du/dx, not dx/dx.
 
Or another rule of thumb which I prefer is to always take the derivative of what's inside... I'll show you what I mean:

If we are to take the derivative of [itex]x^n[/itex] we get [itex]nx^{n-1}[/itex]
but behind the scenes you're also taking the derivative of x, but since this is 1, multiplying by 1 doesn't change anything.

Now if we let x be anything else, such as sinx then we have [itex](sinx)^n[/itex] and taking the derivative of this is the same as before, but this time the derivative of what's inside (in this case, sinx) is cosx so this makes a difference: [itex]n(sinx)^{n-1}.cosx[/itex]

But you also need to dig deeper and keep taking the derivative of what's inside, if there is something further inside.

e.g. [itex]\left(sin(1/x)\right)^n[/itex]
Again, take the derivative by first applying the power rule, and then taking the derivative of sin(1/x) by using the trigo change, so cos(1/x) multiplies on the outside, but finally you also need to take the derivative of 1/x (this was also done behind the scenes in the 2nd example, we took the derivative of x, but again that's 1) so altogether we get:

[tex]n.\left(sin(1/x)\right)^{n-1}.cos(1/x).\frac{-1}{x^2}[/tex]

And you can of course simplify. Anyway, I know this is terribly set out but I hope you understand it :smile:
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 26 ·
Replies
26
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
7
Views
2K
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K