Jump to content

User:Wiki8881/Newtons Forward and Backward Interpolation

From Wikipedia, the free encyclopedia

Theorem

[edit]

For a polynomial of degree less than or equal to n, that interpolates at the nodes where . Let be the polynomial of degree less than or equal to n+1 that interpolates at the nodes where . Then is given by:where also known as Newton basis and .

Proof:

This can be shown for the case where :and when :By the uniqueness of interpolated polynomials of degree less than , is the required polynomial interpolation. The function can thus be expressed as:

Polynomial coefficients

[edit]

To find , we have to solve the lower triangular matrix formed by arranging from above equation in matrix form:

The coefficients are derived as

where

is the notation for divided differences. Thus, Newton polynomials are used to provide a polynomial interpolation formula of n points.[1]

Newton forward formula

[edit]

The Newton polynomial can be expressed in a simplified form when are arranged consecutively with equal spacing.

If are consecutively arranged and equally spaced with for i = 0, 1, ..., k and some variable x is expressed as , then the difference can be written as . So the Newton polynomial becomes

Since the relationship between divided differences and forward differences is given as:[2]Taking , if the representation of x in the previous sections was instead taken to be , the Newton forward interpolation formula is expressed as:which is the interpolation of all points after . It is expanded as:

Newton backward formula

[edit]

If the nodes are reordered as , the Newton polynomial becomes

If are equally spaced with for i = 0, 1, ..., k and , then,

Since the relationship between divided differences and backward differences is given as:[citation needed]taking , if the representation of x in the previous sections was instead taken to be , the Newton backward interpolation formula is expressed as:which is the interpolation of all points before . It is expanded as:

Lozenge Diagram

[edit]

A Lozenge diagram is a diagram that is used to describe different interpolation formulas that can be constructed for a given data set. A line starting on the left edge and tracing across the diagram to the right can be used to represent an interpolation formula if the following rules are followed:[3]

Lozenge Diagram: geometric representation of polynomial interpolations.
  1. Left to right steps indicate addition whereas right to left steps indicate subtraction
  2. If the slope of a step is positive, the term to be used is the product of the difference and the factor immediately below it. If the slope of a step is negative, the term to be used is the product of the difference and the factor immediately above it.
  3. If a step is horizontal and passes through a factor, use the product of the factor and the average of the two terms immediately above and below it. If a step is horizontal and passes through a difference, use the product of the difference and the average of the two terms immediately above and below it.

The factors are expressed using the formula:

Proof of equivalence

[edit]

If a path goes from to , it can connect through three intermediate steps, (a) through , (b) through or (c) through . Proving the equivalence of these three two-step paths should prove that all (n-step) paths can be morphed with the same starting and ending, all of which represents the same formula.

Path (a):

Path (b):

Path (c):

Subtracting contributions from path a and b:

Thus, the contribution of either path (a) or path (b) is the same. Since path (c) is the average of path (a) and (b), it also contributes identical function to the polynomial. Hence the equivalence of paths with same starting and ending points is shown. To check if the paths can be shifted to different values in the leftmost corner, taking only two step paths is sufficient: (a) to through or (b) factor between and , to through or (c) starting from .

Path (a)

Path (b)

Path (c)

Since , substituting in the above equations shows that all the above terms reduce to and are hence equivalent. Hence these paths can be morphed to start from the leftmost corner and end in a common point.[3]

Newton formula

[edit]

Taking negative slope transversal from to gives the interpolation formula of all the consecutively arranged points, equivalent to Newton's forward interpolation formula:

whereas, taking positive slope transversal from to , gives the interpolation formula of all the consecutively arranged points, equivalent to Newton's backward interpolation formula:

where is the number corresponding to that introduced in Newton interpolation.

Gauss formula

[edit]

Taking a zigzag line towards the right starting from with negative slope, we get Gauss forward formula:

whereas starting from with positive slope, we get Gauss backward formula:

Stirling formula

[edit]

By taking a horizontal path towards the right starting from , we get Stirling formula:

Stirling formula is the average of Gauss forward and Gauss backward formulas.

Bessel formula

[edit]

By taking a horizontal path towards the right starting from factor between and , we get Stirling formula:

  1. ^ Cite error: The named reference Epperson 2013 was invoked but never defined (see the help page).
  2. ^ Burden, Richard L.; Faires, J. Douglas (2011). Numerical Analysis (9th ed.). p. 129. ISBN 9780538733519.
  3. ^ a b Hamming, Richard W. (1986). Numerical methods for scientists and engineers (Unabridged republ. of the 2. ed. (1973) ed.). New York: Dover. ISBN 978-0-486-65241-2.