2-Chapter 01-Second Order ODE (Basic Definitions and Theorems)
2-Chapter 01-Second Order ODE (Basic Definitions and Theorems)
𝑑𝑛 𝑦 𝑑𝑛−1 𝑦 𝑑𝑦
𝑎𝑛 𝑥 𝑛 +𝑎𝑛−1 𝑥 𝑛−1
+ ⋯ + 𝑎1 𝑥 +𝑎0 𝑥 𝑦 = 𝑔(𝑥)
𝑑𝑥 𝑑𝑥 𝑑𝑥
subject to
𝑦 𝑥0 = 𝑦0 , 𝑦 ′ 𝑥0 = 𝑦1 , … 𝑦 𝑛−1 𝑥0 = 𝑦𝑛−1
2.1. Definitions and Theorems
2) 𝑎𝑛 𝑥 ≠ 0
Solution:
𝜋 𝜋 𝜋
𝑦 = 𝑐1 cos 4( ) + 𝑐2 sin 4 =1 𝑐1 = 1
2 2 2
There are two contradictory values for 𝑐1
Conclusion : There is no solution (zero solution)
Example Consider 𝑦 ′′ + 16𝑦 = 0 with its general solution
𝑦 𝑥 = 𝑐1 cos 4𝑥 + 𝑐2 sin 4𝑥 on −∞, ∞
Solution:
𝜋
2) 𝑦 0 = 0 , 𝑦 =0
8
𝜋 𝜋 𝜋
𝑦 = 𝑐1 cos 4( ) + 𝑐2 sin 4 =0 𝑐2 = 0
8 8 8
𝜋 𝜋 𝜋
𝑦 = 𝑐1 cos 4( ) + 𝑐2 sin 4 =0 𝑐1 = 0
2 2 2
𝑐1 𝑓1 𝑥 + 𝑐2 𝑓2 𝑥 + ⋯ + 𝑐𝑛 𝑓𝑛 𝑥 = 0
The set f1 (x ) = x + 5, f 2 (x ) = x + 5 x, f 3 (x ) = x − 1
f1 (x ) = x + 5 = x + 5 x − 5 x + 5
= x + 5 x − 5( x − 1) = f 2 (x ) − 5 f 3 (x )
Definition Wronskian of the Functions
The determinant
f1 f2 fn
f1 f 2 f n
W ( f1 , f 2 ,..., f n ) =
( n −1) ( n −1) ( n −1)
f1 f2 fn
cos 𝑥 sin 𝑥
=
− sin 𝑥 cos 𝑥
= cos2 𝑥 − − sin2 𝑥
= 1≠ 0
The set of functions is linearly independent.
Example 2 Show that the set of solution 𝑦1 = 𝑥 , 𝑦2 = 𝑥 2
and 𝑦3 = 4𝑥 − 3𝑥 2 is linearly dependent .
Solution: Use the Wronskian
𝑦1 𝑦2 𝑦3 𝑥 𝑥2 4𝑥 − 3𝑥 2
′
W 𝑦1 , 𝑦2 , 𝑦3 𝑦
= 1 𝑦2′ ′
𝑦3 = 1 2𝑥 4 − 6𝑥
𝑦1′′ 𝑦2′′ 𝑦3′′ 0 2 −6
𝑥 𝑥2 4𝑥 − 3𝑥 2 𝑥 𝑥2 4𝑥 − 3𝑥 2
= (𝑥) 1 2𝑥 4 − 6𝑥 −(1) 1 2𝑥 4 − 6𝑥
0 2 −6 0 2 −6
𝑥 𝑥2 4𝑥 − 3𝑥 2
+(0) 1 2𝑥 4 − 6𝑥
0 2 −6
=𝑥
2𝑥 4 − 6𝑥
−1 𝑥 2 4𝑥 − 3𝑥 2 +0 𝑥 2 4𝑥 − 3𝑥 2
2 −6 2 −6 2𝑥 4 − 6𝑥
=0
a ( x ) y + b( x ) y + c( x ) y = 0
Or
𝑑𝑛 𝑦 𝑑 𝑛−1 𝑦 𝑑𝑦
𝑎𝑛 𝑥 + 𝑎𝑛−1 𝑥 + ⋯ + 𝑎1 𝑥 + 𝑎0 𝑥 𝑦 = 0
𝑑𝑥 𝑛 𝑑𝑥 𝑛−1 𝑑𝑥
is said to be homogeneous.
Example: 2 y + 3 y − 5 y = 0
𝑑𝑛 𝑦 𝑑 𝑛−1 𝑦 𝑑𝑦
𝑎𝑛 𝑥 + 𝑎𝑛−1 𝑥 + ⋯ + 𝑎1 𝑥 + 𝑎0 𝑥 𝑦 = 𝑔(𝑥)
𝑑𝑥 𝑛 𝑑𝑥 𝑛−1 𝑑𝑥
is said to be non-homogeneous.
Example
2 y + 3 y − 5 y = x 2
y = c1 y1 ( x ) + c2 y2 ( x ) where ci , i = 1,2
.
By the Superposition principle, the linear combination
on (0, )
Definition Fundamental Set of Solutions
𝑦 = 𝑐1 𝑦1 𝑥 + 𝑐2 𝑦2 𝑥 + ⋯ + 𝑐𝑛 𝑦𝑛 𝑥
Non-Homogeneous DE
𝑦 = 𝑐1 𝑦1 𝑥 + 𝑐2 𝑦2 𝑥 + ⋯ + 𝑐𝑛 𝑦𝑛 𝑥 +𝑦𝑝 𝑥
Example :
Take y p = ax + b
11 1
Derive and substitute inside the DE, we obtain y p = − − x
12 2
1 11
General solution y = yc + y p = c1e + c2e + c3e − x −
x 2x 3x
2 12