/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q18E Local versus Global Error. In de... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

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 91Ó°ÊÓ!

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

A red wine is brought up from the wine cellar, which is a cool 10°C, and left to breathe in a room of temperature 23°C. If it takes 10 min for the wine to reach 15°C, when will the temperature of the wine reach 18°C?

Early Monday morning, the temperature in the lecture hall has fallen to 40°F, the same as the temperature outside. At7:00a.m., the janitor turns on the furnace with the thermostat set at70°F. The time constant for the building is1k=2 hrand that for the building along with its heating system is1k1=12 hr. Assuming that the outside temperature remains constant, what will be the temperature inside the lecture hall at8:00a.m.? When will the temperature inside the hall reach65°F?

Beginning at time t=0, fresh water is pumped at the rate of 3 gal/min into a 60-gal tank initially filled with brine. The resulting less-and-less salty mixture overflows at the same rate into a second 60-gal tank that initially contained only pure water, and from there it eventually spills onto the ground. Assuming perfect mixing in both tanks, when will the water in the second tank taste saltiest? And exactly how salty will it then be, compared with the original brine?

A garage with no heating or cooling has a time constant of 2 hr. If the outside temperature varies as a sine wave with a minimum of 50°Fat2:00a.m.and a maximum of80°Fat2:00p.m., determine the times at which the building reaches its lowest temperature and its highest temperature, assuming the exponential term has died off.

In 1980 the population of alligators on the Kennedy Space Center grounds was estimated to be 1500. In 2006 the population had grown to an estimated 6000. Using the Malthusian law for population growth, estimate the alligator population on the Kennedy Space Center grounds in the year 2020.

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.