What Happens When You Differentiate Cos^2 x?

  • Thread starter Thread starter basty
  • Start date Start date
  • Tags Tags
    Differentiate
Click For Summary

Homework Help Overview

The discussion revolves around differentiating the function \( \cos^2 x \) and understanding the implications of integrating the resulting expression. The subject area includes calculus, specifically differentiation and integration of trigonometric functions.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants explore the differentiation of \( \cos^2 x \) using the chain rule and question the correctness of their calculations. There is also discussion about integrating the result and the differences observed when comparing the integrated function to the original function.

Discussion Status

Several participants confirm the correctness of the differentiation process. However, questions arise regarding the integration of the differentiated result and the relationship between the integrated function and the original function, indicating a productive exploration of the topic.

Contextual Notes

Participants note the potential for differences in results when integrating, highlighting the importance of understanding the relationship between functions and their derivatives. There is an emphasis on the constant difference between the integrated forms of the functions involved.

basty
Messages
94
Reaction score
0

Homework Statement



What is ##\frac{d}{dx}(cos^2 x)##?

Homework Equations

The Attempt at a Solution



u = cos x
##\frac{du}{dx} = -\sin x##
##\frac{d}{dx}(cos^2 x) = \frac{d}{du}(u^2) \ \frac{du}{dx}##
##= 2u \ \frac{du}{dx}##
##= 2 \cos x (-\sin x)##
##= -2 \cos x \sin x##

Is it correct?
 
Physics news on Phys.org
basty said:

Homework Statement



What is ##\frac{d}{dx}(cos^2 x)##?

Homework Equations

The Attempt at a Solution



u = cos x
##\frac{du}{dx} = -\sin x##
##\frac{d}{dx}(cos^2 x) = \frac{d}{du}(u^2) \ \frac{du}{dx}##
##= 2u \ \frac{du}{dx}##
##= 2 \cos x (-\sin x)##
##= -2 \cos x \sin x##

Is it correct?
Yes, your work looks fine.
 
basty said:
Is it correct?
Yes. You may simplify it further using ##2\sin(a)\cos(a) = \sin(2a)##.
 
That is correct
 
Mark44 said:
Yes, your work looks fine.

Why the result is different when I integrate -2 cos x sin x back?

##\int -2 \cos x \sin x \ dx##

u = sin x

##\frac{du}{dx} = \cos x##
##du = \cos x \ dx##

##\int -2 \cos x \sin x \ dx##
##= \int -2 \sin x (\cos x \ dx)##
##= \int -2u \ du##
##= -\frac{2}{1+1}u^{1+1} + c##
##= -\frac{2}{2} u^2 + c##
##= -u^2 + c##
##= -(\sin x)^2 + c##
##= - \sin^2 x + c##
 
basty said:
Why the result is different when I integrate -2 cos x sin x back?

##\int -2 \cos x \sin x \ dx##

u = sin x

##\frac{du}{dx} = \cos x##
##du = \cos x \ dx##

##\int -2 \cos x \sin x \ dx##
##= \int -2 \sin x (\cos x \ dx)##
##= \int -2u \ du##
##= -\frac{2}{1+1}u^{1+1} + c##
##= -\frac{2}{2} u^2 + c##
##= -u^2 + c##
##= -(\sin x)^2 + c##
##= - \sin^2 x + c##
It's possible for ##\int f(x)## to be equal to ##\int g(x)dx##, even though f and g aren't the same. However, they can differ by most a constant. In your case ##\cos^2(x) = -\sin^2(x) + 1##. In other words, these two functions differ by 1.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
3
Views
2K
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 18 ·
Replies
18
Views
3K