Loading
Lagrange Interpolation builds a weighted combination of basis polynomials where each basis equals at its own point and at all other points—making it ideal for non-uniform data without computing difference tables!
Given the unequally spaced dataset:
| x | 5 | 6 | 9 | 11 |
|---|---|---|---|---|
| y | 12 | 13 | 14 | 16 |
Let's estimate the value at !
Calculate each basis fraction at :
Quick check: the weights always add up to 1.
Multiply each basis weight by its corresponding value:
Using Lagrange polynomial interpolation, the estimated value of at is 14.6667!
Including the point itself in its own product.
Mixing up the numerator and denominator.
Sign slips in the products.
Rounding the weights early.
Using it far outside the data.
Writing only the final answer.
Add this calculator to a new note, next to your own working. It stays live: change the numbers there any time.