The integrating factor is a function such that a first-order differential equation’s solution can be expressed in terms of the integration factor and a factor . It is given by

Derivation of the Integrating Factor

Introducing such that brings one to

Using the derivative product rule and cancelling terms one finds out that the equation

will hold if