Polynomial Interpolation
Compare piecewise linear and cubic spline interpolation through a set of points.
Apurva Nakade
July 13, 2026
Interpolation approximates a function using simple pieces — straight line segments or low-degree polynomials — fit between a set of sample points. Numerical integration builds on the same idea: integrate the simple pieces instead of the function. Both let us work with unknown or expensive-to-evaluate functions using only a handful of samples.
Visual Math Lab would like to count page visits. It tells us which topics are being read, so that effort goes where it is most useful. No advertising, no personal information, and nothing shared with third parties. The mathematics you enter never leaves your browser. What is collected.
No cookies are stored by this site, at any point, for any purpose. This notice is shown because GDPR and the ePrivacy Directive require opt-in consent before any tracking technology runs, cookies or not.