4.7.18Partial Differential Equations

Fourier transform — definition, properties

1,709 words8 min readdifficulty · medium5 backlinks

1. Deriving the transform from Fourier series (from scratch)

A function periodic with period 2L2L has the complex Fourier series f(x)=n=cneiknx,kn=nπL,cn=12LLLf(x)eiknxdx.f(x)=\sum_{n=-\infty}^{\infty} c_n\, e^{i k_n x},\qquad k_n=\frac{n\pi}{L},\qquad c_n=\frac{1}{2L}\int_{-L}^{L} f(x)\,e^{-ik_n x}\,dx.

Why this form? The waves eiknxe^{ik_n x} are orthogonal over one period, so cnc_n is just the "projection" of ff onto that wave.

Now let LL\to\infty. The spacing between frequencies is Δk=kn+1kn=πL0\Delta k=k_{n+1}-k_n=\frac{\pi}{L}\to 0. Define f^(k)=f(x)eikxdx(the 2Lcn in the limit).\hat f(k)=\int_{-\infty}^{\infty} f(x)\,e^{-ikx}\,dx \quad(\text{the } 2L\,c_n \text{ in the limit}).

Substitute cn=Δk2πf^(kn)c_n=\frac{\Delta k}{2\pi}\hat f(k_n) into the series: f(x)=nΔk2πf^(kn)eiknx  Δk0  12πf^(k)eikxdk.f(x)=\sum_n \frac{\Delta k}{2\pi}\,\hat f(k_n)\,e^{ik_n x}\;\xrightarrow{\Delta k\to 0}\;\frac{1}{2\pi}\int_{-\infty}^{\infty}\hat f(k)\,e^{ikx}\,dk.

The Riemann sum became an integral. That gives us the pair:

Recall Why is the inverse the "same" integral with

