Professional Documents
Culture Documents
for the unknown y : [0, ∞) → R. Here the function f : [0, ∞) × R → R and y0 ∈ R are
given.
We will be further assuming, throughout this problem sheet, that the function f (t, y) is
Lipschitz continuous with respect to the y variable, i.e. there exists a constant Λ > 0
such that
Take 0 < h 1 to be the time step and let ti = ih be the mesh points with i = 0, 1, 2, . . .
We shall denote the approximation to y(t) at ti by yi ∈ R, i.e.
yi ≈ y(ti ) for i = 1, 2, . . .
Taking the parameter θ ∈ [0, 1], let us consider the following time-stepping methods:
and
(i) Determine the order (local truncation error) of the method given by (3).
(ii) Determine the order (local truncation error) of the method given by (4).
(iii) In both the methods (3) and (4), comment on their orders when the parameter
θ = 21 .
Page 1 of 3
MA 214, Spring 2021 IIT Bombay
3. (Convergence of a numerical method) The goal of this exercise is to show that the ap-
proximation obtained by the theta-method (3) converges to the exact solution y(t) of
the differential equation (2) on an interval [0, T ] with T < ∞ fixed.
More precisely, let us denote the error committed at the ith time step by:
where we have used the notation bβc ∈ Z to denote the integer part of β.
lim Eh = 0.
h→0
(i) Find an upper bound on the error in approximating the value of y(1) computed
using the (forward) Euler’s method in terms of the step size h.
(ii) For the choices of h = 0.5, 0.25, 0.2, obtain approximate values of y(1) using (for-
ward) Euler’s method.
(iii) Find the error involved in the approximate value of y(1) obtained in (ii) above by
comparing with the exact solution.
5. Let 0 < α < 1. Check whether or not the Euler’s and the Trapezoidal methods deter-
mines an approximation to the non-trivial solution of the initial value problem:
0
y (t) = y α ,
y(0) = 0.
Note that the ODE is in separable form and hence a non-trivial solution to initial value
problem can be found analytically.
Page 2 of 3
MA 214, Spring 2021 IIT Bombay
6. Using the Euler’s method , write the formula for approximating the solution to the initial
value problem:
0
y (t) = te−5t − 5y,
y(0) = 0.
Page 3 of 3