View Full Version : 1st order diff. eq.
Okay I'm sorry. I'm sure this is very easy but I just can't figure it out. The exam is on Monday. If any of you remember me you will probably be shaking you heads in disgust. Again, I'm sorry, but please please I need help.
y' + y/(x+1) = x^2
My first instinct with 1st order DEs is to seperate the variables.
But I can't.
Help.
Edit: that's "y/(x+1)" not "(y/x)+1". My LaTeX is rusty
Sorry for asking a question? Anyway what do you know about integrating factors? Multiply the differential equation by u(x) first then try to write the LHS as d(uy)/dx.
I've heard of them but I can't get my head round them. I assume the u(x) is (x+1)^(-1).
So the integrating factor is e^ln(x+1)=x+1
Multiplying both sides gives me (x+1)y' + y = (x+1)x^2
And that's where I get stuck.
Is there a reasonably short guide to this anywhere?
You are pretty close. I am sure you can find a guide somewhere, but I have not much to do currently so I'll try to help you out.
Lets multiply the differential equation by u(x) this yields u(x)y'(x)+\frac{y(x)u(x)}{x+1}=u(x)x^2. We want to write the left hand side as d(uy)/dx.
\frac{duy}{dx}=u \frac{dy}{dx}+y\frac{du}{dx}
This must be equal to the LHS so we get.
u \frac{dy}{dx}+y\frac{du}{dx}=u\frac{dy}{dx}+\frac{ yu}{x+1}
For this to be true \frac{du}{dx}=\frac{u}{x+1} \Rightarrow u(x)=c(x+1).
We can now write the differential equation as:
\frac{duy}{dx}=x^2 u
You know u can you solve for y now?
CompuChip
May29-09, 11:34 AM
Sorry for asking a question? Anyway what do you know about integrating factors? Multiply the differential equation by u(x) first then try to write the LHS as d(uy)/dx.
While Cyosis is editing, you could try that last part?
You are pretty close. I am sure you can find a guide somewhere, but I have not much to do currently so I'll try to help you out.
Lets multiply the differential equation by u(x) this yields u(x)y'(x)+\frac{y(x)u(x)}{x+1}=u(x)x^2. We want to write the left hand side as d(uy)/dx.
\frac{duy}{dx}=u \frac{dy}{dx}+y\frac{du}{dx}
This must be equal to the LHS so we get.
u \frac{dy}{dx}+y\frac{du}{dx}=u\frac{dy}{dx}+\frac{ yu}{x+1}
For this to be true \frac{du}{dx}=\frac{u}{x+1} \Rightarrow u(x)=c(x+1).
With you so far.
We can now write the differential equation as:
\frac{duy}{dx}=x^2 u
You know u can you solve for y now?
And now you've lost me.
*thinks hard*
Okay given that expression for \frac{duy}{dx} I can substitute in the u(x), split the variables and integrate but I can't see how you arrived there in the first place.
In an ideal world I'd probably like to also know exactly what duy/dx actually means, but just learning how to do these should be enough for now.
Ohh... the penny has dropped.
Thankyou so much.
Edit: and I think I figured out what duy/dx means too!
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.