Exact ODE

Of the form

M(x,y)dx+N(x,y)dy=0

If a function F(x,y) exists such that total differential dF satisfies
dF=M(x,y)dx+N(x,y)dy, then the ODE is exact.

In other words, if My and Nx are both continuous functions of x and y on some open set S, then the ODE is exact on S iff My=Nx

Theorem:

Given an ODE in the form of M(x,y)dx+N(xy)dy=0

If My and Nx are constants in x and y on an open set S,
then this ODE is exact on S iff My=Nx

dF=Fxdx+Fydy
with the goal to find such an F

Solving an Exact ODE

  1. Determine that the ODE is exact: My=Nx
  2. Try to find F(x,y) such that $$ dF = \frac{\partial F}{\partial x}dx + \frac{\partial F}{\partial y}dy = M(x, y) dx + N(x, y)dy$$
  3. Integrate Fx=M(x,y) wrt x, thinking of y as a constant: $$ F(x, y) = \int M(x, y) dx + B(y)$$
  4. Differentiate this w.r.t y to find function B(y) from: $$N(x, y) = \frac{\partial F}{\partial y} = \frac{\partial}{\partial y}\left(\int M(x, y) dx\right) + B'(y)$$
  5. The solution is F(x,y)=C, where C is an arbitrary constant

Finding an Integrating Factor

Definition

If there is a function μ(x,y) such that

μ(x,y)M(x,y)dx+μ(x,y)N(x,y)dy=0
is exact, then μ(x,y) is an integrating factor

Finding Integrating Factor

Let fx=fx and fy=fy

  • Solve μyM+μMy=μxN+μNx
    • PDE, so generally hard to solve, simplify by assuming μ(x,y)=μ(x) or μ(x,y)=μ(y)
  • If we assume μ(x,y)=μ(x), equation reduces to
    μMy=μxN+μNxdμdx=μ(x)MyNxN
  • Assume, μ(x,y)=μ(y), reduces to
    μyM+μMy=μNxdμdy=μ(y)NxMyM