Divided differences: Difference between revisions
No edit summary |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 17: | Line 17: | ||
:<math>[y_\nu,\ldots,y_{\nu-j}] := \frac{[y_\nu,\ldots , y_{\nu-j+1}] - [y_{\nu-1},\ldots , y_{\nu-j}]}{x_\nu - x_{\nu-j}}, \qquad \nu\in\{j,\ldots,k\},\ j\in\{1,\ldots,k\}.</math> | :<math>[y_\nu,\ldots,y_{\nu-j}] := \frac{[y_\nu,\ldots , y_{\nu-j+1}] - [y_{\nu-1},\ldots , y_{\nu-j}]}{x_\nu - x_{\nu-j}}, \qquad \nu\in\{j,\ldots,k\},\ j\in\{1,\ldots,k\}.</math> | ||
====Alternative closed form expression==== | |||
Rather than the iterative definition, the following closed form definition is sometimes preferred for the forward divided difference: | |||
<math>[y_0,y_1,\dots,y_k] = \sum_{i=0}^k \left(\frac{y_i}{\prod_{j \ne i}(x_i - x_j)}\right)</math> | |||
===For a function=== | ===For a function=== | ||
| Line 22: | Line 27: | ||
<math>(x_0,f(x_0)), (x_1,f(x_1)), \dots, (x_k,f(x_k))</math> | <math>(x_0,f(x_0)), (x_1,f(x_1)), \dots, (x_k,f(x_k))</math> | ||
By definition, '''divided difference''' refers to the forward divided difference. | |||
====Alternative closed form expression==== | |||
<math>[x_0,x_1,\dots,x_k;f] = \sum_{i=0}^k \left(\frac{f(x_i)}{\prod_{j \ne i}(x_i - x_j)}\right)</math> | |||
==Definition as a function== | ==Definition as a function== | ||
Latest revision as of 04:56, 2 May 2014
Definition
For a set of pairs of data points
Given data points:
The forward divided differences are defined as:
The backward divided differences are defined as:
Alternative closed form expression
Rather than the iterative definition, the following closed form definition is sometimes preferred for the forward divided difference:
For a function
Suppose is a function and are points in the domain of . The (forward or backward) divided difference of for these points, denoted in any of these ways: , , , is defined as the (forward or backward respectively) divided difference for the set of pairs:
By definition, divided difference refers to the forward divided difference.
Alternative closed form expression
Definition as a function
Consider a function with domain a subset of . Suppose is a positive integer. Denote by the set of -tuples of pairwise distinct elements of . The -fold forward divided difference function is a function:
defined as:
Relation with operations on functions
| Method for constructing new functions from old | In symbols | Difference quotient in terms of the old functions and their difference quotients | Proof |
|---|---|---|---|
| pointwise sum | is the function is the function |
Divided difference of sum is sum of divided differences | divided differences are linear |
| pointwise difference | is the function | Divided difference of difference is difference of divided differences | divided differences are linear |
| scalar multiple by a constant | is the function where is a real number | divided differences are linear | |
| pointwise product | (sometimes denoted ) is the function (sometimes denoted is the function |
See product rule for divided differences | product rule for divided differences |
| pointwise quotient | is the function | ? | ? |
| composite of two functions | is the function | ? | chain rule for divided differences |