Salta al contenuto
Note per Studenti Fourier Transform Report

Fourier Transform

In questa pagina 5

The Fourier series (FS) represents periodic signals. The Fourier transform (FT) is the extension to aperiodic signals. The motivation is that all physical signals are of interest, not only periodic ones. First an intuitive derivation is given, then the formalism.

Intuitive derivation from the periodic square wave

Start from the rectangular pulse x(t)=rect ⁣(t2T1)x(t)=\mathrm{rect}\!\left(\dfrac{t}{2T_1}\right) (equal to 11 for ∣t∣<T1|t|<T_1, zero elsewhere) and its periodic repetition with period T>T1>0T>T_1>0:

x~(t)=repT ⁣[rect ⁣(t2T1)],T=2πω0.\tilde x(t)=\mathrm{rep}_T\!\left[\mathrm{rect}\!\left(\tfrac{t}{2T_1}\right)\right],\qquad T=\frac{2\pi}{\omega_0}.

 x(t)                          x~(t)  (period T)
   ________                     ___        ___        ___
  |        |                 __|   |______|   |______|   |__
--+--+--+--+--> t            -T -T1  0  T1    T
   -T1  T1

We want to represent x(t)x(t) in the frequency domain, not x~(t)\tilde x(t). Intuitively x(t)=lim⁡T→+∞x~(t)=lim⁡T→+∞repT ⁣[rect ⁣(t2T1)].x(t)=\lim_{T\to+\infty}\tilde x(t)=\lim_{T\to+\infty}\mathrm{rep}_T\!\left[\mathrm{rect}\!\left(\tfrac{t}{2T_1}\right)\right].

From the FS theory x~(t)=∑n=−∞+∞anejω0nt\tilde x(t)=\sum_{n=-\infty}^{+\infty}a_ne^{j\omega_0nt} with

an=1T∫[T]x~(t)e−jω0ntdt=1T∫−T1T1e−jω0ntdt=1T[e−jω0nt−jω0n]−T1T1=1T ejω0nT1−e−jω0nT1jω0n=2Tω0nsin⁡(ω0nT1),n≠0,a_n=\frac1T\int_{[T]}\tilde x(t)e^{-j\omega_0nt}dt=\frac1T\int_{-T_1}^{T_1}e^{-j\omega_0nt}dt=\frac1T\left[\frac{e^{-j\omega_0nt}}{-j\omega_0n}\right]_{-T_1}^{T_1}=\frac1T\,\frac{e^{j\omega_0nT_1}-e^{-j\omega_0nT_1}}{j\omega_0n}=\frac{2}{T\omega_0n}\sin(\omega_0nT_1),\quad n\ne0,

a0=1T∫−T1T1dt=2T1T.a_0=\frac1T\int_{-T_1}^{T_1}dt=\frac{2T_1}{T}.

Notice that an=O(1/T)a_n=O(1/T) as T→+∞T\to+\infty: each an(T)a_n(T) converges to 00 as fast as 1/T1/T. To understand the general pattern look at the rescaled coefficients T⋅anT\cdot a_n, which do not vanish as T→+∞T\to+\infty:

T an={2sin⁡(ω0nT1)ω0n,n≠02T1,n=0.T\,a_n=\begin{cases}\dfrac{2\sin(\omega_0nT_1)}{\omega_0n},&n\ne0\\[2mm] 2T_1,&n=0.\end{cases}

The coefficients are samples of an envelope

Plotted against ω0n\omega_0n, the points T anT\,a_n lie on a smooth curve, the envelope of the Fourier coefficients, which passes through Ta0=2T1Ta_0=2T_1 at the origin and crosses zero at ±2ω0,±4ω0,…\pm2\omega_0,\pm4\omega_0,\dots (for the period drawn in the notes).

 T*a_n
   |            o            <- T a_0 = 2 T_1
   |        o       o
   |      o           o
 --+--o--o--+--+--+--o--o--> omega_0 n
   |  -4w0 -2w0   2w0 4w0
   |   o   (negative lobes)   o

Take a new period T′=2T=2⋅2πω0=2πω0/2T'=2T=2\cdot\frac{2\pi}{\omega_0}=\frac{2\pi}{\omega_0/2}, i.e. ω0′=ω0/2\omega_0'=\omega_0/2. The new coefficients (with period T′T') lie on the same envelope but twice as dense in frequency. Increasing the period, the coefficients get closer and closer; as T→+∞T\to+\infty the Fourier coefficients become samples of the envelope function.

Taking ω=nω0\omega=n\omega_0, the envelope of T anT\,a_n is

2sin⁡(ωT1)ω.\frac{2\sin(\omega T_1)}{\omega}.

This is the Fourier transform of x(t)=rect(t/2T1)x(t)=\mathrm{rect}(t/2T_1): X(jω)=2sin⁡(ωT1)ω\mathcal X(j\omega)=2\dfrac{\sin(\omega T_1)}{\omega}.

Extension to any aperiodic signal

Let x(t)x(t) be any aperiodic signal R→C\mathbb R\to\mathbb C. Truncate it on [−T/2,T/2][-T/2,T/2] and repeat periodically:

x(t)=lim⁡T→+∞x~(t)=lim⁡T→+∞repT ⁣[x(t) rect ⁣(tT)].x(t)=\lim_{T\to+\infty}\tilde x(t)=\lim_{T\to+\infty}\mathrm{rep}_T\!\left[x(t)\,\mathrm{rect}\!\left(\tfrac tT\right)\right].

Over [−T/2,T/2][-T/2,T/2] it holds x~(t)≡x(t)\tilde x(t)\equiv x(t), and 1T=12π/ω0=ω02π\frac1T=\frac{1}{2\pi/\omega_0}=\frac{\omega_0}{2\pi}. The FS of x~\tilde x is

x~(t)=∑n=−∞+∞anejω0nt=∑n=−∞+∞(1T∫[T]x~(t)e−jω0ntdt)ejω0nt=12π∑n=−∞+∞(∫[T]x(t)e−jω0ntdt)ejω0nt ω0.\tilde x(t)=\sum_{n=-\infty}^{+\infty}a_ne^{j\omega_0nt}=\sum_{n=-\infty}^{+\infty}\left(\frac1T\int_{[T]}\tilde x(t)e^{-j\omega_0nt}dt\right)e^{j\omega_0nt}=\frac1{2\pi}\sum_{n=-\infty}^{+\infty}\left(\int_{[T]}x(t)e^{-j\omega_0nt}dt\right)e^{j\omega_0nt}\,\omega_0 .

Assign XT(jω0n):=∫[T]x(t)e−jω0ntdt,\mathcal X_T(j\omega_0n):=\int_{[T]}x(t)e^{-j\omega_0nt}dt, which can be interpreted as the envelope function as T→+∞T\to+\infty. Then

x~(t)=12π∑n=−∞+∞XT(jω0n) ejω0nt ω0.\tilde x(t)=\frac1{2\pi}\sum_{n=-\infty}^{+\infty}\mathcal X_T(j\omega_0n)\,e^{j\omega_0nt}\,\omega_0 .

Each term XT(jω0n) ω0\mathcal X_T(j\omega_0n)\,\omega_0 is the area of a rectangle of base ω0\omega_0 and height XT(jω0n)\mathcal X_T(j\omega_0n) under the curve lim⁡T→+∞XT\lim_{T\to+\infty}\mathcal X_T: the sum is a Riemann sum. Since lim⁡T→+∞ω0=lim⁡T→+∞2π/T=0\lim_{T\to+\infty}\omega_0=\lim_{T\to+\infty}2\pi/T=0, with ω0⇝dω\omega_0\leadsto d\omega:

x(t)=lim⁡T→+∞x~(t) ≈ 12π∫−∞+∞X(jω) ejωtdω.x(t)=\lim_{T\to+\infty}\tilde x(t)\ \approx\ \frac1{2\pi}\int_{-\infty}^{+\infty}\mathcal X(j\omega)\,e^{j\omega t}d\omega .

This is an informal (implicit) definition of the Fourier transform: X(jω)\mathcal X(j\omega) is the envelope of the rescaled Fourier coefficients. The argument is not rigorous, because the function XT(jω0n)\mathcal X_T(j\omega_0n) changes parametrically as ω0\omega_0 varies. Strictly, the expression in the box is the inverse FT.

Definitions

Fourier transform. Given x(t):R→Cx(t):\mathbb R\to\mathbb C, the function X(jω):R→C\mathcal X(j\omega):\mathbb R\to\mathbb C,

X(jω)=∫−∞+∞x(t) e−jωt dt\boxed{\mathcal X(j\omega)=\int_{-\infty}^{+\infty}x(t)\,e^{-j\omega t}\,dt}

is called the FT of x(t)x(t). Notation: X(jω)=F[x(t)]\mathcal X(j\omega)=\mathcal F[x(t)].

In frequency f=ω2πf=\dfrac{\omega}{2\pi}: X(f)=∫−∞+∞x(t) e−j2πft dt.\mathcal X(f)=\int_{-\infty}^{+\infty}x(t)\,e^{-j2\pi ft}\,dt .

Inverse Fourier transform. Let x(t)x(t) be a signal with FT X(jω)=F[x(t)]\mathcal X(j\omega)=\mathcal F[x(t)]. For Ω∈R\Omega\in\mathbb R set x^Ω(t):=12π∫−ΩΩX(jω)ejωtdω.\hat x_\Omega(t):=\frac1{2\pi}\int_{-\Omega}^{\Omega}\mathcal X(j\omega)e^{j\omega t}d\omega . The IFT, F−1\mathcal F^{-1}, is defined as x^(t)=lim⁡Ω→+∞x^Ω(t)=12π∫−∞+∞X(jω)ejωtdω.\boxed{\hat x(t)=\lim_{\Omega\to+\infty}\hat x_\Omega(t)=\frac1{2\pi}\int_{-\infty}^{+\infty}\mathcal X(j\omega)e^{j\omega t}d\omega .}

In frequency (since df=dω/2πdf=d\omega/2\pi): x^(t)=∫−∞+∞X(f) ej2πft df.\hat x(t)=\int_{-\infty}^{+\infty}\mathcal X(f)\,e^{j2\pi ft}\,df .

Now the convergence of these integrals must be discussed.

Convergence analysis of the Fourier transform

If x(t)∈L1(R)x(t)\in L^1(\mathbb R), i.e. ∫−∞+∞∣x(t)∣dt<+∞\int_{-\infty}^{+\infty}|x(t)|dt<+\infty, then:

  1. X(jω)\mathcal X(j\omega) exists and is finite for all ω∈R\omega\in\mathbb R;
  2. X(jω)\mathcal X(j\omega) vanishes for ω→∞\omega\to\infty;
  3. X(jω)\mathcal X(j\omega) is uniformly continuous.

Definition (uniform continuity). f(t):R→Cf(t):\mathbb R\to\mathbb C is uniformly continuous (over R\mathbb R) if for every ε>0\varepsilon>0 there exists γ>0\gamma>0 such that for all t1,t2∈Rt_1,t_2\in\mathbb R with ∣t1−t2∣≤γ|t_1-t_2|\le\gamma one has ∣f(t2)−f(t1)∣≤ε|f(t_2)-f(t_1)|\le\varepsilon.

Uniformly continuous functions are continuous on R\mathbb R and never exhibit points of infinite slope (arbitrary steepness).

Proof of 1. We need ∣X(jω)∣<+∞|\mathcal X(j\omega)|<+\infty. Under the assumption x∈L1x\in L^1: ∣X(jω)∣=∣∫−∞+∞x(t)e−jωtdt∣≤∫−∞+∞∣x(t)∣dt<+∞.#|\mathcal X(j\omega)|=\left|\int_{-\infty}^{+\infty}x(t)e^{-j\omega t}dt\right|\le\int_{-\infty}^{+\infty}|x(t)|dt<+\infty .\qquad\#

Sketch of the proof of 2. Use the Riemann-Lebesgue lemma: lim⁡ω→∞∫abx(t)cos⁡(ωt) dt=0,\lim_{\omega\to\infty}\int_a^bx(t)\cos(\omega t)\,dt=0 , and apply it to the real and imaginary parts of X(jω)\mathcal X(j\omega). Intuition: if x(t)x(t) does not vary quickly enough, the positive and negative area contributions cancel out while integrating.

3 is not proved.

Convergence analysis of the inverse Fourier transform

If X(jω):R→C\mathcal X(j\omega):\mathbb R\to\mathbb C with X(jω)∈L1(R)\mathcal X(j\omega)\in L^1(\mathbb R), then x^(t)\hat x(t) (the IFT) has the properties:

  1. x^(t)\hat x(t) exists and is finite for all t∈Rt\in\mathbb R;
  2. x^(t)\hat x(t) vanishes for t→∞t\to\infty;
  3. x^(t)\hat x(t) is uniformly continuous.

So far x(t)→ F X(jω)→ F−1 x^(t)x(t)\xrightarrow{\ \mathcal F\ }\mathcal X(j\omega)\xrightarrow{\ \mathcal F^{-1}\ }\hat x(t). Is x(t)=x^(t)x(t)=\hat x(t)? Not really: more assumptions are needed.

Theorem (FT/IFT convergence in L1(R)L^1(\mathbb R)). Assume x(t)∈L1(R)x(t)\in L^1(\mathbb R), X(jω)=F[x(t)]\mathcal X(j\omega)=\mathcal F[x(t)], and

  • x(t)x(t) is piecewise continuous;
  • x˙(t)\dot x(t) is piecewise continuous

(very similar to the Dirichlet conditions, but here there might be infinitely many discontinuities). Then for all t∈Rt\in\mathbb R

x^(t)=12π∫−∞+∞X(jω)ejωtdω=lim⁡ε→0x(t+ε)+x(t−ε)2.\hat x(t)=\frac1{2\pi}\int_{-\infty}^{+\infty}\mathcal X(j\omega)e^{j\omega t}d\omega=\lim_{\varepsilon\to0}\frac{x(t+\varepsilon)+x(t-\varepsilon)}{2}.

Where xx is continuous, x^(t)=x(t)\hat x(t)=x(t); at a jump discontinuity x^(t)\hat x(t) takes the midpoint between the left and right limits.

Theorem (Plancherel). Assume x(t)∈L1(R)∩L2(R)x(t)\in L^1(\mathbb R)\cap L^2(\mathbb R). Then lim⁡Ω→∞∫−∞+∞∣x^Ω(t)−x(t)∣2dt=0\lim_{\Omega\to\infty}\int_{-\infty}^{+\infty}|\hat x_\Omega(t)-x(t)|^2dt=0 and Parseval's relation holds in the form ∫−∞+∞∣x(t)∣2dt=12π∫−∞+∞∣X(jω)∣2dω.\boxed{\int_{-\infty}^{+\infty}|x(t)|^2dt=\frac1{2\pi}\int_{-\infty}^{+\infty}|\mathcal X(j\omega)|^2d\omega .}

What if x∉L1x\notin L^1 but x∈L2x\in L^2?

Theorem (FT/IFT convergence in L2(R)L^2(\mathbb R)). Assume there exist xn(t)∈L1(R)x_n(t)\in L^1(\mathbb R) such that, for all n∈Nn\in\mathbb N:

  • F[xn(t)]=Xn(jω)\mathcal F[x_n(t)]=\mathcal X_n(j\omega);
  • lim⁡n→+∞∥xn(t)−x(t)∥=0\lim_{n\to+\infty}\|x_n(t)-x(t)\|=0, where x(t)∈L2(R)x(t)\in L^2(\mathbb R).

Then lim⁡n→+∞∥Xn(jω)−X(jω)∥=0\lim_{n\to+\infty}\|\mathcal X_n(j\omega)-\mathcal X(j\omega)\|=0 and F[x(t)]=X(jω)\mathcal F[x(t)]=\mathcal X(j\omega). In this way the FT is defined for L2L^2 signals as a limit of FTs of L1L^1 signals. (The norm symbol is written ∣⋅∣|\cdot| in the scan; it is read here as the L2L^2 norm.)

For periodic signals, which are usually not in L1(R)L^1(\mathbb R), see Fourier Transform of Common SignalsFourier transform of periodic signals through the transform of the complex exponential as a Dirac impulse, and a catalogue of computed transforms: cosine, sine, constant, causal exponential, two-sided exponential, rectangle and sinc, sign function, unit step and 1/t.Fourier Transform of Common Signals →; the rules for computing transforms are in Properties of the Fourier TransformProperties of the Fourier transform with proofs: time shift, modulation, rescaling, convolution theorem, temporal product, time-frequency duality, symmetries, derivative, integral and multiplication by t, followed by worked exercises on a ramp-times-rectangle and on the squared sinc.Properties of the Fourier Transform →.

Versione ripasso

Idea: x(t)=lim⁡T→∞x~(t)x(t)=\lim_{T\to\infty}\tilde x(t) with x~=repT[x rect(t/T)]\tilde x=\mathrm{rep}_T[x\,\mathrm{rect}(t/T)]. The FS coefficients rescaled by TT, TanT a_n, become samples (spacing ω0=2π/T→0\omega_0=2\pi/T\to0) of an envelope X(jω)\mathcal X(j\omega); the FS sum becomes a Riemann sum, hence an integral. Example: Tan=2sin⁡(ω0nT1)/(ω0n)T a_n=2\sin(\omega_0nT_1)/(\omega_0n), Ta0=2T1Ta_0=2T_1; envelope 2sin⁡(ωT1)/ω2\sin(\omega T_1)/\omega = FT of rect(t/2T1)\mathrm{rect}(t/2T_1).

Definitions X(jω)=∫−∞+∞x(t)e−jωtdt,X(f)=∫x(t)e−j2πftdt,\mathcal X(j\omega)=\int_{-\infty}^{+\infty}x(t)e^{-j\omega t}dt,\qquad \mathcal X(f)=\int x(t)e^{-j2\pi ft}dt, x^(t)=lim⁡Ω→∞12π∫−ΩΩX(jω)ejωtdω=12π∫X(jω)ejωtdω=∫X(f)ej2πftdf.\hat x(t)=\lim_{\Omega\to\infty}\frac1{2\pi}\int_{-\Omega}^{\Omega}\mathcal X(j\omega)e^{j\omega t}d\omega=\frac1{2\pi}\int\mathcal X(j\omega)e^{j\omega t}d\omega=\int\mathcal X(f)e^{j2\pi ft}df .

Convergence

  • x∈L1x\in L^1: X\mathcal X exists and finite (∣X∣≤∥x∥1|\mathcal X|\le\|x\|_1), →0\to0 at infinity (Riemann-Lebesgue), uniformly continuous. Same three properties for x^\hat x if X∈L1\mathcal X\in L^1.
  • x∈L1x\in L^1, xx and x˙\dot x piecewise continuous: x^(t)=lim⁡ε→0x(t+ε)+x(t−ε)2\hat x(t)=\lim_{\varepsilon\to0}\frac{x(t+\varepsilon)+x(t-\varepsilon)}2 (midpoint at jumps; equals x(t)x(t) at continuity points).
  • Plancherel (x∈L1∩L2x\in L^1\cap L^2): x^Ω→x\hat x_\Omega\to x in energy, and Parseval ∫∣x∣2dt=12π∫∣X(jω)∣2dω\int|x|^2dt=\frac1{2\pi}\int|\mathcal X(j\omega)|^2d\omega.
  • x∈L2∖L1x\in L^2\setminus L^1: F[x]\mathcal F[x] defined as the limit of F[xn]\mathcal F[x_n] with xn∈L1x_n\in L^1, xn→xx_n\to x.

Typical mistakes: forgetting the factor 12π\frac1{2\pi} in the inverse (or in Parseval) when working in ω\omega (it disappears in ff); expecting x^=x\hat x=x at a jump (it is the midpoint); applying the L1L^1 results to periodic signals or constants.

Teoria collegata