Professional Documents
Culture Documents
ENGR 3621 Advanced Engineering Mathematics: Higher Order Differential Equations
ENGR 3621 Advanced Engineering Mathematics: Higher Order Differential Equations
ENGR 3621 Advanced Engineering Mathematics: Higher Order Differential Equations
1
➢ Higher-order Linear ODEs: IVP, BVP, (non)homogeneous.
Methods of solutions:
➢ Reduction of Order
➢ Homogeneous Equations with Constant Coefficients
➢ Undetermined Coefficients
➢ Variation of Parameters
➢ Cauchy-Euler Equations
➢ Nonlinear Equations
➢ Linear Models: Initial-Value Problem
➢ Linear Models: Boundary-Value Problems
➢ Greens’s Function
➢ Nonlinear Models
2
Overview
Theory of Linear Equations Cauchy-Euler
Concepts Equations
3
3.1 Initial Value Problem
Or 𝑦 𝑎 = 𝐴, 𝑦′ 𝑏 = 𝐵
5
3.1 Boundary-value problems
6
Homogeneous vs Nonhomogeneous
➢ A linear ODE is non-homogenous if it contains a term that
involves only the independent variable (t in the examples below)
𝑥 ′′ + 2𝑥 ′ + 𝑥 = 0 Homogenous
𝑥 ′′ + 2𝑥 ′ + 𝑥 = sin(𝑡) Non-homogenous
𝑥′ + 𝑡2𝑥 = 0 Homogenous
𝑥′ + 𝑡2𝑥 = 𝑡 + 𝑡2 Non-homogenous
7
3.1 On solutions of homogeneous linear ODEs
The sum, or superposition, of two or more solutions of
a homogenous linear DE is also a solution.
Therefore,
A constant multiple of a solution is also a solution,
and
The trivial solution y=0 is always a solution.
8
3.1 On solutions of homogeneous linear ODEs
9
If all functions in some set f1 ( x ) , f 2 ( x ) , , f n ( x )
have at least 𝑛 − 1 derivatives, the Wronskian
function is defined as the determinant:
f1 f2 fn
f1 f 2 f n
W ( f1 , , fn ) =
( n −1) ( n −1) ( n −1)
f1 f2 fn
10
Test for linear independence of n solutions of a linear
homogeneous nth order ODE
𝑦1 ⋯ 𝑦𝑛
det ⋮ ⋱ ⋮ 0 for any xI
(𝑛−1) (𝑛−1)
𝑦1 ⋯ 𝑦𝑛
11
Homogeneous
➢ If the ODE is Homogeneous, then the General Solution of a
homogeneous linear ODE is
𝑦 = 𝑐1 𝑦1 𝑥 + 𝑐2 𝑦2 𝑥 + ⋯ + 𝑐𝑛 𝑦𝑛 𝑥
Which is a linear combination of all linearly independent solutions.
(superposition principle)
12
Non-Homogeneous Linear ODE
➢ If the ODE is Nonhomogeneous, then the General Solution is
𝑦 = 𝑐1 𝑦1 𝑥 + 𝑐2 𝑦2 𝑥 + ⋯ + 𝑐𝑛 𝑦𝑛 𝑥 + 𝑦𝑝
Can be written as 𝑦 = 𝑦𝑐 + 𝑦𝑝
Complementary Particular
Function Solution
13
3.1 To summarize ...
General solution of a homogeneous DE is
() () ()
y = c1 y1 x + c2 y2 x + … + cn yn x
Where y1, y2, …yn is a fundamental set of solutions and
ci, I =1,2,…, n are arbitrary constants (free parameters).
General solution of non-homogeneous DE is
() () ()
y = c1 y1 x + c2 y2 x + … + cn yn x + y p
Where y1, y2,…yn is a fundamental set of solutions, yp is
a particular solution, and ci, I = 1,2,…, n are arbitrary
constants
14
Methods of Solution
(for linear ODEs)
15
3.2 Reduction of Order
➢ Assume the following 2nd Order Homogeneous Linear DE
𝑎2 𝑥 𝑦 ′′ + 𝑎1 𝑥 𝑦 ′ + 𝑎0 𝑥 𝑦 = 0
16
3.2 Reduction of Order
Reduction of order can be used to reduce a linear
second-order DE with known solution y1 into a linear
first-order DE, which can be solved for a second
solution y2.
gives
e
− P ( x ) dx
y2 = y1 ( x ) 2 dx
y1 ( x )
17
3.3 Homogeneous Linear Equations with Constant Coefficients
𝑎𝑛 𝑦 𝑛 + 𝑎𝑛−1 𝑦 𝑛−1 + ⋯ + 𝑎1 𝑦 ′ + 𝑎0 𝑦 = 0
Auxiliary Equation
Find the Roots
18
3.3 Homogeneous Linear Equations with Constant Coefficients
Here is the rationale: consider for example a 2nd order homogeneous LCCDE
Side note:
We obtained
Factoring out:
Factoring out:
Can’t be 0
3.3 Homogeneous Linear Equations with Constant Coefficients
Factoring out:
Must be 0
3.3 Homogeneous Linear Equations with Constant Coefficients
Factoring out:
So
Find
(Either factor or use the quadratic equation)
note
Complementary Particular
Function Solution
32
Nonhomogeneous Linear Equations with Constant Coefficients
𝑎𝑛 𝑦 𝑛 + 𝑎𝑛−1 𝑦 𝑛−1 + ⋯ + 𝑎1 𝑦 ′ + 𝑎0 𝑦 = 0
33
Nonhomogeneous Linear Equations with Constant Coefficients
Method of Variation of
Undetermined Coeff. Parameters
34
Nonhomogeneous Linear Equations with Constant Coefficients
Method of
Undetermined Coeff.
35
3.4 Method of Undetermined Coefficients
➢ This method is a conjecture, an educated guess, about
the form of 𝑦𝑝 motivated by the kind of functions that make up
the input function 𝑔(𝑥);
36
3.4 Method of Undetermined Coefficients
➢ Some examples:
𝑔(𝑥) = 10 𝑔 𝑥 = 𝑥 2 − 5𝑥 𝑔 𝑥 = 10𝑥 − 6 + 8𝑒 −𝑥
𝑃 𝑥 = 𝑎𝑛 𝑥 𝑛 + 𝑎𝑛−1 𝑥 𝑛−1 + ⋯ + 𝑎1 𝑥 + 𝑎0
𝑃 𝑥 𝑒 𝛼𝑥 𝑃 𝑥 𝑒 𝛼𝑥 sin(𝛽𝑥) 𝑃 𝑥 𝑒 𝛼𝑥 cos(𝛽𝑥)
where n is a nonnegative integer and 𝛼 and 𝛽 are real numbers
37
3.4 Method of Undetermined Coefficients
38
3.4 Method of Undetermined Coefficients
➢ This method is not applicable to equations when
𝑔 𝑥 = ln(𝑥) 1
𝑔 𝑥 =
𝑥
39
3.3 Nonhomogeneous Linear Equations with Constant Coefficients
Variation of
Parameters
40
3.5 Variation of Parameters
𝑎2 (𝑥)𝑦 ′′ + 𝑎1 (𝑥)𝑦 ′ + 𝑎0 (𝑥)𝑦 = 𝑔(𝑥)
General Solution
Put the ode into the Standard Form:
𝑦 = 𝑦𝑐 + 𝑦𝑝
𝑦 ′′ + 𝑃 (𝑥)𝑦 ′ + 𝑄 (𝑥)𝑦 = 𝑓(𝑥)
➢ Method:
1. Find Complementary Solution: 𝑦𝑐 = 𝑐1 𝑦1 + 𝑐2 𝑦2
41
3.5 Variation of Parameters
➢ Method:
3. Find 𝑢1 and 𝑢2 defined as
𝑊1 0 𝑦2
𝑢1′ = 𝑊1 =
𝑓(𝑥) 𝑦2′
𝑊
𝑊2 𝑦1 0
𝑢2′ = 𝑊2 = ′
𝑊 𝑦1 𝑓(𝑥)
𝑦1 𝑦2
𝑊 = 𝑦′ 𝑦2′
1
42
3.5 Variation of Parameters
➢ Method:
4. Particular Solution: 𝑦𝑝 = 𝑢1 𝑦1 + 𝑢2 𝑦2
5. General Solution: 𝑦 = 𝑦𝑐 + 𝑦𝑝
43
3.5 Variation of Parameters
➢ Standard Form of a higher order non-homog. LCCDE
44
Overview
Theory of Linear Equations Cauchy-Euler
Concepts Equations
45
3.5 Cauchy-Euler Equations
Complementary Particular
Function Solution
46
3.5 Cauchy-Euler Equations
𝑦 = 𝑦𝑐 + 𝑦𝑝
(Homogeneous Eq.)
𝑎𝑚2 + (𝑏 − 𝑎)𝑚 + 𝑐 = 0
47
3.5 Cauchy-Euler Equations
𝑎𝑚2 + (𝑏 − 𝑎)𝑚 + 𝑐 = 0 (2nd Oder Example)
𝑦 = 𝑥 𝛼 𝑐1 cos 𝛽 ln 𝑥 + 𝑐2 sin(𝛽ln(𝑥))
48
3.5 Cauchy-Euler Equations
𝑦 = 𝑦𝑐 + 𝑦𝑝
49
50
Nonlinear ODEs
➢ More difficult to solve than linear ODEs.
➢ Do not share the property of linear homogeneous DEs that a linear
combination of solutions is also a solution.
Some simple NL cases can be handled by methods such as solution
by substitution, exact differential, or by recasting ODE as a
Bernoulli equation.
51
NL ODEs: Riccati equation
52
NL ODEs: Taylor series approximation
Example: 𝑦 ′′ = 𝑥 + 𝑦 2 , 𝑦 0 = 1, 𝑦 ′ 0 = 1.
Assuming that a solution exists and is analytic at x=0:
1 ′′
𝑦 𝑥 = 𝑦 0 + 𝑦 𝑥 + 𝑦 0 𝑥2 + ⋯
′ 0
2
Substitute 𝑦 0 = 1, 𝑦 ′ 0 = 1:
𝑦 ′′ 0 = 0 + 𝑦 2 0 = 1.
Now compute higher derivatives:
′′′
𝑑
𝑦 0 = 𝑥 + 𝑦 2 ቤ 𝑥 = 0, 𝑦 = 1 = 1 + 2𝑦𝑦 ′ ֜ 𝑦 ′′′ 0 = 3
𝑑𝑥
(4)
𝑑
𝑦 0 = 1 + 2𝑦𝑦 ′ ቤ 𝑥 = 0, 𝑦, 𝑦′ = 1 = 2 𝑦 ′ 2 + 2𝑦𝑦 ′′ = 4
𝑑𝑥
…
Continue with as many terms as desired/needed for better
accuracy.
53
NL ODEs: Reduction of order
Example: 𝑦 ′′ = 1 + 𝑦′2 .
Substitution: let 𝑢 = 𝑦′. The ODE becomes 𝑢′ = 1 + 𝑢2
Which is a separable ODE.
𝑑𝑢
2
= 𝑑𝑥 ֜ 𝑢 = tan(𝑥 + 𝐶1)
𝑢 +1
𝑢𝑦 = − ln cos(𝑥 + 𝐶1) + C2
…
This is useful in the cases when
1) Variable y is missing, that is, ODE is of the form F(x,y’,y”)=0
2) Variable x is missing, that is, ODE is of the form F(y,y’,y”)=0
54
NL ODEs: Reduction of order: Example 2
Example: Curvature of a function 𝑦 = 𝑓(𝑥) is defined as
k=
𝑦′′
′ 2 3ൗ
1+ 𝑦 2
Find the function f(x) whose curvature is equal to 1.
let 𝑢 = 𝑦′.
2 3ൗ
1 + 𝑢 2 = 𝑢′
Which is a separable ODE.
𝑑𝑢 2 3Τ
= 1 + 𝑢 2 ֜ separable form; Use 𝑢 = 𝑡𝑎𝑛.
𝑑𝑥
sec 2 sec 2
1 + tan 2 3/2 d = x sec3 d = x cos d = x
( )
u y x
sin = x =x = x y = ,x 0
1+ u 2
1 + y 2
1− x 2
y( x) = − 1 − x 2 55