§ Lecture: Complex Fourier Series
Annoyingly, we denote j:=−1. Fourier series look a lot simpler now.
f(t)=k=0∑∞(ckcos(kω0t)+dksin(kω0t))=k=−∞∑∞akejkω0t.
The relationship between the two looks like this:
ck=ak+a(−k) and dk=j(ak−a(−k)) for k≥1. ∥ ak=⎩⎨⎧c021(ck−jdk)21(c(−k)+jd(−k)) for k=0. for k>0. for k<0.
And more directly, the coefficients {ak}k=−∞∞ are generated like so.
Theorem. (Complex Fourier Coefficients) Given a signal f(t) with period T and fundamental frequency ω0:=2π/T, we have:
aℓ=T1∫Tf(t)e−jω0ℓtdt.
Here, ∫T denotes an integral over any interval of length T. Note that this holds even for ℓ=0.
Proof: It's even simpler than last time.
∫Tejkω0t⋅e−jω0ℓtdt=∫Tejω0(k−ℓ)tdt={T0 if k=ℓ. otherwise.
We can do the same “Transforming Fourier Series” analysis as before using complex numbers, too.
Problem. Given the Fourier coefficients {ak}k=−∞∞ for f(t), determine the Fourier coefficients for f(2t) and f(t−T/2).
Solution: For f(2t), the coefficients remain the same. Meanwhile, for f(t−T/2), we notice (recalling ω0=2π/T) that:
ejkω0(t−T/2)=e−jkω0T/2⋅ejkω0t=(−1)k⋅ejkω0t.
So for f(t−T/2), the odd-indexed coefficients are negated, and all others remain the same.
The usefulness of complex numbers reveals itself when considering more complicated transformations.
Problem. Determine how the Fourier coefficients for f(t) relate to those of f(t−T/8).
Solution: Sparing you the computational details, you can verify:
ck′=⎩⎨⎧ck22(ck−dk)−dk22(−ck−dk)−ck22(−ck+dk)dk22(ck+dk)k≡0(mod8).k≡1(mod8).k≡2(mod8).k≡3(mod8).k≡4(mod8).k≡5(mod8).k≡6(mod8).k≡7(mod8).
The expression for dk′ is equally messy. In comparison, ak′=e−jk(2π/8)ak; the kth coefficient rotates clockwise by (45k)∘.
§ Recitation: Complex Fourier Series
In some cases, finding the complex Fourier series can be really easy.
Problem. Determine the Fourier series coefficients for f(t)=cos100(t), taking T=2π.
Solution: This is just (21ejt+21e−jt)100, so ak=2−100(50−k/2100) for all k∈{−100,−98,…,98,100}, and ak=0 otherwise.
Problem. Determine the Fourier series coefficients for f(t)=(sin(23πt)+jcos(23πt))2−1, taking T=4.
Solution: It's just a6=1 and everything else is zero.
As we saw in lecture, shifting a signal just multiplies each of its complex Fourier coefficients by a unit-magnitude constant.
Theorem. (Delay Property) If f(t) has Fourier coefficients {ak}k=−∞∞, then f(t−τ) has Fourier coefficients ak′=ak⋅e−jkω0τ.
We can also say things about symmetry and antisymmetry.
Might as well share a fun fact.
Theorem. (Parseval's Theorem) For a signal with Fourier coefficients {ak}k=−∞∞, we have T1∫T∣f(t)∣2dt=∑k=−∞∞∣ak∣2.
Proof: Just use zz=∣z∣2 and the fact that {ejkω0t}k=−∞∞ forms an orthonormal basis under ⟨g,h⟩:=T1∫Tg(t)h(t)dt. ■