We have been writing
If
So at the steps of the square wave, the series doesn't pick a side — it settles dead centre, at
Near a jump something stubborn happens: the partial sums overshoot the true value, and the overshoot never shrinks. Adding harmonics makes the spike narrower and pushes it closer to the jump — but its height stays at about 9% of the jump forever. This is the Gibbs phenomenon. Convergence is pointwise (every fixed point away from the jump converges) but not uniform (the worst-case error near the jump refuses to vanish).
The square wave again, zoomed near its jump at