2016 Lecture5
2016 Lecture5
Shyamashree Upadhyay
IIT Guwahati
where n is a nonnegative integer and α and β are real numbers. The method of
undetermined coefficients is not applicable to equations of form (1) when
1
g(x) = ln x, g(x) = , g(x) = tan x, g(x) = sin−1 x,
x
ad so on. The set of functions that consists of constants, polynomials, exponentials, sines
and cosines has the remarkable property that derivatives of their sums and products are
again sums and products of constants, polynomials, exponentials, sines and cosines.
p + an−1 y p
Since the lienar combination of derivatives an y(n) + · · · + a1 y0p + a0 y p must be
(n−1)
identical to g(x), it seems reasonable to assume that y p has the same form as g(x).
Example
Solve y00 + 4y0 − 2y = 2x2 − 3x + 6.√ √
It is easy to check that yc = c1 e−(2+ 6)x + c2 e(−2+ 6)x . Now since the function g(x) is a
quadratic polynomial, let us assume that a particular solution y p is also of the same form.
So take
y p = Ax2 + Bx + C.
Then we get y00p + 4y0p − 2y p = 2A + 8Ax + 4B − 2Ax2 − 2Bx − 2C . We want y00p + 4y0p − 2y p to
be equal to g(x) = 2x2 − 3x + 6. So equating 2A + 8Ax + 4B − 2Ax2 − 2Bx − 2C with
2x2 − 3x + 6, we can get the values of the coefficients A, B and C . Here we get
A = −1, B = − 52 , C = −9. Thus a particular solution is y p = −x2 − 25 x − 9 and the general
solution is
√ √ 5
y = yc + y p = c1 e−(2+ 6)x
+ c2 e(−2+ 6)x
− x2 − x − 9.
2
Example
Solve y00 − y0 + y = 2sin 3x.
A natural first guess for a particular solution would be Asin 3x. But since successive
differentiations of sin 3x produce sin 3x as well as cos 3x, therefore we are prompted
instead to assume a particular solution that includes both sin 3x and cos 3x. So we take
And then we proceed similarly as in the previous example to compute the values of A and
B.
Example
Solve y00 − 2y0 − 3y = 4x − 5 + 6xe2x .
In this example, the presence of 4x − 5 in g(x) suggests that the particular solution must
include a linear polynomial. Furthermore, the presence of 6xe2x in g(x) and the fact that
derivative of the product xe2x produces 2xe2x and e2x , suggest that the particular solution
must include both xe2x and e2x . In other words, g is the sum of two basic kinds of functions:
Example
Find a particular solution of y00 − 5y0 + 4y = 8e x .
Here g(x) = 8e x and differentiation of e x produces no new functions. Thus it seems
reasonable to assume a particular solution of the form y p = Ae x . But substituting y p = Ae x
in the DE yields 0 = 8e x , which is absurd. So clearly we had made a wrong guess for y p .
The difficulty here is apparent upon examining the complementary function
yc = c1 e x + c2 e4x . Observe that our assumption Ae x is already present in yc in the form c1 e x .
This means that e x is a solution of the associated homogeneous DE, and a constant
multiple Ae x when substituted into the DE necessarily produces 0.
What then should be the form of y p ? Let us see whether we can find a particular solution of
the form y p = Axe x or not! Substituting y p = Axe x in the given DE, we get
y00p − 5y0p + 4y p = −3Ae x = 8e x . This implies that A = − 38 . Hence a particular solution of the
given DE is y p = − 38 xe x .
g(x) Form o f y p
k(any constant) A
5x + 7 Ax + B
3x2 − 2 Ax2 + Bx + C
x3 − x + 1 Ax3 + Bx2 + Cx + D
sin βx Acos βx + Bsin βx
cos βx Acos βx + Bsin βx
eαx Aeαx
(9x − 2)eαx (Ax + B)eαx
x2 eαx (Ax2 + Bx + C)eαx
eαx sin βx Aeαx cos βx + Beαx sin βx
5x2 sin βx (Ax2 + Bx + C)cos βx + (Ex2 + F x + G)sin βx
xeαx cos βx (Ax + B)eαx cos βx + (Cx + D)eαx sin βx
Example
Find a particular solution of y00 − 9y0 + 14y = 3x2 − 5sin 2x + 7xe6x .
Solution: Corresponding to 3x2 we assume y p1 = Ax2 + Bx + C .
Corresponding to −5sin 2x we assume y p2 = Ecos 2x + F sin 2x.
Corresponding to 7xe6x we assume y p3 = (Gx + H)e6x .
The assumption for the particular solution for the given DE is then
Observe that no term in this assumed y p duplicates any term in yc = c1 e2x + c2 e7x .
Case II: A function in the assumed particular solution is also a solution of the associated
homogeneous DE.
Example
Problem: Find a particular solution of y00 − 2y0 + y = e x .
The complementary function is yc = c1 e x + c2 xe x . So the assumption y p = Ae x will fail since
it is apparent from yc that e x is a solution of the associated homogeneous equation
y00 − 2y0 + y = 0. Moreover, we will not be able to find a particular solution of the form
y p = Axe x since the term xe x is also duplicated in yc . We next try
y p = Ax2 e x .
Suppose again that g(x) consists of m terms of the kind given in the previous table, and
suppose further that the usual assumption for a particular solution is
y p = y p1 + y p2 + · · · + y pm ,
where the y pi , i = 1, 2, · · · , m are the trial particular solution forms corresponding to these
terms. Under the circumstances described in Case II, we can make up the following
general rule:
Multiplication Rule for case II: If any y pi contains terms that duplicate terms in yc , then
that y pi must be multiplied by x s , where s is the smallest positive integer that eliminates that
duplication.
Example
Problem: Solve y00 − 6y0 + 9y = 6x2 + 2 − 12e3x .
The complementary function is yc = c1 e3x + c2 xe3x . And so, the usual assumption (based
on the table) for a particular solution would be
y p = Ax2 + Bx + C + Ee3x
where y p1 = Ax2 + Bx + C and y p2 = Ee3x . Inspection of these functions show that the one
term in y p2 is duplicated in yc . If we multiply y p2 by x, we note that the term xe3x is still a
part of yc . But multiplying y p2 by x2 eliminates all duplications. Thus the operative form of a
particular solution is
y p = Ax2 + Bx + C + Ex2 e3x .