3.2/
Neville’s Method
- What?
- Why?
- The lagrange Polynomial of the point \(x_{m_i}\):
- Method to recursively generate Lagrange polynomial:
- Method:
The Kth Lagrange Poly that interpolates f at the (k+1) points \(x_0,x_1,..,x_k\): - Examples:
\(P_{0,1} = \\ P_{1,2} = \\ P_{0,1,2} =\) __________________ \(P_{j,..,i} = \\ Q_{i,j} = \\ P_{i-j,..,i} = \\\)
- Generated according to the following Table:
- Method:
- Notation and subscripts:
-
Proceeding down the table corresponds to
-
Proceeding to the right corresponds to
-
To avoid the multiple subscripts, we let \(Q_{i,j}\), for \(0 \leq j \leq i\) be:
: \(Q_{i,j} =\)
-
- Algorithm:
- Stopping Criterion:
- Criterion:
- If the inequality is true, \(Q_{i,i}\) is
- If the inequality is false,
- Criterion:
3.3/
Divided Differences
- What?
- Form of the Polynomial:
- \(P_n(x) =\)
-
Evaluated at \(x_0\):
-
Evaluated at \(x_1\):
-
\(\implies a_1 = \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \\).
- \(P_n(x) =\)
- The divided differences:
- The zeroth divided difference of the function f with respect to \(x_i\):
- Denoted:
- Defined:
-
\(f[x_i] = \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \\).
-
The remaining divided differences are defined:
- The first divided difference of \(f\) with respect to \(x_i\) and \(x_{i+1}\):
- Denoted:
- Defined:
- The second divided difference of \(f\) with respect to \(x_i\), \(x_{i+1}\) and \(x_{i+2}\):
- Denoted:
- Defined:
- The Kth divided difference of \(f\) with respect to \(x_i\), \(x_{i+1},...,x_{i+k-1},x_{i+k}\):
- Denoted:
- Defined:
-
The process ends with
- The nth divided difference of \(f\) with respect to \(x_i\), \(x_{i+1},...,x_{i+k-1},x_{i+k}\):
- Denoted:
- Defined:
- The zeroth divided difference of the function f with respect to \(x_i\):
-
The Interpolating Polynomial:
\(P_n(x) =\) - Newton’s Divided Difference:
\(P_n(x) =\)
The value of \(f[x_0,x_1,...,x_k]\) is
- Generation of Divided Differences:
- Algorithm:
Forward Differences
- Forward Difference:
- The divided differences (with del notation):
\(f[x_0,x_{1}] = \\ f[x_0,x_{1},x_2] = \\\) and in general,
\(\\ f[x_0,x_{1},...,x_{k-1},x_{k}] \\\) - Newton Forward-Difference Formula:
Backward Differences
- Backward Difference:
- The divided differences:
and in general,
Consequently, the Interpolating Polynomial \
If we extend the binomial coefficient notation to
then \
- Newton Backward–Difference Formula:
Centered Differences
- What?
- Why?
- Stirling’s Formula:
- If \(n = 2m + 1\) is odd:
- If \(n = 2m\) is even: [we use the same formula but delete the last line]
- If \(n = 2m + 1\) is odd:
- Table of Entries: