Skip to main content

DTFS linearity and time shift

Short answer

Linearity: for z[n]=A x[n]+B y[n], the DTFS coefficients are c_k = A a_k + B b_k. Time shift: x[n-n0] has coefficients a_k e^{-j k ω0 n0}, so magnitude remains unchanged, phase shifted linearly proportional to k and n0.

State and prove the linearity and time shift properties of discrete time Fourier series representation.

Let x[n]x[n] and y[n]y[n] be periodic with period NN (ω0=2π/N\omega_0 = 2\pi/N), with x[n]↔FSakx[n] \xleftrightarrow{FS} a_k and y[n]↔FSbky[n] \xleftrightarrow{FS} b_k, where

ak=1N∑n=⟨N⟩x[n]e−jkω0na_k = \frac{1}{N}\sum_{n=\langle N\rangle} x[n]e^{-jk\omega_0 n}

Linearity

Statement: for any constants AA and BB,

z[n]=Ax[n]+By[n]↔FSck=Aak+Bbkz[n] = A x[n] + B y[n] \xleftrightarrow{FS} c_k = A a_k + B b_k

Proof: z[n]z[n] is also periodic with period NN. Then

ck=1N∑n=⟨N⟩(Ax[n]+By[n])e−jkω0n=A⋅1N∑n=⟨N⟩x[n]e−jkω0n+B⋅1N∑n=⟨N⟩y[n]e−jkω0n=Aak+Bbk\begin{aligned} c_k &= \frac{1}{N}\sum_{n=\langle N\rangle}\left(A x[n] + B y[n]\right)e^{-jk\omega_0 n} \\ &= A\cdot\frac{1}{N}\sum_{n=\langle N\rangle} x[n]e^{-jk\omega_0 n} + B\cdot\frac{1}{N}\sum_{n=\langle N\rangle} y[n]e^{-jk\omega_0 n} \\ &= A a_k + B b_k \end{aligned}

Example: if x[n]=cos⁡(2πn/N)x[n] = \cos(2\pi n/N) (a±1=1/2a_{\pm1} = 1/2) and y[n]=1y[n] = 1 (b0=1b_0 = 1), then 3x[n]+2y[n]3x[n] + 2y[n] has c0=2c_0 = 2 and c±1=3/2c_{\pm1} = 3/2.

Time shifting

Statement: a delay of n0n_0 samples multiplies each coefficient by a linear-phase term:

x[n−n0]↔FSake−jkω0n0=ake−jk(2π/N)n0x[n - n_0] \xleftrightarrow{FS} a_k e^{-jk\omega_0 n_0} = a_k e^{-jk(2\pi/N)n_0}

Proof: let z[n]=x[n−n0]z[n] = x[n - n_0]. Its coefficients are

ck=1N∑n=⟨N⟩x[n−n0]e−jkω0nc_k = \frac{1}{N}\sum_{n=\langle N\rangle} x[n-n_0]e^{-jk\omega_0 n}

Put m=n−n0m = n - n_0, so n=m+n0n = m + n_0. As nn runs over one period, so does mm:

ck=1N∑m=⟨N⟩x[m]e−jkω0(m+n0)=e−jkω0n0⋅1N∑m=⟨N⟩x[m]e−jkω0m=e−jkω0n0ak\begin{aligned} c_k &= \frac{1}{N}\sum_{m=\langle N\rangle} x[m]e^{-jk\omega_0 (m+n_0)} \\ &= e^{-jk\omega_0 n_0}\cdot\frac{1}{N}\sum_{m=\langle N\rangle} x[m]e^{-jk\omega_0 m} = e^{-jk\omega_0 n_0}a_k \end{aligned}

Meaning: ∣ck∣=∣ak∣|c_k| = |a_k|, so a time shift does not change the magnitude spectrum. It only adds a phase of −kω0n0-k\omega_0 n_0, which is linear in kk.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Signals and Systems chapter 2 questions →