Interpolation & ApproximationBeginner
Lagrange Interpolation — Comprehensive Theory & Worked Example
Lagrange Interpolation finds the polynomial P(x) of degree n-1 that passes through n given data points (x0, y0), ..., (xn-1, yn-1).
Mathematical Theory & Principles
Uses basis polynomials L_i(x) = Π_{j≠i} (x - x_j) / (x_i - x_j) such that L_i(x_j) = δ_ij.
Mathematical Formula & Convergence Criteria
P(x) = \sum_{i=0}^{n-1} y_i L_i(x), \quad L_i(x) = \prod_{j=0, j \neq i}^{n-1} \frac{x - x_j}{x_i - x_j}
Step-by-Step Computational Algorithm
- 1Input n data points (xi, yi).
- 2For each point i, compute Lagrange basis polynomial Li(x).
- 3Sum products yi * Li(x) to obtain interpolated value P(x).
Real-World Engineering Applications
- Computer graphics curve generation
- Data table lookup interpolation
- Numerical quadrature formula derivation
Advantages & Practical Limitations
Key Advantages
- •Explicit formula without needing linear system solution.
Known Limitations
- •Adding new data points requires recalculating all basis polynomials from scratch.
- •Runge's phenomenon at interval boundaries for high degrees.
Step-by-Step Worked Textbook Example
Problem Statement
Given (0, 1), (1, 3), (2, 2), evaluate at x = 1.5.
Iteration Execution & Steps
Step 1L0(1.5) = (0.5)(-0.5) / ((-1)(-2)) = -0.125
Step 2L1(1.5) = (1.5)(-0.5) / ((1)(-1)) = 0.75
Step 3L2(1.5) = (1.5)(0.5) / ((2)(1)) = 0.375
Step 4P(1.5) = 1(-0.125) + 3(0.75) + 2(0.375) = 2.875
Computed Solution:P(1.5) = 2.875.
Common Student Mistakes to Avoid:
- Using incorrect angle units (radians vs degrees) when evaluating trigonometric terms.
- Choosing bracketing intervals where f(a) and f(b) possess identical mathematical signs.
- Stopping iterations prematurely before achieving requested error tolerance (ε).
Frequently Asked Questions
Is Lagrange interpolation unique?▼
Yes, there is exactly one polynomial of degree < n passing through n distinct points.
Academic References & Further Reading
The theoretical formulations, stability conditions, and error bounds for Lagrange Interpolation are drawn from these standard numerical analysis textbooks:
- [1] Press, W. H., et al. (2007). Numerical Recipes (3rd ed.).
- [2] Steven C. Chapra, Applied Numerical Methods with MATLAB for Engineers and Scientists, 6th Edition, McGraw-Hill Education, 2024.
- [3] Richard L. Burden & J. Douglas Faires, Numerical Analysis, 10th Edition, Cengage Learning.
- [4] M. K. Jain, S. R. K. Iyengar, R. K. Jain, Numerical Methods for Scientific and Engineering Computation, 7th Edition, New Age International.