L-6 Error
L-6 Error
Pn (xi ) = f (xi ), i = 0, 1, 2, · · · , n.
Errors in Polynomial Interpolation
Pn (xi ) = f (xi ), i = 0, 1, 2, · · · , n.
it holds
ϕ(y ) = f (y ) − Pn (y ) − cW (y ).
Fix an x such that a ≤ x ≤ b and x 6= xi for any i. We define a
constant
f (x) − Pn (x)
c= ,
W (x)
and another function
ϕ(y ) = f (y ) − Pn (y ) − cW (y ).
We find all the zeros for ϕ(y ). We see that xi0 s are zeros since
f (y ) − Pn (y )
f (n+1) (ξ) = cW (n+1) (ξ) = (n + 1)!
W (y )
n
1 Y
e(x) = f (x) − Pn (x) = f (n+1) (ξ) (x − xi ),
(n + 1)!
i=0