0% found this document useful (0 votes)
67 views2 pages

Numerical Analysis: Interpolation Techniques

This document contains a numerical analysis tutorial sheet with 12 problems involving interpolation of functions using various techniques like Newton forward and backward difference formulas, Lagrange polynomials, Stirling's formula, and Bessel's formula. The problems involve constructing interpolating polynomials to approximate values, determining missing entries in divided difference tables, estimating derivatives, and more.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views2 pages

Numerical Analysis: Interpolation Techniques

This document contains a numerical analysis tutorial sheet with 12 problems involving interpolation of functions using various techniques like Newton forward and backward difference formulas, Lagrange polynomials, Stirling's formula, and Bessel's formula. The problems involve constructing interpolating polynomials to approximate values, determining missing entries in divided difference tables, estimating derivatives, and more.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Dr B R AMBEDKAR NIT JALANDHAR

NUMERICAL ANALYSIS (MACI-203)

Tutorial Sheet 3

(1) Use Newton forward difference formula to construct interpolating polynomial. Approx-
imate the specified value of each of the polynomials.
(a). f (0.25) if f (0.1) = −0.62049958, f (0.2) = −0.28398668, f (0.3) = 0.00660095, f (0.4)
= 0.24842440
(b). f ( −1
3
) if f (−0.75) = −0.07181250, f (−0.5) = −0.02475000, f (−0.25) = 0.33493750,
f (0) = 1.10100000.

(2) Use Newton backward difference formula to construct interpolating polynomial. Ap-
proximate the specified value of each of the polynomials.
(a). f (0.25) if f (0.1) = −0.62049958, f (0.2) = −0.28398668, f (0.3) = 0.00660095, f (0.4)
= 0.24842440
(b). f( −1
3
) if f (−0.75) = −0.07181250, f (−0.5) = −0.02475000, f (−0.25) = 0.33493750,
f (0) = 1.10100000.

(3) (a). Construct the interpolating polynomial of degree three for the unequally spaced
points given in the following table:
x -0.1 0.0 0.2 0.3
f (x) 5.30000 2.00000 3.19000 1.00000
(b). Add f (0.35) = 0.97260 to the table and construct the interpolating polynomial of
degree four.
Hint: Use Newton divided difference formula for unequally spaced points.

(4) (a). Approximate f (0.05) using the following data and the Newton forward difference
formula:
x 0.0 0.2 0.4 0.6 0.8
f (x) 1.00000 1.22140 1.49182 1.82212 2.22554
(b). Use the Newton backward difference formula to approximate f (0.65).
(c). Use Stirling’s formula to approximate f (0.43).
(5) Show that the polynomial interpolating the following data has degree 3.
x -2 -1 0 1 2 3
f (x) 1 4 11 16 13 -4
(6) The following data are given for a polynomial P (x) of unknown degree.

x 0 1 2
P (x) 2 -1 4
Determine the coefficient of x2 in P (x) if all third order forward difference are 1.
(7) For a function f , the forward-divided differences are given by
x0 = 0.0 f [x0 ]=?
f [x0 , x1 ] =?
50
x1 = 0.4 f [x1 ] =? f [x0 , x1 , x2 ] = 7
f [x1 , x2 ] = 10
x2 = 0.7 f [x2 ] = 6
Determine the missing entries in the table.
(8) For the given function f (x), let x0 = 0, x1 = 0.6 and x2 = 0.9. Construct interpolation
polynomials √of degree atmost one and atmost two to approximate f (0.45).
(a). f (x) = 1 + x (b). f (x) = cos x

(9) Use appropriate Lagrange interpolating polynomials to approximate each of the follow-
ing:
(a). f (8.4) if f (8.1) = 16.94410, f (8.3) = 17.56492, f (8.6) = 18.50515, f (8.7) = 18.82091.
(b). f (0.9) if f (0.6) = −0.17694460, f (0.7) = 0.01375227, f (0.8) = 0.22363362, f (1.0) =
0.65809197
(10) The following data represents the function f (x) = cos(x + 1).
x 0.0 0.2 0.4 0.6 0.8
f (x) 0.5403 0.3624 0.1700 -0.0292 -0.2272
Estimate f (0.5) using Stirling and Bessel’s interpolation formulae.
(11) The following data represents the function g(x) = sin x2
x
.
x 0.1 0.2 0.3 0.4 0.5
f (x) 9.9833 4.9667 3.2836 2.4339 1.9177
Estimate g(0.25) using Stirling and Bessel’s interpolation formulae.
(12) From the following table of values of x and y, obtain y 0 and y 00 for x = 2.0.
x 1.8 1.9 2.0 2.1 2.2
y 10.889365 12.703199 14.778112 17.148957 19.855030

