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). Then we 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
Read more about this topic: Gibbs Phenomenon
Famous quotes containing the words square and/or wave:
“Interpreting the dance: young women in white dancing in a ring can only be virgins; old women in black dancing in a ring can only be witches; but middle-aged women in colors, square dancing...?”
—Mason Cooley (b. 1927)
“The history of any nation follows an undulatory course. In the trough of the wave we find more or less complete anarchy; but the crest is not more or less complete Utopia, but only, at best, a tolerably humane, partially free and fairly just society that invariably carries within itself the seeds of its own decadence.”
—Aldous Huxley (18941963)

![S_N f\left(\frac{2\pi}{2N}\right) = \frac{\pi}{2} \left[ \frac{2}{N} \operatorname{sinc}\left(\frac{1}{N}\right) + \frac{2}{N} \operatorname{sinc}\left(\frac{3}{N}\right)
+ \cdots + \frac{2}{N} \operatorname{sinc}\left( \frac{(N-1)}{N} \right) \right].](http://upload.wikimedia.org/math/4/0/4/4049d55c356e2eefd0120dd6054ff91a.png)

