CTFS
Table of Contents
1. Continuous-Time Fourier Series
The continuous-time Fourier series, or CTFS, is the continuous-time counterpart to the DTFS.
1.1. Synthesis Equation
If \(x(t+p)=x(t) \forall t \in \mathbb{R} \exists p > 0\), then the synthesis equation for CTFS is:
\begin{align} \boxed{x(t) = \sum_{k=-\infty}^{\infty}X_k \psi_k(t)} \end{align}where \(\psi_k(t) = e^{ik\omega_0 t}\). Note that the only frequencies that can participate in the signal are \(\dots , -k\omega_0 , \dots , -2\omega_0 , -\omega_0 , 0 , \omega_0 , 2\omega_0 , \dots , k\omega_0 , \dots\).
There are two counter-intuitive aspects here: one, \(x\) has an uncountably infinite set of points, but we can represent it with a countably infinite set of coefficents. Two, we can represent potentially discontinuous functions (e.g. the square wave) with complex exponentials that are infinitely differentiable.
1.2. Orthogonality
We wish to establish the orthogonality of each of \(\psi_k\). We live in the vector space of CT p-periodic signals, so we define the inner product as
\begin{align} \langle f, g \rangle &= \int_0^p f(t) g^*(t) \text{ d}t \notag \\ &= \int_{\langle p \rangle} f(t)g^*(t)\text{ d}t \notag \end{align}So if \(\psi_k(t) = e^{ik\omega_0t}\),
\begin{align} \langle \psi_k, \psi_l \rangle &= \int_{\langle p \rangle} e^{ik\omega_0 t}e^{-il\omega_0 t} \text{ d}t \notag \\ &= \int_0^p e^{i(k-l)\omega_0 t}\text{ d}t \notag \end{align}Case (i): \(k = l\)
Then we have:
\begin{align} \langle \psi_k, \psi_l \rangle = \int_0^p \text{ d}t = p \notag \end{align}Case (ii): \(k \neq l\)
Then we have:
\begin{align} \langle \psi_k, \psi_l \rangle = \int_0^p \cos\left[(k-l)\omega_0t\right]\text{ d}t + i\int_0^p\sin\left[(k-l)\omega_0t\right]\text{ d}t \notag \end{align}We are now integrating cosine and sine over an integer multiple \(k-l\) of its period, which means it is zero. Thus, the basis frequencies are orthogonal.
1.3. Analysis Equation
Finally, to get the analysis equation, we can write \(X_k\) as a projection of \(x\) onto \(\psi_k\):
\begin{align} X_k &= \frac{\langle x, \psi_k \rangle}{\langle \psi_k, \psi_k \rangle} \notag \\ &= \frac{1}{p} \int_{\langle p \rangle} x(t) \psi_k^*(t)\text{ d}t \notag \\ &= \frac{1}{p} \int_{\langle p \rangle} x(t) e^{-ik\omega_0t}\text{ d}t \notag \end{align}Thus, the analysis equation for CTFS is:
\begin{align} \boxed{X_k = \frac{1}{p}\int_{\langle p \rangle}x(t)e^{-ik\omega_0t}\text{ d}t} \end{align}