Trigonometric interpolation
From Wikipedia, the free encyclopedia
In mathematics, trigonometric interpolation is interpolation with trigonometric polynomials. Interpolation is the process of finding a function which goes through some given data points. For trigonometric interpolation, this function has to be a trigonometric polynomial, that is, a sum of sines and cosines of given periods. This form is especially suited for interpolation of periodic functions.
An important special case is when the given data points are equally spaced, in which case the solution is given by the discrete Fourier transform.
Contents |
[edit] Formulation of the interpolation problem
A trigonometric polynomial of degree n has the form
This expression contains 2n + 1 coefficients, a0, a1, … an, b1, …, bn, so we assume that we are given 2n + 1 interpolation conditions
Since the trigonometric polynomial is periodic with period 2π, it makes sense to assume that
(Note that we do not in general require these points to be equally spaced.) The interpolation problem is now to find coefficients such that the trigonometric polynomial p satisfies the interpolation conditions.
[edit] Solution of the problem
Under the above conditions, there exists a solution to the problem. Moreover, this solution is unique.
The solution can be written in a form similar to the Lagrange formula for polynomial interpolation:
This can be shown to be a trigonometric polynomial by employing the multiple-angle formula and other identities for sin ½(x − xj).
[edit] Formulation in the complex plane
The problem becomes more natural if we formulate it in the complex plane. We can rewrite the formula for a trigonometric polynomial as
where i is the imaginary unit. If we set z = eix, then this becomes
This reduces the problem of trigonometric interpolation to that of polynomial interpolation on the unit circle. Existence and uniqueness for trigonometric interpolation now follows immediately from the corresponding results for polynomial interpolation.
For more information on formulation of trigonometric interpolating polynomials in the complex plane see Interpolation using Fourier Polynomials.
[edit] Equidistant nodes and the discrete Fourier transform
The special case in which the points xk are equally spaced is especially important. In this case, we have
The transformation that maps the data points yk to the coefficients aj, bj is known as the discrete Fourier transform (DFT) of order 2n + 1.
(Because of the way the problem was formulated above, we have restricted ourselves to odd numbers of points. This is not strictly necessary; for even numbers of points, one includes another cosine term corresponding to the Nyquist frequency.)
The case of the cosine-only interpolation for equally spaced points, corresponding to a trigonometric interpolation when the points have even symmetry, was treated by Alexis Clairaut in 1754. In this case the solution is equivalent to a discrete cosine transform. The sine-only expansion for equally spaced points, corresponding to odd symmetry, was solved by Joseph Louis Lagrange in 1762, for which the solution is a discrete sine transform. The full cosine and sine interpolating polynomial, which gives rise to the DFT, was solved by Carl Friedrich Gauss in unpublished work around 1805, at which point he also derived a fast Fourier transform algorithm to evaluate it rapidly. Clairaut, Lagrange, and Gauss were all concerned with studying the problem of inferring the orbit of planets, asteroids, etc., from a finite set of observation points; since the orbits are periodic, a trigonometric interpolation was a natural choice. See also Heideman et al. (1984).
[edit] References
- Kendall E. Atkinson, An Introduction to Numerical Analysis (2nd edition), Section 3.8. John Wiley & Sons, New York, 1988. ISBN 0-471-50023-2.
- M. T. Heideman, D. H. Johnson, and C. S. Burrus, "Gauss and the history of the fast Fourier transform," IEEE ASSP Magazine 1 (4), 14–21 (1984).