Example 1. Given
the three distinct nodes
and
the function
.
Use recursion to construct the polynomial
.
Solution 1.
Remark. There are
three ways to construct
and
we will explore all three of them. To prevent confusion,
the latter two will be named
and
.
![[Graphics:../Images/NevilleAlgorithmMod_gr_83.gif]](../Images/NevilleAlgorithmMod_gr_83.gif)
Define
Define
using
and
.
![[Graphics:../Images/NevilleAlgorithmMod_gr_91.gif]](../Images/NevilleAlgorithmMod_gr_91.gif)
![[Graphics:../Images/NevilleAlgorithmMod_gr_92.gif]](../Images/NevilleAlgorithmMod_gr_92.gif)
Define
using
and
.
![[Graphics:../Images/NevilleAlgorithmMod_gr_97.gif]](../Images/NevilleAlgorithmMod_gr_97.gif)
![[Graphics:../Images/NevilleAlgorithmMod_gr_98.gif]](../Images/NevilleAlgorithmMod_gr_98.gif)
Define
using
and
.
![[Graphics:../Images/NevilleAlgorithmMod_gr_103.gif]](../Images/NevilleAlgorithmMod_gr_103.gif)
![[Graphics:../Images/NevilleAlgorithmMod_gr_104.gif]](../Images/NevilleAlgorithmMod_gr_104.gif)
1
(a). Define
using
and
.
![[Graphics:../Images/NevilleAlgorithmMod_gr_109.gif]](../Images/NevilleAlgorithmMod_gr_109.gif)
![[Graphics:../Images/NevilleAlgorithmMod_gr_110.gif]](../Images/NevilleAlgorithmMod_gr_110.gif)
1
(b). Define
using
and
.
![[Graphics:../Images/NevilleAlgorithmMod_gr_115.gif]](../Images/NevilleAlgorithmMod_gr_115.gif)
![[Graphics:../Images/NevilleAlgorithmMod_gr_116.gif]](../Images/NevilleAlgorithmMod_gr_116.gif)
1
(c). Define
using
and
.
![[Graphics:../Images/NevilleAlgorithmMod_gr_121.gif]](../Images/NevilleAlgorithmMod_gr_121.gif)
![[Graphics:../Images/NevilleAlgorithmMod_gr_122.gif]](../Images/NevilleAlgorithmMod_gr_122.gif)
Conclusion.
The three different methods of constructing
produce algebraically equivalent answers. Only the first
two methods are used in practice. They are the methods of
Aitken and Neville, respectively.
![[Graphics:../Images/NevilleAlgorithmMod_gr_125.gif]](../Images/NevilleAlgorithmMod_gr_125.gif)
![[Graphics:../Images/NevilleAlgorithmMod_gr_127.gif]](../Images/NevilleAlgorithmMod_gr_127.gif)
(c) John H. Mathews 2005