MATH 417 Lecture 15
« 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 .
Cauchy-Lipschitz / Picard-Lindelof Theorem
Theorem. Let be a stripe of the plane. Let .
If
- is continuous with respect to
- is Lipschitz continuous with respect to
then the initial value problem is well-posed.
Proof. [omitted].
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 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t \in \left[ 0,2 \right]} with Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle N = 4} .
Calculate Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle h = \frac{2-0}{4} = \frac{1}{2}}
| Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y_0 = \frac{1}{2}} | |
| Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t_1 = \frac{1}{2}} | Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y_1 = \frac{5}{4}} |
| Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t_2 = 1} | Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y_2 = \frac{9}{4}} |
| Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t_3 = \frac{3}{2}} | Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y_3 = \frac{27}{8}} |
| Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t_4 = 2} | Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y_4 = \frac{71}{16}} |
Error Estimate
Theorem. Let Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f : D \to \mathbb{R}}
- be continuous with respect to Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t}
- be Lipschitz-continuous with respect to Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y} with some Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle L}
- there is a Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle M > 0} such that Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \max_{t \in [a,b]} \left| y''(t) \right| \le M}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \left| y_i - y(t_i) \right| \le \frac{h \, M}{2L} \, \left( \mathrm{e}^{L \, (t_i - a)} - 1 \right)}
Proof.
Theorem. [Discrete Gronwall]. Assume we have a sequence Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a_i(s, r)} that satisfies Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a_{i+1} \le (1+s) \, a_i + r} for all Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle i} . Then Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a_{i+1} \le \mathrm{e}^{(i+1) \, s} \, \left( a_0 + \frac{r}{s} \right) - \frac{r}{s}}
Proof. [omitted].
The exact solution has form Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y(t_{i+1}) = y(t_i) + \int_{t_i}^{t_{i+1}} f(\tau, y(\tau)) \,\mathrm{d}\tau} . Let's integrate by parts substituting Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 1 = \frac{\mathrm{d}}{\mathrm{d}\tau} \left( \tau - t_{i+1} \right)} :
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\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 (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\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,