Divided differences

In mathematics, divided differences is an algorithm, historically used for computing tables of logarithms and trigonometric functions.[citation needed] Charles Babbage's difference engine, an early mechanical calculator, was designed to use this algorithm in its operation.

Divided differences is a recursive division process. Given a sequence of data points , the method calculates the coefficients of the interpolation polynomial of these points in the Newton form.

It is sometimes denoted by a delta with a bar: or .

Definition

Given n + 1 data points where the are assumed to be pairwise distinct, the forward divided differences are defined as:

To make the recursive process of computation clearer, the divided differences can be put in tabular form, where the columns correspond to the value of j above, and each entry in the table is computed from the difference of the entries to its immediate lower left and to its immediate upper left, divided by a difference of corresponding x-values:

Notation

Note that the divided difference depends on the values and , but the notation hides the dependency on the x-values. If the data points are given by a function f, one sometimes writes the divided difference in the notation Other notations for the divided difference of the function ƒ on the nodes x0, ..., xn are:

Example

Divided differences for and the first few values of :

Thus, the table corresponding to these terms up to two columns has the following form:

Properties

Matrix form

The divided difference scheme can be put into an upper triangular matrix:

Then it holds

Polynomials and power series

The matrix contains the divided difference scheme for the identity function with respect to the nodes , thus contains the divided differences for the power function with exponent . Consequently, you can obtain the divided differences for a polynomial function by applying to the matrix : If and then This is known as Opitz' formula.

Now consider increasing the degree of to infinity, i.e. turn the Taylor polynomial into a Taylor series. Let be a function which corresponds to a power series. You can compute the divided difference scheme for by applying the corresponding matrix series to : If and then

Alternative characterizations

Expanded form

With the help of the polynomial function this can be written as

Peano form

If and , the divided differences can be expressed as where is the -th derivative of the function and is a certain B-spline of degree for the data points , given by the formula

This is a consequence of the Peano kernel theorem; it is called the Peano form of the divided differences and is the Peano kernel for the divided differences, all named after Giuseppe Peano.

Hermite–Genocchi formula

When ⁠⁠ is ⁠⁠ times continuously differentiable on a convex domain containing the nodes ⁠⁠, including the confluent case of repeated nodes in arbitrary order (see § Generalization), the divided difference can be expressed as an integral over a ⁠⁠-simplex ⁠⁠: where is the ⁠⁠-simplex.

Cauchy's integral formula

When ⁠⁠ is analytic on a simply connected domain ⁠⁠ containing the nodes ⁠⁠, including the confluent case of repeated nodes in arbitrary order (see § Generalization), the divided difference admits a contour integral representation via Cauchy's integral formula: where ⁠⁠ is a positively oriented, simple closed contour in ⁠⁠ enclosing all the nodes ⁠⁠.

Forward and backward differences

When the data points are equidistantly distributed we get the special case called forward differences. They are easier to calculate than the more general divided differences.

Given n+1 data points with the forward differences are defined as:
whereas the backward differences are defined as:
Thus the forward difference table is written as:
whereas the backwards difference table is written as:

The relationship between divided differences and forward differences is whereas for backward differences:[citation needed]

Explicit formula

When the data points are equispaced we can also derive an explicit formula for . For any fixed and such that ,

Proof. We prove this by induction on :

Base case: Let and . Then by definition , and

Induction step: Assume the above formula holds until and consider such that . By the recursive definition we have

We can use our inductive hypothesis on both members of the left side, and obtain

This can be rearranged as

where when . We obtain our thesis for by substituting the identity

Generalization

When some of the nodes ⁠⁠ coincide, the recursive definition of standard divided differences involves division by zero and can no longer be applied directly. In this confluent case, divided differences incorporate higher-order derivatives of the function ⁠⁠. The resulting values are known as confluent divided differences or generalized divided differences. Conceptually, node confluence bridges discrete divided differences and continuous calculus, replacing finite differences with exact higher-order derivatives as nodes coalesce.

Let ⁠⁠ consist of nodes with arbitrary repetitions and order. Suppose there are ⁠⁠ distinct values ⁠⁠ among the nodes, with corresponding multiplicities ⁠⁠ such that ⁠⁠. Let ⁠⁠ be a function that is ⁠⁠ times differentiable at ⁠⁠ for ⁠⁠.

Confluent divided differences can be defined as the limit: where ⁠⁠ are pairwise distinct nodes converging to ⁠⁠, provided the limit exists.

In practice, any confluent divided difference with arbitrarily ordered repeated nodes can be computed by first permuting the node sequence so that identical nodes are adjacent, and then constructing the divided difference table with an additional higher-order derivative substitution rule.

Divided differences remain symmetric in ⁠⁠ in the confluent case, satisfying: where ⁠⁠ is a permutation that reorders ⁠⁠.

Consider the case where ⁠⁠ reorders ⁠⁠ such that identical nodes become contiguous: In this case, the divided difference table is constructed using the standard recursive formula whenever the outer nodes are distinct. When evaluating divided differences on ⁠⁠ identical nodes ⁠⁠, the calculation reduces to and coincides with a scaled higher-order derivative of ⁠⁠: All other entries in the divided difference table are then computed using the standard recursive rule.

Generalized case example

To evaluate a confluent divided difference with non-adjacent repeated nodes, such as ⁠⁠, the node sequence is first permuted to group identical nodes contiguously: The evaluation then proceeds by constructing the divided difference table: Extracting and simplifying the rightmost entry from the resulting divided difference table yields:

See also

References

  1. ↑ Isaacson, Walter (2014). The Innovators. Simon & Schuster. p. 20. ISBN 978-1-4767-0869-0.
  2. ↑ de Boor 2005.
  3. ↑ Opitz, G. Steigungsmatrizen, Z. Angew. Math. Mech. (1964), 44, T52–T54
  4. ↑ Skof, Fulvia (2011-04-30). Giuseppe Peano between Mathematics and Logic: Proceeding of the International Conference in honour of Giuseppe Peano on the 150th anniversary of his birth and the centennial of the Formulario Mathematico Torino (Italy) October 2-3, 2008. Springer Science & Business Media. p. 40. ISBN 978-88-470-1836-5.
  5. ↑ de Boor 2005, p. 65.
  6. ↑ Higham 2008, Eq. (B.25).
  7. ↑ de Boor 2005, Eq. (51).
  8. ↑ Higham 2008, Eq. (B.29).
  9. ↑ Burden, Richard L.; Faires, J. Douglas (2011). Numerical Analysis (9th ed.). Cengage Learning. p. 129. ISBN 9780538733519.
  10. ↑ Dubeau 2020, p. 269.
  11. ↑ Abel, Ulrich; Ivan, Mircea; Riedel, Thomas (2004). "The mean value theorem of Flett and divided differences". Journal of Mathematical Analysis and Applications. 295 (1): 3. doi:10.1016/j.jmaa.2003.10.046. ISSN 0022-247X.
  12. ↑ de Boor 2005, p. 48.
  13. ↑ Dubeau 2020, p. 259.
  14. ↑ de Boor 2005, p. 56.
  15. ↑ Higham 2008, Appendix B.16.