Math_3 Lecture_6
Math_3 Lecture_6
Solution
So 𝑚1 = 1 and the other roots are 𝑚2 = 𝑚3 = −2. Thus the general solution of the DE is
Example (6)
Solution
𝑚1 = 𝑚2 = i 𝑚3 = 𝑚4 = −i
➢Variational parameters
Nonhomogeneous DE
Where
which is the general solution of (Homog DE) , is called the complementary function for
equation (2).
Method of Undetermined Coefficient
➢ 𝑔(𝑥) is a constant k,
a polynomial function, an exponential function 𝑒 𝑘𝑥 ,
a sine or cosine function sin(𝑏𝑥) or cos(𝑏𝑥), or finite sums
and product of these functions.
The method of undetermined coefficients is not applicable to 𝑔(𝑥)
𝑔(𝑥) 𝑦𝑝
Constant 2, 4, . . 𝐴
𝑥, 2𝑥, 3𝑥 − 1 𝐴𝑥 + 𝐵
𝑥2, 2𝑥 2 + 𝑥, 𝐴𝑥 2 + 𝐵𝑥 + 𝐶
sin 2𝑥 𝐴 sin 2𝑥 + 𝐵 cos 2𝑥
cos 3𝑥 𝐴 sin 3𝑥 + 𝐵 cos 3𝑥
sin 2𝑥 − cos 2𝑥 𝐴 sin 2𝑥 + 𝐵 cos 2𝑥
Solve the equation
𝑦 ′′ + 𝑦 ′ − 2𝑦 = 𝑥 2
𝑦𝑐 = 𝑐1 𝑒 𝑥 + 𝑐2 𝑒 −2𝑥
Since g(x) = x2 is a polynomial of degree 2, we seek a particular solution
of the form
𝑦𝑝(𝑥) = 𝐴𝑥2 + 𝐵𝑥 + 𝐶
Then,
𝑦𝑝’ = 2𝐴𝑥 + 𝐵
𝑦𝑝’’ = 2𝐴
So, substituting into the given differential equation, we have:
– 2𝐴 = 1 2𝐴 – 2𝐵 = 0 2𝐴 + 𝐵 – 2𝐶 = 0
𝐴 = –½ 𝐵 = –½ 𝐶 = –¾
A particular solution, therefore,
1 1 3
is: 𝑦𝑝 𝑥 = – 𝑥2 – 𝑥 –
2 2 4
is: 𝑦 = 𝑦𝑐 + 𝑦𝑝
1 1 3
= 𝑐1 𝑒 𝑥 + 𝑐2 𝑒 −2𝑥 – 𝑥2 – 𝑥 –
2 2 4
Example (1)
Solution 𝑦 = 𝑦𝑐 + 𝑦𝑝
Then, we take as a trial solution a function of the same form, 𝑦𝑝(𝑥) = 𝐴𝑒𝑘𝑥.
𝑦𝑝(𝑥) = 𝐴𝑒3𝑥
Then,
𝑦𝑝’ = 3𝐴𝑒3𝑥
𝑦𝑝’’ = 9𝐴𝑒3𝑥
Then, because of the rules for differentiating the sine and cosine functions, we take as
a trial particular solution a function of the form
Then,
𝑦𝑝’ = – 𝐴 sin 𝑥 + 𝐵 cos 𝑥
𝑦𝑝’’ = – 𝐴 cos 𝑥 – 𝐵 sin 𝑥
So, substitution in the differential equation gives:
(– 𝐴 cos 𝑥 – 𝐵 sin 𝑥) + (– 𝐴 sin 𝑥 + 𝐵 cos 𝑥)
– 2(𝐴 cos 𝑥 + 𝐵 sin 𝑥) = sin 𝑥
or
Solution
Example (4)
Solution 𝑦 = 𝑦𝑐 + 𝑦𝑝
Step 2
Assume particular solutions.
Example (5)
Solution
(a) 𝑦 = 𝑦𝑐 + 𝑦𝑝
Step 2
Assume particular solutions.
Example (5)
Solution
(b) 𝑦 = 𝑦𝑐 + 𝑦𝑝
Step 2
Assume particular solutions.
EXERCISES
Find the find a second solution 𝑦2 𝑥 of the given second-order differential equation.
EXERCISES