Integrating Factor for Exact Equation

An integrating factor that converts a First-order ODE into an exact equation if it meets certain conditions.

Theory

Consider a non-exact differential equation in the form

Then we also have

But, let’s assume that we can multiply both functions by some integrating factor such that

Applying the product rule (using partial derivatives)

Factoring

While and its derivatives are known, it is difficult to compute in this form, so we have two cases.

Case 1:

or in human terms, is a function of only .

It is then clear the and

Now, in order to proceed, we must declare a condition: the right-hand side must be a function of only. Thus, we can write

Then, this is a first-order separable and linear differential equation, we can write the solution using the integrating factor for product rule:

Case 2:

A similar method can yield

Where the condition is that is a function of only.

Solution Summary

For a non-exact equation:

If is a function of only

If is a function of only

Example

For a nonlinear first-order differential equation

With and

Verifying that this is non-exact

Considering case 2

it’s clear that this is not a pure function of

Considering case 1

this is a pure function of , thus we can define the integrating factor

After applying the integrating factor, we get

And verifying the partial derivatives yields

So this is now an exact equation