Solutions of Nonhomogeneous Constant Coefficient Higher Order Linear Odes: Method of Undetermined Coefficients and Annihilator Method
Solutions of Nonhomogeneous Constant Coefficient Higher Order Linear Odes: Method of Undetermined Coefficients and Annihilator Method
Department of Mathematics
IIT Guwahati
L(yp ) = pn (x).
Thus, yp (x) = 23 x − 74 .
• g(x) = pn (x) = an xn + · · · + a1 x + a0 ,
yp (x) = xs Pn (x) = xs {An xn + . . . + A1 x + A0 }
Note:
1. The nonnegative integer s is chosen to be the smallest
integer so that no term in yp is a solution to L(y) = 0.
2. Pn (x) or PN (x) must include all its terms even if pn (x) has
some terms that are zero. Similarly for QN (x).
Example:
1. f (x) = ex , Q = D − 1 (Q annihilates ex ).
2. f (x) = xex , Q = (D − 1)2 .
3. f (x) = e2x sin(4x), Q = (D2 − 4D + 20).
QL(y)(x) = 0 =⇒ y ∈ Ker(QL).
xn−1 Dn
eαx (D − α)
cos(βx) or sin(βx) D2 + β 2
xn−1 eαx cos(βx) or xn−1 eαx sin(βx) [D2 − 2αD + (α2 + β 2 )]n
2
Note: If g(x) has the form ex , log x, x1 , tan x or sin−1 x the
annihilator method will not work.
Now,
QL(y) = Q(e2x + 1) = 0 =⇒ D(D − 2)(D2 + 1)(y) = 0.
Since Ker(QL) = span {cos x, sin x, e2x , 1}, the general
solution to QL(y) = 0 is
y(x) = c1 cos x + c2 sin x + c3 e2x + c4 . (∗)