Docsity

Numerical Methods for ODEs: Initial Value Problems (Homework 8) - Prof. Raytcho Lazarov, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
MATH 609-601 Numerical Analysis
Homework # 8
Numerical methods for initial value problems for ODE’s
Below we consider the following initial value problem: find x(t) such that x0(t) = f(t, x) for
t > t0and satisfying the initial condition x(t0) = x0. Also ηndenotes the approximation of
x(tn) by the numerical method.
(1) (20 pts) Derive an explicit multi-step method of order four (Adams-Bashforth four
step method) that uses integration in the interval (ti, ti+1). Write down the expression
for the local truncation error.
(2) (20 pts) Check the consistency and derive an expression for the local truncation error
of the following Adams type formulas
(a) ηi+1 =ηi−2+ 1.5h(fi+fi−1);
(b) ηi+1 =ηi−1+ 1/3h(7fi−2fi−1+fi−2);
(c) ηi+1 =ηi−1+ 1/3h(fi+1 + 4fi+fi−1);
Note that here fi=f(ti, ηi).
(3) (20 pts) Consider the Runge-Kutta method
(1) η0=y0, ηi+1 =ηi+hΦ(ti, ηi;h), i = 0,1, ...
where Φ(t, x;h) = 1
4k1(t, x) + 3
4k2(t, x) with
k1(t, x) = f(t, x), k2(t, x) = f(t+2
3h, x +2
3hk1).
Show that the method is of second order.
(4) (20 pts) Show that if
Φ(t, x;h) = 1
6k1(t, x) + 4
6k2(t, x) + 1
6k3(t, x)),
where k1(t, x) = f(t, x), k2(t, x) = f(t+ 0.5h, x + 0.5hk1),and
k3(t, x) = f(t+h, x −hk1+ 2hk2) then the above R-K method (1) is of third order.
(5) (20 pts) Let
Φ(t, x;h) = f(t, x)+0.5hg(t+1
3h, x +1
3f(t, x)),
g(t, x) = ∂f (t, x)
∂t +∂f(t, x)
∂x .f (t, x).
Show that (1) with this Φ(t, x;h) is of order 3.
(6) (20 pts) Consider the multistep methods of Problem 2. Use the criteria developed in
class to study the (a) consistency, (b) the stability, (c) the A-stability (asymptotic
stability).
1

Partial preview of the text

Download Numerical Methods for ODEs: Initial Value Problems (Homework 8) - Prof. Raytcho Lazarov and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

MATH 609-601 Numerical Analysis Homework # 8 Numerical methods for initial value problems for ODE’s

Below we consider the following initial value problem: find x(t) such that x′(t) = f (t, x) for t > t 0 and satisfying the initial condition x(t 0 ) = x 0. Also ηn denotes the approximation of x(tn) by the numerical method.

(1) (20 pts) Derive an explicit multi-step method of order four (Adams-Bashforth four step method) that uses integration in the interval (ti, ti+1). Write down the expression for the local truncation error. (2) (20 pts) Check the consistency and derive an expression for the local truncation error of the following Adams type formulas (a) ηi+1 = ηi− 2 + 1. 5 h(fi + fi− 1 ); (b) ηi+1 = ηi− 1 + 1/ 3 h(7fi − 2 fi− 1 + fi− 2 ); (c) ηi+1 = ηi− 1 + 1/ 3 h(fi+1 + 4fi + fi− 1 ); Note that here fi = f (ti, ηi). (3) (20 pts) Consider the Runge-Kutta method

(1) η 0 = y 0 , ηi+1 = ηi + h Φ(ti, ηi; h), i = 0, 1 , ...

where Φ(t, x; h) =

k 1 (t, x) +

k 2 (t, x) with

k 1 (t, x) = f (t, x), k 2 (t, x) = f (t +

h, x +

hk 1 ).

Show that the method is of second order. (4) (20 pts) Show that if

Φ(t, x; h) =

k 1 (t, x) +

k 2 (t, x) +

k 3 (t, x)),

where k 1 (t, x) = f (t, x), k 2 (t, x) = f (t + 0. 5 h, x + 0. 5 hk 1 ), and k 3 (t, x) = f (t + h, x − hk 1 + 2hk 2 ) then the above R-K method (1) is of third order. (5) (20 pts) Let Φ(t, x; h) = f (t, x) + 0. 5 hg(t + 13 h, x + 13 f (t, x)),

g(t, x) =

∂f (t, x) ∂t

∂f (t, x) ∂x

.f (t, x).

Show that (1) with this Φ(t, x; h) is of order 3. (6) (20 pts) Consider the multistep methods of Problem 2. Use the criteria developed in class to study the (a) consistency, (b) the stability, (c) the A-stability (asymptotic stability).

1