How to know which way to integrate?

  • Thread starter Thread starter Rijad Hadzic
  • Start date Start date
  • Tags Tags
    Integrate
Click For Summary

Homework Help Overview

The discussion revolves around the integration of the function cos(x)sin(x) and the implications of different integral forms leading to varying constants when applying initial conditions. Participants are exploring the nuances of integration techniques and their outcomes in the context of differential equations.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss different methods of integration, including substitution and direct integration, questioning the necessity and implications of choosing one method over another. There is a focus on how the integration constant affects the results when applying initial conditions.

Discussion Status

The conversation is ongoing, with some participants providing clarifications on the relationship between the two integral forms and the importance of the integration constant. There is recognition of the different outcomes based on the chosen method, but no explicit consensus has been reached regarding the preferred approach.

Contextual Notes

Participants are navigating the complexities of integration in the context of a differential equation, with specific attention to how different integral forms yield different constants when initial conditions are applied. The discussion highlights the importance of understanding the relationship between sine and cosine functions in this context.

Rijad Hadzic
Messages
321
Reaction score
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..
 

Attachments

  • Untitled.png
    Untitled.png
    49.8 KB · Views: 507
Physics news on Phys.org
I just don't see the point in making the integral -\int {cos(x)-(sin(x)dx) } when you can just do \int {sin(x)(cos(x)dx) } with u = sinx du = cosx dx ... and obviously it gives different answers in the end so yeah.. does anyone know why exactly?

Now that I look back on it... so I get 4 for my constant value... so what?! My answer could still be right then, right?

So if I have y^2(1-x^2) + (sin(x))^2 = 4, it should be the same as y^2(1-x^2) - (cos(x))^2 = 3
 
Last edited:
Rijad Hadzic said:
I just don't see the point in making the integral -\int {cos(x)-(sin(x)dx) } when you can just do \int {sin(x)(cos(x)dx) } with u = sinx du = cosx dx ... and obviously it gives different answers in the end so yeah.. does anyone know why exactly?
You forgot the integration constant.
##\int{\cos(x) \sin(x)dx}=\frac{1}{2}\sin^2(x) + C_1## and it is the same as ##-\frac{1}{2}\cos^2(x) + C_2## , as
## \sin^2(x)+\cos^2(x)=1##.
So ##\frac{1}{2}\sin^2(x) + C_1 =-\frac{1}{2}\cos^2(x)+\frac{1}{2}+C_1##, so
## C_2=0.5+C_1##
 
Gotcha. Thanks for that breakdown there. Really puts the relationship between sin/cos in a way that I can understand. Thanks.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K