Docsity

Hermite Interpolation and Osculating Polynomials, Lecture notes of Calculus for Engineers

Toggle sidebar
bg1
Math 450
Section 3.4: Hermite Interpolation
Main Idea: The Lagrange interpolating polynomial, Pn(x), has been defined so that the polynomial agrees with
the original function f(x) at n+ 1 distinct input values x0,x1,··· , xn. On the other hand, Taylor polynomials
approximate a function using a single center point at which we know the value of the function and the value of
several derivatives. Our goal is to generalize both the Lagrange polynomial and the Taylor polynomial by forming
an interpolating polynomial that agrees with the function both at several distinct points and at a given number
of derivatives of the function at those distinct points. A polynomial that satisfies these conditions is called an
osculating polynomial.
Definition: Assume x0, x1,··· , xn∈[a, b] are n+ 1 distinct numbers. Also, assume m0, m1,··· , mnare nonneg-
ative integers where each integer, mi, corresponds with xi. Further assume f∈Cm[a, b] where m=max{mi:
0≤i≤n}. The osculating polynomial that approximates fis the polynomial P(x) of least degree such that
dkP(xi)
dxk=dkf(xi)
dxkfor each i= 0,1,· · · nand k= 0,1,··· , mi. That is:
f(x0) = P(x0), f ′(x0) = P′(x0), f′′ (x0) = P′′(x0),···f(m0)(x0) = P(m0)(x0),
f(x1) = P(x1), f ′(x1) = P′(x1), f′′ (x0) = P′′(x1),···f(m1)(x1) = P(m1)(x1),
.
.
.
f(xn) = P(xn), f ′(xn) = P′(xn), f′′ (xn) = P′′(xn),···f(mn)(xn) = P(mn)(xn).
Note: When there is a single point, x0, the osculating polynomial approximating fis the Taylor polynomial of
m0th degree.
Definition: The osculating polynomial of fformed when m0=m1=··· =mn= 1 is called the Hermite
polynomial.
Note: The graph of the Hermite polynomial of fagrees with fat n+ 1 distinct points and has the same tangent
lines as fat those n+ 1 distinct points.
Recall: The Lagrange coefficient polynomial is defined by:
Ln,k =(x−x0)···(x−xk−1)(x−xk+1)···(x−xn)
(xk−x0)···(xk−xk−1)(xk−xk+1)···(xk−xn)
Also, Ln,k(xi) = 0 if i6=k
1 if i=k
Theorem: Assume f∈C1[a, b] and x0, x1,··· , xn∈[, b] are distinct points. Then the unique polynomial of
degree less than or equal to 2n+ 1 is given by:
H2n+1(x) =
n
X
j=0
f(xj)Hn,j(x) +
n
X
j=0
f′(xj)ˆ
Hn,j(x)
where
Hn,j(x) = 1−2(x−xj)L′
n,j(xj)L2
n,j(x)
and
ˆ
Hn,j(x) = (x−xj)L2
n,j(x)
pf2

Partial preview of the text

Download Hermite Interpolation and Osculating Polynomials and more Lecture notes Calculus for Engineers in PDF only on Docsity!

Math 450 Section 3.4: Hermite Interpolation

Main Idea: The Lagrange interpolating polynomial, Pn(x), has been defined so that the polynomial agrees with

the original function f (x) at n + 1 distinct input values x 0 , x 1 , · · · , xn. On the other hand, Taylor polynomials

approximate a function using a single center point at which we know the value of the function and the value of

several derivatives. Our goal is to generalize both the Lagrange polynomial and the Taylor polynomial by forming

an interpolating polynomial that agrees with the function both at several distinct points and at a given number

of derivatives of the function at those distinct points. A polynomial that satisfies these conditions is called an

osculating polynomial.

Definition: Assume x 0 , x 1 , · · · , xn ∈ [a, b] are n + 1 distinct numbers. Also, assume m 0 , m 1 , · · · , mn are nonneg-

ative integers where each integer, mi, corresponds with xi. Further assume f ∈ Cm[a, b] where m = max{mi :

0 ≤ i ≤ n}. The osculating polynomial that approximates f is the polynomial P (x) of least degree such that

dk^ P (xi) dxk^ =^

dk^ f (xi) dxk^ for each^ i^ = 0,^1 ,^ · · ·^ n^ and^ k^ = 0,^1 ,^ · · ·^ , mi. That is:

