The integrating factor method is a technique for solving first order ordinary differential equations of the form
where and are any two arbitrary functions of only. Equations of this form are not separable, however we can combine the two terms on the left-hand side into a single derivative by using an integrating factor.
The integrating factor IF is given by integrating and then exponentiating:
where is defined by .
It is important to note that the constant of integration is not included; this method requires that the derivative of is , i.e. , and the constant of integration is not necessary to meet this condition.
Multiplying the original differential equation by the integrating factor gives
Now note that the left hand side is the derivative of the integrating factor multiplied by :
This result comes from the product rule, with the first term on the right-hand side containing the derivative of and the second term containing the derivate of .
The original equation can now be written in the form
This equation can be solved by integrating both sides:
As integration is the opposite of differentiation, the left-hand side can be simplified:
Hence the equation becomes:
Provided that the integral on the right-hand side is simple enough to compute, this will lead to a solution.
Solve
The general form of a first order linear ordinary differential equation is:
In the given equation, and .
Recall that the integrating factor is given by , where . For this equation, the function is:
As mentioned above, it is not necessary to include a constant of integration.
The integrating factor for this equation is therefore given by:
Multiplying both sides of the original equation by the integrating factor gives:
Note: At this point it is advisable to check that the left-hand side is indeed the derivative of the integrating factor multiplied by :
\[\frac{\mathrm{d </div>{\mathrm{d} x} \left[ e^{3x}y \right] = e^{3x}\frac{\mathrm{d} y}{\mathrm{d} x} + 3 e^{3x}y.\]
The simplified form of the equation is therefore:
Integrating both sides gives:
To compute the integral on the right-hand side it is necessary to use integration by parts.
Recall the formula for integration by parts:
Choose and . Then:
and the integral becomes:
Note: At this point it is necessary to include the constant of integration.
Substituting this result for the integral back into the equation gives:
Multiplying both sides by gives the solution for :
}}
Newcastle University Maths-Aid uses the integrating factor method to find the general solution of .
Solve
The general form of a first order linear ordinary differential equation is:
In the given equation, and .
Note: If the function includes a minus sign it is essential to include this minus sign when computing the integrating factor.
Recall that the integrating factor is given by , where . For this equation, the function is:
As mentioned above, it is not necessary to include a constant of integration.
The integrating factor for this equation is therefore given by:
By the laws of logarithms this simplifies to become:
Multiplying both sides of the original equation by the integrating factor gives:
Note: At this point it is advisable to check that the left-hand side is indeed the derivative of the integrating factor multiplied by :
\[\frac{\mathrm{d </div>{\mathrm{d} x} \left[ \frac{1}{x}y \right] = \frac{1}{x}\frac{\mathrm{d} y}{\mathrm{d} x} - \frac{1}{x^2}y.\]
The simplified from of the equation is therefore:
Integrating both sides gives:
Multiplying both sides by gives the solution for :
}}
Newcastle University Maths-Aid uses the integrating factor method to find the general solution of .
Prof. Robin Johnson uses the integrating factor method to find the general solution of .
This workbook produced by HELM is a good revision aid, containing key points for revision and many worked examples.