« previous | Tuesday, March 18, 2014 | next »
Chapter 5.1: Initial Value Problems
Definition: A differential equation of the form
given
Do we have a solution for
? If so, is it unique?
Example: Population Growth Model
If
, the population grows, and if
, the population decays.
These are the types of differential equations we will focus on.
Example: Harmonic Oscillator
and
Well-Posedness
An initial value problem is well-posed if and only if
- it has a unique solution (existence and uniqueness)
- continuous dependence of the solution with respect to (the initial data) +
.
there should exist a
and an
such that for all
such that given two initial value problems
. This is true if
.
Lipschitz Continuity
Let
. Then
is Lipschitz continuous with respect to the second variable if there exists a
such that
for all
.
Note:
represents a collection of points on the
plane
Cauchy-Lipschitz / Picard-Lindelof Theorem
Example 1
is
well-posed for
?
is continuous with respect to
since
is continuous
, hence
.
Example 2
is
well-posed for
We can find solutions
and
that satisfy the equation, so the solution is not unique, and therefore the problem is not well-posed.
Observe that
is continuous with respect to
, so there must be a discrepancy in the Lipschitz continuity:
holds true for
.
Chapter 5.2: Euler Method
In real life, analytical solutions to ODEs are rare. Instead, we approximate solutions.
for
.
We define
as our time-step function to discretize time into
samples:
for
.
We set
, so
. Now we use the fundamental theorem of calculus to construct solutions for
:
We approximate the value of the integral as follows:
Hence
for
.
In summary
Example
Construct an approximate solution for
for
with
.
Calculate
 |
|
 |
|
 |
|
 |
|
 |
|
Error Estimate
Proof.
The exact solution has form
. Let's integrate by parts substituting
:
Failed to parse (unknown function "\begin{align}"): {\displaystyle \begin{align} y(t_{i+1}) = y(t_i) + \int_{t_i}^{t_{i+1}} \left( \frac{\mathrm{d}}{\mathrm{d}\tau} \left( \tau - t_{i+1} \right) \right) \, \left( f(\tau, y(\tau)) \right) \,\mathrm{d}\tau &= y(t_i) + \left( t_{i+1} - t_i \right) \, f(t_i, y(t_i)) - \int_{t_i}^{t_{i+1}} \left( \tau - t_{i+1} \right) \, \frac{\mathrm{d}}{\mathrm{d}\tau} \left( f(\tau, y(\tau) \right) \right) \,\mathrm{d}\tau \\ &= y(t_i) + h \, f(t_i, y(t_i)) + \int_{t_i}^{t_{i+1}} \left( t_{i+1} - \tau \right) \, \frac{\mathrm{d}^2 y(t)}{\mathrm{d}\tau^2} \,\mathrm{d}\tau \end{align}}
Our approximation is as follows:
Hence the error is
Expanding this and simplifying gives
Failed to parse (syntax error): {\displaystyle \left| E_{i+1} \right| &\le \left| E_i \right| + h \, \left| f(t_i, y(t_i)) - f(t_i, \tilde{y}(t_i)) \right| + \int_{t_i}^{t_{i+1}} \left( t_{i+1} - \tau \right) \, \left| \frac{\mathrm{d}^2 y}{\mathrm{d}\tau^2} \right| \,\mathrm{d}\tau \\ &\le \left| E_i \right| + h\,L \, \left| y(t_i) - \tilde{y}(t_i) \right| + M \, \int_{t_i}^{t_{i+1}} \left( t_{i+1} - \tau \right) \,\mathrm{d}\tau \\ &= \left| E_i \right| + h \, L \, \left| E_i \right| + M \, \frac{h^2}{2} \\ &= \left( 1 + h \, L \right) \, \left| E_i \right| + \frac{M \, h^2}{2}}
By the lemma above,
quod erat demonstrandum