Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Local versus Global Error. In deriving formula (4) for Euler’s method, a rectangle was used to approximate the area under a curve (see Figure 3.14). With

\({\bf{g(t) = f(t,f(t))}}\), this approximation can be written as \(\int\limits_{{{\bf{x}}_{\bf{n}}}}^{{{\bf{x}}_{{\bf{n + 1}}}}} {{\bf{g(t)dt}} \approx {\bf{hg(}}{{\bf{x}}_{\bf{n}}}{\bf{)}}} \)where \({\bf{h = }}{{\bf{x}}_{{\bf{n + 1}}}}{\bf{ - }}{{\bf{x}}_{\bf{n}}}\) .

  1. Show that if g has a continuous derivative that is bounded in absolute value by B, then the rectangle approximation has error\(\left( {\bf{O}} \right){{\bf{h}}^{\bf{2}}}\); that is, for some constant M, \(\left| {\int\limits_{{{\bf{x}}_{\bf{n}}}}^{{{\bf{x}}_{{\bf{n + 1}}}}} {{\bf{g(t)dt - hg(}}{{\bf{x}}_{\bf{n}}}{\bf{)}}} } \right| \le {\bf{M}}{{\bf{h}}^{\bf{2}}}\).This is called the local truncation error of the scheme. [Hint: Write \(\int\limits_{{{\bf{x}}_{\bf{n}}}}^{{{\bf{x}}_{{\bf{n + 1}}}}} {{\bf{g(t)dt - hg(}}{{\bf{x}}_{\bf{n}}}{\bf{)}}} {\bf{ = }}\int\limits_{{{\bf{x}}_{\bf{n}}}}^{{{\bf{x}}_{{\bf{n + 1}}}}} {\left[ {{\bf{g(t)dt - g(}}{{\bf{x}}_{\bf{n}}}{\bf{)}}} \right]{\bf{dt}}} \). Next, using the mean value theorem, show that\(\left| {{\bf{g(t)dt - g(}}{{\bf{x}}_{\bf{n}}}{\bf{)}}} \right| \le {\bf{B}}\left| {{\bf{t - }}{{\bf{x}}_{\bf{n}}}} \right|\) . Then integrate to obtain the error bound\(\left( {\frac{{\bf{B}}}{{\bf{2}}}} \right){{\bf{h}}^{\bf{2}}}\).]
  2. In applying Euler’s method, local truncation errors occur in each step of the process and are propagated throughout the further computations. Show that the sum of the local truncation errors in part (a) that arise after n steps is (O)h. This is the global error, which is the same as the[ss1] [m2] convergence rate of Euler’s method.


Short Answer

Expert verified
  1. The required result gets by the mean value theorem i.e., \(\left| {\int\limits_{{x_n}}^{{x_{n + 1}}} {g\,\left( t \right)\,dt - hg\,\left( {{x_n}} \right)} } \right| \le M\,{h^2}\).
  2. The sum of the local truncation error arises after n steps i.e., \(O\left( h \right)\).

Step by step solution

01

Important hint.

For the solution apply mean value theorem.

02

Find the integral value.

Here \(\int\limits_{{x_n}}^{{x_{n + 1}}} {g\left( t \right)dt \approx hg\left( {{x_n}} \right)} \) where \(h = {x_{n + 1}} - {x_n}\)

Assume that g has a continuous derivative that is bounded by B.

\(\left| {g'\left( y \right)} \right| \le B\).

According to the mean value theorem

\(\begin{array}{c}\frac{{g\left( t \right) - g\left( {{x_n}} \right)}}{{t - {x_n}}} = g'\left( y \right)\\g\left( t \right) - g\left( {{x_n}} \right) = g'\left( y \right).\left( {t - {x_n}} \right)\\\left| {g\left( t \right) - g\left( {{x_n}} \right)} \right| \le B\left| {t - {x_n}} \right|\end{array}\)

03

Apply mode on an integral part.

Now,

\(\begin{array}{c}\left| {\int\limits_{{x_n}}^{{x_{n + 1}}} {g\left( t \right)dt - hg\left( {{x_n}} \right)} } \right| = \left| {\int\limits_{{x_n}}^{{x_{n + 1}}} {\left[ {g\left( t \right)dt - g\left( {{x_n}} \right)} \right]dt} } \right|\\ \le \int\limits_{{x_n}}^{{x_{n + 1}}} {\left| {g\left( t \right)dt - g\left( {{x_n}} \right)} \right|dt} \\ \le \int\limits_{{x_n}}^{{x_{n + 1}}} {B\left| {t - {x_n}} \right|dt} \\ = \left[ {\frac{{B\left( {t - {x_n}} \right)\left| {t - {x_n}} \right|}}{2}} \right]_{{x_n}}^{{x_{n + 1}}}\end{array}\)

\(\begin{array}{c} = - \left[ {\frac{{B\left( {{x_n} - {x_{n + 1}}} \right)\left| {{x_n} - {x_{n + 1}}} \right|}}{2}} \right]\\ = \frac{{B{h^2}}}{2}\end{array}\)

Let \(M = \frac{B}{2}\) then

\(\left| {\int\limits_{{x_n}}^{{x_{n + 1}}} {g\left( t \right)dt - hg\left( {{x_n}} \right)} } \right| \le M{h^2}\)

04

use the concept of part (a).

Let\(a = {x_n},b = {x_{n + 1}}\)

From part (a) the local truncation error of the scheme is \(\frac{{\left( B \right){h^2}}}{2}\) and \(h = \frac{{b - a}}{n}\).

05

Finding the result apply the result on n steps.

After n steps the result is

\(\begin{array}{c} = h\frac{{B\left( {b - a} \right)}}{2}\\ = O\left( h \right)\end{array}\)

Hence, the sum of the local truncation error arises after n steps i.e., \(O\left( h \right)\).

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

An object at rest on an inclined plane will not slide until the component of the gravitational force down the incline is sufficient to overcome the force due to static friction. Static friction is governed by an experimental law somewhat like that of kinetic friction (Problem 18); it has a magnitude of at mostN, where m is the coefficient of static friction and Nis, again, the magnitude of the normal force exerted by the surface on the object. If the plane is inclined at an angle a, determine the critical value0for which the object will slide ifa>ao but will not move fora<ao.

If the resistance in the RLcircuit of Figure 3.13(a) is zero, show that the current I (t) is directly proportional to the integral of the applied voltage E(t). Similarly, show that if the resistance in the RCcircuit of Figure 3.13(b) is zero, the current is directly proportional to the derivative of the applied voltage.

In Problems 23–27, assume that the rate of decay of a radioactive substance is proportional to the amount of the substance present. The half-life of a radioactive substance is the time it takes for one-half of the substance to disintegrate. If initially there are 50 g of a radioactive substance and after 3 days there are only 10 g remaining, what percentage of the original amount remains after 4 days?

A snowball melts in such a way that the rate of change in its volume is proportional to its surface area. If the snowball was initially 4 in. in diameter and after 30 min its diameter is 3 in., when will its diameter be 2 in.? Mathematically speaking, when will the snowball disappear?

Show that when the trapezoid scheme given in formula (8) is used to approximate the solutionf(x)=exofy'=y,y(0)=1 , at x = 1, then we get yn+1=1+h21-h2yn,n = 0, 1, 2, . . . , which leads to the approximation (1+h21-h2)1hfor the constant e.Compute this approximation for h= 1,10-1,10-2,10-3,and10-4and compare your results with those in Tables 3.4 and 3.5.

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free