on inhomogeneous second-order linear ODE with constant coefficients
Let’s consider solving the ordinary second-order linear differential equation
(1) |
which is inhomogeneous (http://planetmath.org/HomogeneousLinearDifferentialEquation), i.e. .
For obtaining the general solution of (1) we have to add to the general solution of the corresponding homogeneous equation (http://planetmath.org/SecondOrderLinearODEWithConstantCoefficients)
(2) |
some
particular solution (http://planetmath.org/SolutionsOfOrdinaryDifferentialEquation)
of the inhomogeneous equation (1). A latter one can
always be gotten by means of the variation of parameters, but
in many cases there exist simpler ways to find a particular
solution of (1).
: is a nonzero constant function
. In this case, apparently is
a solution of (1), supposing that . If
but , a particular solution is .
If , a solution is gotten via two consecutive
integrations.
: is a polynomial function of degree
. Now (1) has as solution a polynomial which can be
found by using indetermined coefficients. If ,
the polynomial is of degree and is uniquely determined.
If and , the degree of the polynomial
is and its constant term is arbitrary. If
the polynomial is of degree and is
gotten via two integrations.
: Let in (1) be of the form with , , constants. We try to find a solution of the same form and put into (1) the expression
(3) |
Then the left hand side of (1) attains the form
This must equal , i.e. we have the conditions
These determine uniquely the values of and provided that the determinant
does not vanish. Then we obtain the particular solution (3). The determinant vanishes only if and , in which case the differential equation (1) reads
(4) |
Unless we have , the equation (4) has no solution of the form (3), since
(5) |
identically. But we find easily a solution of (4) when we differentiate the identity (5) with respect to . Changing the order of differentiations we get
The right hand side coincides with the right hand side of (4) iff and , and thus (4) has the solution
: Let in (1) now be where and are constants. Denote the left hand side of (1) briefly . We seek again a solution of the same form as .
First we have
Thus can be determined from the condition . If , i.e. is not a root of the characteristic equation corresponding the homogeneous equation (2), then we obtain the particular solution
of the inhomogeneous equation (1).
If , then and satisfy the homogeneous equation . Now we may start from the identity
and differentiate it with respect to . Changing again the order of differentiations we can write first
(6) |
and differentiating anew,
(7) |
If is a simple root of the equation , i.e. if but , then makes the right hand side of (6) to , which equals to by choosing . Then we have found the particular solution
We have still to handle the case when is the double root of the equation and thus . Putting into (7), the right hand side reduces to ; this equals to when choosing . So we have the particular solution
of the given inhomogeneous equation.
: Suppose that in (1) the right hand side is a sum of several functions,
(8) |
and one can find a particular solution for each of the equations
Then evidently the sum is a
particular solution of the equation (8).
References
- 1 Ernst Lindelöf: Differentiali- ja integralilasku ja sen sovellutukset III.1. Mercatorin Kirjapaino Osakeyhtiö, Helsinki (1935).
Title | on inhomogeneous second-order linear ODE with constant coefficients |
---|---|
Canonical name | OnInhomogeneousSecondorderLinearODEWithConstantCoefficients |
Date of creation | 2014-03-05 16:25:57 |
Last modified on | 2014-03-05 16:25:57 |
Owner | pahio (2872) |
Last modified by | pahio (2872) |
Numerical id | 14 |
Author | pahio (2872) |
Entry type | Derivation |
Classification | msc 34A05 |