Lect Interpolation 24
Lect Interpolation 24
UNIT-II
interpolation
Interpolation
Joining the Dots
• Quite often functions may not be available explicitly
but only the values of the function at a set of
points.
• Interpolation is the problem of fitting a smooth
curve through a given set of points, generally as
the graph of a function.
• It is useful in data analysis (interpolation is a form
of regression), industrial design, signal processing
(digital-to-analog conversion) and in numerical
analysis.
• Interpolation is the problem of obtaining the
value of a function for any given functional
information about it
Interpolation
True function
• Approximating Approx 1
polynomial Approx 2
(interpolating
polynomial) should
pass through all the
known points.
• Where it does not pass
through the points it
should be close to the
function.
Interpolating Polynomials
True function
• Note that the interpolating Approx 1
polynomial may miss Approx 2
points of discontinuity.
• There is only one
interpolating polynomial
P(xi) or less that matches
the exact values; f(x0),
f(x1),…, f(xn) at n+1
distinct base points.
Interpolation
Objective: estimate intermediate values between
precise data points using simple functions
x x
Curve goes single Curve need not multiple
through data value go through data values
points points
y
f ( x) = ?
y( xi ) = ?
High-precision data points
xi x
Examples of Simple Polynomials