MATH 417 Lecture 9

From Notes
Jump to navigation Jump to search

« previous | Tuesday, February 11, 2014 | next »


Section 4.1

Given the values , we want to approximate by a numerical rule.

  1. , where is the Lagrange polynomial

We are interested in the absolute error of (2).

We know the error of (1) is

If all points are equidistant (at a distance ), then the error is

By taking derivatives, we expect the error of (2) to be at most .

Taylor Series

Given 3 points , , and , what is the second derivative at the midpoint (). We expect it to be .

The Taylor Series expansions of and are

Where , and .

Adding both equations gives

Observe that we have

Hence our error is

for some (this is true by the mean value theorem: the average value of a function between two points is also a value of the function between the two points)


Richardson Extrapolation

From Taylor series expansion of centered at , we get

.

.

Taking gives

Let's call that last equation . Now we can recursively do :

Richardson Extrapolation on Taylor Series Rule

Suppose we want . Then we need 5 points.

To find the rule, we take , where

After some algebra, we get

Example: Undetermined Coefficients

Given points , , and , find an approximation of of order using the values , , and .

There are three ways to find this (unique) answer:

  1. find , differentiate, and plug in .
  2. Taylor series/undetermined coefficients:
    • Failed to parse (syntax error): {\displaystyle f(x_0+5h) = f(x_0) + 5h \, f'(x_0) + \frac{25h^2}{2} \, f''(x_0) + \frac{125h^3}{3!} \' f'''(x_0) + O(h^4)}
    • Take
    • We want the coefficient of to be 1 and the coefficient of to be 0, so and .
    • Plugging this back in gives
    • Simplified, our rule is