ODE with integrating factor NEED HELP

Click For Summary

Homework Help Overview

The discussion revolves around solving a first-order ordinary differential equation (ODE) using an integrating factor. The specific equation presented is (2x+y^2) dx + 4xy dy = 0, with an initial condition y(1)=1. Participants are exploring the process of finding an integrating factor to convert the equation into an exact form.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the challenge of finding the correct integrating factor and whether the derived factor makes the ODE exact. There are attempts to verify the exactness of the equation and to check the correctness of proposed solutions. Questions arise regarding the calculations and assumptions made during the process.

Discussion Status

Some participants have provided guidance on checking the exactness of the equation after applying the integrating factor. Others have shared their progress in finding general and particular solutions, while also expressing confusion about verifying their results. The discussion reflects a mix of attempts to clarify the steps involved and to validate the solutions derived.

Contextual Notes

There is mention of potential issues with the application of the integrating factor and the need to verify calculations against the original differential equation. Participants are also navigating through the use of TeX for mathematical expressions, which has led to some miscommunication in presenting their work.

pat666
Messages
703
Reaction score
0

Homework Statement



(2x+y^2) dx +4xy dy=0,y(1)=1

Homework Equations





The Attempt at a Solution


I'm having trouble finding the correct integrating factor, been playing with it for an hour and have made NO progress so need help.

\delta P/\delta y=2y
\delta Q/\delta x=4y

so its not exact and I need to find an integrating factor.

R=1/Q( \delta P/\delta y-\delta Q/\delta)=-1/2x
F(x)= exp \int R(x) dx
\int -1/(2x) = -ln(abs(x))/2

This integrating factor isn't going to make my ode exact though and I can't figure out what I have stuffed up?

Thanks for any help.
 
Physics news on Phys.org
pat666 said:

Homework Statement



(2x+y^2) dx +4xy dy=0,y(1)=1

Homework Equations





The Attempt at a Solution


I'm having trouble finding the correct integrating factor, been playing with it for an hour and have made NO progress so need help.

\delta P/\delta y=2y
\delta Q/\delta x=4y

so its not exact and I need to find an integrating factor.

R=1/Q( \delta P/\delta y-\delta Q/\delta)=-1/2x
F(x)= exp \int R(x) dx
\int -1/(2x) = -ln(abs(x))/2

This integrating factor isn't going to make my ode exact though and I can't figure out what I have stuffed up?

Thanks for any help.

Don't quit yet, you almost have it. Take x > 0 to dispense with the || signs:

R(x) = e^{\int-\frac 1{2x}dx}= e^{-\frac 1 2 \int\frac 1 x}\, dx<br /> = e^{-\frac 1 2 \ln x} = e^{\ln(x^{-\frac 1 2})} = x^{-\frac 1 2}

Also, a TeX note, you can use the partial symbol

\partial Q/\partial x

but subscripts are even easier: Qx or Q_x.
 
Thanks LCKurtz I now have a general and particular solution, would you mind checking my results:
u(x,y)=4x^{3/2}+2*\sqrt(x)*y^2+y=c
c=13/3
13/3=4x^{3/2}+2*\sqrt(x)*y^2+y

THANKS

ps should be 4x to the power of 3/2 , doesn't seem to like my tex.
 
pat666 said:
Thanks LCKurtz I now have a general and particular solution, would you mind checking my results:
u(x,y)=4x^{3/2}+2*\sqrt(x)*y^2+y=c
c=13/3
13/3=4x^{3/2}+2*\sqrt(x)*y^2+y

THANKS

ps should be 4x to the power of 3/2 , doesn't seem to like my tex.

You should be able to check that yourself. Check that du = Pdx + Qdy with the exact form and that (x,y)=(1,1) works. If not, try to fix it.
 
I don't know what you mean by Check that du = Pdx + Qdy, du as in the differential of
4x^{3/2}+2*\sqrt(x)*y^2+y

also should <br /> 4*1^{3/2}+2*\sqrt(1)*1^2+1 <br /> = 13/3? because it =s 7??

am I doing something wrong with my checking or is my solution wrong?

Thanks
 
