Linear Differential Operators
Linear Differential Operators
(3) yc = c 1 y1 + . . . + c n yn , ci constants,
where the yi are n solutions to (2) which are linearly independent, meaning that none of
them can be expressed as a linear combination of the others, i.e., by a relation of the form
(the left side could also be any of the other yi ):
yn = a1 y1 + . . . + an1 yn1 , ai constants.
Once the associated homogeneous equation (2) has been solved by finding n independent
solutions, the solution to the original ODE (1) can be expressed as
(4) y = yp + yc ,
Our main goal in this section of the Notes is to develop methods for finding particular
solutions to the ODE (5) when q(x) has a special form: an exponential, sine or cosine, xk , or
a product of these. (The function q(x) can also be a sum of such special functions.) These
are the most important functions for the standard applications.
The reason for introducing the polynomial operator p(D) is that this allows us to use
polynomial algebra to help find the particular solutions. The rest of this chapter of the
Notes will illustrate this. Throughout, we let
3. Operator rules.
Our work with these differential operators will be based on several rules they satisfy.
In stating these rules, we will always assume that the functions involved are sufficiently
differentiable, so that the operators can be applied to them.
Sum rule. If p(D) and q(D) are polynomial operators, then for any (sufficiently differ-
entiable) function u,
The linearity rule is a familiar property of the operator a Dk ; it extends to sums of these
operators, using the sum rule above, thus it is true for operators which are polynomials in
D. (It is still true if the coefficients ai in (7) are not constant, but functions of x.)
Multiplication rule. If p(D) = g(D) h(D), as polynomials in D, then
u
(10) p(D) u = g(D) h(D) u . h(D)
The picture illustrates the meaning of the right side of (10). The property h(D)u
is true when h(D) is the simple operator a Dk , essentially because
Dm (a Dk u) = a Dm+k u; g(D)
xs eax
(17) yp = , if a is an s-fold zero 1 of p.
p(s) (a)
Note that (16) is just the special case of (17) when s = 0. Before proving the theorem,
we give two examples; the first illustrates again the usefulness of complex exponentials.
(D2 D + 1) ye = e(2+i)x ,
For the more general case (17), we begin by noting that to say the polynomial p(D) has the
number a as an s-fold zero is the same as saying p(D) has a factorization
(18) p(D) = q(D)(D a)s , q(a) 6= 0.
We will first prove that (18) implies
(19) p(s) (a) = q(a) s! .
To prove this, let k be the degree of q(D), and write it in powers of (D a):
(20) q(D) = q(a) + c1 (D a) + . . . + ck (D a)k ; then
s s+1
p(D) = q(a)(D a) + c1 (D a) + . . . + ck (D a)s+k ;
p(s) (D) = q(a) s! + positive powers of D a;
substituting a for D on both sides proves (19).
Using (19), we can now prove (17) easily using the exponential-shift rule (13). We have
eax xs eax
p(D) (s)
= (s) p(D + a)xs , by linearity and (13);
p (a) p (a)
eax
= (s) q(D + a) Ds xs , by (18);
p (a)
eax
= q(D + a) s!, by (19);
q(a)s!
eax
= q(a) s! = eax ,
q(a)s!
where the last line follows from (20), since s! is a constant:
Equating like powers of x in the last line gives the three equations
4A = 4, 4B + 6A = 2, 4C + 3B + 2A = 0;
so that after canceling the ex on both sides, we get the ODE satisfied by up :
In the previous examples, p(a) 6= 0; if p(a) = 0, then the trial solution must be altered
by multiplying each term in it by a suitable power of x. The book gives the details; briefly,
the terms in the trial solution should all be multiplied by the smallest power xr for which
none of the resulting products occur in the complementary solution yc , i.e., are solutions of
the associated homogeneous ODE. Your book gives examples; we wont take this up here.
We investigate to see if erx is a solution to (23), for some real or complex r. According
to the substitution rule (12),
p(D) erx = 0 p(r) erx = 0 p(r) = 0 .
Therefore
Since the coefficients of p(r) = 0 are real, its complex roots occur in pairs which are
conjugate complex numbers. Just as for the second-order equation, to the pair of complex
conjugate roots a ib correspond the complex solution (we use the root a + ib)
e(a+ib)x = eax (cos bx + i sin bx),
whose real and imaginary parts
We shall prove in the theorem below that corresponding to this k-fold root there are k
linearly independent solutions to the ODE (23), namely:
(Note the analogy with the second order case that you have studied already.)
which shows that all the functions of (20) solve the equation.
If r1 is real, the solutions (28) give k linearly independent real solutions to the ODE (23).
8 18.03 NOTES
In the same way, if a+ib and aib are k-fold conjugate complex roots of the characteristic
equation, then (28) gives k complex solutions, the real and imaginary parts of which give
2k linearly independent solutions to (23):
eax cos bx, eax sin bx, xeax cos bx, xeax sin bx, . . . , xk1 eax cos bx, xk1 eax sin bx .
As you can see, if the linear homogeneous ODE has constant coefficients, then the work
of solving p(D)y = 0 is reduced to finding the roots of the characteristic equation. This is
just a problem in algebra, but a far from trivial one. There are formulas for the roots if
the degree n 4, but of them only the quadratic formula ( n = 2 ) is practical. Beyond
that are various methods for special equations and general techniques for approximating the
roots. Calculation of roots is mostly done by computer algebra programs nowadays.
This being said, you should still be able to do the sort of root-finding described in Notes
C, as illustrated by the next example.
With this general principle in mind, it will be easiest to understand why the method of
undetermined coefficients works by looking at a typical example.
Here is another example, where one of the inhomogeneous terms is a solution to the
associated homogeneous equation, i.e., is part of the complementary function.
(33) (D 1)2 yp = ex .
Solution. Since the right-hand side is a solution to (D 1)y = 0, we just apply the
operator D 1 to both sides of (33), getting
(D 1)3 yp = 0.
Thus yp must be of the form
yp = ex (c1 + c2 x + c3 x2 ).
But the first two terms can be dropped, since they are already part of the complementary
solution to (33); we conclude there must be a particular solution of the form
y p = c 3 x 2 ex .
Exercises: Section 2F
M.I.T. 18.03 Ordinary Differential Equations
18.03 Notes and Exercises
Arthur
c Mattuck and M.I.T. 1988, 1992, 1996, 2003, 2007, 2011