Fourier Series--Square Wave
FourierSeriesSquareWave
Consider a square wave f(x) of length 2L. Over the range [0,2L], this can be written as
| f(x)=2[H(x/L)-H(x/L-1)]-1, |
(1)
|
where H(x) is the Heaviside step function. Since f(x)=f(2L-x), the function is odd, so a_0=a_n=0, and
reduces to
b_n = [画像:2/Lint_0^Lf(x)sin((npix)/L)dx]
(3)
= [画像:4/(npi)sin^2(1/2npi)]
(4)
= [画像:2/(npi)[1-(-1)^n]]
(5)
= [画像:4/(npi){0 n even; 1 n odd.]
(6)
The Fourier series is therefore
See also
Fourier Series, Fourier Series--Sawtooth Wave, Fourier Series--Triangle Wave, Gibbs Phenomenon, Square WaveExplore with Wolfram|Alpha
WolframAlpha
Cite this as:
Weisstein, Eric W. "Fourier Series--Square Wave." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/FourierSeriesSquareWave.html