Solve the Initial Value Problem

Click For Summary

Homework Help Overview

The discussion revolves around solving an initial value problem involving a first-order differential equation given by y' = (2x) / (y + (x^2)y) with the initial condition y(0) = -2. The subject area is differential equations, specifically focusing on methods for solving such equations.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants explore various methods for solving the differential equation, including the use of integrating factors and separation of variables. Some express confusion about the applicability of integrating factors for non-exact equations, while others suggest that the equation is separable and can be approached from that angle.

Discussion Status

There is an ongoing exploration of different methods to tackle the problem, with some participants providing guidance on the use of integrating factors and separation of variables. Questions about the conditions under which integrating factors can be applied are being raised, indicating a productive exchange of ideas.

Contextual Notes

Participants are discussing the implications of the equation's form on the choice of solution methods, noting that different forms may require different approaches. There is also mention of specific conditions for applying integrating factors, which may not be met in this case.

TheSpaceGuy
Messages
25
Reaction score
0

Homework Statement



y' = (2x) / (y+(x^2)y) y(0) = -2


The Attempt at a Solution



I tried doing this by finding the Integrating factor and I got that to be u = -1-x^2 by using the
(My - Nx) / N formula. Using this did not work out for me and I'm not seeing the other approach. Please help me out. As always, I greatly appreciate it.
 
Physics news on Phys.org
The equation is separable. If I understand your post, you have,

\frac{dy}{dx} = \frac{2x}{y+yx^2}

Therefore,

dy(y+yx^2)=2xdx

Factoring, anyone?
 
Wow that does make it a lot easier. I was practicing using the Integrating factor approach so I didn't even try seeing it that way, my bad. So is there a way to get an Integrating factor for this problem by making it: (2x)dx - (y + (x^2)y)dx = 0 ?
 
Sure, if it is not exact, then you should follow the procedure for calculating the integrating factor for non-exact equations.. If it is exact (which it isn't), then you would simply find the potential function. If you need assistance in the integrating factor procedure, let me know.

This is great practice though. You should be able to solve many of these equations using all of the methods you have learned up until this point. Hopefully, all of your answers will be the same.
 
Use:

<br /> \frac{dy}{dx} = \frac{2x}{y+yx^2}\Rightarrow y\frac{dy}{dx}=\frac{2x}{1+x^{2}}<br />

Integrate w.r.t. x
 
Thanks for the assist hunt_mat. And lineintegral1, I had a general question about finding the integrating factor for the non-exact equations. I know how to find the integrating factor when it will be dependent on x : du/dx = My - Nx / N * u where u is the integrating factor. But what about when its dependent on y? Is it as simple as just writing dy instead of dx?
 
Not too sure what you're saying, the integrating factor method can only be applied to equations of te form:

<br /> \frac{dy}{dx}+P(x)y=Q(x)<br />

If it's anything else from that tthen you require another method. Perhaps you would like to give us an example of the sort of thing you were thinking about.
 
hunt_mat said:
Not too sure what you're saying, the integrating factor method can only be applied to equations of te form:

<br /> \frac{dy}{dx}+P(x)y=Q(x)<br />

If it's anything else from that tthen you require another method. Perhaps you would like to give us an example of the sort of thing you were thinking about.

Yep. The form of the equation is important - different forms require different methods. As mentioned above this is easily separable and then you simply integrate both sides.
 
I know.
 
  • #10
I was referring to finding the integrating factor of Exact equations. With the form:
(M)dx + (N)dy = 0 and then to find the integrating factor you do
du / dx = (My - Mx) / N * u where u is the integrating factor and when I write My I mean M derived with respect to y. An example would be a problem like:
(3xy+y^2) + (x^2 +xy)y' = 0. This problem has a integrating factor of u = x. I wanted to know what if a problem had the integrating factor u = y? Would I use the same procedure to get it? Thanks.
 
  • #11
Okay I just looked it up in my book and there is a procedure to do that.
If (Nx-My) / M = Q where Q is a function of y only then the integrating factor of the equation is u(y) = exp (int) Q(y) dy
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K