Lesson 3-2
Lesson 3-2
In this section, we will discuss how to find the particular solution using the method of
superposition approach.
How ???
• choose a trial 𝑦𝑝 (𝑥) that is similar to the function 𝑔(𝑥) and involving unknown
coefficients to be determined by substituting the choice of 𝑦𝑝 (𝑥) into the given
non-homogeneous DE (1).
5 𝐴
2𝑥 + 1 𝐴𝑥 + 𝐵
𝑥 4 − 5𝑥 2 + 1 𝐴𝑥 4 + 𝐵𝑥 3 + 𝐶𝑥 2 + 𝐷𝑥 + 𝐸
5𝑒 2𝑥 𝐴𝑒 2𝑥
Rule 1
Rule 2
𝑔1 = 2𝑥 𝑔3 = sin 𝑥
𝑦𝑝1 = 𝐴𝑥 + 𝐵 𝑔2 = 𝑒 3𝑥 𝑦𝑝3 = 𝐷 sin 𝑥 + 𝐸 cos 𝑥
𝑦𝑝2 = 𝐶𝑒 3𝑥
• So final form of 𝑦𝑝 is :
𝑦𝑝 𝑥 = 𝐴𝑥𝑒 𝑥
Example 1 :
Determine the final form of particular solution for the given non-homogeneous
linear DE by superposition approach. (Do not solve the constants)
𝑦 ′′ − 4𝑦 ′ − 12𝑦 = 𝑥 + sin 2𝑥
𝑦 ′′ − 4𝑦 = 2𝑒 2𝑥 + 𝑥 2
Answer : 𝑦𝑝 = 𝐴𝑥𝑒 2𝑥 + 𝐵𝑥 2 + 𝐶𝑥 + 𝐷
𝑦 ′′ − 3𝑦′ = 5 sin 𝑥
Answer :
3𝑥
1 3
𝑦 = 𝑐1 + 𝑐2 𝑒 + − sin 𝑥 + cos 𝑥
2 2
𝑦 ′′ − 3𝑦′ = 5 sin 𝑥
Find the constants, A and B : • Substitute 𝑦𝑝 , 𝑦𝑝′ and 𝑦𝑝′′ into the given DE
−𝐴 + 3𝐵 = 5 (1) 1 3
𝐴 = −1/2 , 𝐵 = 3/2 → 𝑦𝑝 = − sin 𝑥 + cos 𝑥
−𝐵 − 3𝐴 = 0 (2) 2 2
3𝑥
1 3
𝑦 = 𝑐1 + 𝑐2 𝑒 + − sin 𝑥 + cos 𝑥
2 2
Exercise 2
Use the superposition approach to find the general solution for,
𝑦 ′′ − 𝑦 = 3𝑒 𝑥
𝑥 −𝑥
3 𝑥
Answer : 𝑦 = 𝑐1 𝑒 + 𝑐2 𝑒 + 𝑥𝑒
2
Find 𝑦𝑐 (𝑡) :
𝑦 ′′ + 2𝑦 ′ − 3𝑦 = 0
𝑚2 + 2𝑚 − 3 = 0
𝑚 = 1, −3
𝑦1 = 𝑒 𝑡
𝑦2 = 𝑒 −3𝑡
𝑦𝑐 (𝑡) = 𝑐1 𝑒 𝑡 + 𝑐2 𝑒 −3𝑡
NO YES
Modify 𝑦𝑝
𝑦𝑝2 = 𝐶𝑡 2 + 𝐷𝑡 + 𝐸
𝑦𝑝3 = (𝐹𝑡 + 𝐺)𝑡𝑒 −3𝑡
Any duplicate terms with 𝑦𝑐 ?
or
NO 𝑦𝑝3 = (𝐹𝑡 2 + 𝐺𝑡)𝑒 −3𝑡
Find 𝑦𝑐 (𝑥) :
𝑦 ′′ − 9𝑦 ′ − 36𝑦 = 0
𝑚2 − 9𝑚 − 36 = 0
𝑚 = −3, 12
𝑦1 = 𝑒 −3𝑥
𝑦2 = 𝑒12𝑥
NO Modify 𝑦𝑝