The whole point of finding an integrating factor is converting your differential equation into an exact one. What LCKurtz is suggesting is that you use the partial derivative test to see if it is indeed exact.
 
LCKurtz said:
Don't quit yet, you almost have it. Take x > 0 to dispense with the || signs:

R(x) = e^{\int-\frac 1{2x}dx}= e^{-\frac 1 2 \int\frac 1 x}\, dx<br /> = e^{-\frac 1 2 \ln x} = e^{\ln(x^{-\frac 1 2})} = x^{-\frac 1 2}

Also, a TeX note, you can use the partial symbol

\partial Q/\partial x

but subscripts are even easier: Qx or Q_x.

pat666 said:
Thanks LCKurtz I now have a general and particular solution, would you mind checking my results:
u(x,y)=4x^{3/2}+2*\sqrt(x)*y^2+y=c
c=13/3
13/3=4x^{3/2}+2*\sqrt(x)*y^2+y

THANKS

ps should be 4x to the power of 3/2 , doesn't seem to like my tex.

LCKurtz said:
You should be able to check that yourself. Check that du = Pdx + Qdy with the exact form and that (x,y)=(1,1) works. If not, try to fix it.

pat666 said:
I don't know what you mean by Check that du = Pdx + Qdy, du as in the differential of
4x^{3/2}+2*\sqrt(x)*y^2+y

also should <br /> 4*1^{3/2}+2*\sqrt(1)*1^2+1 <br /> = 13/3? because it =s 7??

am I doing something wrong with my checking or is my solution wrong?

Thanks

After you multiplied by the integrating factor x-1/2 you should have gotten this DE, which you didn't show:

(*)\ (2x^{\frac 1 2}+ 2x^{-\frac 1 2}y^2)dx+4x^{\frac 1 2}y dy = 0

Presumably you have checked that this equation is exact and you have a proposed solution u(x,y) written above. The way to check whether your solution is correct is to calculate du = uxdx + uydy and see if it agrees with the exact equation (*) above.

Once you have that you need to check that x = 1, y = 1 works in your final answer.
 
Decided to practice a bit on this one. Here's what I've got:

1. Orig. DE is exact with the integ. factor: \mu=1/\sqrt{x} because \frac{\partial(\frac{2x+y^2}{\sqrt{x}})}{\partial y}=\frac{2y}{\sqrt{x}}=\frac{\partial(4\sqrt{x}y)}{\partial x}\Longleftrightarrow\frac{\partial P}{\partial y}=\frac{\partial Q}{\partial x}

2. To solve for u, we have: u(x,y)=\int\frac{2x+y^2}{\sqrt{x}}dx+g(y)=\frac{4x^{3/2}}{3}+2\sqrt{x}y^2+g(y)

3. To find g(y), we take the partial derivative of the newly found function u(x,y) in (2) with respect to y and set it equal to Q, that is: \frac{\partial u}{\partial y}=4\sqrt{x}y+\acute{g(y)}\Longrightarrow 4\sqrt{x}y+\acute{g(y)}=4\sqrt{x}y \Longrightarrow \acute{g(y)}=0

4. So, after integrating the result in (3), we find that: g(y)=c_{1} Thus, the overal function u(x,y) takes the form: u(x,y)=\frac{4x^{3/2}}{3}+2\sqrt{x}y^2+c_{1}=c_{2} or, combining the constants, we have: \frac{4x^{3/2}}{3}+2\sqrt{x}y^2=c

5. If y(1)=1, the constant c works out to be c=10/3, so that the unique solution becomes: \frac{4x^{3/2}}{3}+2\sqrt{x}y^2=\frac{10}{3}

6. A simple check shows that: du=u_{x}dx+u_{y}dy=(\frac{4}{3}\cdot\frac{3}{2}x^{1/2}+2\frac{1}{2}x^{-1/2}y^2)dx+(2\cdot2\sqrt{x}y)dy=(\frac{2x+y^2}{\sqrt{x}})dx+(4\sqrt{x}y)dy which is the original DE multiplied by the integrating factor.

7. I learned some simple TEX commands o:)
 

Similar threads

Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
10K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
24
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K