• Support PF! Buy your school textbooks, materials and every day products Here!

1st order diff. eq.

  • Thread starter Gwilim
  • Start date
  • #1
126
0
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.

[tex]y' + y/(x+1) = x^2[/tex]

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
 

Answers and Replies

  • #2
Cyosis
Homework Helper
1,495
0
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.
 
Last edited:
  • #3
126
0
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 [tex](x+1)y' + y = (x+1)x^2[/tex]

And that's where I get stuck.

Is there a reasonably short guide to this anywhere?
 
  • #4
Cyosis
Homework Helper
1,495
0
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 [itex]u(x)y'(x)+\frac{y(x)u(x)}{x+1}=u(x)x^2[/itex]. We want to write the left hand side as [itex]d(uy)/dx[/itex].

[tex]
\frac{duy}{dx}=u \frac{dy}{dx}+y\frac{du}{dx}
[/tex]

This must be equal to the LHS so we get.

[tex]
u \frac{dy}{dx}+y\frac{du}{dx}=u\frac{dy}{dx}+\frac{yu}{x+1}
[/tex]

For this to be true [tex]\frac{du}{dx}=\frac{u}{x+1} \Rightarrow u(x)=c(x+1)[/tex].

We can now write the differential equation as:

[tex]
\frac{duy}{dx}=x^2 u
[/tex]

You know u can you solve for y now?
 
Last edited:
  • #5
CompuChip
Science Advisor
Homework Helper
4,302
47
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?
 
  • #6
126
0
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 [itex]u(x)y'(x)+\frac{y(x)u(x)}{x+1}=u(x)x^2[/itex]. We want to write the left hand side as [itex]d(uy)/dx[/itex].

[tex]
\frac{duy}{dx}=u \frac{dy}{dx}+y\frac{du}{dx}
[/tex]

This must be equal to the LHS so we get.

[tex]
u \frac{dy}{dx}+y\frac{du}{dx}=u\frac{dy}{dx}+\frac{yu}{x+1}
[/tex]

For this to be true [tex]\frac{du}{dx}=\frac{u}{x+1} \Rightarrow u(x)=c(x+1)[/tex].
With you so far.

We can now write the differential equation as:

[tex]
\frac{duy}{dx}=x^2 u
[/tex]

You know u can you solve for y now?
And now you've lost me.

*thinks hard*

Okay given that expression for [tex]\frac{duy}{dx}[/tex] 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 [tex]duy/dx[/tex] actually means, but just learning how to do these should be enough for now.
 
  • #7
126
0
Ohh... the penny has dropped.

Thankyou so much.

Edit: and I think I figured out what duy/dx means too!
 
Last edited:
  • #8
Cyosis
Homework Helper
1,495
0
Hehe you're welcome.
 

Related Threads for: 1st order diff. eq.

  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
6
Views
2K
  • Last Post
Replies
3
Views
1K
Replies
1
Views
1K
  • Last Post
Replies
2
Views
1K
Replies
2
Views
921
  • Last Post
Replies
3
Views
607
Top