Solving a Non-Exact Differential Equation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
10 replies · 3K views
Messages
6,221
Reaction score
31

Homework Statement



Solve the following

(x+2y-1)dx +3(x+2y)dy=0

Homework Equations



The Attempt at a Solution



I said that it was in form M(x,y) dx + N(x,y) dy=0

then found [itex]\frac{\partial{N}}{\partial{y}}[/itex] and similarly [itex]\frac{\partial{M}}{\partial{x}}[/itex]

Meaning that it wasn't exact, but then tried to find the integrating factors, given that the equation wasn't exact. But in doing so, The formulas for the integrating factors didn't work out. Did I start this question wrong?
 
Physics news on Phys.org
This is from my notes:

If [itex]\frac{\partial{M}}{\partial{y}} \neq \frac{\partial{N}}{\partial{x}}[/itex] i.e. not exact equation

Then an integrating factor is found as follows:

If (i)

[tex]\frac{\frac{\partial{M}}{\partial{y}}- \frac{\partial{N}}{\partial{x}}}{N}=f(x)[/tex]


Where f(x) is a function in x-only , then ef(x) is an integrating factor.

(ii)
[tex]\frac{\frac{\partial{M}}{\partial{y}}- \frac{\partial{N}}{\partial{x}}}{M}= - g(y)[/tex]

then e+g(y) is an integrating factor

______________________________________________________________________________
For (x+2y-1)dx +3(x+2y)dy=0

M= x+2y-1 so that [itex]\frac{\partial{M}}{\partial{y}}=2[/itex]
N=3x+6y => [itex]\frac{\partial{N}}{\partial{x}}=3[/itex] Clearly [itex]2 \neq 3[/itex]

But if I put it into either of the two previously stated formulas, I do not get a function in x only for (i) OR a function in y only for equation (ii)
 
There is an easier way to find the integrating factor in this case: In general, whenever [itex]M(x,y)[/itex] and [itex]N(x,y)[/itex] are homogeneous functions of the same degree, then [itex]\frac{1}{xM+yN}[/itex] is an integrating factor. So, are [itex]M(x,y)[/itex] and [itex]N(x,y)[/itex] homogeneous functions of the same degree in this case?
 
gabbagabbahey said:
So, are [itex]M(x,y)[/itex] and [itex]N(x,y)[/itex] homogeneous functions of the same degree in this case?

M(x,y) isn't homogeneous since it doesn't involve terms in x and y only...
N(x,y) is homogeneous of degree 1
 
gabbagabbahey said:
Hmmm.. yes, M is inhomogeneous so that won't work...What other methods have you been taught for finding integrating factors?

Those two are the only two equations which I know of when it is a non-exact differential equation.
 
This may be above the scope of your course; but let's look at the definition of integrating factors:

[itex]\mu(x,y)[/itex] is an integrating factor of the ODE [itex]M(x,y)dx+N(x,y)dy[/itex] if the ODE [itex]\mu(x,y)M(x,y)dx+\mu(x,y)N(x,y)dy[/itex] is exact. This means that [itex]\mu(x,y)[/itex]
must satisfy the condition:

[tex]\frac{\partial}{\partial y}(\mu(x,y)M(x,y))=\frac{\partial}{\partial x}(\mu(x,y)N(x,y))[/tex]

Or, equivalently;

[tex]M(x,y)\frac{\partial \mu}{\partial y}-N(x,y)\frac{\partial \mu}{\partial x}=\mu(x,y) \left( \frac{\partial N}{\partial x}-\frac{\partial M}{\partial y}\right)[/tex]

In this case, we have:

[tex](x+2y-1)\frac{\partial \mu}{\partial y}-3(x+2y)\frac{\partial \mu}{\partial x}=\mu(x,y) \left( (3)-(2) \right)=\mu (x,y)[/tex]

Do you have any tools at your disposal that you could use to solve this PDE for [itex]\mu(x,y)[/itex]?