Recall the existence (and uniqueness) of solutions to first order initial value problems, particularised to .
Theorem 1. Let be a closed rectangle. Fix
. Suppose
is a map that satisfies the following properties:
- For any
,
is continuous.
- There exists
such that for any
, for any
,
. In this case, we say that
is
-Lipschitz in the second argument.
Then there exists and a unique function
that satisfies the initial value problem
for .
Proof. See this post.
Many a time, even if such a function exists, we may not have any analytic solution for it, for instance:
In this exercise, we prove that the approximate solution obtained from Euler’s method converges to the unique . We will assume
for simplicity, and aim to compute
. We will also assume that
is continuous for simplicity.
Theorem 2 (Euler’s Method). Suppose we have ,
. For any
such that
without loss of generality, define
. For
, define
Then there exists a universal constant such that applying Euler’s method with
steps,
.
Proof. Problem 3, which you will prove later.
Theorem 2 states that as we decrease the step size (that is, take ), we obtain an increasingly accurate estimate for
, since
.
The goal of this post is to prove Theorem 2. Firstly, we fix . For each
, let
denote the result obtained from applying one step of Euler’s method to
. Define
. In particular,
Problem 1. Define . For each
, prove that
.
(Click for Solution)
Solution. By the definition of ,
Hence,
By Taylor’s theorem, there exists such that
Therefore,
Problem 2. For each , prove that
.
(Click for Solution)
Solution. By definition,
Since is Lipchitz in the second argument, by the triangle inequality,
Problem 3. Find a universal constant , that does not depend on
, such that
.
(Click for Solution)
Solution. Combining Lemmas 1 and 2,
Illustrating using ,
In a similar manner, by induction and the geometric series,
On the one hand, , so that
On the other hand, since ,
so that
Particularising to , since
,
where .
—Joel Kindiak, 11 Jul 25, 1612H
Leave a comment