Fourier series

From Wikipedia, the free encyclopedia

Jump to: navigation, search
Fourier transforms
Continuous Fourier transform
Fourier series
Discrete Fourier transform
Discrete-time Fourier transform
Related transforms

In mathematics, a Fourier series decomposes a periodic function or periodic signal into a sum of simple oscillating functions, namely sines and cosines (or complex exponentials). The study of Fourier series is a branch of Fourier analysis. Fourier series were introduced by Joseph Fourier (1768–1830) for the purpose of solving the heat equation in a metal plate. It led to a revolution in mathematics, forcing mathematicians to reexamine the foundations of mathematics and leading to many modern theories such as Lebesgue integration.

The heat equation is a partial differential equation. Prior to Fourier's work, there was no known solution to the heat equation in a general situation, 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.

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. The basic results are very easy to understand using the modern theory.

The Fourier series has many applications in electrical engineering, vibration analysis, acoustics, optics, signal processing, image processing, quantum mechanics, etc.

Contents

[edit] Historical development

Joseph Fourier initiated the study of Fourier series in order to solve the heat equation.

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 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 to the lack of a precise notion of function and integral in the early nineteenth century. Later, Dirichlet and Riemann expressed Fourier's results with greater precision and formality.

[edit] A revolutionary article

\varphi(y)=a\cos\frac{\pi y}{2}+a'\cos 3\frac{\pi y}{2}+a''\cos5\frac{\pi y}{2}+\cdots.

Multiplying both sides by \cos(2i+1)\frac{\pi y}{2}, and then integrating from y = − 1 to y = + 1 yields:

a_i=\int_{-1}^1\varphi(y)\cos(2i+1)\frac{\pi y}{2}\,dy.


—Joseph Fourier, Mémoire sur la propagation de la chaleur dans les corps solides, pp. 218--219.[1]

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 believed that such trigonometric series could represent arbitrary functions. In what senses 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 his paper in 1807, the committee (which included Lagrange, Laplace, Malus and Legendre, among others) concluded: ...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.

[edit] 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 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 signals.

[edit] Definition

In this section, ƒ(x) denotes a function of the real variable x. This function is usually taken to be periodic, of period 2π, which is to say that ƒ(x + 2π) = ƒ(x), for all real numbers x. We will attempt to write such a function as an infinite sum, or series of simpler 2π–periodic functions. We will start by using an infinite sum of sine and cosine functions on the interval [−ππ], as Fourier did (see the quote above), and we will then discuss different formulations and generalizations.

[edit] Fourier's formula for 2π-periodic functions using sines and cosines

For a 2π-periodic function ƒ(x) that is integrable on [−ππ], the numbers

a_n = \frac{1}{\pi}\int_{-\pi}^\pi f(t) \cos(nt)\, dt, \quad n \ge 0

and

b_n = \frac{1}{\pi}\int_{-\pi}^\pi f(t) \sin(nt)\, dt, \quad n \ge 1

are called the Fourier coefficients of ƒ. One introduces the partial sums of the Fourier series for ƒ, often denoted by

(S_N f)(x) = \frac{a_0}{2} + \sum_{n=1}^N \, [a_n \cos(nx) + b_n \sin(nx)], \quad N \ge 0.

The partial sums for ƒ are trigonometric polynomials. One expects that the functions SN ƒ approximate the function ƒ, and that the approximation improves as N tends to infinity. The infinite sum

\frac{a_0}{2} + \sum_{n=1}^\infty \, [a_n \cos(nx) + b_n \sin(nx)]

is called the Fourier series of ƒ.

The Fourier series does not always converge, and even when it does converge for a specific value x0 of x, the sum of the series at x0 may differ from the value ƒ(x0) of the function. It is one of the main questions in harmonic analysis to decide when Fourier series converge, and when the sum is equal to the original function. If a function is square-integrable on the interval [−ππ], then the Fourier series converges to the function at almost every point. In engineering applications, the Fourier series is generally presumed to converge everywhere except at discontinuities, since the functions encountered in engineering are more well behaved than the ones that mathematicians can provide as counter-examples to this presumption. In particular, the Fourier series converges absolutely and uniformly to ƒ(x) whenever the derivative of ƒ(x) (which may not exist everywhere) is square integrable.[2] See Convergence of Fourier series.

