2.2.1 Undetermined Coefficients Part I
2.2.1 Undetermined Coefficients Part I
Equations
Second Order DE
Dr Norhafizah Md Sarif
Centre for Mathematical Sciences
College of Computing & Applied Sciences
Universiti Malaysia Pahang
2.2 LINEAR NON- HOMOGENEOUS EQUATION
If yc is a complementary solution of
d2y dy
a 2+b + cy = 0
dx dx
and yp is a particular integral solution of nonhomogeneous
equation
d2y dy
a 2+b + cy = f(x)
dx dx
y = yc + yp
METHOD OF UNDETERMINED COEFFICIENTS
2.2.1
Now, we will study the method of undetermined coefficients in order to
determineparticular integrals yp for linear nonhomogeneous equations
d2y dy
a 2+b + cy = f(x) -----(i)
dx dx
This method is applicable only when the nonhomogenous term f(x) on the
r.h.s of Equation (i) is one of this term;
2 e𝛼x Ce𝛼x
cos 𝛽x
6 e𝛼x ቊ e𝛼x(pcos 𝛽x + qsin𝛽x )
sin𝛽x
cos 𝛽x (B0+ B1x+ ⋯ + Bnxn) e𝛼xcos 𝛽x +
7 (A0+ A1x+ ⋯ +An xn) e𝛼x ቊ
sin𝛽x (C0+ C1x+ ⋯ + Cnxn) e𝛼x sin𝛽x
Sums of any or some of the above entries Sums of the corresponding trial solutions
Example
Case 1: f(x) is a
polynomial of
Find the solution of the differential equation: nth degree
Solution:
Find yc : Repeat what you have done for homogeneous d.e.
m 2 − 2m + 1 = 0
(m − 1)(m − 1) = 0
m=1 *repeated roots
We get,
Solution:
x2 : C = 2
x : D − 4C = 0 ∴ D=8
x0 : 2C − 2D + E = −1 ∴ E = 11
Hence, y = yc + yp
Solution:
Find yc : Repeat what you have done for homogeneous d.e.
m 2 + 14m + 49 = 0
(m + 7)(m + 7) = 0
m = −7 *repeated roots
yp’ = 5Ce5x
yp’’= 25Ce5x
We get,
144Ce5x = 4e5x
∴ C = 1/36
1 5x
Therefore, yp = e
36
Hence, y = yc + yp
1 5x
= (A + Bx) e-7x + e
36
Example
Solution:
Find yc : Repeat what you have done for homogeneous d.e.
m 2 − 5m + 6 = 0
(m − 3)(m − 2) = 0
m = 3,2 *real and distinct roots
We get,
2 1
Therefore, y = yc + yp = Ae3x + Be2x + cos4x − sin4x
25 25
Exercise 2.2.1
1.Find the general solution for each of the following differential equations
d2y dy d2y dy
(a) − 5 + 6y = 25 (b) + 2 =x
dx2 dx dx2 dx
d2y d2x dx
(c) = 6t2+2t + 1 (d) − − 2x = 2e3t
dt 2 dt 2 dt
d2y dy 1 d2x dx
(e) + 2 − 3y = e−3x (f) + 4 = 3cos2t
dx2 dx 2 dt 2 dt
2.Find the particular solution of
d2y
(a) + y = 3− 2x2, y(0) = 5, y’(0) = 1
dx2
d2y dy
(b) + 2 +5y = 4ex, y(0) = 0, y’(0) = 0
dx2 dx
d2y dy
(c) + 2 + 2y = sin x, y(0) = 2, y’(0) = −1
dx2 dx
Solution:
25
1. (a) y(x) = Ae2x + Be3x +
6
1
(b) y(x) = A + Be−2x + (x2− x)
4
1 1 1
(c) y(t) = At + B + t4+ t3+ t2
2 3 2
1
(d) x(t) = Ae−t + Be2t + e3t
2
1
(e) y(x) = Ae−3x + Bex − xe−3x
8
3 3
(f) x(t) = A+ Be−4t + sin 2t − cos 2t
10 20
Solution:
1 1 1
(b) y(x) = − e-xsin 2x− e-xcos 2x+ ex
2 2 2
6 12 2 1
(c) y(x) = e-xsin x + e-xcos x − cos x+ sin x
5 5 5 5
+h{an}k
Ỿₒ∪