fourier transform and its applications - karl rupp · 2012-10-21 · making use of fourier...

26
Fourier Transform and its Applications Karl Rupp [email protected] Fourier Transform – p.1/22

Upload: others

Post on 22-Feb-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Fourier Transformand its Applications

Karl Rupp

[email protected]

Fourier Transform – p.1/22

Page 2: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Content

• Motivation• Fourier series• Fourier transform• DFT• Applications• Functional Analysis’ View• Extensions

Fourier Transform – p.2/22

Page 3: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Motivation

Given any periodic signal p(x):

−T/2 T/2

2

−1

Fourier Transform – p.3/22

Page 4: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Motivation II

• Decomposition into most basic types of periodicsignals with same period: Sine and Cosine

• Candidates:

sin(2πx

T), sin(2

2πx

T), . . .

cos(2πx

T), cos(2

2πx

T), . . .

• Thus p(x) could be rewritten as:

p(x) =∞

k=0

ak cos(k2πx

T) + bk sin(k

2πx

T)

Fourier Transform – p.4/22

Page 5: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Motivation III

An analogon:Given a crowd of people from UK, France, Greece andfrom Germany. How to separate them?

(One possible) answer:• Ask them to move on the left in French, forward in

Greek, backwards in English and to move on theright in German.

• Use of spoken language as identifier.

Fourier Transform – p.5/22

Page 6: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Motivation IV

How to extract potions of sine and cosine?⇒ A unique "identifier" for each sine and cosine needsto be found

Solution: Use scalar product, k ∈ N:

∫ T/2

−T/2cos(k

2πx

T) cos(n

2πx

T)dx =

T, k = n = 0

T/2, k = n 6= 0

0, k 6= n

Analogous results for sin(k 2πxT ) · sin(n2πx

T ) and

sin(k 2πxT ) · cos(n2πx

T )!

Fourier Transform – p.6/22

Page 7: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Fourier series

Sticking all together leads to

p(x) =a0

2+

∞∑

k=1

ak cos(k2πx

T) + bk sin(k

2πx

T)

with

ak =2

T

∫ T/2

−T/2p(x) cos(k

2πx

T)dx, k ≥ 0

bk =2

T

∫ T/2

−T/2p(x) sin(k

2πx

T)dx, k ≥ 1

Fourier Transform – p.7/22

Page 8: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Fourier series II

Simplification using eix = cos(x) + i sin(x):

p(x) =

∞∑

k=−∞cke

i 2πx

T

with

ck =1

T

∫ T/2

−T/2p(x)ei 2πx

T dx, k ≥ 0

Fourier Transform – p.8/22

Page 9: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

From series to transform

What happens if T → ∞?

Fourier Transform – p.9/22

Page 10: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

From series to transform

What happens if T → ∞?

• Increment 2πT between frequencies tends to zero,

therefore all frequencies ω are possible now.

Fourier Transform – p.9/22

Page 11: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

From series to transform

What happens if T → ∞?

• Increment 2πT between frequencies tends to zero,

therefore all frequencies ω are possible now.• Coefficients not only at discrete values, but defined

over the whole real axis.

Fourier Transform – p.9/22

Page 12: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

From series to transform

What happens if T → ∞?

• Increment 2πT between frequencies tends to zero,

therefore all frequencies ω are possible now.• Coefficients not only at discrete values, but defined

over the whole real axis.• Fourier transform becomes an operator (function

in - function out)

Fourier Transform – p.9/22

Page 13: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

From series to transform

What happens if T → ∞?

• Increment 2πT between frequencies tends to zero,

therefore all frequencies ω are possible now.• Coefficients not only at discrete values, but defined

over the whole real axis.• Fourier transform becomes an operator (function

in - function out)• Periodicy of function not necessary anymore,

therefore arbitrary functions can be transformed!

Fourier Transform – p.9/22

Page 14: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Fourier transform

Fourier transform in one dimension:

F{f}(ω) =1√2π

∫ ∞

−∞f(x)e−iωxdx

Can easily be extended to several dimensions:

F{f}(ω) = (2π)−n/2

Rn

f(x)e−iωxdx

Often capital letters are used for the Fourier transform

of a function. (f(x) ⇐⇒ F (ω))

Fourier Transform – p.10/22

Page 15: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Basic Properties

• Duality: F{F{f}}(x) = f(−x)or more often used:

f(x) =1√2π

∫ ∞

−∞F (ω)eiωxdω

• Linearity: a · f(x) + b · g(x) ⇐⇒ a · F (ω) + b · G(ω)

