Skip to main content

FS of unit-amplitude rectangular pulses

Short answer

For a periodic rectangular pulse train of amplitude 1, period T, pulse width 2T1, FS coefficients are a0 = 2T1/T and a_k = sin(k ω0 T1)/(kπ) for k≠0. The magnitude spectrum is a sinc-shaped envelope; for T=4T1, a0=0.5, a1=1/π, a3=-1/(3π).

Find Fourier series coefficients for periodic rectangular pulses with unity amplitude. Draw the magnitude spectrum.

Take a periodic train of rectangular pulses with unity amplitude, period TT and pulse width 2T12T_1, centred at t=0t = 0:

x(t)={1,∣t∣<T10,T1<∣t∣<T/2x(t+T)=x(t),ω0=2πTx(t) = \begin{cases} 1, & |t| < T_1 \\ 0, & T_1 < |t| < T/2 \end{cases} \qquad x(t+T) = x(t), \quad \omega_0 = \frac{2\pi}{T}
 x(t)
  1     ___       ___       ___
       |   |     |   |     |   |
 ______|   |_____|   |_____|   |___ t
     -T1   T1  T-T1  T+T1
       (width 2T1, period T)

Fourier series coefficients

DC term (the average value):

a0=1T∫−T1T1dt=2T1Ta_0 = \frac{1}{T}\int_{-T_1}^{T_1} dt = \frac{2T_1}{T}

For k≠0k \ne 0:

ak=1T∫−T1T1e−jkω0tdt=1T⋅e−jkω0T1−ejkω0T1−jkω0=2kω0Tsin⁡(kω0T1)=sin⁡(kω0T1)kπ\begin{aligned} a_k &= \frac{1}{T}\int_{-T_1}^{T_1} e^{-jk\omega_0 t}dt = \frac{1}{T}\cdot\frac{e^{-jk\omega_0 T_1} - e^{jk\omega_0 T_1}}{-jk\omega_0} \\ &= \frac{2}{k\omega_0 T}\sin(k\omega_0 T_1) = \frac{\sin(k\omega_0 T_1)}{k\pi} \end{aligned}

This can also be written ak=2T1T sinc ⁣(2kT1T)a_k = \frac{2T_1}{T}\,\mathrm{sinc}\!\left(\frac{2kT_1}{T}\right), with sinc(x)=sin⁡πxπx\mathrm{sinc}(x) = \frac{\sin \pi x}{\pi x}.

Example: T = 4T₁ (duty cycle 50%)

ak=sin⁡(kπ/2)kπa_k = \frac{\sin(k\pi/2)}{k\pi}: a0=0.5a_0 = 0.5, a±1=1/π≈0.318a_{\pm1} = 1/\pi \approx 0.318, a±2=0a_{\pm2} = 0, a±3=−1/(3π)≈−0.106a_{\pm3} = -1/(3\pi) \approx -0.106, a±5≈0.064a_{\pm5} \approx 0.064.

Magnitude spectrum

 |a_k|
 0.5              |
 0.32          |  |  |
 0.11       |  |  |  |  |
 0.06    |  |  |  |  |  |  |
 --------+--+--+--+--+--+--+--- k
        -5 -3 -1  0  1  3  5
     (|a_k| = 0 for even k != 0)

The lines sit at kω0k\omega_0 under a sinc-shaped envelope. A wider pulse (T1T_1 larger) gives a narrower envelope. A longer period (TT larger) gives more closely spaced lines, and as T→∞T \to \infty the scaled coefficients TakTa_k merge into the continuous Fourier transform 2sin⁡(ωT1)/ω2\sin(\omega T_1)/\omega.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Signals and Systems chapter 2 questions →