![]() | ||
In mathematics, an integrating factor is a function that is chosen to facilitate the solving of a given equation involving differentials. It is commonly used to solve ordinary differential equations, but is also used within multivariable calculus when multiplying through by an integrating factor allows an inexact differential to be made into an exact differential (which can then be integrated to give a scalar field). This is especially useful in thermodynamics where temperature becomes the integrating factor that makes entropy an exact differential.
Contents
Use in solving first order linear ordinary differential equations
Integrating factors are useful for solving ordinary differential equations that can be expressed in the form
The basic idea is to find some function
In order to derive this, let
Going from step 2 to step 3 requires that
To verify see that multiplying through by
By applying the product rule in reverse, we see that the left-hand side can be expressed as a single derivative in
We use this fact to simplify our expression to
We then integrate both sides with respect to
Finally, we can move the exponential to the right-hand side to find a general solution to our ODE:
In the case of a homogeneous differential equation, in which
where
Example
Solve the differential equation
We can see that in this case
Multiplying both sides by
Reversing the quotient rule gives
or
which gives
General use
An integrating factor is any expression that a differential equation is multiplied by to facilitate integration and is not restricted to first order linear equations. For example, the nonlinear second order equation
admits
To integrate, note that both sides of the equation may be expressed as derivatives by going backwards with the chain rule:
Therefore
This form may be more useful, depending on application. Performing a separation of variables will give
This is an implicit solution which involves a nonelementary integral. This same method is used to solve the period of a simple pendulum.