MATH 417 Lecture 7

From Notes
Jump to navigation Jump to search

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


Review

Finite and Divided Differences

Definition of finite difference:


If points are equidistant, then


Interpolating Polynomials

Lagrange Polynomials

, where

Basis for space of polynomials is

There are independent functions in .


Newton Polynomials

Basis for space of polynomials is


Hermite Polynomials

Interpolate function and derivative:

Find such that and for .


Find

Restrictions:

  • for all
  • if

, where is some constant

Take derivative to find :

Therefore .


Find

Restrictions:

  • for
  • for all .

, where is some constant.

Differentiating this function reveals . Therefore


Example

Use Newton's and Hermite's method to compute for ()

Newton
0 1 2
4 1 7
5 0 1

Starting point is

x f(x)
0  4
      5
0  4

1  1
      0
1  1

2  7
      1
2  7

Completed table is

x f(x)
0  4
       5
0  4      -8
      -3       11
1  1       3       -19/4
       0      3/2         -3/4
1  1       6       -25/4
       6      -11
2  7      -5
       1 
2  7


Hermite

First we need the lagrange polynomials:

Therefore, plugging these into the -part of our formula for gives


Now we need to find the derivatives of our lagrange polynomials above:

Evaluated at our points, we get

Plugging these values into the -part of our formula for gives


Quiz

Nothing from section 3.5

Most likely something to do with interpolating polynomials (if no method is specified, use Newton)