Jump to content

Newton polynomial: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Mitlap5 (talk | contribs)
No edit summary
Line 41: Line 41:
:<math>n_j(x) := \prod_{i=0}^{j-1} (x - x_i) \qquad j=0,\ldots,k</math>
:<math>n_j(x) := \prod_{i=0}^{j-1} (x - x_i) \qquad j=0,\ldots,k</math>


Using the these polynomials as a basis for <math>\Pi_k</math> we have to solve
Using these polynomials as a basis for <math>\Pi_k</math> we have to solve
:<math>
:<math>
\begin{bmatrix}
\begin{bmatrix}

Revision as of 05:59, 17 April 2006

In the mathematical subfield of numerical analysis, a Newton polynomial, named after its inventor Isaac Newton, is the interpolation polynomial for a given set of data points in the Newton form. The Newton polynomial is sometimes called Newton's divided differences interpolation polynomial because the coefficients of the polynomial are calculated using divided differences.

As there is only one interpolation polynomial for a given set of data points it is a bit misleading to call the polynomial Newton interpolation polynomial. The more precise name is interpolation polynomial in the Newton form.

Definition

Given a set of k+1 data points

where no two xj are the same, the interpolation polynomial in the Newton form is linear combination of Newton basis polynomials

with the Newton basis polynomials defined as

and the coefficients defined as

where

is the notation for divided differences.

Thus the Newton polynomial can be written as

General case

For the special case of , there is a closely related set of polynomials, also called the Newton polynomials, that are simply the binomial coefficients for general argument. That is, one also has the Newton polynomials given by

In this form, the Newton polynomials generate the Newton series. These are in turn a special case of the general difference polynomials which allow the representation of analytic functions through generalized difference equations.

Main idea

Solving an interpolation problems leads to a problem in linear algebra where we have to solve a matrix. Using a standard monomial basis for our interpolation polynomial we get the very complicated Vandermonde matrix. By choosing another basis, the Newton basis, we get a much simpler lower triangular matrix which can be solved faster.

For k+1 data points we construct the Newton basis as

Using these polynomials as a basis for we have to solve

to solve the polynomial interpolation problem.

This matrix can be solved recursively by solving

Application

As can be seen from the definition of the divided differences new data points can be added to the data set to create a new interpolation polynomial without recalculation the old coefficients. And when a data point changes we usually do not have to recalculate all coefficients. Furthermore if the xi are distributed equidistantly the calculation of the divided differences becomes significantly easier. Therefore the Newton form of the interpolation polynomial is usually preferred over the Lagrange form for practical purposes.


Example

The divided differences can be written in the form of a table. For example, for a function is to be interpolated on points . Write

the interpolating polynomial is formed as above using the topmost entries in each column as coefficients.

For example, if we are to construct the interpolating polynomial to using divided differences, at the points

we construct the table

Thus, the interpolating polynomial is

Neglecting minor numerical stability problems in evaluating the entries of the table, this polynomial is essentially the same as that obtained with the same function and data points in the Lagrange polynomial article.

See also