Polynomial Interpolation

Lagrange Interpolation

Assume that n data points are given, and that we would like to find an interpolating polynomial. There is an explicit formula, called the Lagrange interpolating formula, for writing down a polynomial of degree that interpolates the points. For example, suppose that we are given three points . Then the polynomial:

The main theorem behind polynomial interpolation is that:

Let be points in the plane with distinct . Then there exists one and only on polynomial of degree or less that satisfies for

Example of Lagrange Interpolation


Example of Lagrange Interpolation

Newton’s Divided Differences For Interpolation.


Properties of Newton's divided differences

example of Newton's Interpolation

Error of Polynomial Interpolation

Assume that is the (degree or less) interpolating polynomial fitting the points . The interpolation error is

Where

Chebyshev Interpolation

It is common to choose the base points xi for interpolation to be evenly spaced. In many cases, the data to be interpolated are available only in that form—for example, when the data consist of instrument readings separated by a constant time interval. It turns out that the choice of base point spacing can have a significant effect on the interpolation error. Chebyshev interpolation refers to a particular optimal way of spacing the points.

The motivation for Chebyshev interpolation is to improve control of the maximum value of the interpolation error.

Chebyshev Interpolation Nodes

On the interval ,

For . The inequality

Holds on .

Example of Chebyshev Interpolation Error


Example of Chebyshev Interpolation Error

Hermite Interpolation

In real world problem, we not only want the interpolation function go through all the points, but also want its differentials satisfy some value boundary conditions. Like find that satisfies


Hermite Interpolation

Hermite Interpolation With Lagrange Method

For given points , find polynomial that satisfies:

Solving it we have:

example of 2-order Hermite Interpolation


2-point Hermite Interpolation

Hermite Interpolation with Newton’s Differences


Hermite interpolation with newton's differences

See the example below.

example of Hermite interpolation with Newton's differences


example of Hermite interpolation with Newton's differences

Hermite Interpolation Error


Hermite Interpolation Error

Natural Cubic Splines Interpolation

Splines represent an alternative approach to data interpolation. In polynomial interpolation, a single formula, given by a polynomial, is used to meet all data points. The idea of splines is to use several formulas, each a low degree polynomial, to pass through the data points.

Properties of Splines

For all :

Example

example of natural cubic splines interpolation

给定三个插值节点:(-1,1), (1,1), (2,4),设插值函数为 S (x)。

  1. 对应每一个小区间内的插值函数:
  2. 除边界点外每个节点的一阶导数:
  3. 除边界点每个节点的二阶导数:
  4. 边界条件:
  5. 构造插值函数

  1. 解方程组,将以上节点代入方程组解得结果为: