2.4 KB · commit a9602da
The statement y=f(x),x0≤x≤xn means: corresponding to every value of x in the range x0≤x≤xn, there exists one or more values of y. Assuming that f(x) is single-valued and continuous and that it is known explicitly, then the values of f(x) corresponding to certain given values of x, say x0,x1,…,xn can easily be computed and tabulated. The central problem of numerical analysis is the converse one: Given the set of tabular values (x0,y0),(x1,y1),(x2,y2),…,(xn,yn) satisfying the relation y=f(x) where the explicit nature of f(x) is not known, it is required to find a simpler function, say ϕ(x), such that f(x) and ϕ(x) agree at the set of tabulated points. Such a process is called interpolation. If ϕ(x) is a polynomial, then the process is called polynomial interpolation and ϕ(x) is called the interpolating polynomial. Similarly, different types of interpolation arise depending on whether ϕ(x) is a finite trigonometric series, series of Bessel functions, etc. In this chapter, we shall be concerned with polynomial interpolation only. As a justification for the approximation of an unknown function by means of a polynomial, we state here, without proof, a famous theorem due to Weierstrass (1885): if f(x) is continuous in x0≤x≤xn, then given any ε>0, there exists a polynomial P(x) such that ∣f(x)−P(x)∣<ε,for all x in (x0,xn).
This means that it is possible to find a polynomial P(x) whose graph remains within the region bounded by y=f(x)−ε and y=f(x)+ε for all x between x0 and xn, however small ε may be.
When approximating a given function f(x) by means of polynomial ϕ(x), one may be tempted to ask: (i) How should the closeness of the approximation be measured? and (ii) What is the criterion to decide the best polynomial approximation to the function? Answers to these questions, important though they are for the practical problem of interpolation, are outside the scope of this book and will not be attempted here. We will, however, derive in the next section a formula for finding the error associated with the approximation of a tabulated function by means of a polynomial.