4.7.7Partial Differential Equations

Parseval's theorem

1,515 words7 min readdifficulty · medium3 backlinks

1. WHAT is it?


2. WHY is it true? (Derivation from scratch)

The whole proof rests on orthogonality of sines and cosines. Let me build it.

Now the derivation. Take [f(x)]2[f(x)]^2 — i.e. multiply the series by itself:

[f(x)]2=(a02+nancosnπxL+nbnsinnπxL)2.[f(x)]^2=\left(\frac{a_0}{2}+\sum_{n}a_n\cos\frac{n\pi x}{L}+\sum_{n}b_n\sin\frac{n\pi x}{L}\right)^2.

Now integrate over (L,L)(-L,L). Squaring a sum gives diagonal terms (each piece squared) and cross terms (products of different pieces).

Why this step? Integration is linear, so (sum)2=(products)\int(\text{sum})^2 = \sum\int(\text{products}). The orthogonality relations decide which survive.

  • The cross terms (e.g. cosmπxLcosnπxL\int \cos\frac{m\pi x}{L}\cos\frac{n\pi x}{L} with mnm\ne n, or any cos·sin) all integrate to 0. ✗ gone.
  • The constant-squared term: LL(a02)2dx=a0242L=a02L2\int_{-L}^{L}\left(\frac{a_0}{2}\right)^2 dx=\frac{a_0^2}{4}\cdot 2L=\frac{a_0^2 L}{2}.
  • Each LLan2cos2nπxLdx=an2L\int_{-L}^{L} a_n^2\cos^2\frac{n\pi x}{L}\,dx=a_n^2\cdot L.
  • Each LLbn2sin2nπxLdx=bn2L\int_{-L}^{L} b_n^2\sin^2\frac{n\pi x}{L}\,dx=b_n^2\cdot L.

Add the survivors: LL[f(x)]2dx=a02L2+Ln=1(an2+bn2).\int_{-L}^{L}[f(x)]^2\,dx=\frac{a_0^2 L}{2}+L\sum_{n=1}^{\infty}(a_n^2+b_n^2).

Divide both sides by LL: 1LLL[f(x)]2dx=a022+n=1(an2+bn2).\frac{1}{L}\int_{-L}^{L}[f(x)]^2\,dx=\frac{a_0^2}{2}+\sum_{n=1}^{\infty}(a_n^2+b_n^2).\qquad\blacksquare

Why this step? Dividing by LL packages it so the constant term matches the a022\frac{a_0^2}{2} pattern and the formula is symmetric.

Figure — Parseval's theorem

3. HOW to use it (Worked Examples)


4. Steel-manned Mistakes


5. Active Recall

Recall Can you reconstruct it? (click to check)
  • State Parseval for (L,L)(-L,L). → 1LLLf2=a022+(an2+bn2)\frac{1}{L}\int_{-L}^{L}f^2=\frac{a_0^2}{2}+\sum(a_n^2+b_n^2).
  • What makes the proof work? → Orthogonality of sines/cosines kills cross terms.
  • One famous result it gives? → 1/n2=π2/6\sum 1/n^2=\pi^2/6.
Recall Feynman: explain to a 12-year-old

Imagine a song. You can break it into pure tones — some bass, some treble. Each pure tone carries some "loudness." Parseval's theorem says: the total loudness of the whole song equals the loudness of the bass plus the treble plus every other tone, added up. Nothing leaks away. So instead of measuring the messy whole song, you can just add up the loudness of each simple tone. And cleverly, this lets us add up weird never-ending number lists like 1+14+19+1+\frac14+\frac19+\dots and discover they equal π2/6\pi^2/6!


6. Flashcards

What does Parseval's theorem equate?
The mean-square value of ff (energy) with the sum of squares of its Fourier coefficients.
State Parseval's theorem on (L,L)(-L,L).
1LLLf2dx=a022+n=1(an2+bn2)\frac{1}{L}\int_{-L}^{L}f^2\,dx=\frac{a_0^2}{2}+\sum_{n=1}^\infty(a_n^2+b_n^2).
What property of sines/cosines makes the proof work?
Orthogonality — cross-term integrals vanish for mnm\ne n.
Why is the constant term a02/2a_0^2/2 not a02a_0^2?
From (a0/2)2(a_0/2)^2 times 1dx=2L\int 1\,dx=2L, divided by LLa02/2a_0^2/2.
Which famous sum comes from applying Parseval to f(x)=xf(x)=x on (π,π)(-\pi,\pi)?
1/n2=π2/6\sum 1/n^2=\pi^2/6.
Which sum comes from f(x)=x2f(x)=x^2 on (π,π)(-\pi,\pi)?
1/n4=π4/90\sum 1/n^4=\pi^4/90.
Physical meaning of an2+bn22\frac{a_n^2+b_n^2}{2}?
Power carried by the nn-th harmonic.
What is the value of LLcosmπxLsinnπxLdx\int_{-L}^L\cos\frac{m\pi x}{L}\sin\frac{n\pi x}{L}dx?
Always 00.

7. Connections

  • Fourier Series — Parseval is its energy/completeness statement.
  • Orthogonality of functions — the engine of the proof.
  • Basel Problem1/n2=π2/6\sum 1/n^2=\pi^2/6 as a corollary.
  • Bessel's Inequality — Parseval is the equality case (complete basis).
  • Plancherel Theorem — continuous Fourier transform analogue.
  • RMS and Power Spectra — engineering application.

Concept Map

split into

Pythagoras for functions

engine of proof

multiply by itself

integrate over -L to L

cross terms vanish

survivors kept

divide by L

LHS

RHS

application

Fourier series of f x

Orthogonal sines cosines

Parseval's theorem

Orthogonality relations

Square the series

Diagonal plus cross terms

Squared coefficient terms

Mean square value of f

Sum of squared coefficients

Evaluate sum 1 over n squared

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, Parseval ka theorem bilkul Pythagoras theorem jaisa hai, bas functions ke liye. Jaise vector ka length-square uske components ke squares ka sum hota hai (v2=vx2+vy2+vz2|v|^2 = v_x^2+v_y^2+v_z^2), waise hi ek function ki total "energy" uske Fourier coefficients ke squares ke sum ke barabar hoti hai. Matlab agar tum function ko sine aur cosine ke chote chote tukdo me tod do, to har tukde ki energy alag-alag hoti hai, aur sab ko jod do to poora function ki energy mil jaati hai. Kuch bhi gum nahi hota.

Formula yaad rakhna: 1LLLf2dx=a022+(an2+bn2)\frac{1}{L}\int_{-L}^{L}f^2\,dx=\frac{a_0^2}{2}+\sum(a_n^2+b_n^2). Left side me 1/L1/L aur f2f^2 ka integral — yeh "average energy" hai. Right side me sirf coefficients. Proof ka magic hai orthogonality — jab tum (series)2(\text{series})^2 ko integrate karte ho, to alag-alag frequency wale cross-terms zero ho jaate hain, sirf squared terms bachte hain.

Iska sabse mast use: hum impossible-lagne wale infinite sums nikaal sakte hain. Jaise f(x)=xf(x)=x lo, Parseval lagao, aur seedha 1/n2=π2/6\sum 1/n^2 = \pi^2/6 aa jaata hai (famous Basel problem!). f(x)=x2f(x)=x^2 se 1/n4=π4/90\sum 1/n^4=\pi^4/90. Engineering me bhi yeh signal ki total power = har harmonic ki power ka sum batata hai.

Common galti: 1/L1/L bhool jaana, ya constant term ko a02a_0^2 likh dena (sahi hai a02/2a_0^2/2 — kyunki DC term a0/2a_0/2 likha jaata hai). Yeh do cheezein exam me sambhal lo, baaki sab seedha hai.

Go deeper — visual, from zero

Test yourself — Partial Differential Equations

Connections