Professional Documents
Culture Documents
Solutions to Nonhomogeneous
Linear Higher Order ODEs with
Constant Coefficient
Part 2 – Method of Variation of Parameters
𝑦𝑐 = 𝑐1 𝑦1 𝑥 + 𝑐2 𝑦2 𝑥 + ⋯ 𝑐𝑛 𝑦𝑛 𝑥
𝑦𝑝 = 𝑣1 𝑦1 𝑥 + 𝑣2 𝑦2 𝑥 + ⋯ 𝑣𝑛 𝑦𝑛 𝑥
For 2nd order differential equation of the form 𝑦" + 𝑝(𝑥)𝑦′ + 𝑞(𝑥)𝑦 =
𝑟(𝑥), the corresponding complementary and particular solutions can be
written in the form
𝑦𝑐 = 𝑐1 𝑦1 𝑥 + 𝑐2 𝑦2 𝑥 𝑦𝑝 = 𝑣1 𝑦1 𝑥 + 𝑣2 𝑦2 𝑥
To find 𝑣𝑖 , we need to solve each function 𝑣𝑖′
𝑊1 𝑥 𝑊2 𝑥
𝑣1 ′ = ; 𝑣2 ′ =
𝑊 𝑥 𝑊 𝑥
where
𝑦1 𝑦2 0 𝑦2 𝑦1 0
𝑊 𝑥 = 𝑦 ′ 𝑦2 ′ 𝑊1 𝑥 = 𝑊2 𝑥 =
1 𝑟 𝑦2 ′ 𝑦1 ′ 𝑟
College of Engineering and Technology M222C | Advanced Mathematics for CE
NOR
EXAMPLE 3.4
EXAMPLE 3.2
ANSWERS
𝑦 = 𝑐1 + 𝑐2 𝑥 𝑒 2𝑥 + 𝑥 2 + 4𝑥 + 6 𝑒 𝑥
Practice problem:
Practice Problem 1
ANSWER
1
𝑦 = 𝐴𝑐𝑜𝑠𝑥 + 𝐵𝑠𝑖𝑛𝑥 + 𝑥(𝑐𝑜𝑠𝑥 + 𝑠𝑖𝑛𝑥)
2
reference
Kreyszig, E., Kreyszig H., and Norminton, E. Advanced Engineering
Mathematics – 10th ed. (2011). John Wiley & Sons, Inc, Hoboken,
N.J.
Thank you!
We are who we choose to be. – Green Goblin, Spider-Man