Lecture 4: Numerical solution of ordinary differential equations
Habib Ammari Department of Mathematics, ETH Z¨ urich
Numerical methods for ODEs Habib Ammari
Lecture 4: Numerical solution of ordinary differential equations - - PowerPoint PPT Presentation
Lecture 4: Numerical solution of ordinary differential equations Habib Ammari Department of Mathematics, ETH Z urich Numerical methods for ODEs Habib Ammari Numerical solution of ODEs General explicit one-step method: Consistency;
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
tk
tk
tk
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
k−1
k→+∞ |ek| = 0. Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
0≤l≤k |Tl(∆t)|
Numerical methods for ODEs Habib Ammari
0≤l≤k |Tl(∆t)|.
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
tk
Numerical methods for ODEs Habib Ammari
tk
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
tk
tk
Numerical methods for ODEs Habib Ammari
tk
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
2
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
tk
2 ) by xk + ∆t 2 f (tk, xk),
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
min{k,d}
k(1 + ∆tλj)k−l(∆t)lNl
k: binomial coefficient.
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
n
j (t − t0)n−j(x − x0)j
n+1
j
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
1
1
Numerical methods for ODEs Habib Ammari
m
Numerical methods for ODEs Habib Ammari
2 , xk + ∆t 2 κ1),
2 , xk + ∆t 2 κ2),
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
m
m
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
m
m
Numerical methods for ODEs Habib Ammari
tk
tk
m
Numerical methods for ODEs Habib Ammari
m
Numerical methods for ODEs Habib Ammari
m
m
m
m
Numerical methods for ODEs Habib Ammari
m
m
m
m
Numerical methods for ODEs Habib Ammari
m
i
m
i
m
j
i
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
m
m
m
m
m
Numerical methods for ODEs Habib Ammari
m
m
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
m
Numerical methods for ODEs Habib Ammari
i,j=1.
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
m
m
m
Numerical methods for ODEs Habib Ammari
m
m
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
j=1 bj = 1 and (∆t)Cf ρ(|A|) < 1 hold. Numerical methods for ODEs Habib Ammari
m
m
m
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
m
Numerical methods for ODEs Habib Ammari
m
m
Numerical methods for ODEs Habib Ammari
m
m
m
i = 1
m
m
Numerical methods for ODEs Habib Ammari
m
i = 1
m
m
m
m
j = 1
m
m
m
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
tk−1
Numerical methods for ODEs Habib Ammari
n
n
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
24
Numerical methods for ODEs Habib Ammari
n
j E n−j
n
j E −j. Numerical methods for ODEs Habib Ammari
+xk = n
j xk+n−j
−xk = n
j xk−j. Numerical methods for ODEs Habib Ammari
∂t y
∂t .
− + 1
− + . . . Numerical methods for ODEs Habib Ammari
− + 1
− + . . .
Numerical methods for ODEs Habib Ammari
− − 1
− + . . .
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
t0
tk
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
tk
Numerical methods for ODEs Habib Ammari
− + 3
− + . . .
− − 1
− +. . .
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
j=0
dt (tk+j)
j=0 βj
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
ǫ < −1, then the iterates grow exponentially fast in magnitude,
ǫ < 0, then the numerical solution decays in magnitude, but
ǫ > 0, and hence ∆t < ǫ.
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
∂ǫ (t, 0) :
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
t→0+ x(0)(t) =
τ→+∞ X (0)(τ). Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari
t→0+ x(0)(t) =
τ→+∞ X (0)(τ),
Numerical methods for ODEs Habib Ammari
Numerical methods for ODEs Habib Ammari