It is possible to define Fourier coefficients for more general functions or distributions, in such cases convergence in norm or weak convergence is usually of interest.

[edit] Example: a simple Fourier series

Plot of a periodic identity function—a sawtooth wave.
Animated plot of the first five successive partial Fourier series.

We now use the formulae above to give a Fourier series expansion of a very simple function. Consider a sawtooth wave

f(x) = x, \quad \mathrm{for } -\pi < x < \pi,
f(x + 2\pi) = f(x), \quad \mathrm{for }   -\infty < x < \infty.

In this case, the Fourier coefficients are given by

\begin{align}
a_n &{} = \frac{1}{\pi}\int_{-\pi}^{\pi}x \cos(nx)\,dx = 0, \quad n \ge 0. \\
b_n &{}= \frac{1}{\pi}\int_{-\pi}^{\pi} x \sin(nx)\, dx = -\frac{2}{n}\cos(n\pi) = 2 \, \frac{(-1)^{n+1}}{n}, \quad n \ge 1.\end{align}

It can be proved that the Fourier series converges to ƒ(x) at every point x where ƒ is differentiable, and therefore:


\begin{align}
f(x) &= \frac{a_0}{2} + \sum_{n=1}^{\infty}\left[a_n\cos\left(nx\right)+b_n\sin\left(nx\right)\right] \\
&=2\sum_{n=1}^{\infty}\frac{(-1)^{n+1}}{n} \sin(nx), \quad \mathrm{for} \quad x - \pi \notin 2 \pi \mathbf{Z}.
\end{align}

 

 

 

 

(Eq.1)

When x = π, the Fourier series converges to 0, which is the half-sum of the left- and right-limit of ƒ at x = π. This is a particular instance of the Dirichlet theorem for Fourier series.

Heat distribution in a metal plate, using Fourier's method.

One notices that the Fourier series expansion of our function looks much less simple than the formula ƒ(x) = x, and so it is not immediately apparent why one would need this Fourier series. While there are many applications, we cite Fourier's motivation of solving the heat equation. For example, consider a metal plate in the shape of a square whose side measures π meters, with coordinates (xy) ∈ [0, π] × [0, π]. If there is no heat source within the plate, and if three of the four sides are held at 0 degrees Celsius, while the fourth side, given by y = π, is maintained at the temperature gradient T(xπ) = x degrees Celsius, for x in (0, π), then one can show that the stationary heat distribution (or the heat distribution after a long period of time has elapsed) is given by

T(x,y) = 2\sum_{n=1}^\infty \frac{(-1)^{n+1}}{n} \sin(nx) {\sinh(ny) \over \sinh(n\pi)}.

Here, sinh is the hyperbolic sine function. This solution of the heat equation is obtained by multiplying each term of  Eq.1 by sinh(ny)/sinh(nπ). While our example function f(x) seems to have a needlessly complicated Fourier series, the heat distribution T(xy) is nontrivial. The function T cannot be written as a closed-form expression. This method of solving the heat problem was only made possible by Fourier's work.

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.

[edit] Exponential Fourier series

We can use Euler's formula,

 e^{inx} = \cos(nx)+i\sin(nx), \,

where i is the imaginary unit, to give a more concise formula:

f(x) = \sum_{n=-\infty}^{\infty} c_n e^{inx}.

The Fourier coefficients are then given by:

c_n = \frac{1}{2\pi}\int_{-\pi}^{\pi} f(x) e^{-inx}\, dx.

The Fourier coefficients an, bn, cn are related via

a_n = { c_n + c_{-n} }\text{ for }n=0,1,2,\dots,\,

and

b_n = i( c_{n} - c_{-n} )\text{ for }n=1,2,\dots\,

The notation cn is inadequate for discussing the Fourier coefficients of several different functions. Therefore it is customarily replaced by a modified form of ƒ (in this case), such as F or \scriptstyle\hat{f},  and functional notation often replaces subscripting.  Thus:


