Polynomial Interpolation
Compares piecewise linear and natural cubic spline interpolation through a set of points.
Apurva Nakade
July 13, 2026
Piecewise interpolation methods approximate a function using simple pieces — straight line segments or low-degree polynomials — fit between a set of sample points. These methods are central to numerical analysis because they 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.
This site is meant for larger screens. If a plot isn't fully visible, tap its fullscreen button.