Professional Documents
Culture Documents
The following table gives the population of a city in U.S.A from 1950 to 2000.
In reviewing the population data, we can ask whether we can estimate the population in 1985
or even in 2010. Predictions can be obtained by utilizing a function, which fits the shown data.
This technique is known as interpolation to estimate intermediate values between the given data
points.
Interpolation is the process of estimating intermediate values between the given data points.
Polynomial interpolation includes calculation of the unique nth order polynomial fitting n+1
data points. The polynomial provides a formula for calculating intermediate values.
A1) Linear Interpolation: The simplest interpolation is to connect two data points with a
straight line.
Using the similat triangles
(f1(x) – f(x0)) / (x – x0) = (f(x1) – f(x0)) / (x1 – x0)
Example: Estimate the common logarithm of 10 using the linear interpolation technique.
a) Interpolate between log 6 = 0.77815 and log 14 = 1.1461
b) Interpolate between log 8 = 0.90309 and log 12 = 1.0792
c) Interpolate between log 9 = 0.95424 and log 11 = 1.0414
Compute the percent relative error depending on the true value of log 10.
A2) Quadratic Interpolation: One strategy for improving prediction is to introduce some
curvature in the line connecting the points; this can be accomplished with a quadratic
polynomial in the presence of three data points.
Linear interpolation formula is given below:
Example: Estimate the common logarithm of 10 using the second order Newton’s interpolating
polynomial. log 8 = 0.90309, log 9 = 0.95424 and log 11 = 1.04
A3) General Form of Newton’s Interpolating Polynomials: The linear interpolation formula
and quadratic interpolation formula can be generalized to fit an n-order polynomial to the n+1
data points.
The nth-order polynomial is
fn(x) = b0 + b1(x − x0)+ ………………. +bn(x − x0)(x − x1) · · · (x − xn−1)
n+1 data points can be used to evaluate the coefficients b0, b1, . . . , bn.