Section A — 1 Mark Questions
1. What is interpolation? [1 Mark]
Answer: Interpolation is the method of estimating the value of a function for any intermediate value of the independent variable, given a set of tabulated values of the function.
2. State the basic assumption made in polynomial interpolation. [1 Mark]
Answer: The basic assumption is that a given set of data points can be closely approximated by a polynomial function.
3. What is the degree of the interpolating polynomial passing through n distinct data points? [1 Mark]
Answer: At most n - 1.
4. When is Newton's forward interpolation formula preferred? [1 Mark]
Answer: It is preferred for finding values near the beginning of the tabulated set of values.
5. When is Newton's backward interpolation formula preferred? [1 Mark]
Answer: It is preferred for finding values near the end of the tabulated set of values.
6. Write the formula for the first forward difference Δy0. [1 Mark]
Answer: Δy0 = y1 - y0
7. Write the formula for the first backward difference ∇yn. [1 Mark]
Answer: ∇yn = yn - yn-1
8. What condition must be satisfied by the values of the independent variable x to apply Newton's forward or backward interpolation formulae? [1 Mark]
Answer: The values of x must be equally spaced.
9. Can Lagrange's interpolation formula be used for unequal intervals? [1 Mark]
Answer: Yes, Lagrange's formula can be used for both equal and unequal intervals.
10. What is the main drawback of Newton's forward interpolation formula when applied to data near the middle of a table? [1 Mark]
Answer: It does not converge rapidly and is inefficient for values in the middle of the table.
11. Define forward difference operator Δ. [1 Mark]
Answer: The operator Δ is defined as Δf(x) = f(x + h) - f(x), where h is the interval of differencing.
12. Define backward difference operator ∇. [1 Mark]
Answer: The operator ∇ is defined as ∇f(x) = f(x) - f(x - h), where h is the interval of differencing.
13. What is the relation between the backward difference operator ∇ and the shift operator E? [1 Mark]
Answer: ∇ = 1 - E-1
14. Write the general form of a polynomial of degree n in variable x. [1 Mark]
Answer: P(x) = a0 + a1x + a2x2 + ... + anxn
15. What type of data spacing does Lagrange's interpolation formula require? [1 Mark]
Answer: It does not require equally spaced data points.
16. What represents the term h in finite difference tables? [1 Mark]
Answer: The constant interval of differencing, given by h = xi+1 - xi.
17. If there are 4 data points, what is the highest order of forward differences that can be calculated? [1 Mark]
Answer: Third-order forward difference (Δ3).
18. What is the primary source of error in polynomial interpolation using higher-degree polynomials? [1 Mark]
Answer: Round-off errors and oscillatory behavior known as Runge's phenomenon.
19. State the expression for the semi-relative error in interpolation. [1 Mark]
Answer: The error is given by the truncation remainder term Rn(x) = (x - x0)(x - x1)...(x - xn) f(n+1)(ξ) / (n + 1)!
20. What does the term u represent in Newton's forward interpolation formula? [1 Mark]
Answer: u = (x - x0) / h
Section B — 2/3 Mark Questions
1. Explain the difference between interpolation and extrapolation. [2 Marks]
Answer: Interpolation is the process of estimating a value within the given range of discrete data points. Extrapolation is the process of estimating a value outside the given range of discrete data points.
2. Given the data points (0, 1), (1, 3), and (2, 7), construct the forward difference table. [3 Marks]
Answer:
x = 0, y = 1, Δy = 2, Δ2y = 2
x = 1, y = 3, Δy = 4, Δ2y = -
x = 2, y = 7, Δy = -, Δ2y = -
The first differences are 2 and 4, and the second difference is 2.
3. Write down Newton's forward interpolation formula and define its terms. [2 Marks]
Answer: The formula is y(x) = y0 + uΔy0 + u(u-1)Δ2y0 / 2! + ..., where u = (x - x0) / h, y0 is the initial value, h is the step size, and Δ represents the forward difference operator.
4. Why is Lagrange's interpolation formula considered more flexible than Newton's formulas? [2 Marks]
Answer: Lagrange's formula does not require the values of the independent variable to be equally spaced, unlike Newton's formulas. It also does not require the computation of finite difference tables.
5. Calculate the first backward difference for the function values y = [2, 5, 10, 17] given at equally spaced intervals of h = 1. [3 Marks]
Answer: The backward differences ∇yn = yn - yn-1 are calculated as follows:
∇y1 = 5 - 2 = 3
∇y2 = 10 - 5 = 5
∇y3 = 17 - 10 = 7
Thus, the first backward differences are 3, 5, and 7.
6. State the general expression for the truncation error in polynomial interpolation and identify the variables. [3 Marks]
Answer: The truncation error is given by Rn(x) = [Π(i=0 to n) (x - xi)] × f(n+1)(ξ) / (n+1)!, where f(n+1)(ξ) is the (n+1)-th derivative of the function at some point ξ in the interval, and xi are the node points.
7. Explain why high-degree polynomial interpolation can sometimes lead to poor results. [2 Marks]
Answer: High-degree polynomial interpolation can lead to excessive oscillation between data points, known as Runge's phenomenon, and amplifies round-off errors due to large arithmetic operations.
8. Given two points (x0, y0) and (x1, y1), write the Lagrange's fundamental polynomials L0(x) and L1(x). [3 Marks]
Answer:
L0(x) = (x - x1) / (x0 - x1)
L1(x) = (x - x0) / (x1 - x0)
These polynomials satisfy the property that Li(xj) = 1 if i = j and 0 if i ≠ j.
9. How does the shift operator E relate to the forward difference operator Δ? Prove the relation. [3 Marks]
Answer: The shift operator is defined as Ef(x) = f(x + h). By definition, Δf(x) = f(x + h) - f(x). Substituting the shift operator gives Δf(x) = Ef(x) - f(x) = (E - 1)f(x). Therefore, Δ = E - 1 or E = 1 + Δ.
10. Briefly describe the condition under which Newton's backward formula is applied instead of forward formula. [2 Marks]
Answer: Newton's backward formula is applied when the value of the independent variable x lies near the end of the tabulated dataset, ensuring better convergence using backward differences.
Section C — 5 Mark Questions
1. Derive and explain Newton's forward interpolation formula for equally spaced intervals. [5 Marks]
Answer:
Introduction
Newton's forward interpolation formula is a finite difference interpolation technique used to estimate function values near the beginning of a set of equally spaced tabular data.
Derivation Explanation
Let the function y = f(x) be given at equally spaced points x0, x1, x2, ..., xn separated by an interval h, so that xi = x0 + ih. Using the shift operator E, where E = 1 + Δ, we can express the value of the function at any point x = x0 + uh as:
y(x) = y(x0 + uh) = Eu y0 = (1 + Δ)u y0
Expansion Using Binomial Theorem
Expanding (1 + Δ)u using the generalized binomial theorem gives:
y(x) = [1 + uΔ + u(u-1)Δ2 / 2! + u(u-1)(u-2)Δ3 / 3! + ...] y0
y(x) = y0 + uΔy0 + (u(u-1) / 2!)Δ2y0 + (u(u-1)(u-2) / 3!)Δ3y0 + ...
Key Variables and Conclusion
Here, u = (x - x0) / h, and Δky0 represent the forward differences at the initial point. This formula provides an exact polynomial of degree n passing through n+1 points when higher-order differences vanish or terminate.
2. State and derive Lagrange's interpolation formula for unequal intervals. Discuss its advantages and limitations. [5 Marks]
Answer:
Introduction
Lagrange's interpolation formula is used to construct an interpolating polynomial that passes through a given set of data points, which do not need to be equally spaced.
Formula and Derivation
Let y = f(x) take values y0, y1, ..., yn at corresponding distinct points x0, x1, ..., xn. The Lagrange polynomial Pn(x) of degree at most n is expressed as a linear combination of basis polynomials:
Pn(x) = ∑(i=0 to n) Li(x) yi
Where the Lagrange basis polynomials Li(x) are defined as:
Li(x) = ∏(j=0, j≠i)n (x - xj) / (xi - xj)
Advantages and Limitations
- Advantage: Does not require equally spaced data points and avoids the computation of difference tables.
- Advantage: Simple and straightforward formula to program for computational implementation.
- Disadvantage: If a new data point is added, all basis polynomials must be recalculated from scratch.
- Disadvantage: Computationally intensive for a large number of data points.
3. Explain the concept of errors in polynomial interpolation. Discuss truncation error and how error bounds are estimated. [5 Marks]
Answer:
Introduction
Errors in polynomial interpolation arise because a discrete set of points is approximated by a continuous polynomial function. The total error generally comprises truncation error and round-off error.
Truncation Error Explanation
Truncation error, also known as interpolation error, occurs because we truncate the infinite series expansion of the function or approximate a complex function with a finite-degree polynomial. If Pn(x) is a polynomial of degree at most n interpolating f(x) at n+1 distinct points x0, x1, ..., xn in an interval [a, b], the error Rn(x) at any point x is given by:
Rn(x) = f(x) - Pn(x) = [Π(i=0 to n) (x - xi)] × f(n+1)(ξ) / (n+1)!
where ξ is some unknown point lying in the interval containing x and all xi.
Error Estimation and Bound
To estimate the maximum possible error, we find the maximum absolute value of the (n+1)-th derivative of the function over the interval [a, b]:
|Rn(x)| ≤ [max |Π(i=0 to n) (x - xi)| / (n+1)!] × max |f(n+1)(ξ)|
Concluding Observation
Minimizing truncation error depends heavily on the choice of node points xi and keeping the degree n moderate to prevent excessive oscillation or divergence of the error term.
4. Derive and explain Newton's backward interpolation formula. Compare it with Newton's forward interpolation formula. [5 Marks]
Answer:
Introduction
Newton's backward interpolation formula is used for interpolating values near the end of a set of equally spaced tabular data points using backward differences.
Derivation Explanation
Let the function values be given at equally spaced nodes x0, x1, ..., xn with step size h. To find the value at x = xn + vu, we use the shift operator relation E-1 = 1 - ∇:
y(x) = Ev yn = (1 - ∇)-v yn
Expanding using the negative binomial theorem gives:
y(x) = yn + v∇yn + v(v+1)∇2yn / 2! + v(v+1)(v+2)∇3yn / 3! + ...
where v = (x - xn) / h.
Comparison Table
| Feature | Newton's Forward Formula | Newton's Backward Formula |
|---|---|---|
| Table Reference | Uses beginning points (x0, y0) | Uses ending points (xn, yn) |
| Best Application | Interpolating near the start of the table | Interpolating near the end of the table |
| Difference Operator | Forward difference (Δ) | Backward difference (∇) |
| Parameter Definition | u = (x - x0) / h | v = (x - xn) / h |
5. Discuss the complete procedure of constructing an interpolation polynomial using finite differences, highlighting differences between forward and backward approaches with an example context. [5 Marks]
Answer:
Introduction
Constructing an interpolation polynomial involves organizing data into difference tables, selecting the appropriate forward or backward formula based on the location of the target value, and computing the estimated result.
Step-by-Step Procedure
- Step 1: Data Verification: Ensure that the independent variable values are equally spaced with a constant step size h.
- Step 2: Difference Table Construction: Construct the finite difference table to compute successive forward (Δ) or backward (∇) differences until higher-order differences become constant or negligible.
- Step 3: Formula Selection: If the required value x is near the beginning of the table, use Newton's forward formula. If x is near the end, use Newton's backward formula.
- Step 4: Parameter Calculation: Compute the normalized distance variable, either u = (x - x0) / h or v = (x - xn) / h.
- Step 5: Evaluation: Substitute the values into the respective series expansion and compute the final interpolated value.
Example Context
For instance, given temperature readings recorded every hour from 1:00 PM to 5:00 PM, to estimate the temperature at 1:15 PM, Newton's forward formula is utilized because 1:15 PM is near the beginning of the dataset. Conversely, to estimate the temperature at 4:45 PM, Newton's backward formula is chosen because it ensures faster convergence using values near the end of the table.