Solved Examples For Method of Undetermined Coefficients
Solved Examples For Method of Undetermined Coefficients
Problem No. 1:
Solve the differential equation using Method of Undetermined Coefficients
y00 − 4y0 − 10y = 8 sin(2x ) − 16 cos(2x ) (1)
Solution:
First we solve for the homogeneous solution yh .
λ2 − 4λ − 10 = 0
√ √
λ = {2 + 14, 2 − 14}
√ √
y h = c 1 e (2+ 14) x
+ c 2 e (2− 14) x
Now we solve for the particular solution y p . Since we φ( x ) = 8 sin(2x ) − 16 cos(2x ), we assume the
particular solution to have the form
y p = A sin(2x ) + B cos(2x ).
From the assumed solution, we get the following system of equations.
y p = A sin(2x ) + B cos(2x ) (2)
y0p = 2A cos(2x ) − 2B sin(2x ) (3)
y00p = −4A sin(2x ) − 4B cos(2x ) (4)
We plug equations [2-4] to equation [1] and we get
−4A sin(2x ) − 4B cos(2x ) − 4 [2A cos(2x ) − 2B sin(2x )] − 10 [ A sin(2x ) + B cos(2x )] = 8 sin(2x ) − 16 cos(2x )
−4A sin(2x ) − 4B cos(2x ) − 8A cos(2x ) + 8B sin(2x ) − 10A sin(2x ) − 10B cos(2x ) = 8 sin(2x ) − 16 cos(2x )
[−4A + 8B − 10A] sin(2x ) + [−4B − 8A − 10B] cos(2x ) = 8 sin(2x ) − 16 cos(2x )
Solving simultaneously,
− 4A + 8B − 10A = 8 −4B − 8A − 10B = −16
− 14A + 8B = 8 −14B − 8A = −16
8 + 14A 8 + 14A
B= −14 − 8A = −16
8 8
4
⇒A=
65
72
⇒B=
65
We have the particular solution
4 72
yp = sin(2x ) + cos(2x ).
65 65
We write the general solution for equation [1] as,
√ √
4 72
ANS: y( x ) = c1 e(2+ 14) x
+ c 2 e (2− 14) x
+ sin(2x ) + cos(2x )
65 65