Dr. Firas K. AL-Zuhairi: Ordinary Differential Equation
Dr. Firas K. AL-Zuhairi: Ordinary Differential Equation
1
linear, second order, non homogeneous equations with constant coefficient
Can be solved by first obtaining the general solution of the related homogenous
equation:
Where 𝑐1,and 𝑐2 are arbitrary constants and 𝑢1(𝑥), 𝑢2(𝑥) are functions of one or
more of the following forms
2
Now by inspection, we may be able to discover one particular function y= yp(x) that
satisfies equation (1). In this case we would be able to solve equation (1) completely as
Solution:
Now to find a particular solution of the original equation, observe that y = constant
would do
3
Variation of parameters ( Stop)
o There is a general method for finding the solution of the non homogenous eq.(1).
o There are two functions to be determined, and requiring that eq.(1) to be satisfied
5
o The two bracketed terms are zero since 𝑢1 and 𝑢2 are solutions of the homogeneous
equation (2).
The unknown functions 𝑣1′ and 𝑣2′ may be determined using Cramer's rule.
6
Cramer's rule
A system of linear equations may be solved using Cramer's rule, for example the equations.
7
Summary: In applying the method of variation of parameters to solve the equation
Solution:
First Solve the associated homogeneous equation
9
2)
Solution:
The homogeneous equation
(Integration by parts)
10
3)
Solution:
First Solve the associated homogeneous equation
The characteristic equation is
11
Undetermined coefficients
o However, the calculations involved can be complicated, and in special cases there
12
Exs.
1)
13
2)
we substitute this polynomial and its second derivative into the differential equation
14
3) solve the equation by the method of undetermined
coefficients.
Solution:
and A= 0
eq.(1)has no solution
Try a particular solution of the form
15
16
4) solve the equation by the method of undetermined
coefficients.
Solution:
17
In general the following table may be helpful to assume yp
18
Higher order linear equations with constant coefficients
The method of solving homogeneous and non homogeneous second order linear
differential equations with constant coefficients can be extended to equations of
higher order.
If its roots r1,r2,………rn are all distinct, the solution of the homogeneous equation
related to eq.(1) is
19
Variation of parameters
If the general solution of the homogeneous equation is
Then 𝑦=𝑣1 𝑢1+ 𝑣2 𝑢2……… 𝑣𝑛𝑢𝑛 will be a solution of the non homogeneous equation (1),
provided that
These equations may be solved for 𝑣1′, 𝑣2′,…….., 𝑣𝑛′ by Cramer's rule, and the results is
integrated to give v1,v2,………,and vn
20
Exs. Solve the following equations
1)
Solution:
21
2)
Solution:
22
substitute in (1)
23
3)
Solution:
24