Professional Documents
Culture Documents
HIGHER ORDER
DERIVATIVES
Explanation: 𝑦 = 𝑥𝑒 5𝑥
𝑦 ′ = 5𝑥𝑒 5𝑥 + 𝑒 5𝑥
𝑦" = 10𝑒 5𝑥 + 25𝑥𝑒 5𝑥
So, 𝑦" − 10𝑦′ + 25𝑦
= 10𝑒 5𝑥 + 25𝑥𝑒 5𝑥 − 10(5𝑥𝑒 5𝑥 + 𝑒 5𝑥 ) + 25(𝑥𝑒 5𝑥 )
= 10𝑒 5𝑥 − 10𝑒 5𝑥 + 50𝑥𝑒 5𝑥 − 50𝑥𝑒 5𝑥
=0
Example 5: (one real root)
4y” + 4y’ + y = 0
Characteristic Equation 4𝑟 2 + 4𝑟 + 1 = 0
Factor (2𝑟 + 1)2 = 0
1
𝑟 = − 2 root
1 1
General Solution: 𝑦 = 𝑐1 𝑒 − 2 𝑥 + 𝑐2 𝑥𝑒 − 2 𝑥
Complex Roots
When the discriminant 𝑏 2 − 4𝑎𝑐 𝑖𝑠 𝑛𝑒𝑔𝑎𝑡𝑖𝑣𝑒, 𝑤𝑒 𝑔𝑒𝑡 𝑐𝑜𝑚𝑝𝑙𝑒𝑥 𝑟𝑜𝑜𝑡𝑠.
Example 6:
y” – 4y’ + 13y = 0
𝑟 2 − 4𝑟 + 13 = 0
−𝑏 ±√𝑏2 −4𝑎𝑐
𝑟= a=1
2𝑎
b = -4
c = 13
−(−4) ±√(−4)2 −4(1)(13)
𝑟= 2(1)
4 ± √−36 4 ± 6𝑖
𝑟= →𝑟=
2 2
𝑟 = 2 + 3𝑖 ; 𝑟 = 2 − 3𝑖
If we follow the method used for two real roots, then we can try the solution:
𝑦 = 𝑐1 𝑒 (2+31)𝑥 + 𝑐2 𝑒 (2−31)𝑥
But Euler’s Formula tells us that:
𝑐 𝑖𝑥 = cos(𝑥) + 𝑖 sin (𝑥)
𝑦 = 𝑒 2𝑥 (𝑐1 𝑒 3𝑖𝑥 + 𝑐2 𝑒 −3𝑖𝑥 )
𝑐1 (cos 3𝑥 + 𝑖 sin(3𝑥)) + 𝑐2 (cos(−3𝑥) + 𝑖 sin(−3𝑥))
𝑐1 cos 3𝑥+ 𝑐2 cos(−3𝑥)+𝑖 (𝑐1 sin 3𝑥+ 𝑐2 sin(−3𝑥))
𝑐1 cos 3𝑥+ 𝑐2 cos 3𝑥+𝑖 (𝑐1 sin 3𝑥− 𝑐2 sin(−3𝑥)
Example 7:
𝑦” − 6𝑦 ′ + 25𝑦 = 0
𝑟 2 − 6𝑟 + 25 = 0
−𝑏±√𝑏 2 −4𝑎𝑐
𝑟= a=1
2𝑎
b = -6
c = 25
−(−6)±√(−6)2 −4(1)(25)
𝑟= 2(1)
6 ± √−64 6±8𝑖
𝑟= 2 2
𝑟 = 3 + 4𝑖 ; 𝑟 = 3 − 4𝑖
General Solution:
𝑦 = 𝑐1 𝑒 3𝑥 cos(4𝑥) + 𝑐2 𝑒 3𝑥 sin(4𝑥)
Summary:
To solve a linear second-order differential equation of the form
𝑦" + 𝑝(𝑥) 𝑦′ + 𝑞(𝑥)𝑦 = 0
Where p and q are constants, we must find the roots of the characteristic equation.
𝐴𝑟 2 + 𝐵𝑟 + 𝐶 = 0
There are three cases, depending on the discriminant 𝑏 2 − 4𝑎𝑐.
When it is Positive, we get two real roots and the solution is
𝑦 = 𝑐1 𝑒 𝑟1𝑥 + 𝑐2 𝑒 𝑟2𝑥
Zero, we get one real root and the solution is
𝑦 = 𝑐1 𝑒 𝑟𝑥 + 𝑐2 𝑥𝑒 𝑟𝑥
Negative, we get two complex roots and the solution is
(𝑟1 = 𝜆 + 𝑖𝜇 𝑎𝑛𝑑 𝑟2 = 𝜆 − 𝑖𝜇)
𝑦 = 𝑒 𝑟𝑥 (𝑐1 cos 𝜇𝑥 + 𝑐2 sin 𝜇𝑥 or
𝑦 = 𝑐1 𝑒 𝜆𝑥 cos 𝜇𝑥 + 𝑐2 𝑒 𝜆𝑥 sin 𝜇𝑥
Theorem of Superposition
Suppose that we have a linear homogenous second order differential equation
𝑑2 𝑦 𝑑𝑦
+ 𝑝(𝑥) 𝑑𝑥 + 𝑞(𝑥)𝑦 = 0 𝑡ℎ𝑎𝑡 𝑦 = 𝑦1 (𝑥)𝑎𝑛𝑑 𝑦 = 𝑦2 (𝑥)𝑎𝑟𝑒 𝑏𝑜𝑡ℎ 𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛𝑠. The following
𝑑𝑥 2
theorem says that any linear combination 𝑦 = 𝐶1 𝑦1 (𝑥) + 𝐶2 𝑦2 (𝑥) is also a solution to this
differential equation for any constants 𝐶1 𝑎𝑛𝑑 𝐶2.
𝑑 2 𝑦1 𝑑2 𝑦2 𝑑𝑦1 𝑑𝑦2
= 𝐶1 + 𝐶2 + 𝑝(𝑥) 𝐶1 + 𝑝(𝑥)𝐶2 + 𝑞(𝑥)𝐶1 𝑦1 + 𝑞(𝑥)𝐶2 𝑦2
𝑑𝑥 2 𝑑𝑥 2 𝑑𝑥 𝑑𝑥
𝑑2 𝑦 𝑑𝑦1 𝑑2 𝑦 𝑑𝑦2
= 𝐶1 [ 𝑑𝑥 21 + 𝑝(𝑥) + 𝑞(𝑥)𝑦1 ] + 𝐶2 [ 𝑑𝑥 22 + 𝑝(𝑥) + 𝑞(𝑥)𝑦2 ]
𝑑𝑥 𝑑𝑥
=0 =0
=0
➢ Therefore 𝑦 = 𝐶1 𝑦1 + 𝐶2 𝑦2 is also a solution to this differential equation.