\begin{align}
f(x) &= \sum_{n=-\infty}^{\infty} \hat{f}(n)\cdot e^{inx} \\
&= \sum_{n=-\infty}^{\infty} F[n]\cdot e^{inx} \quad \mbox{(engineering)}.
\end{align}

In engineering, particularly when the variable x represents time, the coefficient sequence is called a frequency domain representation. Square brackets are often used to emphasize that the domain of this function is a discrete set of frequencies.

[edit] Fourier series on a general interval [ab]

The following formula, with appropriate complex-valued coefficients G[n], is a periodic function with period τ on all of R:

g(x)=\sum_{n=-\infty}^\infty G[n]\cdot e^{i 2\pi \frac{n}{\tau} x}\ .

If a function is square-integrable in the interval [aa + τ], it can be represented in that interval by the formula above. If g(x) is integrable, then the Fourier coefficients are given by:

G[n] = \frac{1}{\tau}\int_a^{a+\tau} g(x)\cdot e^{-i 2\pi \frac{n}{\tau} x}\, dx.

Note that if the function to be represented is also τ-periodic, then a is an arbitrary choice. Two popular choices are a = 0, and a = −τ/2.

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


G(f) \ \stackrel{\mathrm{def}}{=} \ \sum_{n=-\infty}^{\infty} G[n]\cdot \delta \left(f-\frac{n}{\tau}\right)

where variable ƒ represents a continuous frequency domain. When variable x has units of seconds, ƒ has units of hertz. The "teeth" of the comb are spaced at multiples (i.e. harmonics) of 1/τ, which is called the fundamental frequency. The original g(x) can be recovered from this representation by an inverse Fourier transform:


\begin{align}
\mathcal{F}^{-1}\{G(f)\} &=
\mathcal{F}^{-1}\left\{ \sum_{n=-\infty}^{\infty} G[n]\cdot \delta \left(f-\frac{n}{\tau}\right)\right\}\\
&= \sum_{n=-\infty}^{\infty} G[n]\cdot \underbrace{\mathcal{F}^{-1}\left\{\delta\left(f-\frac{n}{\tau}\right)\right\}}_{e^{i2\pi \frac{n}{\tau} x}\cdot \underbrace{\mathcal{F}^{-1}\{\delta (f)\}}_{1}}\\
&= \sum_{n=-\infty}^{\infty} G[n]\cdot e^{i2\pi \frac{n}{\tau} x} \quad = \ \ g(x).
\end{align}

The function G(ƒ) is therefore commonly referred to as a Fourier transform, even though the Fourier integral of a periodic function is not convergent.[3]

[edit] Fourier series on a square

We can also define the Fourier series for functions of two variables x and y in the square [−ππ]×[−ππ]:

f(x,y) = \sum_{j,k \in \mathbb{Z}\text{ (integers)}} c_{j,k}e^{ijx}e^{iky},
c_{j,k} = {1 \over 4 \pi^2} \int_{-\pi}^{\pi} \int_{-\pi}^{\pi} f(x,y) e^{-ijx}e^{-iky}\, dx \, dy.

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 transform using the cosine basis functions.

[edit] Hilbert space interpretation

In the language of Hilbert spaces, the set of functions \{ e_n = e^{i n x},n\in\mathbb{Z}\} is an orthonormal basis for the space L2([ − π,π]) of square-integrable functions of [ − π,π]. This space is actually a Hilbert space with an inner product given by:

\langle f, g \rangle \ \stackrel{\mathrm{def}}{=} \ \frac{1}{2\pi}\int_{-\pi}^{\pi} f(x)\overline{g(x)}\,dx.

The basic Fourier series result for Hilbert spaces can be written as

f=\sum_{n=-\infty}^{\infty} \langle f,e_n \rangle \, e_n.

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

\int_{-\pi}^{\pi} \cos(mx)\, \cos(nx)\, dx = \pi \delta_{mn}, \quad m, n \ge 0, \ m n \ne 0
\int_{-\pi}^{\pi} \sin(mx)\, \sin(nx)\, dx = \pi \delta_{mn}, \quad m, n \ge 1

(where δmn is the Kronecker delta), and

