Divided differences: Difference between revisions

From Calculus
(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 k+1 data points:

(x0,y0),(x1,y1),,(xk,yk)

The forward divided differences are defined as:

[yν]:=yν,ν{0,,k}
[yν,,yν+j]:=[yν+1,,yν+j][yν,,yν+j1]xν+jxν,ν{0,,kj},j{1,,k}.

The backward divided differences are defined as:

[yν]:=yν,ν{0,,k}
[yν,,yνj]:=[yν,,yνj+1][yν1,,yνj]xνxνj,ν{j,,k},j{1,,k}.

For a function

Suppose f is a function and x0,x1,,xk are points in the domain of f. The (forward or backward) divided difference of f for these points, denoted in any of these ways: [x0,x1,,xk]f, [x0,x1,,xk;f], D[x0,x1,,xk]f, is defined as the (forward or backward respectively) divided difference for the set of pairs:

(x0,f(x0)),(x1,f(x1)),,(xk,f(xk))