- Gibbs phenomenon
In
mathematics , the Gibbs phenomenon (also known as ringing artifacts), named after the American physicist J. Willard Gibbs, is the peculiar manner in which theFourier series of apiecewise continuously differentiableperiodic function "f" behaves at ajump discontinuity : the "n"thpartial sum of the Fourier series has large oscillations near the jump, which might increase the maximum of the partial sum above that of the function itself. The overshoot does not die out as thefrequency increases, but approaches a finite limit.cite book
author=H S Carslaw
title=Introduction to the theory of Fourier's series and integrals
page=Chapter IX
year= 1930
edition=Third Edition
publisher=Dover Publications Inc.
location=New York
url=http://books.google.com/books?id=JNVAAAAAIAAJ&printsec=frontcover&dq=intitle:Introduction+intitle:to+intitle:the+intitle:theory+intitle:of+intitle:Fourier%27s+intitle:series+intitle:and+intitle:integrals+inauthor:carslaw&lr=&as_brr=0#PPA264,M1]Description
The three pictures on the right demonstrate the phenomenon for a
square wave whose Fourier expansion is:
More precisely, this is the function "f" which equals between and and between and for every
integer "n"; thus this square wave has a jump discontinuity of height at every integer multiple of .As can be seen, as the number of terms rises, the error of the approximation is reduced in width and energy, but converges to a fixed height. A calculation for the square wave (see Zygmund, chap. 8.5., or the computations at the end of this article) gives an explicit formula for the limit of the height of the error. It turns out that the Fourier series exceeds the height of the square wave by
:
or about 9 percent. More generally, at any jump point of a piecewise continuously differentiable function with a jump of "a", the "n"th partial Fourier series will (for "n" very large) overshoot this jump by approximately at one end and undershoot it by the same amount at the other end; thus the "jump" in the partial Fourier series will be about 18% larger than the jump in the original function. At the location of the discontinuity itself, the partial Fourier series will converge to the midpoint of the jump (regardless of what the actual value of the original function is at this point). The quantity:is sometimes known as the "Wilbraham-Gibbs constant".
The Gibbs phenomenon was first noticed and analyzed by the obscure
Henry Wilbraham . He published a paper on it in 1848 that went unnoticed by the mathematical world. It was not untilAlbert Michelson observed the phenomenon via a mechanical graphing machine that interest arose. Michelson developed a device in 1898 that could compute and re-synthesize the Fourier series. When the Fourier coefficients for a square wave were input to the machine, the graph would oscillate at the discontinuities. This would continue to occur even as the number of Fouriercoefficient s increased.Because it was a physical device subject to manufacturing flaws, Michelson was convinced that the overshoot was caused by errors in the machine. In 1898 J. Willard Gibbs published a paper on Fourier series in which he discussed the example of what today would be called a "
sawtooth wave ", and described the graph obtained as a limit of the graphs of the partial sums of the Fourier series. Interestingly in this paper he failed to notice the phenomenon that bears his name, and the limit he described was incorrect. In 1899 he published a correction to his paper in which he describes the phenomenon and points out the important distinction between the limit of the graphs and the graph of the function that is the limit of the partial sums of the Fourier series.Maxime Bôcher gave a detailed mathematical analysis of the phenomenon in 1906 and named it the Gibbs phenomenon.Informally, it reflects the difficulty inherent in approximating a
discontinuous function by a "finite" series of continuous sine and cosine waves. It is important to put emphasis on the word "finite" because even though every partial sum of the Fourier series overshoots the function it is approximating, the limit of the partial sums do not exhibit the same overshoot. In fact, for a piecewise "C"1 function the Fourier series will converge to the function at every point except at jump discontinuities. At jump the discontinuities the limit will converge to the average of the values of the function on either side of the the jump. This is a consequences of the Dirichlet-Jordan theorem cite book
author=M. Pinsky
title=Introduction to Fourier Analysis and Wavelets
page=p 27
year= 2002
publisher=Brooks/Cole
location=United states of America] . The Gibbs phenomenon is also closely related to the principle that the decay of the Fourier coefficients of a function at infinity is controlled by the smoothness of that function; very smooth functions will have very rapidly decaying Fourier coefficients (resulting in the rapid convergence of the Fourier series), whereas discontinuous functions will have very slowly decaying Fourier coefficients (causing the Fourier series to converge very slowly). Note for instance that the Fourier coefficients of the discontinuous square wave described above decay only as fast as the harmonic series, which is notabsolutely convergent ; indeed, the above Fourier series turns out to be only conditionally convergent for almost every value of x. This provides a partial explanation of the Gibbs phenomenon, since Fourier series with absolutely convergent Fourier coefficients would beuniformly convergent by theWeierstrass M-test and would thus be unable to exhibit the above oscillatory behavior. By the same token, itis impossible for a discontinuous function to have absolutely convergent Fourier coefficients, since the function would thus be the uniform limit of continuous functions and therefore be continuous, a contradiction. See more about absolute convergence of Fourier series.In practice, the difficulties associated with the Gibbs phenomenon can be ameliorated by using a smoother method of Fourier series summation, such as
Fejér summation orRiesz summation , or by usingsigma-approximation . Using awavelet transform withHaar basis functions , the Gibbs phenomenon does not occur.Formal mathematical description of the phenomenon
Let be a piecewise continuously differentiable function which is periodic with some period . Suppose that at some point , the left limit and right limit of the function differ by a non-zero gap :
:
For each positive integer "N" ≥ 1, let "S""N" "f" be the "N"th partial Fourier series
:
where the Fourier coefficients are given by the usual formulae
:
:
:
Then we have
:
and
:
but
: More generally, if is any sequence of real numbers which converges to as , and if the gap "a" is positive then: and: If instead the gap "a" is negative, one needs to interchange
limit superior withlimit inferior , and also interchangethe ≤ and ≥ signs, in the above two inequalities.The square wave example
We now illustrate the above Gibbs phenomenon in the case of the square wave described earlier. In this case the period "L" is , the discontinuity is at zero, and the jump "a" is equal to .For simplicity let us just deal with the case when "N" is even (the case of odd "N" is very similar). Thenwe have
:
Substituting , we obtain
:
as claimed above. Next, we compute
:
If we introduce the normalized
sinc function , , we can rewrite this as:
But the expression in square brackets is a
numerical integration approximation to the integral (more precisely, it is a midpoint rule approximation with spacing ). Since the sinc function is continuous, this approximation converges to the actual integral as . Thus we have:
which was what was claimed in the previous section. A similar computation shows
:
Consequences
The Gibbs phenomenon causes a
compression artifact calledpre-echo in audio compression algorithms that useFourier-related transforms – particularly themodified discrete cosine transform (MDCT) – such asMP3 , MPEG-4 AAC, andVorbis .Notes and references
ee also
* Compare with
Runge's phenomenon for polynomial approximations
*Sigma approximation
*Henry Wilbraham Publications
* Gibbs, J. W., "Fourier Series". Nature 59, 200 (1898) and 606 (1899).
*Antoni Zygmund , "Trigonometrical series", Dover publications, 1955.
* Wilbraham, H. "On a certain periodic function", Cambridge and Dublin Math. J., 3 (1848), pp. 198-201.
* Paul J. Nahin, "Dr. Euler's Fabulous Formula," Princeton University Press, 2006. Ch. 4, Sect. 4.External links and references
* Weisstein, Eric W., " [http://mathworld.wolfram.com/GibbsPhenomenon.html Gibbs Phenomenon] ". From MathWorld--A Wolfram Web Resource.
* Prandoni, Paolo, " [http://lcavwww.epfl.ch/~prandoni/dsp/gibbs/gibbs.html Gibbs Phenomenon] ".
* Radaelli-Sanchez, Ricardo, and Richard Baraniuk, " [http://cnx.rice.edu/content/m10092/latest/ Gibbs Phenomenon] ". The Connexions Project. (Creative Commons Attribution License)
Wikimedia Foundation. 2010.