Common questions

Powered by AI

Divided differences offer a recursive mechanism to construct coefficients of the interpolation polynomial for unequally spaced data points. They generate a series of nested terms that account for varied intervals, unlike the fixed steps in equally spaced data. This method concentrates on the incremental change between points, crucial for accurately translating data into a polynomial, as demonstrated in constructing higher-degree polynomials .

Stirling’s formula is a central difference interpolation formula useful when the interpolation point is near the center of the data set. It combines forward and backward differences and averages them out to provide a balanced approximation. For example, with the dataset x = [0.0, 0.2, 0.4, 0.6, 0.8] and corresponding f(x) values, Stirling's interpolation can estimate f(0.43) by using these midpoint differences to achieve greater accuracy than edge-biased formulas like Newton's .

Unequally spaced points require the use of the Newton divided difference formula, which accounts for the varying distances between x values. This method generates coefficients based on the actual spacing of the points, ensuring the constructed polynomial accurately reflects the dataset. In contrast, equally spaced points can employ simpler methods like Newton's forward or backward formulas, which use consistent interval differences .

Approximating derivatives using tabular values involves using finite differences to estimate the derivative based on nearby function values. For example, y' and y'' at a given x = 2.0 are estimated by applying formulas like forward or backward differences to adjacent y values (e.g., 10.889365 at x = 1.8 and 12.703199 at x = 1.9). This method leverages the proximity of these values for an effective approximation, while considering the error bounds inherent in finite difference methods .

Newton's forward difference formula uses the concept of finite differences for function values at equal intervals. Given f(0.1) = -0.62049958, f(0.2) = -0.28398668, f(0.3) = 0.00660095, and f(0.4) = 0.24842440, we can express the function f(x) as a polynomial using these consecutive differences to construct a formula that estimates f(0.25). The formula begins with the first function value and incrementally builds upon it using these differences to calculate higher terms .

Newton's forward difference formula is suitable for interpolating values near the beginning of the dataset (smallest x value), whereas Newton's backward difference formula is more effective near the end of the dataset (largest x value). The choice between them depends on the point of interest relative to the provided data points. Both methods involve finite differences but calculate them in opposite directions, which influences the pattern and complexity of their coefficients .

Bessel’s interpolation formula allows for estimating function values near the midpoint of an even number of equally spaced points. It combines centric differences, incorporating elements from both forward and backward differences for balanced accuracy. This approach is especially useful in reducing interpolation errors where symmetry around the point of interest is desirable, as in estimating g(0.25) with closely spaced points, offering an advantage over more singular approaches like Newton's when precision is paramount .

The degree of a polynomial interpolating data points is determined by the number of points minus one if the polynomial passes through all points exactly. For example, with six data points x = [-2, -1, 0, 1, 2, 3], a polynomial that fits these points uniquely has a degree of three, considering the behaviors and patterns indicated by data and changes in f(x) values .

Lagrange interpolating polynomials provide an explicit formula for polynomial interpolation by summing weighted terms, called Lagrange basis polynomials, directly related to all given data points. Unlike Newton's methods, which incrementally build terms using finite differences, Lagrange polynomial construction considers all points simultaneously, allowing more flexibility in the presence of unequally spaced data. It's particularly useful for deriving a polynomial expression for a provided subset of points, such as approximating f(0.9) using given values .

Consistent nonzero high-order finite differences, such as constant third-order forward differences, imply the presence of higher-degree terms in the polynomial. For example, given P(x) values with consistent third-order differences of 1, this indicates that the quadratic coefficient is nonzero, contributing significantly to the shape and behavior of the polynomial. This insight directs the formulation of such coefficients when constructing P(x) or similar functions .

You might also like