How do you solve a hard differential equation with an integrating factor?

Click For Summary
To solve the differential equation dy/dx = x^2 + y, the first step is to rewrite it in standard form, yielding dy/dx - y = x^2. The discussion emphasizes solving the homogeneous equation first and finding a particular integral, as it is a first-order linear differential equation. An integrating factor can be derived using the formula involving P(x) and Q(x), which simplifies the solution process. Participants suggest making the equation exact and using integration to find the integrating factor. Understanding these concepts is crucial for effectively solving the given problem.
anirudhreddy
Messages
4
Reaction score
0
A Hard differential equation!

Solve:

dy/dx = (x^2) + y
 
Physics news on Phys.org
The rules of this forum requires you to show some working, so that we know where to begin helping.

Can you solve the homogeneneous equation: dy/dy - y = 0 ?
Can you find a particular integral?
 
That is a first order linear differential equation with constant coefficients- actually, it's about the easiest you could come up with. genneth suggested solving the "homogeneous equation" first. That would work.

But for linear first order equations, there is a standard formula for the "integrating factor". You could also use that.
 
relevant equation:
if \frac{dy(x)}{dx}+P(x)\,y(x) = Q(x)
then
y(x) = e^{-\int P(\eta)\,d\eta} \int Q(x)\;e^{\int P(\xi)\,d\xi}\,dx

if you understand this you probably understand how to do your problem :smile:
 
thx guys


so...

first i should write it in the form

dy/dx + (-1)y = (x^2)

is that right?
 
Last edited:
the next step into better understanding this is to prove the formula above...
 
Proof hint

The way I always proved this was to make the differential equation exact first. Then the rest is algebra; ahem, calculus.
 
dy/dx-y=x^2 is a good start

To make your integrating factor, you do Exp(integral(-1dx)) (i hope that makes sense). Work it from there and see where you get.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
612
  • · Replies 52 ·
2
Replies
52
Views
8K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 20 ·
Replies
20
Views
3K