2.5 KB · commit a9602da
Let the function y(x), defined by the (n+1) points (xi,yi), i=0,1,2,…,n, be continuous and differentiable (n+1) times, and let y(x) be approximated by a polynomial ϕn(x) of degree not exceeding n such that ϕn(xi)=yi,i=0,1,2,…,n(3.1) If we now use ϕn(x) to obtain approximate values of y(x) at some points other than those defined by Eq. (3.1), what would be the accuracy of this approximation? Since the expression y(x)−ϕn(x) vanishes for x=x0,x1,…,xn, we put y(x)−ϕn(x)=LΠn+1(x),(3.2) where Πn+1(x)=(x−x0)(x−x1)…(x−xn)(3.3) and L is to be determined such that Eq. (3.2) holds for any intermediate value of x, say x=x′, x0<x′<xn. Clearly, L=Πn+1(x′)y(x′)−ϕn(x′).(3.4) We construct a function F(x) such that F(x)=y(x)−ϕn(x)−LΠn+1(x),(3.5) where L is given by Eq. (3.4) above,
It is clear that F(x0)=F(x1)=⋯=F(xn)=F(x′)=0, that is, F(x) vanishes (n+2) times in the interval x0≤x≤xn; consequently, by the repeated application of Rolle's theorem (see Theorem 1.3, Section 1.2), F′(x) must vanish (n+1) times, F′′(x) must vanish n times, etc., in the interval x0≤x≤xn. In particular, F(n+1)(x) must vanish once in the interval.
Let this point be given by x=ξ, x0<ξ<xn. On differentiating Eq. (3.5) (n+1) times with respect to x and putting x=ξ, we obtain 0=y(n+1)(ξ)−L(n+1)! so that L=(n+1)!y(n+1)(ξ).(3.6) Comparison of Eqs. (3.4) and (3.6) yields the results y(x′)−ϕn(x′)=(n+1)!y(n+1)(ξ)Πn+1(x′). Dropping the prime on x′, we obtain
which is the required expression for the error. Since y(x) is, generally, unknown and hence we do not have any information concerning y(n+1)(x), formula (3.7) is almost useless in practical computations. On the other hand, it is extremely useful in theoretical work in different branches of numerical analysis. In particular, we will use it to determine errors in Newton's interpolating formulae which will be discussed in Section 3.6.