6 Polynomial approximation and interpolation
This chapter covers
- Polynomials and their properties.
- Using polynomial interpolation and approximation to describe continuous phenomena.
- Understanding power series and the balance between computation time and approximation accuracy.
- Circumventing the limitations of polynomials for data representation.
A polynomial is a simple mathematical object malleable enough to present the concepts of approximation and interpolation well.
You can often use polynomial approximations when you have a complex mathematical object and you want to represent it approximately as a simpler one. When you have a thousand data points you might want to approximate them as a single linear function. Such a scenario is called linear approximation or linear regression. Another example is when you have a complex trigonometric function, and you want to compute it using only multiplications and additions of numbers. This is usually done with power series.
When approximating we exchange accuracy for performance in computations. In data representation, we approximate to show a trend even though the actual data may be noisy and not fit the trend perfectly. The special case of precise approximation is called interpolation is also used in descriptive geometry for building curves and surfaces.