Solving Linear Ordinary Differential Equations (LODEs) by computing integrating factors for them
|
Description
|
|
|
Integrating factors for second and higher order linear ODEs
|
•
|
For linear ODEs (LODEs) of order 2 or greater, it is possible to calculate integrating factors by solving the adjoint of the LODE. This could be as difficult as the original problem, or much easier, depending on the example. This method is implemented in dsolve.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
This ODE has the following adjoint
>
|
|
| (2) |
This adjoint equation is in turn solvable by dsolve
>
|
|
| (3) |
Now the solutions to the adjoint equation are integrating factors of the original LODE, so the two independent solutions implied in the general solution above
>
|
|
| (4) |
>
|
|
| (5) |
are integrating factors of ode. These integrating factors could also be found using the intfactor directly
>
|
|
| (6) |
Constructing solutions using integrating factors
How are these integrating factors transformed into a solution to the original problem? By using them to construct two first integrals; that is: two ODEs of lower order (in this case two first order ODEs). For that purpose it is provided the firint command which receives an exact ODE and returns a first integral. The idea is simple: an exact ODE is a total derivative - say dR/dx; firint returns the R + _C1:
>
|
|
| (7) |
>
|
|
| (8) |
Eliminating y' from these two first integrals (and replacing _C1 by _C2 in one of them) leads to the solution f(x,y(x),_C1,_C2) = 0 to this ode. So this process could be run interactively, as shown, or in one step
>
|
|
| (9) |
|
|
Download Help Document
Was this information helpful?