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 of mass 8 kg is given an upward initial velocity of 20 m/sec and then allowed to fall under the influence of gravity. Assume that the force in newtons due to air resistance is -16v , where v is the velocity of the object in m/sec. Determine the equation of motion of the object. If the object is initially 100 m above the ground, determine when the object will strike the ground.

An object of mass 100kg is released from rest from a boat into the water and allowed to sink. While gravity is pulling the object down, a buoyancy force of 1/40 times the weight of the object is pushing the object up (weight = mg). If we assume that water resistance exerts a force on the object that is proportional to the velocity of the object, with proportionality constant 10N-sec/m , find the equation of motion of the object. After how many seconds will the velocity of the object be 70 m/sec ?

In Problem 14, suppose we have the additional information that the population of alligators on the grounds of the Kennedy Space Center in 1993 was estimated to be 4100. Use a logistic model to estimate the population ofalligators in the year 2020. What is the predicted limiting population? [Hint: Use the formulas in Problem 12.

In Problem 21 it is observed that when the velocity of the sailboat reaches 5 m/sec, the boat begins to rise out of the water and “plane.” When this happens, the proportionality constant for the water resistance drops to b0 = 60 N-sec/m. Now find the equation of motion of the sailboat. What is the limiting velocity of the sailboat under this wind as it is planning?

On a hot Saturday morning while people are working inside, the air conditioner keeps the temperature inside the building at 24°C. At noon the air conditioner is turned off, and the people go home. The temperature outside is a constant35°Cfor the rest of the afternoon. If the time constant for the building is 4 hr, what will be the temperature inside the building at 2:00 p.m.? At 6:00 p.m.? When will the temperature inside the building reach27°C?

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