Integrating factor
From Wikipedia, the free encyclopedia
In mathematics, an integrating factor is a function that is chosen to facilitate the solving of a given ordinary differential equation.
Contents |
[edit] Technique
Consider an ordinary differential equation of the form
where y = y(x) is an unknown function of x, and a(x) and b(x) are given functions.
The integrating factor method works by turning the left hand side into the form of the derivative of a product.
Consider a function M(x). We multiply both sides of (1) by M(x):
We want the left hand side to be in the form of the derivative of a product (see product rule). In fact, if we assume this the left hand side can be rearranged as
The left hand side in (3) can now be integrated much more easily by means of the fundamental theorem of calculus,
where C is a constant (see arbitrary constant of integration). We can now solve for y(x),
However, to explicitly solve for y(x) we need to find an expression for M(x).
Rewrite (3) using the product rule.
Identify terms in (2) and it's clear that M(x) obeys the differential equation :
To get M(x), divide both sides by M(x):
Equation (5) is now in the form of a logarithmic derivative. Solving (5) gives
We see that multiplying by M(x) and the property M'(x) = a(x)M(x) were essential in solving this differential equation. M(x) is called an integrating factor.
[edit] Example
Solve the differential equation
We can see that in this case
- (Note we do not need to include the integrating constant - we need only a solution, not the general solution)
Multiplying both sides by M(x) we obtain
or
which gives
- y(x) = Cx2.
[edit] General use
The term "integrating factor" is almost universally bound to the solution of first order linear equations. One should bear in mind, however, that an integrating factor is any expression that a differential equation is multiplied by to facilitate integration, and that it is by no means restricted to first order linear equations. For example, the nonlinear second order equation
admits as an integrating factor:
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. Though likely too obscure to be useful, this is a general solution. Also, the previous equation could be used for numeric solution in favor of the original equation since it's first order.