Error of euler's method with variable step

104 Views Asked by At

Let $a= t^0 \lt t^1 \lt … \lt t^N =b$ a random division of $[a,b]$ space where $h_n = t^{n+1} - t^n$ for $n=0,1,…,N-1$.

We consider the initial value problem $$ y'(t)=f(t,y(t))\text{ for } a \le t \le b \ \&\ y(a)= y_0 $$

Function $f \in ( C[a,b]×R )$ and satisfies the Lipschitz condition with constant $L>0$ for $a \le t \le b$

In addition, $M=\max|y''(t)|$ & $h=\max h_n $ for $0 \le n \le N-1$

Show that $| ε_n | \le M {h\over2L} [ e^{L(b-a)} -1]$

We define $ε_n =y( t^n )- y^n$ the error of Euler's method with variable step $h_n$ and by applying this method to the problem we conclude to this:

\begin{align} | ε_{n+1} | &\le (1+ h_n L)| ε_n | + h_n {h\over2} M \\ &\le M {h\over2} \Bigl[ h_n +(1+ h_n L) h_{n-1} +(1+ h_n L)(1+ h_{n-1} L) h_{n-2} + \\&\qquad\qquad…+(1+ h_n L)(1+ h_{n-1} L)\cdots(1+ h_1 L) h_0 \Bigr] \\ &\le M {h\over2} \Bigl[ h_n + e^{L(t^{n+1}-t^n)} ( t^n - t^{n-1} )+ e^{L(t^{n+1}-t^{n-1})} ( t^{n-1} - t^{n-2} )+ \\&\qquad\qquad…+ e^{L(t^{n+1}-t^1)} ( t^1 - t^0 )\Bigr] \\ &\le M {h\over2} \Bigl[ h_n + \int_{t^{n-1}}^{t^n} e^{L(t^{n+1}-s)} ds + \int_{t^{n-2}}^{t^{n-1}} e^{L(t^{n+1}-s)} ds + \\&\qquad\qquad…+ \int_{t^0}^{t^1} e^{L(t^{n+1}-s)} ds\Bigr] \\ &= M {h\over2} \Bigl[ h_n + \int_{t^0}^{t^n} e^{L(t^{n+1}-s)} ds\Bigr] \end{align}

At this point I have been stuck because I don't know how to get rid of the ' $h_n$ ' I would appreciate any help ..How could I continue in order to show this? Thanks in advance!!

1

There are 1 best solutions below

1
On

Just use $$ h_n=e^{L(t^{n+1}-t^{n+1})}·(t^{n+1}-t^n) \le \int_{t^n}^{t^{n+1}}e^{L(t^{n+1}-s)} $$ to get to $$ \int_{t^0}^{t^{n+1}}e^{L(t^{n+1}-s)}ds=\frac1L\left(e^{L(t^{n+1}-t^0)}-1\right). $$