Solving a Non-Exact ODE: $(y-2x^2y)dx +xdy = 0$

  • Context: MHB 
  • Thread starter Thread starter NotaMathPerson
  • Start date Start date
  • Tags Tags
    Ode
Click For Summary
SUMMARY

The discussion focuses on solving the non-exact ordinary differential equation (ODE) given by $$(y-2x^2y)dx +xdy = 0$$. Initially, the equation was tested for exactness, which failed, leading to the use of the integrating factor $$u(x)=-2x$$. However, the correct integrating factor is $$\mu(x)=e^{-x^2}$$, which transforms the ODE into an exact form, allowing for a straightforward solution. The participants emphasize the importance of exponentiating the integral of $$\frac{M_y-N_x}{N}$$ to derive the appropriate integrating factor.

PREREQUISITES
  • Understanding of ordinary differential equations (ODEs)
  • Familiarity with exact and non-exact ODEs
  • Knowledge of integrating factors in differential equations
  • Ability to compute integrals and exponentials
NEXT STEPS
  • Study the method of integrating factors for non-exact ODEs
  • Learn about exact differential equations and their properties
  • Explore the application of the exponential function in solving ODEs
  • Practice solving separable differential equations
USEFUL FOR

Mathematics students, educators, and professionals involved in differential equations, particularly those seeking to deepen their understanding of integrating factors and exact equations.

NotaMathPerson
Messages
82
Reaction score
0
Solve the ode

$$(y-2x^2y)dx +xdy = 0$$

The equation is in exact form $$Q(x,y)dx+ P(x,y)dy =0$$

When I test for exactness it fails. Then I used the technique $$\frac{M_y-N_x}{N}$$

I get

$u(x)=-2x$ as my integrating factor.

But I end still end up with a non-exact d.e why is that?

$$(-2xy+4x^3y)dx-2x^2dy=0$$
 
Last edited:
Physics news on Phys.org
It's separable. Factor out the $y$ on the $dx$ term.
 
Ackbach said:
It's separable. Factor out the $y$ on the $dx$ term.

Yes i did that already. What I am after is the answer as to why the method i used above did not work.
 
You need to exponentiate the integral of $(M_y-N_x)/N$. That is, in general,
$$u(x)=\exp\left[\int\left(\frac{M_y-N_x}{N}\right)dx\right].$$
I get $u(x)=e^{-x^2}$. See if you agree.
 
NotaMathPerson said:
Solve the ode

$$(y-2x^2y)dx +xdy = 0$$

The equation is in exact form $$Q(x,y)dx+ P(x,y)dy =0$$

When I test for exactness it fails. Then I used the technique $$\frac{M_y-N_x}{N}$$

I get

$u(x)=-2x$ as my integrating factor.

But I end still end up with a non-exact d.e why is that?

$$(-2xy+4x^3y)dx-2x^2dy=0$$

I agree with Ackbach that treating the given ODE as separable is the way to go here. However, if you wish to compute an integrating factor, you should use:

$$\mu(x)=\exp\left(\int -2x\,dx\right)=e^{-x^2}$$

And now, your ODE becomes:

$$\left(e^{-x^2}y\left(1-2x^2\right)\right)dx+\left(xe^{-x^2}\right)dy=0$$

And you can see by inspection this ODE is exact. :)
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K