Loading [MathJax]/extensions/TeX/boldsymbol.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

5: Interpolation

( \newcommand{\kernel}{\mathrm{null}\,}\)

Consider the following problem: Given the values of a known function y=f(x) at a sequence of ordered points x_{0}, x_{1}, \ldots, x_{n}, find f(x) for arbitrary x . When x_{0} \leq x \leq x_{n}, the problem is called interpolation. When x<x_{0} or x>x_{n} the problem is called extrapolation.

With y_{i}=f\left(x_{i}\right), the problem of interpolation is basically one of drawing a smooth curve through the known points \left(x_{0}, y_{0}\right),\left(x_{1}, y_{1}\right), \ldots,\left(x_{n}, y_{n}\right). This is not the same problem as drawing a smooth curve that approximates a set of data points that have experimental error. This latter problem is called least-squares approximation.

Here, we will consider three interpolation algorithms: (1) polynomial interpolation; (2) piecewise linear interpolation, and; (3) cubic spline interpolation.


This page titled 5: Interpolation is shared under a CC BY 1.0 license and was authored, remixed, and/or curated by Jeffrey R. Chasnov.

  • Was this article helpful?

Support Center

How can we help?