Professional Documents
Culture Documents
Sec. 3.4
Sec. 3.4
Sec. 3.4
4 Hermite Interpolation
Given a differentiable function 𝒇(𝒙) on [𝒂, 𝒃] and a set of
𝒏 + 𝟏 distinct values {𝒙𝟎 , 𝒙𝟏 , 𝒙𝟐 , … , 𝒙𝒏 } ∈ [𝒂, 𝒃]. Then there
exist a polynomial 𝑯(𝒙) of degree at most 𝟐𝒏 + 𝟏 such that
𝒇(𝒙𝒊 ) = 𝑯(𝒙𝒊 ) & 𝑓′(𝒙𝒊 ) = 𝑯′(𝒙𝒊 ) for 𝒊 = 𝟎, 𝟏, 𝟐, … , 𝒏.
𝟐𝒏+𝟏
+𝒇𝟎𝟏𝟐𝟑𝟒𝟓 (𝒙 − 𝒙𝟎 )𝟐 (𝒙 − 𝒙𝟏 )𝟐 (𝒙 − 𝒙𝟐 )
1
Example 1 Find the Hermite polynomial that interpolate
𝟏
𝒇(𝒙) = at {𝒙𝟎 = 𝟏, 𝒙𝟏 = 𝟐, 𝒙𝟐 = 𝟒}. Compute 𝑯𝟓 (𝟎. 𝟓), 𝑯𝟓 (𝟑)
𝒙
and 𝑯𝟓 (𝟓. 𝟓) . Find the exact error and comment on the results.
−𝟏
𝒇′(𝒙) =
𝒙𝟐
2
Example 2 Use 5-digit rounding arithmetic to find the Hermite
polynomial for the following data:
𝒙 𝒇(𝒙) 𝒇′ (𝒙)
0.8 0.22363 2.1692
1.0 0.65809 2.0467