Professional Documents
Culture Documents
Þ 3.4 Hermite Interpolation: Find The) F (X), P' (X) F ' (X),, P (X) F (X) For All I 0, 1,, N
Þ 3.4 Hermite Interpolation: Find The) F (X), P' (X) F ' (X),, P (X) F (X) For All I 0, 1,, N
4 Hermite Interpolation
Find the osculating polynomial P(x) such that P(xi) = f (xi), P’ (xi)
= f ’ (xi), …, P(m_i) (xi) = f (m_i) (xi) for all i = 0, 1, …, n.
1
Chapter 3 Interpolation and Polynomial Approximation -- Hermite Interpolation
Note:
F Given N conditions (and hence N equations), a polynomial of
degree N − 1 can be determined.
F The osculating polynomial that agrees with f and all its
derivatives of order ≤ m0 at one point x0 is just the Taylor
polynomial
f ( m0 ) ( x0 )
P ( x ) = f ( x0 ) + f ʹ( x0 )( x − x0 ) + ... + ( x − x0 ) m0
m0 !
f ( m0 +1) (ξ )
with remainder R( x ) = f ( x ) − ϕ ( x ) = ( x − x 0 ) ( m 0 +1 )
( m0 + 1)!
F The case when mi = 1 for each i = 0, 1, …, n gives the
Hermite polynomials .
1/13
3
4
Chapter 3 Interpolation and Polynomial Approximation -- Hermite Interpolation
Example: Suppose x0 ≠ x1 ≠ x2. Given f(x0), f(x1), f(x2) and f ’(x1), find
the polynomial P(x) such that P(xi) = f (xi),i = 0, 1, 2, and P’(x1) = f ’(x1).
Analyze the errors.
3.
Solution: First of all, the degree of P(x) must be …
Similar to Lagrange polynomials, we may assume the form of
Hermite polynomial as
2
∧
P3 ( x ) = Σ f ( x i ) hi ( x ) + f ’( x1) h1 ( x )
i =0
∧ ∧
where hi(xj) = δij , hi’(x1) = 0, h1 (xi) = 0, h1’(x1) = 1
hi ( x ) = [1 − 2 L'n, i ( xi )( x − xi )] L2n, i ( x )
∧
hi (x) All the roots x0 , …, xn have multiplicity 2 except xi ⇒
∧
hi ( x) = Ci ( x − xi ) Ln, i2(x) ∧
∧ hi (x) = ( x − xi ) Ln, i2(x)
i i) = 1 ⇒ Ci = 1
h’(x
2
2n f ( 2 n+ 2 ) (ξ x ) ⎡ n ⎤
If a = x0 < x1 < ... < xn = b, f ∈ C [a , b] , then Rn ( x ) = ( x − x i )⎥
( 2n + 2)! ⎢⎣∏ i =0 ⎦
3/13
Chapter 3 Interpolation and Polynomial Approximation -- Hermite Interpolation
∧
Quiz: Given xi = i +1, i = 0, 1, 2, 3, 4, 5. Which one is h2(x)?
y y
1- 1-
slope=1 ü
0.5 -
0.5-
0 1 2 3 4 5 6 x
-
0 1 2 3 4 5 6 x
4/13
Homework 8th
Part 1: Proof the following conclusion
Part 2:
3+8 4+7
2+1 5+6