Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Strand
pit
Commits
b74df721
Commit
b74df721
authored
Mar 5, 2019
by
Erik Strand
Browse files
Options
Downloads
Plain Diff
Add third pset
parents
266f2e26
cf03eb17
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
_notes/fourier_transform.md
+47
-7
47 additions, 7 deletions
_notes/fourier_transform.md
_psets/3.md
+526
-0
526 additions, 0 deletions
_psets/3.md
_sass/main.scss
+13
-0
13 additions, 0 deletions
_sass/main.scss
with
586 additions
and
7 deletions
_notes/fourier_transform.md
+
47
−
7
View file @
b74df721
...
...
@@ -8,15 +8,12 @@ notes are based on my prior knowledge and some helpful websites:
-
[
Properties of Fourier Transform
](
http://fourier.eng.hmc.edu/e101/lectures/handout3/node2.html
)
-
[
symmetry.pdf
](
https://www.cs.unm.edu/~williams/cs530/symmetry.pdf
)
## Properties of the Fourier Transform
Note: I'm sloppy with the proofs here since all physical functions will have the nice properties
that make the relevant operations valid, but I don't always call of these properties out when they
are used.
##
#
Basics
## Basics
For a function $$f :
\m
athbb{R}
\r
ightarrow
\m
athbb{C}$$, I use the definitions
...
...
@@ -55,7 +52,7 @@ $$
$$
##
#
Fourier Flips
## Fourier Flips
The Fourier transform has a number of interesting properties related to the flip operator
$$(
\m
athcal{R} f)(x) = f(-x)$$. By definition
...
...
@@ -105,7 +102,7 @@ f(x)
$$
##
#
Conjugate Symmetries
## Conjugate Symmetries
Recall that the
[
conjugate
](
https://en.wikipedia.org/wiki/Complex_conjugate
)
of a complex number
$$a + b i$$ is defined as $$
\o
verline{a + bi} = a - bi$$. Conjugation distributes over addition and
...
...
@@ -143,7 +140,7 @@ a horizontal arrow by taking the inverse Fourier transform), and vertical arrows
conjugates.
##
#
Even More Odd
## Even More Odd
Recall that a function $$f$$ is even if $$f(-x) = f(x)$$, and odd if $$f(-x) = -f(x)$$. Note that a
function is real if and only if it's equal to its own complex conjugate, and a function is purely
...
...
@@ -176,3 +173,46 @@ In particular, since conjugation doesn't change magnitude, the magnitude of the
function is an even function. Because of this it's common to see the negative frequencies ignored
when we're dealing with a real function and only care about the magnitude of the transform (like
for spectral power analysis).
## Transforms of Gaussians
A Fourier Transform that comes up frequently is that of a Gaussian. It can be calculated by
completing a square.
$$
\b
egin{align
*
}
\m
athcal{F}(N(0,
\s
igma^2))(f)
&=
\f
rac{1}{
\s
qrt{2
\p
i
\s
igma^2}}
\i
nt_{-
\i
nfty}^
\i
nfty e^{
\f
rac{-x^2}{2
\s
igma^2}}
e^{- 2
\p
i i f x}
\m
athrm{d} x
\\
&=
\f
rac{1}{
\s
qrt{2
\p
i
\s
igma^2}}
\i
nt_{-
\i
nfty}^
\i
nfty e^{-
\f
rac{1}{2
\s
igma^2}
\l
eft( x^2 + 4
\p
i i
\s
igma^2 f x
\r
ight)}
\m
athrm{d} x
\\
&=
\f
rac{1}{
\s
qrt{2
\p
i
\s
igma^2}}
\i
nt_{-
\i
nfty}^
\i
nfty e^{-
\f
rac{1}{2
\s
igma^2}
\l
eft( x + 2
\p
i i
\s
igma^2 f
\r
ight)^2 +
\f
rac{(2
\p
i i
\s
igma^2 f)^2}{2
\s
igma^2}}
\m
athrm{d} x
\\
&= e^{-2
\p
i^2 f^2
\s
igma^2}
\f
rac{1}{
\s
qrt{2
\p
i
\s
igma^2}}
\i
nt_{-
\i
nfty}^
\i
nfty
e^{-
\f
rac{
\l
eft( x + 2
\p
i i
\s
igma^2 f
\r
ight)^2}{2
\s
igma^2}}
\m
athrm{d} x
\\
&= e^{-2
\p
i^2 f^2
\s
igma^2}
\\
&= e^{-
\f
rac{(2
\p
i f)^2}{2 /
\s
igma^2}}
\e
nd{align
*
}
$$
This is an unnormalized Gaussian with variance $$1/
\s
igma^2$$. Note that the exponent wants to be
expressed in radians instead of cycles, so $$f$$ is scaled by $$2
\p
i$$.
This function integrates to $$(2
\p
i
\s
igma^2)^{-1/2}$$. One might have hoped it would be
normalized. One reason this could not be true is Plancherel's Theorem. The "power" of a normalized
Gaussian is
$$
\b
egin{align
*
}
\i
nt_{-
\i
nfty}^
\i
nfty
\l
eft(
\f
rac{1}{
\s
qrt{2
\p
i
\s
igma^2}} e^{
\f
rac{-x^2}{2
\s
igma^2}}
\r
ight)^2
\m
athrm{d} x
&=
\f
rac{1}{2
\p
i
\s
igma^2}
\i
nt_{-
\i
nfty}^
\i
nfty e^{
\f
rac{-x^2}{
\s
igma^2}}
\m
athrm{d} x
\\
&=
\f
rac{1}{2
\p
i
\s
igma}
\i
nt_{-
\i
nfty}^
\i
nfty e^{-x^2}
\m
athrm{d} x
\\
&=
\f
rac{1}{2
\s
qrt{
\p
i}
\s
igma}
\e
nd{align
*
}
$$
This depends on the variance, which is inverted by the Fourier Transform. So since the power is
invariant, the normalization cannot in general be conserved.
This diff is collapsed.
Click to expand it.
_psets/3.md
0 → 100644
+
526
−
0
View file @
b74df721
This diff is collapsed.
Click to expand it.
_sass/main.scss
+
13
−
0
View file @
b74df721
...
...
@@ -32,3 +32,16 @@ a:visited {
.question
{
font-style
:
italic
;
}
table
{
margin
:
1
.6em
auto
;
}
table
,
th
,
td
{
border
:
1px
solid
black
;
border-collapse
:
collapse
;
}
th
,
td
{
padding
:
5px
10px
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment