An inexact differential equation is a differential equation of the form:
satisfying the condition
Leonhard Euler invented the integrating factor in 1739 to solve these equations.
To solve an inexact differential equation, it may be transformed into an exact differential equation by finding an integrating factor . Multiplying the original equation by the integrating factor gives:
For this equation to be exact, must satisfy the condition:
Expanding this condition gives:
Since this is a partial differential equation, it is generally difficult. However in some cases where depends only on or , the problem reduces to a separable first-order linear differential equation. The solutions for such cases are:
or