Open in TheBrain

Fourier Analysis: Overview

Steve Brunton

90.7K subscribers

SUBSCRIBED

This video presents an overview of the Fourier Transform, which is one of the most important transformations in all of mathematical physics and engineering. This series will introduce the analytic theory of the Fourier Transform, along with the Fast Fourier Transform (FFT) algorithm for efficient computations. We will explore lots of applications in image compression, audio analysis, and solving partial differential equations. Book Website: http://databookuw.com Book PDF: http://databookuw.com/databook.pdfThese lectures follow Chapter 2 from: "Data-Driven Science and Engineering: Machine Learning, Dynamical Systems, and Control" by Brunton and Kutz Amazon: https://www.amazon.com/Data-Driven-Sc...Brunton Website: eigensteve.com

00:00

[Music]

00:05

hi everyone I'm Steve Brennan from the

00:08

University of Washington and this is a

00:10

new video lecture series on the Fourier

00:13

transform and wavelets this is gonna

00:16

follow chapter 2 of our new book

00:18

data-driven science and engineering by

00:20

myself and Nathan Koontz and you can

00:22

find all of the code and lecture

00:25

material online at data book UW comm and

00:28

you can also find it in the the comments

00:31

and the links below ok so I'm really

00:33

excited to talk about the Fourier

00:35

transform because this is one of the

00:36

most important and ubiquitous

00:38

transformations in all of mathematical

00:40

physics and engineering ok and if you go

00:44

back through the history of science most

00:47

of our major breakthroughs started with

00:50

a coordinate system or a coordinate

00:51

transformation that made our world make

00:54

more sense that made physics simpler in

00:56

some way and so the Fourier transform is

00:59

another coordinate transformation that

01:03

is particularly useful for for

01:07

representing data and images for

01:11

representing the solution of partial

01:12

differential equations and I'm gonna

01:14

walk you through all of the different

01:15

well not all of lots of the different

01:18

uses of this Fourier transform kind of a

01:21

mathematical theory of the Fourier

01:22

transform how to compute it in MATLAB

01:25

and in Python with the fast Fourier

01:27

transform the FFT and we're also going

01:30

to talk about the history and kind of

01:32

how this was derived so Fourier in the

01:36

early 1800s derived the Fourier

01:39

transform and the Fourier series in

01:40

particular as a way of approximating

01:43

solutions of partial differential

01:45

equations so he was particularly

01:47

interested in the heat equation so

01:49

imagine that I have some rectangular

01:51

piece of metal and this has some

01:53

temperature distribution maybe U as a

01:55

function of x and y and time in two

01:58

dimensions U is the temperature

02:00

everywhere in space and time then this

02:02

would be governed by the heat equation

02:03

which is a partial differential equation

02:05

u sub t the partial derivative of U with

02:08

respect to time is a positive constant

02:11

times the laplacian operator of u so

02:16

this is the

02:17

second partial derivative of U with

02:19

respect to X plus the second partial

02:21

derivative of U with respect to Y in two

02:24

dimensions and so what Fourier did he

02:26

didn't just write down the Fourier

02:27

transform for no reason he discovered

02:30

that the Fourier transform is a

02:33

coordinate transformation that

02:35

essentially diagonalizes this laplacian

02:38

operator in the heat equation so what he

02:40

showed was that this this operator this

02:43

laplacian has eigenvalues and

02:46

eigenfunctions just like other linear

02:48

operators do and the eigen functions are

02:51

sines and cosines with a particular

02:53

frequency determined by the boundary

02:56

conditions and the geometry of this this

02:58

object and the corresponding eigenvalues

03:01

are those spatial frequencies so for you

03:04

derived the Fourier transform

03:05

specifically to make the heat equation

03:07

simpler by transforming it into an

03:10

eigenvector eigenvalue coordinate system

03:12

okay and since then it's been used for

03:14

all kinds of applications in image

03:17

