We will look for solutions to a non homogeneous linear system of order
If our ODE is:
Then we will be prepared to solve, for example:
For the same reason as in linear systems, a general solution to this equation is a sum of the general solution to the homogeneous part and a particular solution to the non homogeneous part.
We are going to solve the ODE for the method of the cancelling polynomial or the method of indeterminate coefficients.
Let's suppose that we have the ODE previously given and
- We solve the homogeneous part. So we obtain
linearly independent solutions.
Example
In the example that we have given, solutions are:
- We look for a polynomial that cancels
. This operation consists in finding a polynomial whose coefficients multiply the derivatives. That is to say: where means to derive times the function that multiplies it. This way, This is like finding what linear and homogeneous ODE satisfies . To do so, we proceed in the inverse way (to the way we did to find solutions in the homogeneous case).
Example
In the previous example, we had to find a polynomial that cancels
Let's proceed in the inverse way to the way we did to find the solutions, that is to say:
Therefore the cancelling polynomial is:
In fact,
- Let's notice that, when introducing this notation, our initial ODE can be written as
, with Applying the polynomial to the previous equality we have: and therefore we have a new equation, but homogeneous of order (greater that ). Then we solve this problem, obtaining functions, of which first are solutions found in (1).
Example
In the previous example, then, we have
Therefore we have that
- We look for a particular solution to the non homogeneous equation of the form:
that is, we take the solutions that have appeared in (3), which we did not have in (1) and we look for certain coefficients to obtain the solution.
Example
In our example, we must look for a particular solution of the form:
Let's designate that this is a solution:
- Finally, the general solution to our initial non homogeneous ODE is:
Example
To finish with our example, the general solution is: