Lagrange's Interpolation Method PDF
Lagrange's Interpolation Method PDF
Lagrange's Interpolation Method PDF
P. Sam Johnson
y = p(x)
passes through a finite set of given data points. The function p(x) is
known as the interpolating function or smoothing function.
Simply multiplying each basis with the corresponding sample value, and
adding them all up yields the interpolating polynomial
4
X
p(x) = f (xk )Lk (x).
k=0
The next step is to calculate a remainder term or bound for the error
involved in approximating a function by an interpolating polynomial. This
is done in the following theorem.
(x − x0 )(x − x1 ) · · · (x − xn ) (n+1)
f (x) = p(x) + f (ξ(x)),
(n + 1)!
where p(x)
P is the interpolating polynomial given by
p(x) = nk=0 f (xk )Lk (x).
Error bounds for these techniques are obtained from the “Lagrange error
formula”.
Note that the error for the Lagrange polynomial is quite similar to that for
the Taylor polynomial.
(x − x0 )n+1 (n+1)
f (ξ).
(n + 1)!
(x − x0 )(x − x1 ) · · · (x − xn ) (n+1)
f (ξ).
(n + 1)!
Similarly, we can extend the said procedure for functions of three variables.
On the other hand, the process of estimating the value of x for a value of
y is called inverse interpolation. When the values of y are unequally
spaced, Lagrange’s method is used and when the values of y are equally
spaced, the following iterative method is used.
To find the third approximation, retaining the term with third differences
in (1) and replacing p by p2 , we get
1 p2 (p2 − 1) 2 p2 (p2 − 1)(p2 − 2) 3
p3 = yp − y0 − ∆ y0 − ∆ y0
∆y0 2! 3!
We shall discuss later some more formulae for finding roots of an equation.
3x 2 + x + 1
(x − 1)(x − 2)(x − 3)
Ua (b 2 − c 2 )
P
x= P .
2 Ua (b − c)