Title: MATH 685 CSI 700 OR 682 Lecture Notes
1MATH 685/ CSI 700/ OR 682 Lecture Notes
- Lecture 10.
- Ordinary differential equations.
- Initial value problems.
2Differential equations
- Differential equations involve derivatives of
unknown solution function - Ordinary differential equation (ODE) all
derivatives are with respect to single
independent variable, often representing time - Solution of differential equation is function in
infinite-dimensional space of functions - Numerical solution of differential equations is
based on finite-dimensional approximation - Differential equation is replaced by algebraic
equation whose solution approximates that of
given differential equation
3Order of ODE
- Order of ODE is determined by highest-order
derivative of solution function appearing in ODE - ODE with higher-order derivatives can be
transformed into equivalent first-order system - We will discuss numerical solution methods only
for first-order ODEs - Most ODE software is designed to solve only
first-order equations
4Higher-order ODEs
5Example Newtons second law
u1 solution y of the original equation
of 2nd order u2 velocity y
Can solve this by methods for 1st order
equations
6ODEs
7Initial value problems
8Initial value problems
9Example
10Example (cont.)
11Stability of solutions
- Solution of ODE is
- Stable if solutions resulting from perturbations
of initial value remain close to original
solution - Asymptotically stable if solutions resulting from
perturbations converge back to original solution - Unstable if solutions resulting from
perturbations diverge away from original solution
without bound
12Example stable solutions
13Example asymptotically stable solutions
14Example stability of solutions
15Example linear systems of ODEs
16Stability of solutions
17Stability of solutions
18Numerical solution of ODEs
19Numerical solution to ODEs
20Eulers method
21Example
22Example (cont.)
23Example (cont.)
24Example (cont.)
25Numerical errors in ODE solution
26Global and local error
27Global vs. local error
28Global vs. local error
29Global vs. local error
30Order of accuracy. Stability
31Determining stability/accuracy
32Example Eulers method
33Example (cont.)
34Example (cont.)
35Example (cont.)
36Example (cont.)
37Stability in ODE, in general
38Step size selection
39Step size selection
40Implicit methods
41Implicit methods, cont.
42Backward Euler method
43Implicit methods
44Backward Euler method
45Backward Euler method
46Unconditionally stable methods
47Trapezoid method
48Trapezoid method
49Implicit methods
50Stiff differential equations
51Stiff ODEs
52Stiff ODEs
53Example
54Example, cont.
55Example (cont.)
56Example (cont.)
57(No Transcript)
58Example (cont.)
59Numerical methods for ODEs
60Taylor series methods
61Taylor series methods
62Runge-Kutta methods
63Runge-Kutta methods
64Runge-Kutta methods
65Runge-Kutta methods
66Extrapolation methods
67Multistep methods
68Multistep methods
69Multistep methods
70Example of multistep methods
71Example (cont.)
72Multistep Adams methods
73Properties of multistep methods
74Properties of multistep methods
75Multivalue methods
76Multivalue methods
77Example
78Example (cont.)
79Example (cont.)
80Example (cont.)
81Multivalue methods, cont.
82Variable-order/Variable-step methods