\int_{-\pi}^{\pi} \cos(mx)\, \sin(nx)\, dx = 0.

An orthonormal basis consisting of real functions is formed by the functions 1, and √2 cos(n  x),  √2 sin(n x) for n = 1, 2,...  The density of their span is a consequence of the Stone-Weierstrass theorem, but follows also from the properties of classical kernels like the Fejér kernel.

[edit] Properties

We say that ƒ belongs to  C^k(\mathbb{T})  if ƒ is a 2π-periodic function on R which is k times differentiable, and its kth derivative is continuous.

  • If ƒ is a 2π-periodic odd function, then an = 0  for all n.
  • If ƒ is a 2π-periodic even function, then bn = 0  for all n.
  • If f \in C^1(\mathbb{T}), then the Fourier coefficients \hat{f'}(n) of the derivative f'(t) can be expressed in terms of the Fourier coefficients \hat{f}(n) of the function f(t), via the formula \hat{f'}(n) = in \hat{f}(n).
  • If f \in C^k(\mathbb{T}), then \widehat{f^{(k)}}(n) = (in)^k \hat{f}(n). In particular, since \widehat{f^{(k)}}(n) tends to zero, we have that |n|^k\hat{f}(n) tends to zero, which means that the Fourier coefficients converge to zero faster than the kth power of n.
  • Plancherel's theorem. If c_0,\, c_{\pm 1},\, c_{\pm 2},\ldots are coefficients and \sum_{n=-\infty}^\infty |c_n|^2 < \infty then there is a unique function f\in L^2([-\pi,\pi]) such that \hat{f}(n) = c_n for every n.

[edit] General case

There are many possible avenues for generalizing Fourier series. The study of Fourier series and its generalizations is called harmonic analysis.

[edit] Generalized functions

One can extend the notion of Fourier coefficients to functions which are not square-integrable, and even to objects which are not functions. This is very useful in engineering and applications because we often need to take the Fourier series of a periodic repetition of a Dirac delta function. The Dirac delta δ is not actually a function; still, it has a Fourier transform and its periodic repetition has a Fourier series:

\hat{\delta}(n)={1 \over 2\pi}\text{ for every }n.\,

This generalization to distributions enlarges the domain of definition of the Fourier transform from L2([−ππ]) to a superset of L2. The Fourier series converges weakly.

[edit] Compact groups

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.

[edit] Riemannian manifolds

The atomic orbitals of chemistry are spherical harmonics and can be used to produce Fourier series on the sphere.

If the domain is not a group, then there is no intrinsically defined convolution. However, if X is a compact Riemannian manifold, it has a Laplace-Beltrami operator. The Laplace-Beltrami operator is the differential operator that corresponds to Laplace operator for the Riemannian manifold X. Then, by analogy, one can consider heat equations on X. Since Fourier arrived at his basis by attempting to solve the heat equation, the natural generalization is to use the eigensolutions of the Laplace-Beltrami operator as a basis. This generalizes Fourier series to spaces of the type L2(X), where X is a Riemannian manifold. The Fourier series converges in ways similar to the [−ππ] case. A typical example is to take X to be the sphere with the usual metric, in which case the Fourier basis consists of spherical harmonics.

[edit] Locally compact Abelian groups

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

This generalizes the Fourier transform to L1(G) or L2(G), where G is an LCA group. If G is compact, one also obtains a Fourier series, which converges similarly to the [−ππ] case, but if G is noncompact, one obtains instead a Fourier integral. This generalization yields the usual Fourier transform when the underlying locally compact Abelian group is \mathbb{R}.

[edit] Approximation and convergence of Fourier series

An important question for the theory as well as applications is that of convergence. In particular, it is often necessary in applications to replace the infinite series \sum_{-\infty}^\infty  by a finite one,

(S_N f)(x) = \sum_{n=-N}^N \hat{f}(n) e^{inx}.

This is called a partial sum. We would like to know, in which sense does (SN ƒ)(x) converge to ƒ(x) as N tends to infinity.

[edit] Least squares property

We say that p is a trigonometric polynomial of degree N when it is of the form

p(x)=\sum_{n=-N}^N p_n e^{inx}.

Note that SN ƒ is a trigonometric polynomial of degree N. Parseval's theorem implies that

Theorem. The trigonometric polynomial SN ƒ is the unique best trigonometric polynomial of degree N approximating ƒ(x), in the sense that, for any trigonometric polynomial p\neq S_N f of degree N, we have  \|S_N f - f\|_2 < \|p - f\|_2.

Here, the Hilbert space norm is

\| g \|_2 = \sqrt{{1 \over 2\pi} \int_{-\pi}^{\pi} |g(x)|^2 \, dx}.

[edit] Convergence

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

Theorem. If ƒ belongs to L2([−π, π]), then the Fourier series converges to ƒ in L2([−π, π]), that is,  \|S_N f - f\|_2 converges to 0 as N goes to infinity.

We have already mentioned that if ƒ is continuously differentiable, then  i n \hat{f}(n)  is the nth Fourier coefficient of the derivative ƒ′. It follows, essentially from the Cauchy-Schwarz inequality, that the Fourier series of ƒ is absolutely summable. The sum of this series is a continuous function, equal to ƒ, since the Fourier series converges in the mean to ƒ:

Theorem. If  f \in C^1(\mathbb{T}), then the Fourier series converges to ƒ uniformly (and hence also pointwise.)

This result can be proven easily if ƒ is further assumed to be C2, since in that case n^2\hat{f}(n) tends to zero as n\to\infty. More generally, the Fourier series is absolutely summable, thus converges uniformly to ƒ, provided that ƒ satisfies a Hölder condition of order α > ½. In the absolutely summable case, the inequality  \sup_x |f(x) - (S_N f)(x)| \le \sum_{|n| > N} |\hat{f}(n)|  proves uniform convergence.

Many other results concerning the convergence of Fourier series are known, ranging from the moderately simple result that the series converges at x if ƒ is differentiable at x, to Lennart Carleson's much more sophisticated result that the Fourier series of an L2 function actually converges almost everywhere.

[edit] Divergence

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.

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. He later constructed an example of an integrable function whose Fourier series diverges everywhere (Katznelson 1976).

[edit] See also

[edit] Notes

  1. ^ Gallica - Fourier, Jean-Baptiste-Joseph (1768-1830). Oeuvres de Fourier. 1888
  2. ^ Georgi P. Tolstov (1976). Fourier Series. Courier-Dover. ISBN 0486633179. http://books.google.com/books?id=XqqNDQeLfAkC&pg=PA82&dq=fourier-series+converges+continuous-function&ei=L0rJSMvANIPsswOs-pzXDA&sig=ACfU3U3teR3Wwlu7HYq_qHV4QZqj6sYP5A. 
  3. ^ Since the integral defining the Fourier transform of a periodic function is not convergent, it is necessary to view the periodic function and its transform as distributions. In this sense \mathcal{F}\{e^{i2\pi \frac{n}{\tau} x}\} is a Dirac delta function, which is an example of a distribution.

[edit] References

  • William E. Boyce and Richard C. DiPrima, Elementary Differential Equations and Boundary Value Problems, Eighth edition. John Wiley & Sons, Inc., New Jersey, 2005. ISBN 0-471-43338-1
  • Joseph Fourier, translated by Alexander Freeman (published 1822, translated 1878, re-released 2003). The Analytical Theory of Heat. Dover Publications. ISBN 0-486-49531-0.  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.
  • Katznelson, Yitzhak (1976), An introduction to harmonic analysis (Second corrected ed.), New York: Dover Publications, Inc, ISBN 0-486-63331-4 
  • Felix Klein, Development of mathematics in the 19th century. Mathsci Press Brookline, Mass, 1979. Translated by M. Ackerman from Vorlesungen über die Entwicklung der Mathematik im 19 Jahrhundert, Springer, Berlin, 1928.
  • Walter Rudin, Principles of mathematical analysis, Third edition. McGraw-Hill, Inc., New York, 1976. ISBN 0-07-054235-X

[edit] External links

This article incorporates material from example of Fourier series on PlanetMath, which is licensed under the GFDL.

Personal tools