+ik+ik and a 1/2π1/2\pi? Because the waves are orthogonal: ei(kk)xdx=2πδ(kk)\int_{-\infty}^{\infty}e^{i(k-k')x}\,dx=2\pi\,\delta(k-k'). Plugging f^\hat f into the inverse and using this delta collapses the double integral back to f(x)f(x). The 2π2\pi from the delta is what the 1/2π1/2\pi cancels.


2. Core properties (each derived)

Figure — Fourier transform — definition, properties

3. Worked examples


4. Common mistakes (steel-manned)


5. Flashcards

What is the forward Fourier transform (our convention)?
f^(k)=f(x)eikxdx\hat f(k)=\int_{-\infty}^{\infty} f(x)e^{-ikx}dx
What is the inverse Fourier transform?
f(x)=12πf^(k)eikxdkf(x)=\frac{1}{2\pi}\int_{-\infty}^{\infty}\hat f(k)e^{ikx}dk
F{f(x)}=?\mathcal F\{f'(x)\}=?
ikf^(k)ik\,\hat f(k) (assuming f0f\to0 at ±\pm\infty)
F{f(n)}=?\mathcal F\{f^{(n)}\}=?
(ik)nf^(k)(ik)^n\hat f(k)
F{f(xa)}=?\mathcal F\{f(x-a)\}=?
eikaf^(k)e^{-ika}\hat f(k) (phase shift, magnitude unchanged)
F{eik0xf(x)}=?\mathcal F\{e^{ik_0x}f(x)\}=?
f^(kk0)\hat f(k-k_0) (spectral shift)
F{f(ax)}=?\mathcal F\{f(ax)\}=?
1af^(k/a)\frac{1}{|a|}\hat f(k/a)
Convolution theorem: F{fg}=?\mathcal F\{f*g\}=?
f^(k)g^(k)\hat f(k)\hat g(k)
Parseval's theorem?
f2dx=12πf^2dk\int|f|^2dx=\frac{1}{2\pi}\int|\hat f|^2dk
Fourier transform of ex2/2e^{-x^2/2}?
2πek2/2\sqrt{2\pi}\,e^{-k^2/2} (Gaussian is an eigenfunction)
Fourier transform of a box of half-width aa?
2sin(ka)k=2asinc(ka)\frac{2\sin(ka)}{k}=2a\,\mathrm{sinc}(ka)
Why is FT useful in PDEs?
It converts ddx\frac{d}{dx} into ×ik\times ik, turning a PDE into an algebraic/ODE problem
What is ei(kk)xdx\int_{-\infty}^\infty e^{i(k-k')x}dx?
2πδ(kk)2\pi\,\delta(k-k') (orthogonality of waves)

Recall Feynman: explain to a 12-year-old

Imagine a song. Your ear hears it as a mess of pressure over time — that's f(x)f(x). But a music app shows you bars: how much bass, how much treble. That picture of "how much of each pitch" is the Fourier transform f^(k)\hat f(k). The song and the bar chart hold the same information, just shown two ways. The cool trick: some problems that look horrible as a song become super easy as a bar chart — like figuring out how a hot bar of metal cools down. You switch to the bar chart, do easy arithmetic on each bar, then switch back. That switching machine is the Fourier transform.


Connections

  • Fourier Series — the discrete/periodic ancestor; FT is its LL\to\infty limit.
  • Heat Equation — solved cleanly via FT (worked example 3).
  • Convolution — the operation FT turns into multiplication.
  • Dirac Delta Function — provides the orthogonality ei(kk)xdx=2πδ\int e^{i(k-k')x}dx=2\pi\delta.
  • Laplace Transform — cousin transform for half-line / initial-value problems.
  • Uncertainty Principle — narrow in xx ⟺ wide in kk (scaling property).
  • Separation of Variables — alternative PDE method; FT replaces it on infinite domains.

Concept Map

take L to infinity

spacing dk to 0

defines

justifies inverse

yields

enables

transform back

Fourier series periodic

Let period L to infinity

Fourier transform f-hat k

FT pair forward and inverse

Wave orthogonality delta k-k'

Differentiation to ik multiply

Integration by parts

Shift x to phase e^-ika

Linearity

PDE becomes algebraic

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, Fourier transform ka basic idea simple hai: koi bhi function f(x)f(x) ko hum alag-alag frequencies ke waves ka mixture maan sakte hain. f^(k)\hat f(k) basically batata hai ki frequency kk ki kitni "matra" us function mein hai. Jaise gaane mein bass aur treble kitna hai — wahi cheez maths mein f^(k)\hat f(k) hai. Fourier series periodic function ke liye discrete frequencies deti hai, aur jab period ko infinite kar do, toh sum integral ban jaata hai — yahi se Fourier transform nikalta hai.

PDEs mein iska sabse bada faayda yeh hai: derivative ddx\frac{d}{dx} transform lene par sirf ikik se multiply ho jaata hai. Matlab ek mushkil differential equation, frequency space mein ek simple algebra/ODE ban jaati hai. Jaise heat equation ut=αuxxu_t=\alpha u_{xx} — transform lo, har kk ke liye chhoti si ODE solve karo (u^=f^eαk2t\hat u=\hat f\,e^{-\alpha k^2 t}), phir wapas inverse transform lo, aur Gaussian heat kernel khud aa jaata hai. Magic!

Properties yaad rakhne layak hain: shift in xx se sirf phase eikae^{-ika} aata hai (magnitude same), scaling mein xx squeeze karoge toh kk stretch hoga (yahi uncertainty principle hai), aur convolution real space mein = simple multiplication frequency space mein. Gaussian apna khud ka transform hai (eigenfunction), aur box function ka transform sinc banta hai — sharp edge matlab high frequencies zaroori.

Sabse common galti: log ikik ke jagah sirf kk likh dete hain — ii mat bhoolna, warna heat equation decay ke jagah grow karne lagegi. Aur convolution theorem mein convolution → multiply hota hai, convolution → convolution nahi. Bas convention (yeh 1/2π1/2\pi inverse mein) shuru mein clear kar lo aur consistent raho.

Test yourself — Partial Differential Equations

Connections