Solve 1st Order Diff. Eq: y' + y/(x+1) = x^2

  • Thread starter Thread starter Gwilim
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around solving a first-order differential equation of the form y' + y/(x+1) = x^2. Participants express difficulty in applying methods to separate variables and explore the concept of integrating factors.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the method of separating variables and the use of integrating factors. There are attempts to manipulate the equation by multiplying through by an integrating factor, with some confusion about the correct form and application of this method.

Discussion Status

Some participants are actively trying to clarify the steps involved in using integrating factors and rewriting the equation. There is a mix of understanding and confusion, with some guidance being offered to help navigate the process. A few participants express gratitude for the assistance received.

Contextual Notes

Participants mention an upcoming exam, indicating a time constraint and a sense of urgency in seeking help. There is also a note about the original poster's uncertainty with LaTeX formatting, which may affect the clarity of their queries.

Gwilim
Messages
126
Reaction score
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 separate the variables.

But I can't.

Help.

Edit: that's "y/(x+1)" not "(y/x)+1". My LaTeX is rusty
 
Physics news on Phys.org
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:
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?
 
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:
Cyosis said:
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?
 
Cyosis said:
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.
 
Ohh... the penny has dropped.

Thankyou so much.

Edit: and I think I figured out what duy/dx means too!
 
Last edited:
Hehe you're welcome.
 

Similar threads

Replies
5
Views
2K
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
14
Views
10K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K