Math 2.0

Harmonic analysis on Euclidean spaces Basic notions Example

Square wave

Builds on Dirichlet conditionsJump discontinuity

Example

The square wave is the 2π2\pi-periodic function ff with f(x)=1f(x) = 1 for 0<x<π0 < x < \pi, f(x)=−1f(x) = -1 for −π<x<0-\pi < x < 0, and f(0)=f(π)=0f(0) = f(\pi) = 0. It is odd, so its cosine coefficients vanish, and for n≥1n \ge 1 bn=2π∫0πsin⁡nx dx=2(1−(−1)n)πn,b_n = \frac{2}{\pi} \int_0^\pi \sin nx \, dx = \frac{2 (1 - (-1)^n)}{\pi n}, which is 4πn\frac{4}{\pi n} for odd nn and 00 for even nn. So its Fourier series is 4π(sin⁡x+sin⁡3x3+sin⁡5x5+⋯ ).\frac{4}{\pi} \left( \sin x + \frac{\sin 3x}{3} + \frac{\sin 5x}{5} + \cdots \right). The function is of bounded variation, so by the Dirichlet conditions the series converges at every xx to 12(f(x+)+f(x−))\frac{1}{2}(f(x^+) + f(x^-)). This is f(x)f(x) at every xx, including the points of jump discontinuity x∈πℤx \in \pi\Z, where both sides are 00.

Remarks

At x=π/2x = \pi/2 the series gives 1=4π(1−13+15−⋯ )1 = \frac{4}{\pi}(1 - \frac{1}{3} + \frac{1}{5} - \cdots), which is the Leibniz formula for π/4\pi/4. The coefficients decay only like 1/n1/n, because of the jumps, so the series does not converge absolutely. The convergence is uniform on every closed interval that avoids πℤ\pi\Z, but not on ℝ\R, since the limit is discontinuous. Near each jump the partial sums overshoot: their maximum just to the right of 00 tends to 2π∫0πsin⁡tt dt≈1.179\frac{2}{\pi} \int_0^\pi \frac{\sin t}{t} \, dt \approx 1.179, the Gibbs phenomenon.

Reading path

To understand this page from the ground up, read these 7 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Bounded variation concept
  2. Dirichlet kernel concept
  3. Fourier series concept
  4. Jump discontinuity concept
  5. Periodic function concept
  6. Dirichlet conditions statement
  7. Square wave example

Further reading

  1. Web https://en.wikipedia.org/wiki/Square_wave_(waveform)
About this page
TagTB2TR373RC
URIm2://TB2TR373RC
Kindexample
WritingW0 stub
MSC42A16, 42A20
IllustratesFourier series, Gibbs phenomenon
UsesDirichlet conditions, Jump discontinuity
Same as

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.