- #1
Rijad Hadzic
- 321
- 20
Homework Statement
Please see the attachment. This isn't a question, but more so my understanding of the book.
Please read the middle paragraph. So I'm suppose to take an integral of cos(x)sin(x)
Wolfram and my book give the answer as -(1/2)cos(x)^2, but when I did it I got it as (1/2)sin(x)^2.
Homework Equations
The Attempt at a Solution
Taking the derivative of (1/2)sin(x)^2. you do indeed get cos(x)sin(x). But when evaluating the differential equation for the initial condition, when using (1/2)sin(x)^2. you get c = 4, but when using -(1/2)cos(x)^2 you get 3.
How am I suppose to know which one to use? Taking the derivative of both you get the same answer, but when doing the initial condition you don't..