Use the real Fourier series convention for period two. The Fourier coefficients areThe last two integrals follow by integration by parts. Thus the Fourier series of a half-wave rectified ramp isOn , . Its even part is and its odd part is , so the cosine and sine terms separate:At a jump, the Fourier series converges to the average of the one-sided limits. Thus the first series for takes the value at odd integers, while the Fourier series of a periodic sawtooth for takes the value there. The even function has a continuous periodic extension.