# Fourier series

Decomposition of periodic functions into sums of simpler sinusoidal forms

In mathematics, a Fourier series ([1]) is a periodic function composed of harmonically related sinusoids, combined by a weighted summation. With appropriate weights, one cycle (or period) of the summation can be made to approximate an arbitrary function in that interval (or the entire function if it too is periodic). As such, the summation is a synthesis of another function. The discrete-time Fourier transform is an example of Fourier series. The process of deriving weights that describe a given function is a form of Fourier analysis. For functions on unbounded intervals, the analysis and synthesis analogies are Fourier transform and inverse transform.

Since Fourier's time, many different approaches to defining and understanding the concept of Fourier series have been discovered, all of which are consistent with one another, but each of which emphasizes different aspects of the topic. Some of the more powerful and elegant approaches are based on mathematical ideas and tools that were not available at the time Fourier completed his original work. Fourier originally defined the Fourier series for real-valued functions of real arguments, and using the sine and cosine functions as the basis set for the decomposition. Many other Fourier-related transforms have since been defined, extending the initial idea to other applications. This general area of inquiry is now sometimes called harmonic analysis. A Fourier series, however, can be used only for periodic functions, or for functions on a bounded (compact) interval.

Rather than computationally intensive cross-correlation, Fourier analysis customarily exploits a trigonometric identity:

Another applicable identity is Euler's formula. Here, complex conjugation is denoted by an asterisk:

This is the customary form for generalizing to § Complex-valued functions.

Another commonly used frequency domain representation uses the Fourier series coefficients to modulate a Dirac comb:

The Fourier series is named in honor of Jean-Baptiste Joseph Fourier (1768–1830), who made important contributions to the study of trigonometric series, after preliminary investigations by Leonhard Euler, Jean le Rond d'Alembert, and Daniel Bernoulli.[B] Fourier introduced the series for the purpose of solving the heat equation in a metal plate, publishing his initial results in his 1807 (Treatise on the propagation of heat in solid bodies), and publishing his Théorie analytique de la chaleur (Analytical theory of heat) in 1822. The Mémoire introduced Fourier analysis, specifically Fourier series. Through Fourier's research the fact was established that an arbitrary (at first, continuous[6] and later generalized to any piecewise-smooth[7]) function can be represented by a trigonometric series. The first announcement of this great discovery was made by Fourier in 1807, before the French Academy.[8] Early ideas of decomposing a periodic function into the sum of simple oscillating functions date back to the 3rd century BC, when ancient astronomers proposed an empiric model of planetary motions, based on deferents and epicycles.

The heat equation is a partial differential equation. Prior to Fourier's work, no solution to the heat equation was known in the general case, although particular solutions were known if the heat source behaved in a simple way, in particular, if the heat source was a sine or cosine wave. These simple solutions are now sometimes called eigensolutions. Fourier's idea was to model a complicated heat source as a superposition (or linear combination) of simple sine and cosine waves, and to write the solution as a superposition of the corresponding eigensolutions. This superposition or linear combination is called the Fourier series.

From a modern point of view, Fourier's results are somewhat informal, due to the lack of a precise notion of function and integral in the early nineteenth century. Later, Peter Gustav Lejeune Dirichlet[9] and Bernhard Riemann[10][11][12] expressed Fourier's results with greater precision and formality.

Although the original motivation was to solve the heat equation, it later became obvious that the same techniques could be applied to a wide array of mathematical and physical problems, and especially those involving linear differential equations with constant coefficients, for which the eigensolutions are sinusoids. The Fourier series has many such applications in electrical engineering, vibration analysis, acoustics, optics, signal processing, image processing, quantum mechanics, econometrics,[13] shell theory,[14] etc.

This immediately gives any coefficient ak of the trigonometrical series for φ(y) for any function which has such an expansion. It works because if φ has such an expansion, then (under suitable convergence assumptions) the integral

In these few lines, which are close to the modern formalism used in Fourier series, Fourier revolutionized both mathematics and physics. Although similar trigonometric series were previously used by Euler, d'Alembert, Daniel Bernoulli and Gauss, Fourier believed that such trigonometric series could represent any arbitrary function. In what sense that is actually true is a somewhat subtle issue and the attempts over many years to clarify this idea have led to important discoveries in the theories of convergence, function spaces, and harmonic analysis.

When Fourier submitted a later competition essay in 1811, the committee (which included Lagrange, Laplace, Malus and Legendre, among others) concluded: .[citation needed]

...the manner in which the author arrives at these equations is not exempt of difficulties and...his analysis to integrate them still leaves something to be desired on the score of generality and even rigour

An example of the ability of the complex Fourier series to trace any two dimensional closed figure is shown in the adjacent animation of the complex Fourier series tracing the letter 'e' (for exponential). Note that the animation uses the variable 't' to parameterize the letter 'e' in the complex plane, which is equivalent to using the parameter 'x' in this article's subsection on complex valued functions.

In the animation's back plane, the rotating vectors are aggregated in an order that alternates between a vector rotating in the positive (counter clockwise) direction and a vector rotating at the same frequency but in the negative (clockwise) direction, resulting in a single tracing arm with lots of zigzags. This perspective shows how the addition of each pair of rotating vectors (one rotating in the positive direction and one rotating in the negative direction) nudges the previous trace (shown as a light gray dotted line) closer to the shape of the letter 'e'.

In the animation's front plane, the rotating vectors are aggregated into two sets, the set of all the positive rotating vectors and the set of all the negative rotating vectors (the non-rotating component is evenly split between the two), resulting in two tracing arms rotating in opposite directions. The animation's small circle denotes the midpoint between the two arms and also the midpoint between the origin and the current tracing point denoted by '+'. This perspective shows how the complex Fourier series is an extension (the addition of an arm) of the complex geometric series which has just one arm. It also shows how the two arms coordinate with each other. For example, as the tracing point is rotating in the positive direction, the negative direction arm stays parked. Similarly, when the tracing point is rotating in the negative direction, the positive direction arm stays parked.

In between the animation's back and front planes are rotating trapezoids whose areas represent the values of the complex Fourier series terms. This perspective shows the amplitude, frequency, and phase of the individual terms of the complex Fourier series in relation to the series sum spatially converging to the letter 'e' in the back and front planes. The audio track's left and right channels correspond respectively to the real and imaginary components of the current tracing point '+' but increased in frequency by a factor of 3536 so that the animation's fundamental frequency (n=1) is a 220 Hz tone (A220).

Another application of this Fourier series is to solve the Basel problem by using Parseval's theorem. The example generalizes and one may compute ζ(2n), for any positive integer n.

Some common pairs of periodic functions and their Fourier Series coefficients are shown in the table below. The following notation applies:

This table shows some mathematical operations in the time domain and the corresponding effect in the Fourier series coefficients. Notation:

When the real and imaginary parts of a complex function are decomposed into their even and odd parts, there are four components, denoted below by the subscripts RE, RO, IE, and IO. And there is a one-to-one mapping between the four components of a complex time function and the four components of its complex frequency transform:[19]

One of the interesting properties of the Fourier transform which we have mentioned, is that it carries convolutions to pointwise products. If that is the property which we seek to preserve, one can produce Fourier series on any compact group. Typical examples include those classical groups that are compact. This generalizes the Fourier transform to all spaces of the form L2(G), where G is a compact group, in such a way that the Fourier transform carries convolutions to pointwise products. The Fourier series exists and converges in similar ways to the [−π,π] case.

An alternative extension to compact groups is the Peter–Weyl theorem, which proves results about representations of compact groups analogous to those about finite groups.

The generalization to compact groups discussed above does not generalize to noncompact, nonabelian groups. However, there is a straightforward generalization to Locally Compact Abelian (LCA) groups.

Aside from being useful for solving partial differential equations such as the heat equation, one notable application of Fourier series on the square is in image compression. In particular, the jpeg image compression standard uses the two-dimensional discrete cosine transform, which is a Fourier-related transform using only the cosine basis functions.[citation needed]

For two-dimensional arrays with a staggered appearance, half of the Fourier series coefficients disappear, due to additional symmetry.[21]

A three-dimensional Bravais lattice is defined as the set of vectors of the form:

This corresponds exactly to the complex exponential formulation given above. The version with sines and cosines is also justified with the Hilbert space interpretation. Indeed, the sines and cosines form an orthogonal set:

Because of the least squares property, and because of the completeness of the Fourier basis, we obtain an elementary convergence result.

These theorems, and informal variations of them that don't specify the convergence conditions, are sometimes referred to generically as "Fourier's theorem" or "the Fourier theorem".[22][23][24][25]

Since Fourier series have such good convergence properties, many are often surprised by some of the negative results. For example, the Fourier series of a continuous T-periodic function need not converge pointwise.[citation needed] The uniform boundedness principle yields a simple non-constructive proof of this fact.

In 1922, Andrey Kolmogorov published an article titled Une série de Fourier-Lebesgue divergente presque partout in which he gave an example of a Lebesgue-integrable function whose Fourier series diverges almost everywhere. He later constructed an example of an integrable function whose Fourier series diverges everywhere (Katznelson 1976).