We will compute the Fourier coefficients for this function.
Vibrations of air in a pipe that is open at one end and closed at the other are also described by the wave equation. Its solution requires expansion of a function that vanishes at x = 0 and whose derivative vanishes at x=L. The Fourier series for such a function takes the form
Fourier series have a kinematic interpretation. Indeed, the function
can be seen as the movement of an object on a plane (t would then represent time). Since f is complex-valued, we can write

for real-valued functions u and v. In this form, we can interpret f as a sum of horizontal and vertical translations.
From time t to time t + dt, where dt is a very small incremental period, the object moves from the point
to the point
, which corresponds to an infinitesimal translation in space by the vector
. As a result, we can write f as:
![f(t)=\left[\begin{matrix}u(dt)-u(0)\\v(dt)-v(0)\end{matrix}\right]+\left[\begin{matrix}u(2dt)-u(dt)\\v(2dt)-v(dt)\end{matrix}\right]+\cdots+\left[\begin{matrix}u(t+dt)-u(t)\\v(t+dt)-v(t)\end{matrix}\right]](http://upload.wikimedia.org/math/c/8/b/c8b28517a7b0b5595226f923e6154b86.png)
-
-
![=\int_0^t\frac{1}{dx}\left[\begin{matrix}u(x+dx)-u(x)\\v(x+dx)-v(x)\end{matrix}\right]\,dx.](http://upload.wikimedia.org/math/3/c/2/3c25c60b81b74aebedda115905428802.png)
Now instead of seeing f as a sum of infinitesimal translations, we can see it as an infinite sum of rotations of different radii. This interpretation is convenient, in particular when the movement is periodic.
Let χn = einx be the n-turn per second rotation (of radius 1) (sometimes called character). We want to write f as
. We can prove (see mathematical derivation below) that the radii of the rotations (the coefficients cn) are exactly the ones we gave in the previous paragraph.
For example, the plot of the function
is closed, which means the function is periodic. The loop in the curve suggests that it is the sum of two periodic functions, one having a shorter period than the other. Indeed, it can be written: f(t) = eit + e2it = χ1(t) + χ2(t). All its Fourier coefficients are zero except c1 = 1 and c2 = 1. The graphical interpretation of a rotation is much harder to do than that of the translations because instead of visually seeing the movement from one point to another we have to add the whole motion for the decomposition to make sense (we are reasoning in rotation frequencies rather than in time).
Mathematically, adopting this point of view is seeing Fourier series as a tool to understand linear operators that commute with translations. The functions χn are precisely the mutliplicative characters of the group
.
Historical development
Context
Fourier series are named in honor of Joseph Fourier (1768-1830), who made important contributions to the study of trigonometric series, after preliminary investigations by Madhava, Nilakantha Somayaji, Jyesthadeva, Leonhard Euler, Jean le Rond d'Alembert, and Daniel Bernoulli. He applied this technique to find the solution of the heat equation, publishing his initial results in 1807 and 1811, and publishing his Théorie analytique de la chaleur in 1822.
From a modern point of view, Fourier's results are somewhat informal, due in no small part to the lack of a precise notion of function and integral in the early nineteenth century (for example, one wondered if a function defined on two intervals with two different formulas was still a function). Later, Dirichlet and Riemann expressed Fourier's results with greater precision and formality.
A revolutionary article
In Fourier's work entitled Mémoire sur la propagation de la chaleur dans les corps solides, on pages 218 and 219, we can read the following :
-

- Multiplying both sides by
, and then integrating from y = − 1 to y = + 1 yields:
-

In these few lines, which are surprisingly close to the modern formalism used in Fourier series, Fourier unwittingly revolutionized both mathematics and physics. Although similar trigonometric series were previously used by Euler, d'Alembert, Daniel Bernoulli and Gauss, Fourier was the first to recognize that such trigonometric series could represent arbitrary functions, even those with discontinuities. It has required many years to clarify this insight, and it has led to important theories of convergence, function space, and harmonic analysis.
The originality of this work was such that when Fourier submitted his paper in 1807, the committee (composed of no lesser mathematicians than Lagrange, Laplace, Malus and Legendre, among others) concluded: ...the manner in which the author arrives at these equations is not exempt of difficulties and that his analysis to integrate them still leaves something to be desired on the score of generality and even rigour.
The birth of harmonic analysis
Since Fourier's time, many different approaches to defining and understanding the concept of Fourier series have been discovered, all of which are mathematically equivalent (and correct), 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 to other applications the initial idea of representing any periodic function as a superposition of harmonics. This general area of inquiry is now sometimes called harmonic analysis.
Modern derivation of the Fourier coefficients
The method used by Fourier to derive the coefficients of the series is very practical and well-suited to the problem he was dealing with (heat propagation). However, this method has since been generalized to a much wider class of problems: writing a function as a sum of periodic functions.
More precisely, if
is a function, we would like to write this function as a sum of trigonometric functions, i.e.
. We have to restrict our choice of functions in order for this to make sense. First of all, if f has period T, then by changing variables, can study
which has period 2π. This simplifies notations a lot and allows us to use a canonical (standard) form. We can restrict the study of
to any interval of length 2π, [ − π,π], say.
We will take the functions
in the set of piecewise continuous, 2π periodic functions with
. Technically speaking, we are in fact taking functions from the Lp space L2(μ), where μ is the standardized Lebesgue measure of the interval [ − π,π] (i.e. such that
).
Complex Fourier coefficients
We can make L2(μ) into a Hilbert space, which is well-suited for orthogonal projections, by defining the scalar product:
![\langle f,g\rangle=\int_{[-\pi,\pi]}f\overline{g}\,d\mu=\frac{1}{2\pi}\int_{-\pi}^\pi f(x)\overline{g(x)}\,dx,](http://upload.wikimedia.org/math/d/6/8/d68a3064d14b01cbe1fa71a5cf0150e4.png)
where
denotes the conjugate of f(x). We will denote by
the associated norm.
is an orthonormal basis of L2(μ), which means we can write

We usually define
. These numbers are called complex Fourier coefficients. Their expression is

An equivalent formulation is to write f as a sum of sine and cosine functions.
Real Fourier coefficients
The sum in the previous section is symmetrical around 0: indeed, except for n = 0, a c − n coefficient corresponds to every cn coefficient. This reminds one of the formulae
and 
This means we probably can express the sum above with real-valued functions. To do this, we first notice that
![f(x)=\sum_{n\in\mathbb{Z}}c_n e^{i n x}=c_0+\sum_{n>0}\left[c_{-n}e^{-i n x}+c_n e^{i n x}\right].](http://upload.wikimedia.org/math/c/1/5/c15d45435a125453d3f47bd656293608.png)
After replacing cn by its expression and simplifying the result we get
![f(x)=c_0+\sum_{n>0}\left[\frac{1}{\pi}\left(\int_{-\pi}^\pi f(t)\cos\left(n t\right)\, dt\right)\cos\left(n x\right)+\frac{1}{\pi}\left(\int_{-\pi}^\pi f(t)\sin\left(n t\right)\, dt\right)\sin\left(n x\right)\right].](http://upload.wikimedia.org/math/8/6/2/86289146c5a521ba2bde70210bfe8af4.png)
If, for a non-negative integer n, we define the real Fourier coefficients an and bn by


we get:
![f(x)=\frac{a_0}{2}+\sum_{n>0}\left[a_n\cos\left(n x\right)+b_n\sin\left(n x\right)\right].](http://upload.wikimedia.org/math/d/7/0/d70fbf283b0ad5832ea4e0e5581201db.png)
Properties
-

.
- If f is an odd function, then an = 0 for all n because
is then also odd, so its integral on [ − T,T] is zero. If f is an even function, then bn = 0 for a similar reason.
- If f is piecewise continuous,
,
,
and
.
-

where f(k) denotes the kth derivative of f.
- For any positive integer k, if f is Ck − 1 and piecewise Ck, then
-
because 
This means that the sequence cn(f) is rapidly decreasing.
General case
Fourier series take advantage of the periodicity of a function f but what if f is periodic in more than one variable, or for that matter, what if f is not periodic? These problems led mathematicians and theoretical physicists to try and define Fourier series on any group G. The advantage of this is that it allows us, for example, to define Fourier series for functions of several variables. Fourier series and Fourier transforms usually used in signal processing then become special cases of this theory and are easier to interpret.
If G is a locally compact Abelian group and
is the unit circle, we can define the dual of G by
. This is the set of rotations on the unit circle and its elements are called characters. We can define a scalar product
on
by:
.
is then an orthonormal basis of
with respect to this scalar product. Let
. The Fourier coefficients of f are defined by:
and we have
. If the group is discrete, then the integral reduces to an ordinary sum.
For example, the Fourier series of this article are obtained by taking
. We get

and

Periodic functions in n dimensions can be defined on an n-dimensional torus (the function taking a value at each point on the torus). Such a torus is defined by
. For n = 1 we get a circle, for n = 2 the cartesian product of two circles, i.e. a torus in the usual sense. Choosing
gives the corresponding Fourier series.
Approximation and convergence of Fourier series
Definition of a Fourier series
Let
. We call Fourier series of the function f the series
. For any positive integer N, we call
the N-th partial sum of the Fourier series of this function.
Approximation with the partial sums
Say we want to find the best approximation of f using only the functions χn for n from − N to N. Let
. We are trying to find coefficients
such that
is minimum (where
denotes the norm).
We have
, where Re(z) denotes the real part of z.

Parseval's theorem (which can be derived independently from Fourier series) gives us

By definition,
; therefore
![\|f-p\|^2=\|f\|^2+\sum_{n=-N}^N\left[|c_n-x_n|^2-|c_n|^2\right].](http://upload.wikimedia.org/math/6/e/4/6e4c3fc592cfdc1bdd47c3fe776a20ae.png)
It is clear that this expression is minimum for xn = cn and for this value only.
This means that there is one and only one
such that

it is given by

where

This means that the best approximation of f we can make using only the functions
for n from − N to N is precisely the Nth partial sum of the Fourier series. An illustration of this is given on the animated plot of example 1.
Convergence
-
While the Fourier coefficients an and bn can be formally defined for any function for which the integrals make sense, whether the series so defined actually converges to f(x) depends on the properties of f.
The simplest answer is that if f is square-integrable then

This is convergence in the norm of the space L2, which means that the series converges almost everywhere to f.
There are many known tests that ensure that the series converges at a given point x, for example, if the function is differentiable at x. Even a jump discontinuity does not pose a problem: if the function has left and right derivatives at x, then the Fourier series will converge to the average of the left and right limits (but see Gibbs phenomenon). However, a fact that many find surprising, is that the Fourier series of a continuous function need not converge pointwise.
This unpleasant situation is counter-balanced by a theorem by Dirichlet which states that if f is 2T-periodic and piecewise continuously differentiable function, then its Fourier series converges pointwise and
, where
and
. If f is continuous as well as piecewise continuously differentiable, then the Fourier series converges in norm and hence converges uniformly.
In 1922, Andrey Kolmogorov published an article entitled 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. This function is not in L2(μ).
Plancherel's and Parseval's theorems
Another important property of the Fourier series is the Plancherel theorem. Let
and cn(f),cn(g) be the corresponding complex Fourier coefficients. Then

where
denotes the conjugate of z.
Parseval's theorem, a special case of the Plancherel theorem, states that:

which can be restated with the real Fourier coefficients:

These theorems may be proven using the orthogonality relationships. They can be interpreted physically by saying that writing a signal as a Fourier series does not change its energy.
See also
References
- Joseph Fourier, translated by Alexander Freeman (published 1822, translated 1878, re-released 2003). The Analytical Theory of Heat. Dover Publications. ISBN 0486495310. 2003 unabridged republication of the 1878 English translation by Alexander Freeman of Fourier's work Théorie Analytique de la Chaleur, originally published in 1822.
- Yitzhak Katznelson, An introduction to harmonic analysis, Second corrected edition. Dover Publications, Inc., New York, 1976. ISBN 0486633314
- Felix Klein, Development of mathematics in the 19th century. Mathsci Press Brookline, Mass, 1979. Translated by M. Ackerman from Vorlesungen uber die Entwicklung der Matematik im 19 Jahrhundert, Springer, Berlin, 1928.
- Walter Rudin, Principles of mathematical analysis, Third edition. McGraw-Hill, Inc., New York, 1976. ISBN 007054235X
- William E. Boyce and Richard C. DiPrima, Elementary Differential Equations and Boundary Value Problems, Eighth edition. John Wiley & Sons, Inc., New Jersey, 2005. ISBN 0471433381
External links
- Java applet shows Fourier series expansion of an arbitrary function
- Joseph Fourier - A site on Fourier's life which was used for the historical section of this article
This article incorporates material from example of Fourier series on PlanetMath, which is licensed under the GFDL.