06 Undetermined Coefficient Method
06 Undetermined Coefficient Method
(Differential Equations I)
2nd Order Differential Equations
Method of Undetermined Coefficient
by
Engr. O.A. Adeleye
2nd Order Inhomogeneous Linear Differential
Equations: Method of Undetermined
Coefficient
Recall Equation (1) ��′′ + � � �′ + � � � = � �
When � � = 0 it is homogeneous
But when � � ≠ 0 then the solution is given by
� = �ℎ + ��
And it is solved by Method of Undetermined Coefficient.
A solution is proposed based on the form of � � , the right side of the
equation.
Substitution of the proposed form and its derivatives into the equation to
be solved, followed by equating the coefficients of the like terms allows us
to determine the values of the introduced constants as shown in the
2nd Order Inhomogeneous Linear
Differential Equations: Method of
Undetermined Coefficient
Example 1 Solve the differential equation
�′′ − 3�′ + 2� = �2 + 1 (1)
Solution
Step 1: Solve the LHS of the equation
Assume that � � = 0
Hence, �′′ − 3�′ + 2� = 0
Auxiliary equation is �2 − 3�+ 2 = 0
�− 1 �− 2 = 0
�1 = 1 and �2 = 2
Therefore �ℎ = ��� + ��2�
Step 2: Since the RHS of the equation is a polynomial function of order two(2), we propose for ��, the general
quadratic polynomial ��2 + 푏� + �
Therefore �� = ��2 + 푏� + �
�′� = 2�� + 푏
�′′� = 2�
2nd Order Inhomogeneous Linear
Differential Equations: Method of
Substitute these results into equation (1)
Undetermined Coefficient
(�′′ − 3�′ + 2� = �2 + 1 )
2� − 3 2�� + 푏 + 2 ��2 + 푏� + � = �2 + 1
2� − 3푏 + 2� = 1 or 2 1 2 − 3 3 2 + 2� = 1
2� = 9 2 or �=9 4
Step 2: Since the RHS of the equation is a polynomial function of order two(2), we propose
for ��, the general quadratic polynomial ��2 + 푏� + �
Therefore �� = ��2 + 푏� + �
�′� = 2�� + 푏
2nd Order Inhomogeneous Linear
Differential Equations: Method of
Undetermined Coefficient
′′ ′
Substitute these results into equation (1) (� − � − 2� = 4� )
2
2� − 푏 − 2� = 0 or 2� = 2� − 푏 = 2 −2 − 2
� =− 3
Since the RHS of the equation is an exponential function, we propose for ��, the exponential function ��3�
Hence, �� = ��3�
�′� = 3��3�
�′′� = 9��3�
Since the RHS of the equation is a trigonometric function, we propose for ��, the function �sin 2� +
푏cos 2�
Hence, �� = �sin 2� + 푏cos 2�
�′� = 2�cos 2� − 2푏sin 2�
�′′� =− 4�sin 2� − 4푏cos 2�
3 1
Therefore �� =− sin 2� + cos 2�
20 20
1 3
Hence, � = �ℎ + �� = �� −�
+ �� 2�
+ cos 2� − sin 2�
20 20
2nd Order Inhomogeneous Linear
Differential Equations: Method of
Undetermined Coefficient
Classwork
1. Solve the following differential equations
1. �′′ − 6�′ + 25� = 50�3 − 36�2 − 63� + 18
2. �′′ − 2�′ + � = 4cos �
3. �′′ − 6�′ + 25� = 64�−�
4. �′′ − �′ − 2� = 4�2 � 0 = 1, �′ 0 = 4
′′ 3 ′
5. � + � − � = 12�2 + 6�3 − �4
2
� 0 = 4, �′ 0 =− 8
2nd Order Inhomogeneous Linear
Differential Equations: Method of
Undetermined Coefficient
Answers to Classwork
1. � = �3� �cos 4� + �sin 4� + 2�3 − 3�
2. � = ��� + ���� − 2 sin �
3. � = �3� �cos 4� + �sin 4� + 2�−�
4. � = 2�−� + 2�2� − 2�2 + 2� − 3
5. � = 4�−2� + �4