Divided differences: Difference between revisions
(Created page with "==Definition== ===For a set of pairs of data points=== Given <math>k + 1</math> data points: <math>(x_0, y_0), (x_1, y_1), \dots, (x_k, y_k)</math> The '''forward divided...") |
No edit summary |
||
| Line 16: | Line 16: | ||
:<math>[y_\nu] := y_{\nu},\qquad \nu \in \{ 0,\ldots,k\}</math> | :<math>[y_\nu] := y_{\nu},\qquad \nu \in \{ 0,\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> | :<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> | ||
===For a function=== | |||
Suppose <math>f</math> is a function and <math>x_0, x_1, \dots, x_k</math> are points in the domain of <math>f</math>. The (forward or backward) '''divided difference''' of <math>f</math> for these points, denoted in any of these ways: <math>[x_0,x_1,\dots,x_k]f</math>, <math>[x_0,x_1,\dots,x_k;f]</math>, <math>D[x_0,x_1,\dots,x_k]f</math>, is defined as the (forward or backward respectively) divided difference for the set of pairs: | |||
<math>(x_0,f(x_0)), (x_1,f(x_1)), \dots, (x_k,f(x_k))</math> | |||
Revision as of 04:41, 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:
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: