Salta al contenuto
Note per Studenti Convergence of the Fourier Series Report

Convergence of the Fourier Series

In questa pagina 3

We now understand in which sense x(t) "="∑n=−∞+∞anejω0ntx(t)\ "="\sum_{n=-\infty}^{+\infty}a_ne^{j\omega_0nt} (see Continuous-Time Fourier SeriesA periodic continuous-time signal is written as a combination of harmonics e^{jn w0 t} whose coefficients a_n are projections of the signal onto each harmonic; coefficients have symmetries that mirror those of the signal.Continuous-Time Fourier Series →). Define the truncated Fourier series x^N(t):=∑n=−NNanejω0nt,N:=min⁡(N1,N2),\hat x_N(t):=\sum_{n=-N}^{N}a_ne^{j\omega_0nt},\qquad N:=\min(N_1,N_2), so the question becomes: is x(t) "="lim⁡N→+∞x^N(t)x(t)\ "="\lim_{N\to+\infty}\hat x_N(t)? We need to study convergence. There are several notions of convergence; the lecture sees three, perhaps the most popular but not comprehensive (time is limited: Signals and Systems is a 9 CFU course). For sequences of functions in general see Lebesgue Spaces and Convergence of Sequences of FunctionsL^p and l^p are the spaces of signals with finite p-norm, their inclusions depend on whether the domain is bounded or discrete, and sequences of functions can converge pointwise or in the L^p sense.Lebesgue Spaces and Convergence of Sequences of Functions →.

  1. Pointwise convergence: lim⁡N→+∞∣x(t)−x^N(t)∣=0\lim_{N\to+\infty}|x(t)-\hat x_N(t)|=0 for all t∈[T]t\in[T].
  2. L2([T])L^2([T]) convergence (convergence in the mean square sense): lim⁡N→+∞∫[T]∣x(τ)−x^N(τ)∣2dτ=0\lim_{N\to+\infty}\int_{[T]}|x(\tau)-\hat x_N(\tau)|^2d\tau=0.
  3. Uniform convergence over S⊆[T]S\subseteq[T]: lim⁡N→+∞sup⁡t∈S∣x(t)−x^N(t)∣=0\lim_{N\to+\infty}\sup_{t\in S}|x(t)-\hat x_N(t)|=0 (see the appendix of the course).

This gives a partial answer to the initial important question about which periodic signals can be expressed through exponentials.

(1) Pointwise convergence: Dirichlet conditions

The regularity conditions are yielded by the Dirichlet test.

Theorem (sufficient conditions for pointwise convergence of Fourier series). Given a periodic continuous-time signal x(t)x(t) of period T>0T>0 with a finite number of first-type discontinuities, namely lim⁡t→t0+x(t)=x(t0+)<+∞,lim⁡t→t0−x(t)=x(t0−)<+∞\lim_{t\to t_0^+}x(t)=x(t_0^+)<+\infty,\qquad\lim_{t\to t_0^-}x(t)=x(t_0^-)<+\infty (a finite number of bounded jumps), and x(t)x(t) differentiable (except at those discontinuities, where the left and right derivatives are required to exist and be finite), then lim⁡N→+∞x^N(t)=lim⁡ε→0x(t−ε)+x(t+ε)2∀t∈[T].\boxed{\lim_{N\to+\infty}\hat x_N(t)=\lim_{\varepsilon\to0}\frac{x(t-\varepsilon)+x(t+\varepsilon)}{2}\qquad\forall t\in[T].} The proof is too hard; the lecture takes it on faith ("Dirichlet is on point").

Remark. To get pointwise convergence of the truncated Fourier series of xx the required regularity is given by a finite amount of bounded variations plus differentiability (except at jumps). To be quick, these are called the Dirichlet conditions.

Observations.

  • If xx is continuous over ]0,T[]0,T[ then x^N(t)→P.W.x(t)\hat x_N(t)\xrightarrow{\text{P.W.}}x(t) for all t∈ ]0,T[t\in\,]0,T[. Also, if x(0)=x(T)x(0)=x(T) then x^N(t)→P.W.x(t)\hat x_N(t)\xrightarrow{\text{P.W.}}x(t) over [0,T][0,T].
  • If x(0)=x(T)x(0)=x(T), by imposing x(t)=0x(t)=0 for all t∉[0,T]t\notin[0,T], then for the periodic repetition repT[x]\mathrm{rep}_T[x] it holds that x^N→P.W.repT[x]\hat x_N\xrightarrow{\text{P.W.}}\mathrm{rep}_T[x] over [0,T][0,T].

Fact (further implications of the Dirichlet conditions). If a continuous-time periodic signal x(t)x(t) of period T>0T>0 satisfies the Dirichlet conditions then x∈Lp([T])x\in L^p([T]) for all p≥1p\ge1.

Proof. Let p≥1p\ge1. There are two cases.

  1. x∈C0([T])x\in\mathcal{C}^0([T]) (no discontinuities). By the Weierstrass theorem, ∫[T]∣x(τ)∣pdτ≤max⁡t∈[T]∣x(t)∣p∫[T]dτ=Tmax⁡t∈[T]∣x(t)∣p<+∞\int_{[T]}|x(\tau)|^pd\tau\le\max_{t\in[T]}|x(t)|^p\int_{[T]}d\tau=T\max_{t\in[T]}|x(t)|^p<+\infty.
  2. x∉C0([T])x\notin\mathcal{C}^0([T]) and there exist M≥1M\ge1 discontinuities of the first kind at t1<⋯<tM∈[T]t_1<\dots<t_M\in[T]. Without loss of generality the period starts at t1t_1 and ends at t1+Tt_1+T. Then ∫[T]∣x(τ)∣pdτ=∑i=1M−1lim⁡r→ti+s→ti+1−∫rs∣x(τ)∣pdτ+lim⁡r→tM+s→(t1+T)−∫rs∣x(τ)∣pdτ.\int_{[T]}|x(\tau)|^pd\tau=\sum_{i=1}^{M-1}\lim_{\substack{r\to t_i^+\\s\to t_{i+1}^-}}\int_r^s|x(\tau)|^pd\tau+\lim_{\substack{r\to t_M^+\\s\to(t_1+T)^-}}\int_r^s|x(\tau)|^pd\tau . Differentiability of x(t)x(t) for all t∈[T]∖{t1,…,tM}t\in[T]\setminus\{t_1,\dots,t_M\} implies x∈C0([T]∖{t1,…,tM})x\in\mathcal{C}^0([T]\setminus\{t_1,\dots,t_M\}). Moreover, bounded variations imply that each generalized integral does not diverge at the extrema (r,s)(r,s). Therefore ∫[T]∣x(τ)∣pdτ≤[∑i=1M−1(ti+1−ti)+(t1+T−tM)]sup⁡t∈[T]∖{t1,…,tM}∣x(t)∣p=Tsup⁡t∈[T]∖{t1,…,tM}∣x(t)∣p<+∞,\int_{[T]}|x(\tau)|^pd\tau\le\Big[\sum_{i=1}^{M-1}(t_{i+1}-t_i)+(t_1+T-t_M)\Big]\sup_{t\in[T]\setminus\{t_1,\dots,t_M\}}|x(t)|^p=T\sup_{t\in[T]\setminus\{t_1,\dots,t_M\}}|x(t)|^p<+\infty, i.e. a finite area over [T][T].

Both cases imply ∫[T]∣x(τ)∣pdτ<+∞\int_{[T]}|x(\tau)|^pd\tau<+\infty, i.e. x∈Lp([T])x\in L^p([T]). ■\blacksquare

Caveat. Dirichlet says that pointwise convergence is not guaranteed at jumps: there the limit is the average of the two one-sided limits, not x(t)x(t) itself. Example: the "symmetric odd square wave of period TT" x(t)=−1+2 repT ⁣[rect ⁣(t−T/4T/2)],x(t)=-1+2\,\mathrm{rep}_T\!\left[\mathrm{rect}\!\left(\frac{t-T/4}{T/2}\right)\right], equal to 11 on [0,T/2][0,T/2] and −1-1 on [T/2,T][T/2,T] (the page draws the value 11 at the jump points). lim⁡N→+∞x^N(t)\lim_{N\to+\infty}\hat x_N(t) does not converge to x(t)x(t) at t=ℓT2t=\ell\frac T2, ℓ∈Z\ell\in\mathbb{Z}: the truncated series crosses zero at each jump (marked points on the page's graph), i.e. it tends to the midpoint of the jump. That is why sometimes it is better to leave 1(t)\mathbb{1}(t) undefined at t=0t=0.

   1 |.________.                    x(t): 1 on [0,T/2], -1 on [T/2,T]
     |         |
 ----o---------o-----------> t      at t = 0, T/2, T, ... the series tends to 0 (midpoint
     0        T/2    T              of the jump), not to x(t)
  -1 .         |_________

For the detailed example of a rectangular pulse train, with the overshoot near the jumps, see Fourier Series of the Square Wave and the Gibbs PhenomenonThe even square wave of duty cycle d has Fourier coefficients a_0 = d and a_n = d sinc(d n), decaying like 1/n, and its truncated series overshoots by about 9 percent near each jump (Gibbs phenomenon).Fourier Series of the Square Wave and the Gibbs Phenomenon →.

(2) Convergence in the L2([T])L^2([T]) sense: Riesz-Fischer theorem

The regularity conditions are yielded by the Riesz-Fischer theorem.

Theorem (full characterization for L2L^2 convergence of the Fourier series). Given a periodic continuous-time signal x(t)x(t) of period T>0T>0 such that x∈L2([T])x\in L^2([T]), then lim⁡N→+∞1T∫[T]∣x(τ)−x^N(τ)∣2dτ=0\boxed{\lim_{N\to+\infty}\frac1T\int_{[T]}|x(\tau)-\hat x_N(\tau)|^2d\tau=0} (1T\frac1T is optional: just to give the sense of averaging). Moreover, the Fourier coefficients ana_n of xx constitute a finite-energy sequence {an}n=−∞+∞∈ℓ2\{a_n\}_{n=-\infty}^{+\infty}\in\ell^2, namely ∑n=−∞+∞∣an∣2<+∞.\boxed{\sum_{n=-\infty}^{+\infty}|a_n|^2<+\infty .} The vice-versa is also true: let {an}n=−∞+∞\{a_n\}_{n=-\infty}^{+\infty} be a sequence of complex numbers in ℓ2\ell^2; then there exists a signal xx over [T][T] such that x∈L2([T])x\in L^2([T]) and for which an=1T∫[T]x(t)e−jω0ntdta_n=\frac1T\int_{[T]}x(t)e^{-j\omega_0nt}dt, ω0=2πT\omega_0=\frac{2\pi}{T}.

The proof is too hard (the lecture believes in both Riesz and Fischer, "on average").

Remark. To get L2L^2 convergence of the truncated Fourier series to xx the required regularity is x∈L2([T])x\in L^2([T]), which is usually less demanding than the Dirichlet conditions. Indeed, if xx obeys the Dirichlet conditions, we already know that x∈L2([T])x\in L^2([T]) (the fact above, with p=2p=2).

Interpretation. Let eN(t):=x(t)−x^N(t)e_N(t):=x(t)-\hat x_N(t) be the error between the given signal and its truncated version. The Riesz-Fischer theorem says that if x∈L2([T])x\in L^2([T]) the error eN(t)e_N(t) has an average power (energy) over one period that tends to zero as N→+∞N\to+\infty.

Deep remark

  1. x∈L2([T])  ⟺  {an}n=−∞+∞∈ℓ2x\in L^2([T])\iff\{a_n\}_{n=-\infty}^{+\infty}\in\ell^2. The spaces L2([T])L^2([T]) and ℓ2\ell^2 are both Hilbert spaces of finite-energy signals (Hilbert SpacesA Hilbert space is a complete scalar-product space; C^N, l^2 and L^2(S) are Hilbert spaces, and the scalar product in l^2 and L^2 is what engineers call mutual energy.Hilbert Spaces →) and correspond to each other.
  2. The Riesz-Fischer theorem is more profound than the Dirichlet test, because it states that periodic finite-energy continuous-time signals can be expressed via ℓ2\ell^2 sequences. However, Dirichlet conditions are still liked because pointwise convergence is vital to design accurate real applications, such as the reconstruction of noisy audio tracks.
  3. The sequence of Fourier coefficients {an}n=−∞+∞\{a_n\}_{n=-\infty}^{+\infty} can be thought of as a finite-energy ℓ2\ell^2 discrete signal: it "lives in another world" with respect to the usual time domain. We say that {an}\{a_n\} is defined over the frequency domain, and it defines the spectrum of xx.

This correspondence is made quantitative by the Parseval identity in Properties of the Fourier SeriesThe Fourier coefficient map is a linear isometry between L2 over a period and l2 (Parseval identity, power equals the sum of squared coefficient moduli), and it turns time shift, modulation, conjugation, reversal, scaling and product into simple operations on the coefficients.Properties of the Fourier Series →.

Versione ripasso

  • Truncated series: x^N(t)=∑n=−NNanejω0nt\hat x_N(t)=\sum_{n=-N}^{N}a_ne^{j\omega_0nt}. Notions of convergence: pointwise, L2([T])L^2([T]) (mean square), uniform over S⊆[T]S\subseteq[T].
  • Dirichlet conditions (finite number of bounded first-type jumps, differentiable elsewhere with finite one-sided derivatives at the jumps) ⇒\Rightarrow pointwise convergence: lim⁡Nx^N(t)=lim⁡ε→0x(t−ε)+x(t+ε)2\lim_N\hat x_N(t)=\lim_{\varepsilon\to0}\frac{x(t-\varepsilon)+x(t+\varepsilon)}{2} for every tt (midpoint at jumps; equals x(t)x(t) where xx is continuous).
  • Dirichlet conditions ⇒x∈Lp([T])\Rightarrow x\in L^p([T]) for all p≥1p\ge1 (bounded away from jumps, finite integral over a period).
  • At jumps pointwise convergence to x(t)x(t) is not guaranteed: for the odd square wave the limit at t=ℓT/2t=\ell T/2 is 00.
  • Riesz-Fischer: x∈L2([T])⇒lim⁡N1T∫[T]∣x−x^N∣2=0x\in L^2([T])\Rightarrow\lim_N\frac1T\int_{[T]}|x-\hat x_N|^2=0 and ∑n∣an∣2<+∞\sum_n|a_n|^2<+\infty; conversely every {an}∈ℓ2\{a_n\}\in\ell^2 is the coefficient sequence of some x∈L2([T])x\in L^2([T]). Hence x∈L2([T])  ⟺  {an}∈ℓ2x\in L^2([T])\iff\{a_n\}\in\ell^2.
  • L2L^2 convergence needs less regularity than Dirichlet; Dirichlet is still useful for pointwise (applications such as noisy audio reconstruction). {an}\{a_n\} is the spectrum of xx (frequency domain).
  • Typical mistakes: claiming x^N(t)→x(t)\hat x_N(t)\to x(t) at jumps; confusing mean-square convergence with pointwise convergence; forgetting that L2([T])⊆L1([T])L^2([T])\subseteq L^1([T]) only because [T][T] is bounded.

Teoria collegata