Skip to main content

Abstract

Given the set of n + 1 data points,

$$\displaystyle{ \begin{array}{l|l|l|l|l} x_{0} & x_{1} & x_{2} & \ldots & x_{n} \\ \hline y_{0} & y_{1} & y_{0} & \ldots & y_{n} \end{array},\text{ with }x_{0} < x_{1} < \cdots < x_{n}, }$$

we have seen how we can obtain a polynomial function of degree (at most) n, \(p(x) = a_{n}x^{n} + a_{n-1}x^{n-1} + \cdots + a_{1}x + a_{0}\) that interpolates these points. That is:

$$\displaystyle{ p(x_{0}) = y_{0},p(x_{1}) = y_{1},\ldots,p(x_{n}) = y_{n}. }$$

This, however, has a major drawback: the polynomial can have a very high degree (up to n) and hence, the interpolating function can oscillate too much. The oscillation may be quite wild even when all the y-values of the data set given are essentially constant.

The original version of this chapter was revised. An erratum to this chapter can be found at DOI 10.1007/978-3-319-16739-8_8

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 29.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 39.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Atkinson, K., Han, W.: Elementary Numerical Analysis, 3rd edn. Wiley, New York (2003)

    Google Scholar 

  2. Blanco-Silva, F.J.: Learning SciPy for Numerical and Scientific Computing. Packt Publishing, Birmingham/Mumbai (2013)

    Google Scholar 

  3. Cheney, W., Kincaid, D.: Numerical Mathematics and Computing, 7th edn. Brooks/Cole: Cengage Learning, Boston (2013)

    Google Scholar 

  4. Epperson, J.F.: An Introduction to Numerical Methods and Analysis, revised edition. Wiley, New York (2007)

    Google Scholar 

  5. Sage Cell Server: http://sagecell.sagemath.org/

  6. Stein, W.A., et al.: Sage mathematics software (Version 6.3). The Sage development team. http://www.sagemath.org (2014). Retrieved 2014

  7. Stein, W.A.: Sage for power users. http://www.wstein.org/books/sagebook/sagebook.pdf (2012)

Download references

Author information

Authors and Affiliations

Authors

6.1 Electronic Supplementary Material

Below is the link to the electronic supplementary material.

Sage Code (TXT 14 kb)

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Anastassiou, G.A., Mezei, R.A. (2015). Spline Interpolation. In: Numerical Analysis Using Sage. Springer Undergraduate Texts in Mathematics and Technology. Springer, Cham. https://doi.org/10.1007/978-3-319-16739-8_6

Download citation

Publish with us

Policies and ethics