Professional Documents
Culture Documents
Linear higher-order
Differential Equations
Chapter 3: Linear higher-order Differential Equations
Overview
Overview
I. Basic Definitions and Theorems
I. Reduction of order
III. Homogeneous linear equations with constant
coefficients
V. Undetermined Coefficients
V. Variation of parameters
VI. Cauchy-Euler equations
I. Basic Definitions and Theorems
Learning
LearningObjective
Objective
an x is non-zero
Then, a solution of the IVP exists on I and is unique.
I. Basic Definitions and Theorems
Example
Example1:1: d2y
2
4 y 12 x
dx
y 0 4, y 0 1
1) Solution : check
BVP
BVP
1) x 16 x 0, x 0 0, x 1
2
x 0 0 c1 0
No solution
x 1 c1 1
2
I. Basic Definitions and Theorems
BVP:
BVP:Examples
Examples x(t ) c1 cos 4t c2 sin 4t
2) x 16 x 0, x 0 0, x 0
8
x 0 0 c1 0
One solution x0
x 0 c2 0
8
3) x 16 x 0, x 0 0, x 0
2
x 0 0 c1 0
1-parameter family of solutions
x 0 c1 0
2 x(t ) c2 sin 4t
I. Basic Definitions and Theorems
Definition:
Definition:Homogeneous
Homogeneous
A linear nth-order DE of the form
dny d n 1 y dy
an x n an 1 x n 1 ... a1 x a0 x y 0
dx dx dx
is said to be homogeneous.
Example: 2 y 3 y 5 y 0
y c1 y1 x c2 y2 x ... ck yk x
where ci , i 1,2,..., k
on 0,
I. Basic Definitions and Theorems
Definition:
Definition:Linear
Lineardependence
dependence
for every x in I
Remark:
Remark: Linear dependence: One of the functions can
be expressed as a combination of the others
I. Basic Definitions and Theorems
Definition:
Definition:Linear
Lineardependence
dependence
Example
Example: :
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
I. Basic Definitions and Theorems
Definition:
Definition:Linear
Linearindependence
independence
A set of functions f1 x , f 2 x ,..., f n x is said to be linearly
satisfying c1 f1 x c2 f 2 x ... cn f n x 0
Theorem:
Theorem:criterion
criterionfor
forlinearly
linearlyindependent
independentsolutions
solutions
W y1 , y2 ,..., yn 0
for every x in I .
I. Basic Definitions and Theorems
Example
Example1:1: y1 cos x y2 sin x
is a linearly independent
y1 y2
Indeed W y1 , y2
y1' y2'
cos x sin x
sin x cos x
cos 2 x sin 2 x 1
I. Basic Definitions and Theorems
Example
Example2:2: f 1 ( x ) x, f 2 ( x ) x 2 , f 3 ( x ) 4 x 3 x 2
is a linearly dependent
f1 f2 f3 x x2 4 x-3 x 2
Indeed W f1 , f 2 , f 3 f1' f 2' f 2' 1 2x 4- 6 x
f1' ' f 2'' f 2'' 0 2 6
2x 4- 6 x x2 4 x-3 x 2
x 1
2 6 2 6
x(12 x 8 12 x) (6 x 2 8 x 6 x 2 )
0
I. Basic Definitions and Theorems
Exercise
ExerciseI:I:
Determine whether the given set of functions is linearly
independent on the interval (, )
1) f1 ( x) 5, f 2 ( x) cos 2 x, f 3 ( x) sin 2 x
2) . f1 ( x) cos 2 x, f 2 ( x) 1, f 3 ( x) cos 2 x
3) f1 ( x) 2 x, f 2 ( x) 2 x
4) f1 ( x) 1 x, f 2 ( x) x, f 3 ( x) x 2
I. Basic Definitions and Theorems
Definition:
Definition:Fundamental
Fundamentalset
setof
ofsolutions
solutions
A set y1 , y2 ,..., yn of n linearly independent solutions of
a nth order homogeneous linear equation on an interval I is
said to be a fundamental set of solutions on the interval.
I. Basic Definitions and Theorems
Theorem
Theorem
For any nth-order homogeneous linear equation, there is a
fundamental set of solutions on an interval .
Theorem
Theorem::general
generalsolution
solution
Let y1 , y2 ,..., yn be a fundamental set of solutions of a nth
order homogeneous linear DE on an interval I .
Example
Example:: y1 e x , y2 e 2 x and y3 e 3 x
ex e2 x e3 x
W e x , e 2 x , e3 x e x 2e 2 x 3e 3 x 2e 6 x 0
ex 4e 2 x 9e 3 x
is said to be non-homogeneous.
Definition
Definition
Any solution y p free of arbitrary parameters, that
satisfies the DE is said to be a particular solution
Theorem
Theorem::general
generalsolution
solution
Let y1 , y2 ,..., yn be a fundamental set of solutions the
associated homogeneous linear DE on an interval I.
Example
Example::
Given that yc c1e c2 e c3e
x 2x 3x
is the general solution of
Example
Example::
We have to find a particular solution y p of the non-
homogeneous equation y ''' 6 y '' 11 y ' 6 y 3x
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 c2 e c3e x
x 2x 3x
2 12
II. Reduction of order
Learning
LearningObjective
Objective
What?
What?
Remark
Remark
If y1 , y2 is a linearly independent set of solutions, then y2
cannot be written as a multiple of y1 .
y2 y2
y 2 Cy1 C is non constant on I
y1 y1
y2 ( x)
u ( x) y2 ( x) u ( x) y1 ( x)
y1 ( x)
II. Reduction of order
Example
Example:: y1 e x is solution of the DE y y 0
on , .
Find an other solution y2 such that y1 , y2 is linearly
independent on ,
y2 ue x e x u
y2 ue e u e u e u ue 2e u e u
x x
x
x
x x
x
II. Reduction of order
Example
Example:: y2 solution
y2 y2 0
ue x 2e x u e x u ue x 0
2e u e u 0
x
x
2u u 0
2w w 0 '
w u
II. Reduction of order
Example
Example:: w' 2 w 0
dw
2 w ln w ln c 2 x
dx
dw
2dx
u w ce 2 x
w
dw
w 2dx u ce 2 x dx c1e 2 x c2
II. Reduction of order
Example
Example:: y2 ( x) u ( x)e x c1e x c2 e x
y2 ( x) e x y1 ( x) e x
y1 y2 e x
e -x
W y1 , y2 ' '
x
2
y 1 y 2 e x
e
II. Reduction of order
Example
Example::
W y1 , y2 0
y1 solution on I
y u ( x) y1 ( x)
y uy1' y1u
y u y1' uy1'' y1u y1' u
uy1'' 2u y1' y1u
II. Reduction of order
General
Generalmethod
method
0
y1 w (2 y1' Py1 ) w 0 w u
II. Reduction of order
General
Generalmethod
method
y1 w ( 2 y1' Py1 ) w 0
y1dw (2 y1' Py1 ) wdx
dw 2 y1'
( P) dx
w y1
dw y1'
w 2 y1 dx Pdx
ln w ln c 2 ln y1 Pdx
ln(cwy12 ) Pdx
II. Reduction of order
General
Generalmethod
method
ln(cwy12 ) Pdx
e Pdx
w 2
y1
u w integrate to get u
Pdx
e
u 2
dx
y 1
II. Reduction of order
General
Generalmethod
method
e Pdx
u 2 dx
y1
y2 y1u
e Pdx
y2 y1 2 dx
y1
II. Reduction of order
Example 2
Given that y1 x
2
is a solution of
x y 3xy 4 y 0
2
Let y uy1 ux 2
y 2 xu x u
2
2u 4 xu x u
2
II. Reduction of order
Example 2
x y 3xy 4 y 0
2
x u x u 0
3 4
II. Reduction of order
Example 2
x u x u 0
3 4
Let w u
x w x w 0
3 4
II. Reduction of order
Example 2
x w x w 0
3 4
1
w w 0
x
dw w
dx x
II. Reduction of order
Example 2 dw dx
w x
dw dx
w
x
c
w
x
u' w u c ln x
c 1 u ln x
II. Reduction of order
Example 2
y2 uy1 y2 x 2 ln x
y c1 x ln x c2 x
2 2
General solution
II. Reduction of order
Exercise
ExerciseII:
II:
Find the second solution if the first solution is given as
indicated
1) y 6 y 9 y 0 y1 e 3 x
2) y . 36 y 0 y1 cos 6 x
3) xy y 0 y1 ln x
4) x 2 y 2 xy 6 y 0 y1 x 2
III. Homogeneous linear equations with
constant coefficients
Learning
LearningObjective
Objective
At the end of the module, students should be able to solve
homogeneous linear ODEs with constant coefficients using
the auxiliary equation.
III. Homogeneous linear equations with
constant coefficients
Given
ay by cy 0
where a, b and c are constants.
III. Homogeneous linear equations with
constant coefficients
ye mx
ay by cy 0
III. Homogeneous linear equations with
constant coefficients
am e 2 mx
bme mx
ce mx
0
e (am bm c) 0
mx 2
since e mx
0
(am bm c) 0
2
III. Homogeneous linear equations with
constant coefficients
(am bm c) 0
2
DE
ay by cy 0
AE
am bm c 0
2
III. Homogeneous linear equations with
constant coefficients
Case 1: Distinct Real Roots
(am bm c) 0
2
a (m m1 )(m m2 ) 0
roots m1 , m2
III. Homogeneous linear equations with
constant coefficients
Case 1: Distinct Real Roots
The general solution is of the form
y c1e m1 x
c2 e m2 x
.
where x (, )
III. Homogeneous linear equations with
constant coefficients
Case 2: Repeated Real Roots
(am bm c) 0
2
2
a (m m1 ) 0
root m m1
III. Homogeneous linear equations with
constant coefficients
Case 2: Repeated Real Roots
The general solution is of the form
y c1e m1 x
c2 xe .
m1 x
where x (, )
III. Homogeneous linear equations with
constant coefficients
Case 3: Conjugate complex Roots
(am bm c) 0
2
m1 i
m2 i
III. Homogeneous linear equations with
constant coefficients
x
y e (c1 cos x c2 sin x).
III. Homogeneous linear equations with
constant coefficients
Example
Solve
y 5 y 4 y 0.
III. Homogeneous linear equations with
constant coefficients
Example
y 5 y 4 y 0.
Auxiliary Equation:
m 5m 4 0
2
(m 1)(m 4) 0
III. Homogeneous linear equations with
constant coefficients
Example
m1 1, m2 4
The general solution is of the form
y c1e m1 x
c2 e m2 x
y c1e c2 e
x 4x
III. Homogeneous linear equations with
constant coefficients
Example
Solve
2 y 6 y 2 y 0.
III. Homogeneous linear equations with
constant coefficients
Example
2 y 6 y 2 y 0.
The auxiliary equation:
2m 6m 2 0
2
3 5 3 5
m1 , m2
2 2
III. Homogeneous linear equations with
constant coefficients
Example
3 5 3 5
m1 , m2
2 2
The general solution:
3 5 3 5
x x
y c1e 2
c2 e 2
III. Homogeneous linear equations with
constant coefficients
Example
Solve
y 6 y 9 y 0.
III. Homogeneous linear equations with
constant coefficients
Example
y 6 y 9 y 0.
Auxiliary Equation:
m 6m 9 0
2
III. Homogeneous linear equations with
constant coefficients
Example
m 6m 9 0
2
(m 3)(m 3) 0
m1 3, m2 3
III. Homogeneous linear equations with
constant coefficients
Example
The general solution is of the form
y c1e m1 x
c2 xe m1 x
3 x 3 x
y c1e c2 xe
III. Homogeneous linear equations with
constant coefficients
Example
Solve
4 y 4 y 2 y 0.
III. Homogeneous linear equations with
constant coefficients
Example
4 y 4 y 2 y 0.
The auxiliary equation:
4m 4m 2 0
2
III. Homogeneous linear equations with
constant coefficients
Example
4m 4m 2 0
2
4 16 4( 4)(2)
m
2(4)
4 4i 4 4i
m1 , m2
8 8
1 1i 1 1i
m1 , m2
2 2
III. Homogeneous linear equations with
constant coefficients
Example
1 1i 1 1i 1 1
m1 , m2 ,
2 2 2 2
Higher-Order Equations
We can extend the three cases
in the 2nd –order to higher order.
auxiliary equation m 3m 4 0
3 2
1 is solution m 3 3m 2 4 (m 1)(m 2 4m 4)
(m 1)(m 2) 2
2 x 2 x
general solution y c1e c2 e
x
c3 xe
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Learning
LearningObjective
Objective
At the end of the module, you should be
able to solve the nonhomogeneous linear
DE using the Undetermined Coefficients -
Superposition Approach.
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Recall
Given
a2 ( x) y a1 ( x) y a0 ( x) y g ( x)
The solution is y yc y p
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Recall
a2 ( x) y a1 ( x) y a0 ( x) y g ( x).
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
polynomial, exponential,
sine or cosine and combination
of these functions.
constant
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
g ( x) sin 2 x 3 x cos 3 x
2 x
g ( x) 12 x 5 e
4 x
g ( x) xe sin x (3 x 1)e
x 2
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 1
Solve
y 4 y 2 y 2 x 3x 6.
2
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 1
Find yc by solving the homogeneous form.
y 4 y 2 y 0
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 1
yc
y 4 y 2 y 0
The Auxiliary Equation:
m 4m 2 0
2
m1 2 6 , m2 2 6
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 1
( 2 6 ) x ( 2 6 ) x
yc c1e c2 e
Next is to find yp .
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 1
y 4 y 2 y 2 x 3x 6
2
y p Ax Bx C
2
yp 2 Ax B Substitute
into the left hand
side of the DE
yp 2 A above
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 1
y 4 y 2 y 2 x 3x 6
2
2 A 4(2 Ax B) 2( Ax Bx C ) 2 x 3x 6
2 2
2 Ax (8 A 2 B) x 2 A 4 B 2C 2 x 3x 6
2 2
From comparison:
2 A 2 A 1
5
8 A 2 B 3 B
2
2 A 4 B 2C 6 C 9
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 1 5
yp x x 9
2
2
the general solution is
y yc y p
( 2 6 ) x ( 2 6 ) x 5
y c1e c2 e x x 9.
2
2
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 2
Example 2
Find yc y y y 0
The Auxiliary Equation: m m 1 0
2
1x 3 1x 3
yc c1e cos
2
x c2 e sin
2
x
2 2
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 2
Find yp
y y y 2 sin 3 x.
y p A cos 3 x B sin 3 x
yp 3 A sin 3x 3B cos 3x
Example 2
y y y 2 sin 3 x.
(9 A cos 3 x 9 B sin 3 x) (3 A sin 3 x 3B cos 3 x)
( A cos 3x B sin 3x) 2 sin 3x
Remark
Solve
y 2 y 3 y 4 x 5 6 xe .
2x
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 3
Find yc y 2 y 3 y 0
m 2m 3 0
2
(m 3)(m 1) 0
m1 3, m2 1
x
yc c1e c2 e
3x
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 3
Find y p
y 2 y 3 y 4 x 5 6 xe .
2x
y p1 Ax B
Two problems
to solve
y p2 (Cx D)e 2x
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 3
Find y p1
y 2 y 3 y 4 x 5
y p1 Ax B
yp1 A
yp1 0
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 3
y 2 y 3 y 4 x 5
0 2( A) 3( Ax B ) 4 x 5
By Comparison: 4
3A 4 A
3
2 A 3 B 5
4 23
2( ) 3B 5 B
3 9
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 3
4 23
y p1 x
3 9
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 3
Find y p 2
y 2 y 3 y 6 xe 2x
y p2 (Cx D)e 2x
3(Cx D)e 6 xe
2x 2x
By Comparison: 3C 6 C 2
4
2C 3D 0 2(2) 3D 0 D
3
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 3
4 2x
y p2 (2 x )e
3
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 3
y yc y p1 y p2
4
x
y c1e c2 e x
3x 23 4
(2 x )e 2x
3 9 3
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 4
y 5 y 4 y 8e .
x
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 4
Find yc
y 5 y 4 y 0
m 5m 4 0
2
(m 4)(m 1) 0
m1 4, m2 1
yc c1e c2 e
4x x
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 4
Find y p
y 5 y 4 y 8e x
y p Ae x
Problem, why?
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 4
y 5 y 4 y 8e x
y p Axe x
yp A(e xe )
x x
y p A(e e xe )
x x x
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 4
y 5 y 4 y 8e x
3 Ae 8e
x x
By Comparison:
8
3A 8 A
3
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 4
y yc y p
8 x
y c1e c2 e xe
4x x
3
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Case 1
No function in the assumed particular
solution is a solution of the
associated homogeneous DE.
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 5
Determine the form of y p
y 9 y 14 y 3 x 5 sin 2 x 7 xe .
2 6x
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 5 g ( x) 3 x 5 sin 2 x 7 xe .
2 6x
y p y p1 y p2 y p3
y p1 Ax Bx C.
2
y p 2 D cos 2 x E sin 2 x
y p 3 ( Fx G )e 6x
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Case 2
A function in the assumed particular
solution is also a solution of the
associated homogeneous DE.
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 6
Determine the form of y p
y 2 y y e . x
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 6 y 2 y y 0
m 2m 1 0
2
(m 1) 0
2
yc c1e c2 xe
x x
y p Ax e 2 x
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 7
Determine the form of yp
y 6 y 9 y 6 x 2 12e ,
2 3x
given that
yc c1e c2 xe .
3x 3x
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 7
g ( x) 6 x 2 12e ,
2 3x
y p1 Ax Bx C
2
yc c1e c2 xe
3x 3x
y p2 Dx e 2 3x
y p y p1 y p2
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 8
Determine the form of yp
y y e cos x
x
given that
x
yc c1 c2 x c3e .
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example 8
g ( x) e cos x
x
x
yc c1 c2 x c3e .
Example
Determine the form of yp
y ( 4)
y 1 x e
2 x
given that
x
yc c1 c2 x c3 x c4e .
2
IV. UNDETERMINED COEFFICIENTS-
SUPERPOSITION APPROACH-
Example
2 x
g ( x) 1 x e
x
yc c1 c2 x c3 x c4e .
2
x
y p dx (ax bx)e
3 2