f (x 0 ) = P (x 0 ), f ′(x 0 ) = P ′(x 0 ), f ′′(x 0 ) = P ′′(x 0 ), · · · f (m^0 )(x 0 ) = P (m^0 )(x 0 ),

f (x 1 ) = P (x 1 ), f ′(x 1 ) = P ′(x 1 ), f ′′(x 0 ) = P ′′(x 1 ), · · · f (m^1 )(x 1 ) = P (m^1 )(x 1 ),

.

.

.

f (xn) = P (xn), f ′(xn) = P ′(xn), f ′′(xn) = P ′′(xn), · · · f (mn)(xn) = P (mn)(xn).

Note: When there is a single point, x 0 , the osculating polynomial approximating f is the Taylor polynomial of

m 0 th degree.

Definition: The osculating polynomial of f formed when m 0 = m 1 = · · · = mn = 1 is called the Hermite

polynomial.

Note: The graph of the Hermite polynomial of f agrees with f at n + 1 distinct points and has the same tangent

lines as f at those n + 1 distinct points.

Recall: The Lagrange coefficient polynomial is defined by:

Ln,k =

(x − x 0 ) · · · (x − xk− 1 )(x − xk+1) · · · (x − xn)

(xk − x 0 ) · · · (xk − xk− 1 )(xk − xk+1) · · · (xk − xn)

Also, Ln,k(xi) =

0 if i 6 = k 1 if i = k

Theorem: Assume f ∈ C^1 [a, b] and x 0 , x 1 , · · · , xn ∈ [, b] are distinct points. Then the unique polynomial of

degree less than or equal to 2n + 1 is given by:

H 2 n+1(x) =

∑^ n

j=

f (xj )Hn,j (x) +

∑^ n

j=

f

′ (xj ) Hˆn,j (x)

where

Hn,j (x) =

[

1 − 2(x − xj )L

′ n,j (xj^ )

]

L

2 n,j (x)

and

Hˆ

n,j (x) = (x^ −^ xj )L

2 n,j (x)

Example: Suppose that f (0) = 2, f ′(0) = 1, f (1) = 4, f ′(1) = − 1 , f (3) = 5, f ′(3) = −2.

Find the Hermite interpolating polynomial and use it to approximate the value of f (2).

Solution:

L 2 , 0 (x) =

(x−1)(x−3) (0−1)(0−3) =^

1 3 x

3 x^ + 1. Therefore,^ L

′ 2 , 0 (x) =^

2 3 x^ −^

4

L 2 , 1 (x) =

(x−0)(x−3) (1−0)(1−3) =^ −^

1 2 x

2 x. Therefore,^ L

′ 2 , 1 (x) =^ −x^ +^

3

L 2 , 2 (x) =

(x−0)(x−1) (3−0)(3−1) =^

1 6 x

6 x. Therefore,^ L

′ 2 , 2 (x) =^

1 3 x^ −^

1

H 2 , 0 (x) =

[

1 − 2(x − 0)

3 (0)^ −^

4 3

)] [ 1

3 x

3 x^ + 1

] 2

8 3 x

) [ 1

3 x

3 x^ + 1

] 2

H 2 , 1 (x) =

[

1 − 2(x − 1)

)] [

− 12 x^2 + 32 x

] 2

= (2 − x)

[

− 12 x^2 + 32 x

] 2

H 2 , 2 (x) =

[

1 − 2(x − 3)

1 3 (3)^ −^

1 6

)] [

1 6 x

6 x

] 2

6 − 53 x

) [

1 6 x

6 x

] 2

H^ ˆ 2 , 0 (x) = (x − 0)

[ 1

3 x

3 x^ + 1

] 2

H^ ˆ 2 , 1 (x) = (x − 1)

[

1 2 x

2 x

] 2

H^ ˆ

2 , 2 (x) = (x^ −^ 3)^

[

1 6 x

6 x

] 2

H 5 (x) = 2

1 + 83 x

) [

1 3 x

3 x^ + 1

] 2

  • 4 (2 − x)

[

− 12 x^2 + 32 x

] 2

6 − 53 x

) [

1 6 x

6 x

] 2

  • 1(x)

[

1 3 x

3 x^ + 1

] 2

1(x − 1)

[

1 2 x

2 x

] 2

− 2(x − 3)

[ 1

6 x

6 x

] 2

H 5 (x) = − 56 x^5 + 7112 x^4 − 403 x^3 + 374 x^2 + x + 2

Using this, f (2) ≈ H 5 (2) = (^73)

Note: We also could have used a divided difference table incorporating repeated values and derivatives to find

this polynomial: