Gibbs phenomenon
The oscillations crowd closer to the discontinuity as more terms are added, but the approximately 9% overshoot remains.
Course book · Fourier Series ↗
\(u_T(t)=\begin{cases}0,&-T/2<t<0\\1,&0<t<T/2\end{cases},\quad u_T(t+T)=u_T(t)\)
\(x_N^{(\alpha)}(t)=\dfrac12+\dfrac{2}{\pi}\displaystyle\sum_{m=0}^{N-1}w_{m,\alpha}\dfrac{\sin\!\left((2m+1)2\pi t/T\right)}{2m+1}\)
\(w_{m,\alpha}=(1-\alpha)+\alpha\!\left(1-\dfrac{2m+1}{2N}\right)\)
Periodic step and \(x_{10}(t)\)
Formula preview
\(x_N(t)\)
\(t/T\)
periodic steppartial sum
Near the discontinuity
zoom around \(t=0\)
\(x_N(t)\)
\(t/T\)
periodic steppartial sum
Maximum 1.091
Overshoot 9.1%
Python not run