Interpolation and polynomial approximation
Interpolation and polynomial approximation
AND
POLYNOMIAL
APPROXIMATION
INTERPOLATION AND POLYNOMIAL
APPROXIMATION
INTERPOLATION:
Suppose we are given the following values of y = f(x) for a set of values of x.
x …………….
xx00
y ---------------
y = f(x) = --------------
LAGRANGE’S INTERPOLATION FORMULA
i = 0, j=1
=+
i = 1,j = 0
=+
i = 2, j = 0
=+
i = 3, j = 0
=+
LAGRANGE’S INTERPOLATION FORMULA
This is known as Lagrange Interpolation Formula for unequal interval. This formula can
be used irrespective of whether the values of are equally spaced
or not. It is simple and easy to remember but its application is not speedy. The main
draw back of it is that if another interpolation value is inserted then the interpolation
coefficient are required to be recalculated.
so the Lagrangian polynomial is perhaps the simplest way to exhibit the existence of
a polynomial for interpolation with unevenly spaced data. Data where the x value are
not equispaced often occurs as the result of experimental observations or when
historical
data are examined.
LAGRANGE’S INTERPOLATION FORMULA
Prob1: Use Lagrange’s interpolation formula to find the value of y when x = 10, if
the
value of x and y are given as below
X 5 6 9 11
Y 12 13 14 15
The Langrage’s formula has the drawback that if another interpolation value were
inserted, then the interpolation coefficient are required to be recalculated. This
labor of recomputing the interpolation coefficient is saved by using Newton General
Interpolation formula which employs what are called Divided Difference.
Before driving this formula, we shall first define these differences i.e.
If be given points, then First Divided Difference for the
argument is defined by the relation
DIVIDED DIFFERENCE
similarly and
and so on
DIVIDED DIFFERENCE
Newton’s Divided Difference Formula:
y = f(x) = f+
where f
DIVIDED DIFFERENCE
X f F.D.D S.D.D T.D.D
f f
f
f f
f f
f f f f
f f
f f
f f