Professional Documents
Culture Documents
Equations with Constant who does not walk in step with the wicked
or stand in the way that sinners take
Coefficients or sit in the company of mockers,
but whose delight is in the law of the Lord,
Instructor: Johnson Carl K. Chan
and who meditates on his law day and night.
That person is like a tree planted by streams of
𝛪𝜂𝜎
water,
which yields its fruit in season
and whose leaf does not wither—
whatever they do prospers.–
𝜊
- Psalms 1:1-3
1. Homogenous Equations*
2. Nonhomogenous Equations
a. Undetermined Coefficients
b. Exponential Response Formula
c. Variation of Parameters
𝑑𝑛 𝑦 𝑑𝑛−1 𝑦 𝑑𝑦
𝑎𝑛 𝑥 𝑛
+ 𝑎𝑛−1 𝑥 𝑛−1
+ ⋯ + 𝑎1 𝑥 + 𝑎0 𝑥 𝑦 = 𝑓(𝑥)
𝑑𝑥 𝑑𝑥 𝑑𝑥
• The dependent variable 𝑦 and its derivatives are of the first degree and are linear.
𝑑𝑛 𝑦 𝑑 𝑛−1 𝑦 𝑑𝑦
𝑎𝑛 𝑥 𝑛
+ 𝑎𝑛−1 𝑥 𝑛−1
+ ⋯ + 𝑎1 𝑥 + 𝑎0 𝑥 𝑦 = 0
𝑑𝑥 𝑑𝑥 𝑑𝑥
Homogeneous
𝑑𝑛 𝑦 𝑑𝑛−1 𝑦 𝑑𝑦
𝑎𝑛 𝑥 𝑛
+ 𝑎𝑛−1 𝑥 𝑛−1
+ ⋯ + 𝑎1 𝑥 + 𝑎0 𝑥 𝑦 = 𝑓(𝑥)
𝑑𝑥 𝑑𝑥 𝑑𝑥
Nonhomogeneous
𝑑𝑛 𝑦 𝑑 𝑛−1 𝑦 𝑑𝑦
𝑎𝑛 𝑥 𝑛
+ 𝑎𝑛−1 𝑥 𝑛−1
+ ⋯ + 𝑎1 𝑥 + 𝑎0 𝑥 𝑦 = 𝑓(𝑥)
𝑑𝑥 𝑑𝑥 𝑑𝑥
Examples 𝑦 ′′ + 2𝑦′ + 𝑦 = 𝑒 𝑥
12𝑥ሷ − 10𝑥ሶ − 7 = 0
𝑝 𝐷 𝑦 = 𝑓(𝑥)
0 p(D) 𝑦
input system response
Homogeneous
𝑓(𝑥) p(D) 𝑦
input system response
Nonhomogeneous
Substitution Rule: 𝑝 𝐷 𝑒 𝑎𝑥 = 𝑝 𝑎 𝑒 𝑎𝑥
𝑝 𝐷 𝑒 𝑎𝑥 𝑝 𝑎 𝑒 𝑎𝑥
Example: 𝐷2 + 3𝐷 𝑒 2𝑥
= 4𝑒 2𝑥 + 6𝑒 2𝑥 = 22 + 3 2 𝑒 2𝑥
= 10𝑒 2𝑥 = 10𝑒 2𝑥
Example: 𝐷2 + 3𝐷 𝑒 2𝑥 𝑥 3
= 𝑒 2𝑥 𝐷 + 2 2 + 3 𝐷 + 2 𝑥3
= 𝑒 2𝑥 𝐷2 + 5𝐷 + 10 𝑥 3
2 𝑒 −𝑡 sin 𝑡
𝑓1 (𝑥) p(D) 𝑦1
input response
𝑓2 (𝑥) 𝑦2
p(D)
input response
𝑓3 (𝑥) 𝑦3
p(D) response
input
𝑓1 𝑥 + 𝑓2 𝑥 + ⋯ + 𝑓𝑘 (𝑥) p(D) 𝑦1 + 𝑦2 + ⋯ + 𝑦𝑘
input response
𝑦1′ + 𝑦1 = 𝑥 𝑦2′ + 𝑦2 = 1
𝑦1 𝑦2
𝑦 = 𝑦1 + 𝑦2
−2𝑥 1 2𝑥
𝑦 = 𝐶𝑒 𝑦1 = 𝐶𝑒 −2𝑥 𝑦2 = 𝑒
3
1
′
𝑦 +𝑦 =𝑒 2𝑥 𝑦 = 𝐶𝑒 −2𝑥 + 𝑒 2𝑥
3
• auxiliary solution 𝑦𝑎
• complimentary solution 𝑦𝑐 𝑦 = 𝑦ℎ + 𝑦𝑝
𝐷2 − 2𝐷 − 3 𝑦 = 0
𝑦1 = 𝐶1 𝑒 3𝑥 𝑦2 = 𝐶2 𝑒 −𝑥 𝑦3 = 𝐶1 𝑒 3𝑥 + 𝐶2 𝑒 −𝑥
= 𝐷2 − 2𝐷 − 3 𝐶1 𝑒 3𝑥 = 𝐷2 − 2𝐷 − 3 𝐶2 𝑒 −𝑥 =0
Solution: 𝑦1 , 𝑦2 , 𝑦3 , 𝑦4 , … 𝑦𝑛
Is also a solution: 𝑦 = 𝑦1 + 𝑦2 + 𝑦3 + 𝑦4 + ⋯ + 𝑦𝑛
Example (2nd–order): 𝑦 ′′ + 𝐴𝑦 ′ + 𝐵𝑦 = 0
𝐷2 + 𝐴𝐷 + 𝐵 𝑦 = 0
𝐷2 + 𝐴𝐷 + 𝐵 𝐶𝑒 𝑟𝑡 = 0
Characteristic Equation/
Auxiliary Equation 𝑟 2 + 𝐴𝑟 + 𝐵 𝐶𝑒 𝑟𝑡 = 0
𝑝 𝑟 = 𝑟 2 + 𝐴𝑟 + 𝐵 = 0
𝑦 = 𝐶1 𝑒 𝑟1 𝑥 + 𝐶2 𝑒 𝑟2 𝑥 + ⋯ + 𝐶𝑛 𝑒 𝑟𝑛 𝑥 (nth-order)
Example: 𝑦 ′′ + 4𝑦 ′ + 3𝑦 = 0
𝑝 𝑟 = 𝑟 2 + 4𝑟 + 3 = 0
𝑟+3 𝑟+1 =0
𝑟1 = −3 and 𝑟2 = −1
𝑦 = 𝐶1 𝑒 −3𝑥 + 𝐶2 𝑒 −𝑥
J.C. K. Chan Math 88
Case 2: Complex roots 𝑟 = 𝑎 ± 𝑖𝑏 and not
repeated
Form: 𝑦 = 𝑒 𝑎𝑥 (𝐶1 cos 𝑏𝑥 + 𝐶2 sin 𝑏𝑥) (second-order)
Example: 𝑦 ′′ + 4𝑦 ′ + 5𝑦 = 0
𝑝 𝑟 = 𝑟 2 + 4𝑟 + 5 = 0
𝑟 = −2 ± 𝑖
𝑦 = 𝐶1 𝑒 𝑟𝑥 + 𝐶2 𝑥𝑒 𝑟𝑥 + ⋯ + 𝐶𝑛 𝑥 𝑛−1 𝑒 𝑟𝑛 𝑥 (nth-order)
Example: 𝑦 ′′ + 4𝑦 ′ + 4𝑦 = 0
𝑝 𝑟 = 𝑟 2 + 4𝑟 + 4 = 0
𝑟+2 𝑟+2 =0
𝑟1 = 𝑟2 = −2
𝑦 = 𝐶1 𝑒 −2𝑥 + 𝐶2 𝑥𝑒 −2𝑥
J.C. K. Chan Math 88
Find the general solution of the following:
1. 𝑦 ′′ − 4𝑦 = 0
2. 2𝑦 ′′ − 3𝑦 ′ = 0
3. 4𝑦 ′′ − 12𝑦 ′ + 9𝑦 = 0
4. 𝑦 (4) − 8𝑦 2
+ 16𝑦 = 0