Академический Документы
Профессиональный Документы
Культура Документы
Chapter 3
Higher Order Differential
Equations
9/30/2014
Section 3.1
Theory of Linear Equations
9/30/2014
9/30/2014
IVP:
Solve:
+ 0 = ()
1
1
1
Subject to:
0 = 0 , 0 = , . . ,
(0 ) = 1
i.e. seek a function defined on interval containing 0 that satisfies the D.E. and
the initial conditions
9/30/2014
9/30/2014
+ 1
+ + 1
+ 0 = ()
9/30/2014
1 = 0; 1 = 0; 1 = 0
Solution:
=
Since D.E. is linear with constant coefficients, the unique solution theorem is
fulfilled.
Hence, = is the only solution on any interval containing x=1
9/30/2014
0 = 4; 0 = 1
Solution:
= +
Solution: = 3 2 + 2 3
Now, = 6 2 2 2 3
And, = 12 2 + 4 2
4 = 12 2 + 4 2 4 3 2 + 2 3
= 12 2 + 4 2 12 2 4 2 + 12
9/30/2014
10
And, = 12 2 + 4 2
4 = 12 2 + 4 2 4 3 2 + 2 3
= 12 2 + 4 2 12 2 4 2 + 12
Verified.
9/30/2014
= 12
11
= 2 + + 3
9/30/2014
in interval (, )
12
2 2 + 2 = 2 2 2 2 + 1 + 2 2 + + 3
= 2 2 4 2 2 + 2 2 + 2 + 6
= 2 2 4 2 2 + 2 2 + 2 + 6
2 2 + 2 = 6
9/30/2014
13
0 = 3 3 = 0
+ 0 +33=3
0 = 1
= 2 + + 3 = 2 + 1
1 = 2 0 + 1 1 = 1
Note:
For = 2 + + 3 , the initial conditions of 0 = 3 & 0 = 1 did not
provide a unique value for
14
2 = 2
1 = 2
0 = 2
= 6
Note:
2 = 2 = 0 = 0 and = (, )
15
. . 2
+ 1
+ 0 =
2
Boundary conditions
With = 0 & = 1
= 0 & = 1
= 0 & = 1
= 0 & = 1
+ =
+ =
9/30/2014
16
9/30/2014
17
= 41 sin 4 + 42 cos 4
2
= 161 cos 4 162 sin 4
2
2
+ 16 = 161 cos 4 162 sin 4 + 16 1 cos 4 + 2 sin 4 = 0
2
9/30/2014
18
1) 0 = 0;
=0
2
0 = 0 0 = 1 1 + 2 0 =
= 0 0 = 1 cos(2) + 2 sin(2) 0 = 1 1 + 2 0
But 1 = 0
That means, 2 0 = 0
9/30/2014
19
=0
8
0 = 0 0 = 1 1 + 2 0 =
= 0 0 = 1 cos
But 1 = 0
+ 2 sin
= 1 cos 4 + 2 sin 4
0 = 1 0 + 2 1
That means, 2 1 = 0
Implies =
Unique solution =
9/30/2014
20
=1
2
0 = 0 0 = 1 1 + 2 0 =
= 1 1 = 1 cos 4
1 = 0 1 + 2 0
+ 2 sin 4
= 1 cos 4 + 2 sin 4
1 = 1 cos(2) + 2 sin(2)
That means, 2 0 = 1
Implies = = . .
9/30/2014
21
2
=
= = 2
2
i.e.
:
=
9/30/2014
22
= ()
= + ()
, are constants
9/30/2014
Linear
23
2
2
+5
+ 6 = 5 3
+ 1
can be written as = 0
And,
+ 1
can be written as = ()
9/30/2014
1
1
1
1
+ + 1
+ + 1
Dr. Eli Saber
+ 0 = 0
+ 0 = ()
24
Differential Equations
= + 1 1 + + 1 + 0 ()
9/30/2014
25
Corollaries:
A constant multiple = 1 1 () of the solution 1 () of a homogeneous
linear differential equation is also a solution
9/30/2014
26
3 3
+ 4 = 0
First solution: 1 = 2
2
3
= 2
= 2 2 = 2 & 3 = 0
Implies, 3 0 2 2 + 4 2 = 4 2 + 4 2 = 0
9/30/2014
27
3
3
+ 4 = 0
Second solution: 1 = 2 ln
= 2 ln
1
= 2 ln + 2
= 2 ln +
3 2
2
= 2 ln + + 1 = 2 ln + 3 3 =
Implies, 3
2 2 ln + + 4 2 ln = 2 2 4 2 ln 2 2 + 4 2 ln = 0
28
Definition:
A set of functions 1 , 2 , , () is said to be
linearly dependent on an Interval if there exists
constants , , , not all zero such that:
+ + + =
29
Definition:
A set of functions 1 , 2 , , () is said to be
linearly dependent on an Interval if there exists
constants , , , not all zero such that:
+ + + =
30
Definition:
9/30/2014
1 , 2 , ,
1 2
1 2
=
(1)
(1)
(1)
1
2
Dr. Eli Saber
31
, , ,
9/30/2014
32
, , ,
3 , 3
=
3 3
3
3 3
= 3 3 3 3 3 3
= 3 3 = 6 0
33
, , ,
6 + 11 6 = 0
, 2 , 3
2
= 2 2
4
= 2 6 0
2
2 2
4 2
3 3 2
9 3
3
3 3
9 3
3 3 + 3
9 3
2 2 =
4 2
34
+ 0 = ()
1
1
1
,where () 0
E.g. + 9 = 27
Let = 3 + 9 = 0 + 9 3 =
General solution
9/30/2014
Complementary S
Dr. Eli Saber
Particular
Solution
35
9/30/2014
. Is it a solution?
36
1
= ; = 0; = 0
2
6 + 11 6 = 3 ; =
11
12
1
11 1
6 + 11 6 = 0 6 0 + 11
6
2
12 2
11 11
=
+
+ 3 =
2
2
Verified.
9/30/2014
37
6 + 11 6 = 3 ; =
6 + 11 6 = 0
11
12
9/30/2014
+ 2
+ 3
11 1
+ ( )
12 2
38
Section 3.2
Reduction of Order
9/30/2014
39
Reduction of Order
Introduction
2nd ..: 2 + 1 + 0 = 0
Solution: = 1 1 + 2 2
9/30/2014
40
Reduction of Order
Introduction
Approach:
2
1
= 2 = 1 ()
9/30/2014
41
Reduction of Order
E.g. Given
2
2
a second solution 2
Check:
=
= 2 =
9/30/2014
2
2
= =
42
Reduction of Order
Let = 1 =
= +
2
2 = + + +
2
2 = + 2 +
Hence,
2
= 0 + 2 + = 0
2
9/30/2014
43
Reduction of Order
2
= 0 2 + = 0
2
+ 2 = 0
But 0.
+ 2 = 0
+ 2 = 0
= 2
9/30/2014
44
Reduction of Order
= 2
= 2
= 2
ln = 2 +
= 2+ = 2 = 2 1
= 1 2
9/30/2014
45
Reduction of Order
Introduction
= 1 2
But = = 1 2
Hence, = 1 2
1
=
1 2 + 2
2
Hence, = =
=
9/30/2014
1
+ 2
2
1 2
= 1 2
+ 2
46
Reduction of Order
=
1
+ 2
2
Let, 1 = 2 & 2 = 0 2 =
= = 1 1 = 2 0
General solution: = 1 + 2
Wronskian
9/30/2014
47
Reduction of Order
Check:
= 1 + 2
= 1 2
2
2 = 1 + 2
Hence,
2
= 1 + 2 1 + 2 =
2
9/30/2014
48
Reduction of Order
General case:
2 + 1 + 0 = 0
2 +
1 0
+
= 0
2
2
P(x)
Q(x)
+ + = 0
49
Reduction of Order
Introduction
Let = 1
= 1 + 1
= +
= 1 + 1 + 1 + 1
=
+ +
Now, + + = 0
Replacing,
1 + 2 1 + 1 + 1 + 1 + 1 = 0
9/30/2014
50
Reduction of Order
Rearranging terms,
1 + 2 1 + 1 + 1 + 1 + 1 = 0
1 + 1 + 1 + 1 + 21 + 1 = 0
=0 since 1 is a solution
1 + 21 + 1 = 0
1
1
=
2
+ 1
9/30/2014
= 2
+ 1
51
Reduction of Order
1
1
=
2
+ 1
1
= 2
ln = 2 ln 1 +
ln + 2 ln 1 = + ln + ln 12 = +
ln 12 = +
12 = + = = 1
9/30/2014
52
Reduction of Order
12 = 1 = 1 /12
But,
1
=
=
12
1
1
=
=
12
12
= 1
+ 2
12
=
; =
()
9/30/2014
53
Reduction of Order
E.g. 2 3 + 4 = 0; 0,
2 3 + 4 = 0
3 4
+ 2 = 0
2
3
4
+ 2 = 0
P(x)
9/30/2014
Q(x)
54
Reduction of Order
According to our derivation, 2 = 1
= 2
= 2
12 ()
2 3 + 4 = 0
3 ln
ln
3
2
2
2
= 4 = 4 = 4
1
= 2 = 2 ln
=
9/30/2014
General solution: = +
Dr. Eli Saber
55
Reduction of Order
2 3 + 4 = 0
Check:
= 1 2 + 2 2 ln
= 2 1 + 2
2
2 ln +
= 21 + 22 ln + 2
= 21 + 22 ln +
+ 2
= 21 + 22 ln + 22 + 2 = 21 + 32 + 22 ln
9/30/2014
56
Reduction of Order
2 3 + 4 = 0
We know,
= 1 2 + 2 2 ln
= 21 + 22 ln + 2
&
= 21 + 22 ln + 22 + 2 = 21 + 32 + 22 ln
Replace in D.E.:
2 21 + 32 + 22 ln 3x 21 + 22 ln + 2 + 4 1 2 + 2 2 ln
= 21 2 + 32 2 + 22 ln 2 61 2 62 2 ln 32 2 + 41 2
+ 42 2 ln
9/30/2014
57
Section 3.3
Homogeneous Linear Eq. with
Constant Coefficients
9/30/2014
58
Introduction
+ () + + + =
order Linear
Constant Coefficients
Differential Equation
Objective:
To find a solution to the above homogeneous solution
9/30/2014
59
Auxiliary Equation
Consider the special Case ( 2nd order LCCDE) given as: + + = 0
= 2
9/30/2014
+ + =
60
Introduction
+ + = Auxiliary Eqn. of the LCCDE
2 4
=
2
1)
2)
3)
2 4 > 0
2 4 = 0
2 4 < 0
9/30/2014
61
Introduction
Case 1: >
1,2
2 4
=
2
2 solutions: 1 = 1 & 2 = 2
9/30/2014
62
Introduction
Case 2: =
1 = 2 =
Digression:
1 = 1 & 2 = 1
2
+ = 0
2 = 1
9/30/2014
+ + = 0
P(x)
1,2
2 4
=
2
Q(x)
= 1
21
21
= 1 2
1
(Note: 1 =
= 21 )
63
Introduction
21
21
1
1
2 =
2 =
2
1
1
1,2
2 4
=
2
= 1 = 1
2 = 1
General solution: = 1 1 + 2 1
9/30/2014
64
Introduction
Case 3: <
1,2
2 4
=
2
1 = + & 2 =
, > 0 and are real
2 = 1
General solution: = 1 1 + 2 2
= 1
9/30/2014
+ 2
65
Introduction
Since = 1
1 = 1
=
+ 2
Choose 1 = 2 = 1
+
+ 2
= +
= 2 cos
1 = 2 cos
is a solution 1 &2
Choose 1 = 1 & 2 = 1
2 = 1
=
+ 2
=
= 2 sin
2 = 2 sin
General solution: = +
9/30/2014
66
Alternate Derivation:
= 1
+ 2
= 1 + 2
= +
9/30/2014
67
Example:
a) 2 5 3 = 0
Now, 22 5 3 = 0
2 + 1 3 = 0
1 =
1
; = 3
2 2
General solution: = 1
9/30/2014
+ 2 3
68
b) 10 + 25 = 0
2 10 + 25 = 0
5
=0
1 = 2 = 5
General solution: = 1 5 + 2 5
9/30/2014
69
c) + 4 + 7 = 0
2 + 4 + 7 = 0
=
=
=
4 2 4(1)(7) 4 16 28
=
2(1)
2
4 12 4 12 1 4 12
=
=
2
2
2
4 2 3
= 2 3
2
General solution:
= 1
9/30/2014
2+ 3
+ 2
2 3
or = 2 1 cos 3 + 2 sin 3
Dr. Eli Saber
70
:real
2
2
+ 2 = 0
HOW?
71
:real
2 + 2 = 0
2 = 2 = 2 2
9/30/2014
72
:real
2 2 = 0
2 = 2
9/30/2014
73
1
2
If 1 = 2 = =
If 1 =
1
2
1
2
1
2
& 2 = =
1
2
1
2
= cosh
1
2
= sinh
Alternate solution of 2 = 0 is = +
9/30/2014
74
+ 1
+ + 1
+ 0 = 0
1
Auxiliary Equation: + 1 1 + + 2 2 + 1 + 0 0 = 0
Case 1:
75
Case 3:
Complex roots appear in conjugate pairs when the coefficients of the D.E. are real
9/30/2014
76
Auxiliary equation: 3 + 32 4 = 0
+3 1
4 = 1 + 3 4 = 4 4 =
=0
Roots: 1 = 1, 2 = 3 = 2
General solution: = + +
9/30/2014
77
Section 3.4
Undetermined Coefficients
9/30/2014
78
Undetermined Coefficients
Solve a non-homogeneous Linear Differential Equation:
+ 1 1 + + 1 1 + 0 0 =
By:
1. Finding a complementary solution for the homogeneous equation.
2. Finding a particular solution .
: = +
9/30/2014
79
Undetermined Coefficients
Method of undetermined coefficient
Educated guess about the form of
9/30/2014
80
Undetermined Coefficients
9/30/2014
81
Undetermined Coefficients
E.g. 1:
+ 4 2 = 2 2 3 + 6
Step 1: Solve the associated Homogeneous equation.
+ 4 2 = 0
2 + 4 2 = 0 =
=
4 16 4 1 2
2
4 24 4 2 6
=
2
2
= 2 6 1 = 2 6 2 = 2 + 6
9/30/2014
82
Undetermined Coefficients
= 1 1 + 2 2
= 1
2 6
1 = 2 6 2 = 2 + 6
+ 2
2+ 6
= 2 + +
= 2 + = 2
Substitute into D.E.
+ 4 2 = 3 2 3 + 6
2 + 4 2 + 2 2 + + = 2 2 3 + 6
9/30/2014
83
Undetermined Coefficients
2 + 8 + 4 2 2 2 2 = 2 2 3 + 6
2 + + + = 2 2 3 + 6
2 = 2 = 1
8 2 = 3 2 = 8 + 3 = 8 1 + 3 = 5
5
2 = 5 =
2
2 + 4 2 = 6 2 = 2 + 4 6 = 2 1 + 4
2 = 2 10 6 2 = 18 = 9
9/30/2014
5
2
6
84
Undetermined Coefficients
5
= 2 9
2
= 1
2 6
+ 2
2+ 6
: = +
=
9/30/2014
85
Undetermined Coefficients
E.g. 2: + = 2 sin 3
Step 1: Find + = 0
2 + 1 = 0 =
1 3 2
1
3
=
=
2
2
2
1 =
3
3
1
1
+
2 =
2
2
2
2
= 1
9/30/2014
1 14 1 1
2
1
3
+
2
2
+ 2
1
3
2
2
86
Undetermined Coefficients
Step 2: . = cos 3 + sin 3 (see Table 3.4.1)
= 3 sin 3 + 3 cos 3
= 9 cos 3 9 sin 3
+ = 2 sin 3
87
Undetermined Coefficients
6
16
=
73
73
6
16
=
cos 3 sin 3
73
73
: = +
=
9/30/2014
88
Undetermined Coefficients
E.g. 3: Using superposition
2 3 = 4 5 + 6 2
Given:
()
()
2 3 = 4 5 + 6 2
polynomial exponential
Step 1: = 1 + 2 3
Step 2: Find
9/30/2014
89
Undetermined Coefficients
2 3 = 0
2 3 = 4 5 + 6 2
2 2 3 = 0
( 3)( + 1) = 0
1 = 3, 2 = 1
Complimentary Solution: = 1 + 2 3
9/30/2014
90
Undetermined Coefficients
= 1 + 2
= + + 2 + 2
:for ()
2 3 = 4 5 + 6 2
:for ()
= + 2 + 2 2 + 2 2
= 2 2 + 2 2 + 2 2 + 4 2
2 3 = 4 5 + 6 2
Substitute :
2 2 + 2 2 + 4 2 + 4 2 2 2 2 4 2 4 2 3
3 3 2 3 2 = 4 5 + 6 2
9/30/2014
91
Undetermined Coefficients
2 3 = 4 5 + 6 2
3 2 3 3 2 + 2 2 3 = 4 5 + 6 2
4
3
3 = 4 =
2 3 = 5 3 = 5 + 2 = 5 + 2
3 = 5
8
15 8
23
23
= =
=
3
3 3
3
9
3 = 6 = 2
4
3
2 3 = 0 3 = 2 = 2 2 = 4 D =
9/30/2014
4
3
92
Undetermined Coefficients
4
23
4
= +
2 2 2
3
9
3
2 3 = 4 5 + 6 2
: = +
= + +
9/30/2014
93
Undetermined Coefficients
E.g. 4: 5 + 4 = 8
Step 1: Find = 1 + 2 4
Step 2: Find =
= =
Re-substituting back 5 + 4 = 8
0 = 8 =
Note: = 1 + 2 4 =
Not Independent
94
Undetermined Coefficients
=
= + = + + = 2 +
= 1 + 2 4
2 + 5 + + 4 = 8
2 + 5 5 + 4 = 8
3 = 8 3 = 8 =
8
=
3
Now, = +
9/30/2014
8
3
= +
95
Undetermined Coefficients
9/30/2014
96
Undetermined Coefficients
Case I: No function in the assumed particular solution is a solution of the
associated Homogeneous Differential Equation.
E.g. 5.1
8 + 25 = 5 3 7
8 + 25 = 5 3 7
97
Undetermined Coefficients
E.g. 5.2
+ 4 = cos
= 1 cos 2 + 2 sin 2
= + cos + + sin
No duplication of terms between
9/30/2014
98
Undetermined Coefficients
E.g. 6: 9 + 14 = 3 2 5 sin 2 + 7 6
Given = 1 2 + 2 7
(computer earlier)
1 = 2 + +
7 6
3 = + 6
= 1 + 2 + 3
= 2 + + + cos 2 + sin 2 + + 6
Note: No duplication of terms between
9/30/2014
99
Undetermined Coefficients
Case II: A function in the potential particular solution is also a solution of the
associated Homogeneous Differential Equation.
E.g. 7: 2 + =
With = 1 + 2
(computed earlier)
= 2
= 2 + 2 = 2 + 2 + 2 + 2
9/30/2014
100
Undetermined Coefficients
2 + 4 + 2 4 2 2 + 2 =
1
2 = 2 = 1 =
2
= + +
9/30/2014
101
Undetermined Coefficients
Hence if consists of no terms similar to Table 3.4.1 and that:
= 1 + 2 + +
(assumption)
9/30/2014
102
Undetermined Coefficients
E.g. 8: + = 4 + 10 sin
Initial conditions: = 0; = 2
Step 1: + = 0
2 + 1 = 0 2 = 1 = 2 =
9/30/2014
103
Undetermined Coefficients
+ = 4 + 10 sin
= 4 + 10 sin
4 +
= + + cos + sin
= + cos + sin
+ sin + cos
104
Undetermined Coefficients
+ = 4 + 10 sin
= sin sin + cos + cos + cos sin
9/30/2014
105
Undetermined Coefficients
+ = 4 + 10 sin
+ + + = + + +
= 4 = 4
= 0
2 sin = 10 sin 2 = 10 = 5
2 cos = 0 = 0
9/30/2014
106
Undetermined Coefficients
WE know, = + + cos + sin
& = 4, = 0, = 5, = 0
+ = 4 + 10 sin
=
We know: = +
Initial conditions: = 0 = 2
0 = 1 + 0 + 4 + 5 1 = 9
9/30/2014
107
Undetermined Coefficients
= 2
+ = 4 + 10 sin
= 4 5
Therefore:
= + +
9/30/2014
108
Undetermined Coefficients
Summary
+ 1 1 + + 1 1 + 0 0
=
9/30/2014
109
Section 3.5
Variation of Parameters
9/30/2014
110
Variation of Parameters
See also section 2.3 for first order differential equations
Advantages:
Always yields a particular solution assuming can be found.
Not limited to cases such as the described in Table 3.4.1 (slide 109)
Not limited to differential equation with constant coefficients.
9/30/2014
111
Variation of Parameters
Given
Divide by 2
2 + 1 + 0 =
+
1
0
+
=
2
2
2
()
()
()
+ + = (similar to + () = ())
Assumptions:
(), (), () are continuous on some interval
can be found
9/30/2014
112
Variation of Parameters
Method:
For first order differential equation + = ,
seek a solution
= () ()
seek a solution
= + () ()
113
Variation of Parameters
= 1 1 + 2 2
= 1 1 + 1 1 + 2 2 + 2 2
= 1 1 + 1 1 + 1 1 + 1 1 + 2 2 + 2 2 + 2 2 + 2 2
Substitute into D.E:
+ + =
1 1 + 1 1 + 1 1 + 1 1 + 2 2 + 2 2 + 2 2 + 2 2
1 1 + 1 1 + 2 2 + 2 2
+ 1 1 + 2 2 = ()
9/30/2014
114
Variation of Parameters
Rearranging the equations,
1 1 + 1 + 1 + 2 2 + 2 + 2
+1 1 + 1 1 + 2 2 + 2 2 + 1 1 + 2 2 + 1 1 + 2 2 = ()
9/30/2014
115
Variation of Parameters
1 1 + 1 1 + 2 2 + 2 2 + 1 1 + 2 2 + 1 1 + 2 2 = ()
+
+ 1 1 + 2 2 + 1 1 + 2 2 = ()
1 1 + 2 2 + [1 1 + 2 2 ] + 1 1 + 2 2 = ()
116
Variation of Parameters
1 1 + 2 2 = ()
(1)
(2)
9/30/2014
1
1
2
0
1 =
2 2
()
117
Variation of Parameters
We have,
Note:
1
W
1
1
1
2
0
1 =
2 2
()
()
()
=
&
2
2 1 & 2
Hence,
Since y1 & y2 are independent W
9/30/2014
118
Variation of Parameters
Summary: Given
2 + 1 + 0 = ()
()
()
9/30/2014
2
2
119
Variation of Parameters
4. Compute 1 & 2 using:
0
2
1
0
1 ()
() 2
=
1 =
2
2
1 2
1
1 2
1 2
7. General Solution: = +
9/30/2014
120
Variation of Parameters
Note:
When integrating 1 & 2, you dont need to introduce any constants because:
= 11 + 22
1 = 1 + 1 , 2 = 2 + 2
= (1 + 1)1 + (2 + 2)2
1 , 2 are constants
= + = 11 + 22 + 11 + 11 + 22 + 22
121
Variation of Parameters
E.g.1:
4 + 4 = + 1 2
3. Compute
()
2
=0
2
1 2
= = 2
1
2
2
()
()
2
2 + 2 2
= 2 2 + 2 2 2 2 2 = 4 + 2 4 2 4
= 4
9/30/2014
122
Variation of Parameters
4. Compute 1 & 2
1 =
0
+ 1 2
2
2 =
2 2
Now,
2
2 = +
+ 2
4 + 4 = + 1 2
= 1 2 + 2 2
= 4
0
= +
2
+ 1
+
1
1
=
= + 1 1 = 2
1 =
4
1 = 2
1 3 2
1 =
2
3
9/30/2014
123
Variation of Parameters
4 + 4 = + 1 2
= 1 2 + 2 2
= 4
2 = + 1 4
1 3 2
1 =
2
3
Now,
2
2
+ 1 4
=
=
= + 1 2
2 = + 1
2
2 =
+
2
Hence,
= 1 1 + 2 2
1
= 3
3
9/30/2014
2
2
2 +
+ 2
Dr. Eli Saber
124
Variation of Parameters
1
= 3
=
2 +
+ 2
1 3 2 1 2 2 1 3 2
+ + 2 2
3
2
2
1 3 2 1 2 2
= +
6
2
And, = +
=
9/30/2014
4 + 4 = + 1 2
= 1 2 + 2 2
= 4
2 = + 1 4
1 3 2
1 =
2
3
2
+
2 =
2
+ +
125
Variation of Parameters
E.g.2:
+ 4 =
()
2. Find : 2 5 + 4 = 0 ( 1)( 4) = 0
1 = 1&2 = 4
()
= 1 + 2 4
3. Compute
1 2
= =
1
2
= 4 4 4 = 4 5 5
= 3 5
9/30/2014
4
4 4
126
Variation of Parameters
4. Compute 1 & 2
0
2
0
4
4
8 5
8
() 2
8
4
1 =
=
=
3 5
3 5
3
5 + 4 = 8
= 1 + 2 4
= 3 5
1
0
0
2
8
8
8 3
()
1
2 =
=
=
=
3 5
3 5 3
5. Find 1 2
8
8
1 = =
3
3
8 3
8 3
2 =
=
3
9
9/30/2014
127
Variation of Parameters
5 + 4 = 8
= 1 + 2 4
= 3 5
8
8
1 = & 2 = 3
3
9
Hence,
= 1 1 + 2 2
8
8
= + 3 4
3
9
8
8
=
3
9
And, = +
= +
9/30/2014
128
Variation of Parameters
We got,
= +
= +
as the solution.
8
3
8
9
8
9
8
3
Notice, = 1 + 2 4 = 1 + 2 4
8
8
4
= 1
+ 2
9
3
=
9/30/2014
8
3
129
Variation of Parameters
Higher Order Equations
Generalize method to linear nth order D.E.
() + 1 (1) + + 1 + 0 =
9/30/2014
1 1 + 2 2 + + = 0
1 1 + 2 2 + + = 0
(1)
(1)
1
1
1 + 2
2 + +
= ()
Dr. Eli Saber
130
Variation of Parameters
1
1
And, =
2
2
= 1,2, ,
0
0
Where, 1 =
()
2
2
2 (1)
1
0
0
2
=
()
(1)
= 1()1() + 2()2()+. . . + () ()
9/30/2014
131
Variation of Parameters
Summary
Given
2 + 1 + 0 = ()
3. Compute = 1 2
1
2
9/30/2014
=
1 =
2
2
1 2
1
1 2
1 2
5. Find 1 & 2 by integrating 1 & 2
respectively.
7. General Solution: = +
verify the solution for the D.E.
132
Section 3.6
Cauchy-Euler Equations
9/30/2014
133
Cauchy-Euler Equations
Any linear Differential Equation of the form:
1
1
+
+ 0 = ()
1
1
1
, where , 1 , , 1 , 0 are constants
And the degree at
same
1) 2
same
2
4 = 0
2) 2 2 3
+ 3 = 2 4
9/30/2014
134
Cauchy-Euler Equations
General
2nd
order:
2 2
+ = 0
Homogeneous
+
+ = 0
9/30/2014
135
Cauchy-Euler Equations
Try a solution of the form =
2
1
=
& 2 = 1 2
+ = 0
2
2 1 2 + 1 + = 0
1 + + = 0
1 + + = 0
2 + + = 0
2 + + = 0
136
Cauchy-Euler Equations
Case 1: Distinct Real Roots
Case 1: Distinct Real Roots
If 1 & 2 are the real roots of 2 + + = 0 with 1 2
1 = 1 & 2 = 2 form a fundamental set of solutions
and the general solution is = 1 1 + 2 2
9/30/2014
137
Cauchy-Euler Equations
Case 1: Distinct Real Roots
E.g.
2 2
= 1
4 = 0
2
= 1 2
2
2 1 2 2 1 4 = 0
1 2 4 = 0
1 2 4 = 0
2 2 4 = 0
2 3 4 = 0
Auxiliary Equation
9/30/2014
138
Cauchy-Euler Equations
Case 1: Distinct Real Roots
2 3 4 = 0
+ 1 4 = 0
= 1 = 4
Hence,
9/30/2014
= +
139
Cauchy-Euler Equations
Case 2: Repeated Real Roots
Case 2: Repeated Real Roots
If the roots are repeated i.e. 1 = 2 , only one solution: =
2 + + = 0
=
For 1 = 2 ,
= 4
Hence, 1 = 2 =
9/30/2014
4 = 0
()
2
Dr. Eli Saber
140
Cauchy-Euler Equations
Case 2: Repeated Real Roots
Construct a second solution like Section 3.2.
2
+
+ = 0
2
2+ 2
+
= 0
2
2
2+
+ 2 = 0
()
Q()
Let = 1
= 1 + 1 & = + 2 1 + 1
9/30/2014
141
Cauchy-Euler Equations
Case 2: Repeated Real Roots
2
+
+
= 0
2 2
Replace 1 , 1 , 1
1 + 2 1 + 1 +
= 1
9/30/2014
1 = 1
= 1
= 1 + 1
= + 2 1 + 1
1 + 1 + 2 1 = 0
+
+
+ 1 + 21 +
1 2 1
1
=0 since = is a solution
= 0
+
1 = 0
142
Cauchy-Euler Equations
Case 2: Repeated Real Roots
1
+
1 = 0
Let = 1 + 21 +
1
= 2 1 +
1 = 0
1 = 1
= 1
= 1 + 1
= + 2 1 + 1
=
21 +
1
1
= 2
9/30/2014
143
Cauchy-Euler Equations
Case 2: Repeated Real Roots
1 11
= 2
1
1
= 2
ln || = 2 1 ln ln +
= 2
1 = 1
1 = 1 11
ln || + 2 1 ln + ln =
ln + ln
ln
2
1
9/30/2014
21
+ ln
144
Cauchy-Euler Equations
Case 2: Repeated Real Roots
ln
2
1
2
1
But =
21
= 21
=
2
1
Now, 2 = 1 =
=
9/30/2014
2
21 =
1 =
= 1 1
145
Cauchy-Euler Equations
Case 2: Repeated Real Roots
2 = 1 1
2 = 1 ln = 2 1 ln
General solution:
9/30/2014
= +
146
Cauchy-Euler Equations
Case 2: Repeated Real Roots
E.g.
4 2 + 8 + = 0
= 1 1 + 2 1
Let = = 1 = 1 2
4 2 1 2 + 8 1 + = 0
4 1 + 8 + = 0
42 4 + 8 + 1 = 0
42 + 4 + 1 = 0
2 + 1
9/30/2014
= 0 =
1
2
Repeated roots
147
Cauchy-Euler Equations
Case 2: Repeated Real Roots
Note:
For higher order equations, if 1 is a root of multiplicity
1 , 1 ln , 1 ln 2 , , 1 ln
= + +
9/30/2014
+ +
148
Cauchy-Euler Equations
Case 3: Conjugate Complex Roots
Case 3: Conjugate Complex Roots
If the roots are conjugate pairs i.e. 1 = + & 2 =
= + +
(, > 0)
= ln
9/30/2014
= ln = cos ln + sin( ln )
= ln = cos ln sin( ln )
149
Cauchy-Euler Equations
Case 3: Conjugate Complex Roots
We have, = 1 + + 2
= 1 ln + ( ln ) + 2 ln ( ln )
= 1 ln + 1 ln + 2 ln 2 ln
= 1 ln + 2 ln + 1 ln 2 ln
= ln {1 + 2 } + {1 2 } ln
= +
9/30/2014
150
Cauchy-Euler Equations
Case 3: Conjugate Complex Roots
E.g.
4 2 + 17 = 0
with I.C. 1 = 1; 1 =
Let = = 1 = 1 2
1
2
4 2 1 2 + 17 = 0
4 1 + 17 = 0
42 4 + 17 = 0
Auxiliary Eqn. : + =
9/30/2014
151
Cauchy-Euler Equations
Case 3: Conjugate Complex Roots
Auxiliary Eqn. : 42 4 + 17 = 0
+ & =
1
= & = 2
2
=
9/30/2014
152
Cauchy-Euler Equations
Case 3: Conjugate Complex Roots
Now,
I.C. 1 = 1; 1 =
1 = 1 1 = 1
1
2
1 = 1 1 1 +2 0
1 =
=1
9/30/2014
1
2
1
2
1
2
1 2 +2 2
1 2 1 +2 2 1
1 = 1
1
1 1
2
cos 2 ln + 2 sin 2 ln
2
1 1
2 2 2 sin
1
2
2
+
2 ln + cos 2 ln
Dr. Eli Saber
153
Cauchy-Euler Equations
Case 3: Conjugate Complex Roots
=1
1
1 1
2 cos 2 ln + 2 sin 2 ln
2
1
= 1
2
2 1
1 1
2 sin
2
1 cos 0 +
2
+2
1
12
2 1
1
2
2
+
1
2
1 2 +2 2
1 = 1
2 ln + 2 cos 2 ln
sin 0
2
1
sin 0 + 1
1
2
+
cos 0
2
1
1
1
1 1
= 1
+2 2 = + = 0 2 = 0
2
2
2 2
9/30/2014
= ( )
Dr. Eli Saber
154
Cauchy-Euler Equations
Case 3: Conjugate Complex Roots
E.g.
3
3
2
2
+
5
+
7
+ 8 = 0
3
2
Assume = = 1 = 1 2
= 1 2 3
3 1 2 3 + 5 2 1 2
+7 1 + 8 = 0
1 2 + 5 1 + 7 + 8 = 0
2 3 + 2 + 52 5 + 7 + 8 = 0
3 32 + 2 + 52 + 2 + 8 = 0
3 + 22 + 4 + 8 = 0
9/30/2014
155
Cauchy-Euler Equations
Case 3: Conjugate Complex Roots
3 + 22 + 4 + 8 = 0
+ 2 2 + 4
Auxiliary Equation
2 + 4 = 0
2 = 4
2 = 4 2
= 2
=0
+ 2 2 + 4 = 0
+ 2 + 2 2 = 0
1 = 2, 2 = 2, 3 = 2
Solution:
9/30/2014
= + +
or
= + ( ) + ( )
Dr. Eli Saber
156
Cauchy-Euler Equations
Case 3: Conjugate Complex Roots
E.g.
2 3 + 3 = 2 4
Assume = = 1 = 1 2
2 1 2 3 1 + 3 = 0
2 3 + 3 = 0
2 3 + 3 = 0
2 4 + 3 = 0
9/30/2014
157
Cauchy-Euler Equations
Case 3: Conjugate Complex Roots
2 4 + 3 = 0
2 3 + 3 = 2 4
Auxiliary Equation
= +
,where 1 = & 2 = 3
9/30/2014
= 1 1 + 2 2
158
Cauchy-Euler Equations
Case 3: Conjugate Complex Roots
Note: To use Variation of Parameters
must transform the equation
Divide by 2 ,
2 3 + 3 = 2 4
3 3
2 4
2 + 2 =
2
3 3
+ 2 = 2 2
()
9/30/2014
2 3 + 3 = 2 4
= 1 + 2 3
1 = &2 = 3
()
()
159
Cauchy-Euler Equations
Case 3: Conjugate Complex Roots
Form all Wronskians:
1
=
1
=
2
1
0
1 =
()
2 =
3 = 3 3 3 = 2 3
3 2
2
0
=
2
2 2
0
= 2 3
2
3 = 2 5
3 2
2 3 + 3 = 2 4
= 1 + 2 3
1 = &2 = 3
= 2 2
2
1
1 =
=
= 2
3
2 2 3
=
=
=
3
9/30/2014
160
Cauchy-Euler Equations
Case 3: Conjugate Complex Roots
Integrate 1 & 2 to get 1 &2 :
2 3 + 3 = 2 4
= 1 + 2 3
1 = &2 = 3
= 2 2
1 = 2
2 =
2 = 2 = =
1 = 1 = 2
Integration by parts
Let = 2 = 2 ; = =
1 = 2 2
1 = 2 + 2
9/30/2014
161
Cauchy-Euler Equations
Case 3: Conjugate Complex Roots
1 =
2 3 + 3 = 2 4
= 1 + 2 3
1 = &2 = 3
= 2 2
1 = 2
2 =
1 = 2 + 2
= +
Now, = 1 1 + 2 2 = 2 + 2 2 + 3
= 3 + 2 2 2 + 3 =
= +
9/30/2014
= + +
Dr. Eli Saber
162
Cauchy-Euler Equations
Summary
+ 0 = ()
1
Auxiliary Equation:
+ + =
9/30/2014
163
Section 3.8
Linear Models
9/30/2014
164
Linear Models
3.8.4. : Series Circuit (LRC)
R
Note:
=
=
;
2
=
9/30/2014
= =
= +
()
1
+
charge
165
Linear Models
3.8.4. : Series Circuit (LRC)
R
1
= + +
2
=
+ 2 +
()
2
+ 2 + =
=
1
; =
9/30/2014
166
Linear Models
3.8.4. : Series Circuit (LRC)
+ 2 + =
R
E
Auxiliary Eqn: 2 + + = 0
=
2 4
2
4
2
=
2
9/30/2014
()
(Assume = 0)
167
Linear Models
3.8.4. : Series Circuit (LRC)
=
If
If
If
Now,
= critically damped
< under damped
4
2 4
2
=
=
2
2
2
9/30/2014
()
168
Linear Models
3.8.4. : Series Circuit (LRC)
E.g.
= 0.25; = 10; = 0.001
E=0V
= 0; 0 = 0 ; 0 = 0
R=10
()
L= 0.25
C= 0.001
Solution:
2
1
2 +
+ = 0 0.25 + 10 + 1000 = 0
+ 40 + 4000 = 0
9/30/2014
169
Linear Models
3.8.4. : Series Circuit (LRC)
40 14400
=
2
40 14400 2 40 16(900) 2
=
=
2
2
=
40 4 30
=
2
1 = 20 + 60 & 2 = 20 60
Hence: = 20 & = 60
= 20 1 cos 60 + 2 sin 60
9/30/2014
170
Linear Models
3.8.4. : Series Circuit (LRC)
0 = 0
0 = 0 1 cos 0 + 2 sin 0
0 = 1 1 + 0
1 = 0
171
Linear Models
3.8.4. : Series Circuit (LRC)
20 20 [0 cos 60 + 2 sin 60]
=
+ 20 [600 sin 60 + 602 cos 60]
But 0 = 0
20
0
0 60 + 60
3
1
= 0 20 60 + 60
3
9/30/2014
172
Linear Models
3.8.4. : Series Circuit (LRC)
1
= 0 20 60 + 60
3
20
1
(1) 60 + 60
3
= 0 20
9/30/2014
10
3
1
60 + 3 60
10
10
3
3
1
+
3
1
3
1
sin =
; cos = 3
10
10
3
3
1
173
Linear Models
3.8.4. : Series Circuit (LRC)
= 0
Note: sin =
= 0
9/30/2014
10 20
sin[60 + ]
3
3
10
= sin1
3
10
= 1.249 rad
10 20
sin[60 + 1.249]
3
1
+
3
1
3
1
sin =
; cos = 3
10
10
3
3
1
174
Linear Models
3.8.4. : Series Circuit (LRC)
Note:
(): solution to the homogeneous equation is called the transient solution
9/30/2014
175
Linear Models
3.8.4. : Series Circuit (LRC)
E.g.
= 1; = 2; = 0.25; = 50 cos
5th
R=2
()
L= 1
C= 0.25
Solution:
= + +
2
2 +
+ =
1 2 +2
+
= 50 cos
0.25
9/30/2014
176
Linear Models
3.8.4. : Series Circuit (LRC)
2
1 2 +2
+ 4 = 50 cos
Homogeneous Eqn.
2
2
2 + 2 + 4 = 0
+2
+ 4 = 0
2 4 4(1)(4) 2 12 2 4 3 2
=
=
=
2
2
2
= 1 3 = 1 & = 3
= 1
9/30/2014
1+ 3
+ 2
1 3
or
1 cos 3 +2 sin 3
Dr. Eli Saber
177
Linear Models
3.8.4. : Series Circuit (LRC)
From table 3.4.1., we can write: = cos + sin
= sin + cos
1 2 +2
+ 4 = 50 cos
= cos sin
2 + 3 = 0 2 = 3 =
9/30/2014
178
Linear Models
3.8.4. : Series Circuit (LRC)
2
1 2 +2
+ 4 = 50 cos
3 + 2 = 50
3
9
13
100
3
3 + 2 = 50 + 2 = 50
= 50 =
2
2
2
13
2
3 + 2 = 50
3
3 100 300
150
=
=
=
2
2 13
26
13
150
100
cos +
sin
13
13
We already have:
Hence,
= 1 cos 3 +2 sin 3
= 1 cos 3 + 2 sin 3 +
Transient Solution
9/30/2014
150
100
cos +
sin
13
13
Steady-State Solution
179
Linear Models
3.8.4. : Series Circuit (LRC)
=
=
150
100
=
cos +
sin
13
13
= 1 cos 3 + 2 sin 3 +
150
100
cos +
sin
13
13
150
100
sin +
cos
13
13
150
= 1 cos 3 2 sin 3 1 3 sin 3 + 2 3 cos 3
sin
13
100
+
cos
13
= 1 + 32 cos 3 + 2 31 sin 3
=
9/30/2014
150
sin
13
100
cos
13
150
100
sin +
cos
13
13
180
Linear Models
Summary
R
1
+ + = ()
2
2 +
+ =
()
C
1
Auxiliary Eqn: 2 + + = 0
4
2 4
=
=
2
2
2
obtain
= +
9/30/2014
181
Section 3.12
Solving Systems of Linear Equations
9/30/2014
182
= 2 2 1
9/30/2014
183
+ 1
+ + 1 + 0 =
Rewrite as: + 1 1 + + 1 + 0 =
9/30/2014
184
+ 2 + = + 3 + sin
+ = 4 + 2 +
+ 2 + 3 = sin
+ + 4 2 =
2 + 2 + 2 3 = sin
+ + 4 2 =
+ + = sin
+ + =
9/30/2014
185
9/30/2014
186
Solution:
= 3 3 = 0
= 3
= 2
= 2 2 = 0
3 = 0 2 3 = 0
2 = 0 3 +3 6 = 0
9/30/2014
=
Dr. Eli Saber
187
Auxiliary Equation: 2 6 = 0 2 = 6 = 6
Now, to obtain ():
3 = 0 2 2 6 = 0
2 = 0 2 2 = 0
Auxiliary Equation: 2 6 = 0 2 = 6 = 6
9/30/2014
188
= 3
61
+ 62
61 33
+ 62
= 33
9/30/2014
+ 34
62 34
61 33 = 0 3 =
62 34 = 0 4 =
= 1
= 3
3 1
6
c
3 2
+ 2
6 +
4
=0
& =
Dr. Eli Saber
189
Solution:
4 + = 2
+ + = 0
4 + 2 = 2 4 + 2 = 2
+ + = 0 + 1 + = 0
Solving for first:
()
()
1 + 1 4 + 1 + 2 + 1 = + 1 2
2 4 + 1 4 + 4 = 0
()
()
()
+
= +
9/30/2014
190
3 +4
= 2 + 2
Here, 2 =
2 = 2
3 + 4 = 2 + 2
Aux. Equation: 3 + 4 = 0 2 + 4 = 0 1 = 0; 2 = 2; 3 = 2
= 1 0 + 2 cos 2 + 3 sin 2
9/30/2014
= 1 + 2 2 + 3 2
Dr. Eli Saber
191
= 3 2 + 2 + ; = 6 + 2; = 6
+
4
= 2 + 2
3
= 1 + 2 2 + 3 2
6 + 4 3 2 + 2 + = 2 + 2
6 + 12 2 + 8 + 4 = 2 + 2
12 2
+ 8 + 6 + 4 =
12 = 1 =
9/30/2014
1
12
Note:
= 3 + 2 +
+ 2
Here, + is not
considered since
already has a
constant term
Dr. Eli Saber
192
1
6 + 4 = 0 4 = 6 = 6
12
1
=
8
Hence,
= +
9/30/2014
+
4
= 2 + 2
3
= 1 + 2 2 + 3 2
= 3 + 2 +
1 3 1 2 1
=
+
12
4
8
= + + +
+
1
12
193
4 + 2 = 2
2 + 1 + 2 = 0
()
() ()
+ =
9/30/2014
194
4 + 1 = 2
4 2 = 2
4 + 2
= 2
2 + 4 = 2
Aux. Equation: 2 + 4 = 0 1 = 2; 2 = 2
= 4 cos 2 + 5 sin 2
9/30/2014
195
= + + (Table 3.4.1)
2 + 4 = 2
= 4 cos 2 + 5 sin 2
= 2 + ; = 2
2 + 4 = 2
+ 4 = 2
2
2 + 4 2 + + = 2
2 + 4 2 + 4 + 4 = 2
4 2 + 4 + 2 + 4 = 2
9/30/2014
196
4 2 + 4 + 2 + 4 = 2
= 4 cos 2 + 5 sin 2
1
4 = 1 =
4
4 = 0 = 0
1
1
1
1
1
2 + 4 = 0 = =
= =
2
2
4
8
8
= +
9/30/2014
1
1
= 2 +
4
8
= + +
197
1 3 1 2 1
+
12
4
8
Re-substituting , in + + =
1
1
1
24 cos 2 + 25 cos 2 + 4 cos 2 + 5 sin 2 2 +
2
4
8
1
1
1
+ 22 cos 2 + 23 cos 2 + 3 +
=0
4
2
8
sin 2 2 4 + 5 22 + cos 2 25 + 4 + 23 = 0
2 4 + 5 22 = 0 & 25 + 4 + 23 = 0
9/30/2014
198
25 + 4 = 23
1
4 = 42 + 23
5
5 =
1
22 43
5
=
1
1
= 4 2 + 5 2 2 +
4
8
1 3 1 2 1
= 1 + 2 2 + 3 2 +
+
12
4
8
+ +
= + + +
9/30/2014
199
End of Chapter 3
9/30/2014
200