1.4 KB · commit a9602da
Let y(x) be a polynomial of the nth degree so that y(x)=a0xn+a1xn−1+a2xn−2+⋯+an. Then we obtain
y(x+h)−y(x)=a0[(x+h)n−xn]+a1[(x+h)n−1−xn−1]+⋯=a0(nh)xn−1+a1′xn−2+⋯+an′,where a1′,a2′,…,an′ are the new coefficients.
The above equation can be written as Δy(x)=a0(nh)xn−1+a1′xn−2+⋯+an′, which shows that the first difference of a polynomial of the nth degree is a polynomial of degree (n−1). Similarly, the second difference will be a polynomial of degree (n−2), and the coefficient of xn−2 will be a0n(n−1)h2.
Thus the nth difference is a0n!hn, which is a constant. Hence, the (n+1)th, and higher differences of a polynomial of nth degree will be zero. Conversely, if the nth differences of a tabulated function are constant and the (n+1)th, (n+2)th, …, differences all vanish, then the tabulated function represents a polynomial of degree n. It should be noted that these results hold good only if the values of x are equally spaced. The converse is important in numerical analysis since it enables us to approximate a function by a polynomial if its differences of some order become nearly constant.