An interpolation function (or interpolant) approximates a function using a set of known, discrete points (also called nodes or interpolation points). For example, you can use an interpolation function to interpolate values given in a table.
The resulting function can be used to describe the function at every point in space.
Interpolation is used to interpolate values from computations. It can also be used to develop schemes for numerical integration and numerical differentiation.
Interpolation Function vs. Fitting Function
An interpolation function passes through all of the known points. In contrast, a fitting function doesn’t have to pass through all of the points— it can simply find the line that fits the best (Xue & Chen, 2008).
Types of Interpolation FunctionMany different types of interpolation function are available. Popular software packages usually have at least cubic spline interpolation and FFT, but those aren’t the only ones in existence. The more complicated interpolation functions are usually used when the “basic” interpolation methods don’t provide a good fit.
- Bulirsch-Stoer: Fits a polynomial function or rational function; Provides solutions of ordinary differential equations.
- Cubic spline: Fits a different cubic function between each pair of known points.
- FFT: Calculates the Fourier transform of a vector containing values of a periodic function, then calculates the inverse Fourier transform with more points.
- Lagrange Interpolating Polynomial: Fits a Lagrange polynomial—a linear combination of n degree n – 1 polynomials, where each equals zero at exactly n – 1 points (Dedford, 2020).
- Linear : fits a linear function to the points.
- Nearest neighbor: the value of an interpolated point is set to the value of its nearest known neighbor.
- Neville: interpolates a function at a given point with increasingly higher order Lagrange interpolation polynomials (Mitchell, 2020).
- Newton: Fits a polynomial function to “difficult” functions; allows for incremental interpolation (Verschelde, 2018).
Dedford, D. (2020). Lagrange Interpolation. Retrieved September 5, 2020 from: https://people.csail.mit.edu/ddeford/Lagrange_Interpolation.pdf
Mitchell, K. (2020). Neville’s Method. Retrieved September 5, 2020 from: http://people.math.sfu.ca/~kevmitch/teaching/316-10.09/neville.pdf
Verschelde, J. (2018). MCS 471 Lecture 7(b). Newton Interpolation. Numerical Analysis. Retrieved September 5, 2020 from:
Westerink, J. (2018). Lecture 2: Introduction to Interpolation. Retrieved September 5, 2020 from: https://coast.nd.edu/jjwteach/www/www/30125/pdfnotes/lecture2__5v14.pdf
Xue, D. & Chen, Y. (2008). Solving Applied Mathematical Problems with MATLAB. CRC Press.
Stephanie Glen. "Interpolation Function" From CalculusHowTo.com: Calculus for the rest of us! https://www.calculushowto.com/interpolation-function/
Need help with a homework or test question? With Chegg Study, you can get step-by-step solutions to your questions from an expert in the field. Your first 30 minutes with a Chegg tutor is free!