Skip to main content

DTFS of a DT pulse and e^(j4πn/7)x[n]

Short answer

x[n]=2 for |n|≤1 and 0 for 1<|n|≤3 with N=7. Its DTFS coefficients are a_k = (2/7) sin(3πk/7)/sin(πk/7) for k≠0, a0=6/7. For y[n]=e^{j4πn/7}x[n], frequency shifting gives b_k = a_{k-2}, moving the spectrum right by 2.

Find out Fourier series coefficients of a periodic discrete time signal described over a period as x[n] = 2 for |n| ≤ 1; 0 for 1 < |n| ≤ 3. Using the Fourier series coefficients calculated above, find the Fourier series coefficients of the signal e^(j4πn/7) x[n].

The signal is x[n]=2x[n] = 2 for n=−1,0,1n = -1, 0, 1 and x[n]=0x[n] = 0 for n=±2,±3n = \pm2, \pm3. One period runs over n=−3n = -3 to 33, so N=7N = 7 and ω0=2π/7\omega_0 = 2\pi/7.

 x[n]
  2        *  *  *              *  *  *
           |  |  |              |  |  |
--*--*--*--+--+--+--*--*--*--*--+--+--+--- n
 -4 -3 -2 -1  0  1  2  3  4  5  6  7  8

Fourier series coefficients of x[n]

ak=1N∑n=−112 e−jk(2π/7)n=27[1+e−j2πk/7+ej2πk/7]=27[1+2cos⁡2πk7]a_k = \frac{1}{N}\sum_{n=-1}^{1} 2\,e^{-jk(2\pi/7)n} = \frac{2}{7}\left[1 + e^{-j2\pi k/7} + e^{j2\pi k/7}\right] = \frac{2}{7}\left[1 + 2\cos\frac{2\pi k}{7}\right]

In closed form (the standard result for a DT rectangular pulse with N1=1N_1 = 1):

ak=27⋅sin⁡(3πk/7)sin⁡(πk/7),k≠0,±7,… ;a0=2(2N1+1)N=67a_k = \frac{2}{7}\cdot\frac{\sin(3\pi k/7)}{\sin(\pi k/7)}, \quad k \ne 0, \pm7, \dots; \qquad a_0 = \frac{2(2N_1+1)}{N} = \frac{6}{7}
k0123456
aka_k0.8570.6420.159−0.229−0.2290.1590.642

The coefficients are real and even (ak=a−k=a7−ka_k = a_{-k} = a_{7-k}), because x[n]x[n] is real and even. They repeat with period 7.

Coefficients of y[n] = e^{j4πn/7} x[n]

ej4πn/7=ej2(2π/7)n=ejMω0nwith M=2e^{j4\pi n/7} = e^{j2(2\pi/7)n} = e^{jM\omega_0 n} \quad \text{with } M = 2

By the frequency shifting property, ejMω0nx[n]↔FSak−Me^{jM\omega_0 n}x[n] \xleftrightarrow{FS} a_{k-M}, so

bk=ak−2=27⋅sin⁡(3π(k−2)/7)sin⁡(π(k−2)/7),b2=67b_k = a_{k-2} = \frac{2}{7}\cdot\frac{\sin\left(3\pi(k-2)/7\right)}{\sin\left(\pi(k-2)/7\right)}, \qquad b_2 = \frac{6}{7}
k0123456
bk=ak−2b_k = a_{k-2}0.1590.6420.8570.6420.159−0.229−0.229

Answer: ak=27sin⁡(3πk/7)sin⁡(πk/7)a_k = \frac{2}{7}\frac{\sin(3\pi k/7)}{\sin(\pi k/7)} with a0=6/7a_0 = 6/7, and bk=ak−2b_k = a_{k-2}. The spectrum is the same shape, moved 2 places to the right (peak at k=2k = 2).

✓ Answer checked by Claude Opus 5.5 (high effort)

All Signals and Systems chapter 2 questions →