« previous | Tuesday, February 4, 2014 | next »
Review
Finite and Divided Differences
Definition of finite difference:
If points are equidistant, then
Interpolating Polynomials
Lagrange Polynomials
, where
Basis for space of polynomials
is
There are
independent functions in
.
Newton Polynomials
Basis for space of polynomials
is
Hermite Polynomials
Interpolate function and derivative:
Find
such that
and
for
.
Find 
Restrictions:
for all 
if 

, where
is some constant
Take derivative to find
:
Therefore
.
Find 
Restrictions:
for 

for all
.
, where
is some constant.
Differentiating this function reveals
. Therefore
Example
Use Newton's and Hermite's method to compute
for
(
)
Newton
|
0 |
1 |
2
|
|
4 |
1 |
7
|
|
5 |
0 |
1
|
Starting point is
x f(x)
0 4
5
0 4
1 1
0
1 1
2 7
1
2 7
Completed table is
x f(x)
0 4
5
0 4 -8
-3 11
1 1 3 -19/4
0 3/2 -3/4
1 1 6 -25/4
6 -11
2 7 -5
1
2 7
Hermite
First we need the lagrange polynomials:
Therefore, plugging these into the
-part of our formula for
gives
Now we need to find the derivatives of our lagrange polynomials above:
Evaluated at our points, we get
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} L_{2,0}'(0) &= -\frac{3}{2} \\ L_{2,1}'(1) &= 0 \\ L_{2,2}'(2) &= \frac{3}{2} \end{align}}
Plugging these values into the Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle H}
-part of our formula for
gives
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle H_5(x) = 4 \cdot \frac{(x-1)^2(x-2)^2}{4} \left( 1-2 \left( -\frac{3}{2} \right) x \right) + 1 \cdot x^2(x-2)^2 + 7 \cdot \frac{x^2(x-1)^2}{4} \left( 1 - 2 \cdot \frac{3}{2} (x-2) \right) + 5x \, \left( \frac{(x-1)(x-2)}{2} \right)^2 + 0 + 1 (x-2) \left( \frac{x(x-1)}{2} \right)^2}
Quiz
Nothing from section 3.5
Most likely something to do with interpolating polynomials (if no method is specified, use Newton)