• Scaling: f(a · x) ⇐⇒ 1|a|F (x

a )

• Shift in f : f(x − a) ⇐⇒ e−iaxF (ω)

• Shift in F : eiaxf(x) ⇐⇒ F (ω − a)

Fourier Transform – p.11/22

Page 16: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Further Properties

• Differentiation of f : dnf(x)dxn ⇐⇒ (iω)nF (ω)

• Differentiation of F : xnf(x) ⇐⇒ in dnG(ω)dω

• Convolution of f, g: f(x) ∗ g(x) ⇐⇒ F (ω)G(ω)

• Convolution of F,G: f(x)g(x) ⇐⇒ F (ω)∗G(ω)√2π

• Parseval theorem:∫ ∞

−∞f(x)g(x)dx =

∫ ∞

−∞F (ω)G(ω)dω

Fourier Transform – p.12/22

Page 17: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Some Fourier pairs

Some of the most important transform-pairs:

rect(x) ⇐⇒ 2√2π

sin(ω/2)

ω

δ(x) ⇐⇒ 1√2π

e−αt ⇐⇒ 1√2α

· e−ω2

∞∑

n=−∞δ(t − nT ) ⇐⇒

√2πT

∞∑

k=−∞δ(

ω − k 2πT

)

Fourier Transform – p.13/22

Page 18: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Making use of Fourier transform

• Differential equations transform to algebraicequations that are often much easier to solve

• Convolution simplifies to multiplication, that is whyFourier transform is very powerful in system theory

• Both f(x) and F (ω) have an "intuitive" meaning

Fourier Transform – p.14/22

Page 19: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Discrete Fourier Transform (DFT)

The power of Fourier transform works for digital signalprocessing (computers, embedded chips) as well, butof course a discrete variant is used (notation appliedto conventions):

X(k) =

N−1∑

n=0

xne−2πi

Nkn k = 0, . . . , N − 1

for a signal of length N .

Fourier Transform – p.15/22

Page 20: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Dirac-Delta-Function (discrete)

The Delta-distribution in terms of digital systems issimply defined as

x(n) =

{

1, n = 0,

0, n 6= 0.

(Input-)signals are decomposed into such delta-

functions, while the output is a superposition of the out-

put for each of the input-delta-functions.

Fourier Transform – p.16/22

Page 21: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Application I

Filtering audio

w

|F(w)|

w

|F(w)|

w

|F(w)|

.

Fourier Transform – p.17/22

Page 22: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Application II

Partial Differential Equations:

Find bounded solutions u(x, t), x ∈ Rn, t ∈ R

∂2

∂t2u(x, t) + ∆xu(x, t) = 0

u(x, 0) = f(x)

Solution: Using Fourier transform with respect to x.

u(x, t) = π−n+1

2 Γ

(

n + 1

2

)∫

Rn

f(y)t

(t2 + |x − y|2)n+1

2

dy.

Fourier Transform – p.18/22

Page 23: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Functional Analysis View

• Integral operations well defined for f ∈ L1(Rn)

(Fubini).• But where is Fourier-transform continuous?• Is it one-to-one?

Starting with test-functions: They are not enough.Hence: Rapidly decreasing functions Sn

f ∈ C∞(Rn) : sup|x|<N

supx∈Rn

(1 + |x|2)N |∂αf(x)

∂xα| < ∞

for N = 0, 1, 2, . . . and for multi-indices α.

Fourier Transform – p.19/22

Page 24: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Rapidly decreasing functions

• Form a vector space• Fourier transform is a continuous, linear,

one-to-one mapping of Sn onto Sn of period 4, witha continuous inverse.

• Test-functions are dense in Sn

• Sn is dense in both L1(Rn) and L2(R

n)

• Plancharel theorem: There is a linear isometry ofL2(R

n) onto L2(Rn) that is uniquely defined via the

Fourier transform in Sn.

Fourier Transform – p.20/22

Page 25: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

Extensions

• Fast Fourier Transform (FFT): effort is onlyO(n log(n)) instead of O(n2)

• Laplace transform:

F (s) =

∫ ∞

0−f(x)e−sxdx

• z-transform: Discrete counterpart of Laplacetransform

X(z) = Z{x[n]} =∞

n=−∞x[n]z−n

Fourier Transform – p.21/22

Page 26: Fourier Transform and its Applications - Karl Rupp · 2012-10-21 · Making use of Fourier transform • Differential equations transform to algebraic equations that are often much

The End

Thank you for your attention!

Fourier Transform – p.22/22