Skip to content
Nemenman Lab
Menu ☰

Archive · Physics 434, 2012

Lecture 17

Archived from the old lab wiki. Some external links may no longer work.

Here we introduce the idea of Fourier series and Fourier transforms. We have discussed in the previous lecture why we need them.

Main Lecture

  1. Consider a function f(t)f(t) periodic on −π≤t≤π-\pi\le t\le \pi.
  2. We would like to approximate this function as f(t)=∑k=0Nakcos⁡kt+∑k=1Nbksin⁡ktf(t)=\sum_{k=0}^N a_k \cos kt + \sum_{k=1}^N b_k \sin kt, takin N→∞N\to\infty at some point.
  3. From this expression, we can find the coefficients ak,bka_k, b_k self-consistently. Indeed, let’s multiply the equation by cos⁡mt\cos mt and integrate from −π-\pi to π\pi.
  4. All terms containing products cos⁡ktsin⁡mt\cos kt\sin mt are zero.
  5. For the cos⁡ktcos⁡mt\cos kt\cos mt terms, we have cos⁡ktcos⁡mt=1/2(cos⁡(k+m)t+cos⁡(k−m)t)\cos kt\cos mt=1/2 ( \cos (k+m)t +\cos(k-m)t).
  6. Completing the integrals, we have: ∫−ππdtf(t)cos⁡mt=∑m∫−ππdtak2(cos⁡(k+m)t+cos⁡(k−m)t)=∑mπak(δk,m+δk,0δm,0)=πam(1+δm,0\int_{-\pi}^{\pi}dt f(t) \cos mt= \sum_m \int_{-\pi}^{\pi} dt \frac{a_k}{2} \left( \cos (k+m)t +\cos(k-m)t\right) = \sum_m \pi a_k (\delta_{k,m}+\delta_{k,0}\delta_{m,0})=\pi a_m (1+\delta_{m,0}.
  7. We can do similar to find bkb_k: multiply by cos⁡mt\cos mt, and integrate.
  8. This gives: ak>0=1π∫−ππdtf(t)cos⁡kta_{k>0}= \frac{1}{\pi}\int_{-\pi}^{\pi}dt f(t)\cos k_t, a0=12π∫−ππdtf(t)a_{0}= \frac{1}{2\pi}\int_{-\pi}^{\pi}dt f(t), bk>0=1π∫−ππdtf(t)sin⁡ktb_{k>0}= \frac{1}{\pi}\int_{-\pi}^{\pi}dt f(t)\sin k_t.