compression and solving other partial

03:19

differential equations in fact we've

03:21

actually seen that the singular value

03:24

decomposition from chapter 1 of our book

03:26

can be thought of as a data-driven

03:28

fourier so SVD is kind of like

03:33

data-driven extension of the fast

03:38

Fourier transform or the FFT ok so we've

03:41

already seen coordinate transformations

03:43

before in Chapter one with the SVD this

03:45

is kind of a generalization of the FFT

03:48

and now we're gonna go back and talk

03:50

about the more fundamental and older and

03:52

more ubiquitous Fourier transform ok

03:55

good so the Fourier transform is also I

03:58

think very important because it changed

04:00

our view of mathematics in general this

04:02

idea that you can take an arbitrary

04:05

function I'll just draw kind of a

04:07

function here so you can take an

04:09

arbitrary function let's just draw this

04:11

kind of pointy hat function and you can

04:16

approximate this by a sum of sines and

04:19

cosines of increasing frequencies so if

04:22

this function is defined on some domain

04:23

I can approximate it by a sum of sines

04:29

and cosines of increase

04:31

singly high frequencies so that's that's

04:32

one maybe now I say I'm gonna have a

04:35

higher frequency sign something like

04:39

that and so on and so forth and you can

04:41

keep adding these up it's gonna get a

04:42

little harder for me to draw this but

04:44

I'll try and so on and so forth okay so

04:47

this function you can approximate as a

04:49

sum of increasingly high frequency sines

04:53

and cosines okay and so this idea of

04:55

function approximation is one of the

04:58

really really important aspects of the

05:00

Fourier transform and of wavelets okay

05:03

this laid the foundation for our

05:06

understanding of function spaces like

05:08

the hilbert space which was pivotal in

05:12

our understanding of quantum mechanics

05:13

this idea that these or these these

05:15

sines and cosines in fact form an

05:19

orthogonal basis for the space of

05:22

possible functions so all of these kind

05:24

of functions that I could draw can be

05:26

represented in this basis of sines and

05:29

cosines so just like in a vector space

05:31

you might have your X and your Y

05:33

coordinates which form a basis for

05:35

two-dimensional vector space your sines

05:37

and cosines form a basis for function

05:40

space okay so that was really important

05:42

in this derivation and understanding of

05:45

Hilbert spaces which have been really

05:48

really foundational for our modern

05:50

understanding of mathematical physics

05:51

okay

05:52

so fast forward 200 years now we have

05:56

the fast Fourier transform okay so now

05:58

we have the fast fourier transform this

06:04

was developed relatively recently

06:07

okay the fast fourier transform or the

06:10

FFT this is how you compute a fourier

06:13

series

06:14

efficiently on a computer so this has

06:17

been absolutely central in how we

06:19

analyze and process data that we collect

06:22

so for example audio sequences images

06:24

videos these are all compressed and

06:27

represented efficiently using fast

06:29

Fourier transforms so pretty much all of

06:32

our modern digital communication is

06:34

built on the fast Fourier transform you

06:37

wouldn't be able to send pictures or

06:39

audio clips or really anything

06:41

efficiently we wouldn't be able to have

06:43

satellite communicate

06:44

if it wasn't for the fast fourier

06:45

transform so this really is one of the

06:47

absolute most important algorithms ever

06:51

developed and it's still important today

06:53

and I'm going to tell you all about it

06:55

so we're gonna walk through the fast

06:57

Fourier transform the Fourier series the

07:00

analytical Fourier transform and

07:01

wavelets we're going to code up examples

07:04

of how to solve partial differential

07:07

equations in matlab in Python we're also

07:10

going to use it for function

07:11

approximation for image compression for

07:13

audio compression for denoising so I'm

07:16

really excited to tell you about this

07:18

this is going to be one of the most

07:19

powerful tools in your arsenal

07:22

especially when you're working with data

07:25

alright thank you

Attachments