### Fourier Transform
Convert a function from time domain to frequency domain
$
F(\omega)=\frac{1}{2\pi}\int_{-\infty}^{\infty} f(t)e^{-j\omega t} \, dt
$
Doesn’t work when $f(t)$ doesn’t go to zero as $t\to \pm \infty$
[3b1b video](https://www.youtube.com/watch?v=spUNpyF58BY)
The $\frac{1}{2\pi}$ is omitted in some conventions
### Inverse Fourier Transform
$
f(t) = \int_{-\infty}^{\infty} F(\omega)e^{j\omega t} \, d\omega
$
[Discrete Fourier Transform (Steve Brunton)](https://www.youtube.com/watch?v=nl9TZanwbBk)
[Fast Fourier Transform (Steve Brunton)](https://www.youtube.com/watch?v=E8HeD-MUrjY)
### Convolution Theorem
The convolution of two time function $f(t)$ and $g(t)$ is defined as
$
g ⊗f = \int_{-\infty}^{\infty} g(t-t')f(t') \, dt'
$
The Fourier Transform nicely turns convolution into multiplication:
$
\mathcal{F}(g⊗f)= 2\pi G(\omega)F(\omega)
$
### Important Transform Pairs
| $E(t)$ | $E(\omega)$ | Meaning |
| ---------------------------- | --------------------------------------------------------------- | ----------------------------------------------------------------- |
| $\delta(t)$ | $\frac{1}{2\pi}$ | infinitely short → all frequencies equally |
| $1$ | $\delta(\omega)$ | constant → only DC |
| $e^{j\omega_0 t}$ | $\delta(\omega-\omega_0)$ | pure tone → one frequency |
| $e^{-t^2/2\tau^2}$ | $\dfrac{\tau}{\sqrt{2\pi}}\,e^{-\tau^2\omega^2/2}$ | Gaussian ↔ Gaussian; width $\tau$ ↔ width $1/\tau$ |
| $\mathrm{rect}$ of width $T$ | $\dfrac{T}{2\pi}\,\dfrac{\sin(\omega T/2)}{\omega T/2}$ | sharp edges → slowly decaying sinc (needed later for diffraction) |
| $\sum_n\delta(t-nT)$ | $\dfrac{1}{T}\sum_m\delta\!\left(\omega-m\frac{2\pi}{T}\right)$ | comb ↔ comb (spacing $T$ ↔ spacing $2\pi/T$) |
Gaussian integral:
$
\int_{-\infty}^{\infty}e^{-ax^2+bx}\,dx=\sqrt{\frac{\pi}{a}}\;e^{b^2/4a}\qquad(\mathrm{Re}\,a>0;\ a,b\text{ may be complex})
$
For example, the transform of the Gaussian pulse $E(t)=e^{-t^2/2\tau^2}e^{j\omega_0t}$
is given by
$E(\omega)=\frac{1}{2\pi}\int e^{-t^2/2\tau^2}\,e^{-j(\omega-\omega_0)t}\,dt=\frac{\tau}{\sqrt{2\pi}}\,e^{-\tau^2(\omega-\omega_0)^2/2}
$