on inhomogeneous second-order linear ODE with constant coefficients
Let’s consider solving the ordinary second-order lineardifferential equation
(1) |
which isinhomogeneous (http://planetmath.org/HomogeneousLinearDifferentialEquation), i.e..
For obtaining the general solution of (1) we have to add to thegeneral solution of thecorresponding homogeneous equation (http://planetmath.org/SecondOrderLinearODEWithConstantCoefficients)
(2) |
someparticular solution (http://planetmath.org/SolutionsOfOrdinaryDifferentialEquation)of the inhomogeneous equation (1). A latter one canalways be gotten by means of the variation of parameters, butin many cases there exist simpler ways to find a particularsolution of (1).
: is a nonzero constant function. In this case, apparently isa solution of (1), supposing that . If but , a particular solution is . If , a solution is gotten via two consecutiveintegrations.
: is a polynomial function of degree. Now (1) has as solution a polynomial which can befound by using indetermined coefficients. If , the polynomial is of degree and is uniquely determined. If and , the degree of the polynomialis and its constant term is arbitrary. If the polynomial is of degree and isgotten via two integrations.
: Let in (1) be of the form with , , constants. We try to find a solution of the same form and putinto (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 thatthe determinant
does not vanish. Then we obtain the particular solution (3). The determinant vanishes only if and , inwhich case the differential equation (1) reads
(4) |
Unless we have , the equation (4) has nosolution of the form (3), since
(5) |
identically. But we find easily a solution of (4) when wedifferentiate the identity (5) with respect to . Changingthe 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. Denotethe left hand side of (1) briefly. We seekagain 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 thecharacteristic equation corresponding thehomogeneous equation (2), then we obtain theparticular solution
of the inhomogeneous equation (1).
If , then and satisfy thehomogeneous equation . Now we may start from theidentity
and differentiate it with respect to . Changing again theorder 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 , whichequals to by choosing . Then we have found theparticular solution
We have still to handle the case when is the double root ofthe equation and thus . Putting into (7), the right hand side reduces to ; this equals to when choosing . So we have theparticular 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 ofthe equations
Then evidently the sum is aparticular solution of the equation (8).
References
- 1 Ernst Lindelöf: Differentiali- ja integralilaskuja sen sovellutukset III.1. Mercatorin Kirjapaino Osakeyhtiö, Helsinki (1935).