Exercises — Fourier series — motivation from periodic functions
Reminder of the two machines you will use over and over, for a function of period :
Level 1 — Recognition
L1.1
State the fundamental period of , and its angular frequency of the slowest wave present.
Recall Solution
What we look for: a period so that every piece repeats. repeats when advances by , i.e. every . repeats every . The whole sum repeats at the smallest common length that is a whole-number multiple of both.
and both divide (since and are integers). So .
The slowest wave is ; its angular frequency is (radians per unit ). The slowest wave has the smallest frequency number.
L1.2
Is even, odd, or neither? Which family of Fourier coefficients therefore vanishes on a symmetric interval?
Recall Solution
Test: replace by . . Even times even is even, and cosine is even, so is even.
An even function has all — only cosines survive. Why: integrates , which is even × odd = odd, and an odd integrand over the symmetric interval integrates to .
Level 2 — Application
L2.1
Find the full Fourier series of on , extended with period .
Recall Solution
Symmetry first (why: saves half the work). , so is odd ⟹ all . Only sines.
Here , so the machine is . Odd × odd = even integrand, so double the right half:
Integrate by parts (why: a polynomial times a wave — parts peels off the ). With : Since :
Result:
L2.2
Find and for on , period .
Recall Solution
is even, so ; we only chase . .
So the constant term = the average of over . Check: it is positive, as it must be for .
Parts twice (why: bring the power down to a constant). The standard result , so
Level 3 — Analysis
L3.1
The square wave of the parent note is . Predict the value the series converges to at , and explain why using the jump rule.
Recall Solution
At the square wave jumps from (just left) to (just right). Every term , so the series literally sums to .
The jump rule says a Fourier series converges at a discontinuity to the midpoint . ✔ The two predictions agree: the series can only give the average of the two sides, never one or the other. See Gibbs Phenomenon for the overshoot near (not at) this jump.
L3.2
Using the series for (which is ), evaluate it at to derive a famous sum.
Recall Solution
Why : is continuous there (period- extension matches: from left, from right), so the series equals exactly.
At : , so . Thus Rearrange: , giving the Basel sum
Level 4 — Synthesis
L4.1
A function is defined on as . You want a series in cosines only valid on . What extension of do you use, what is , and find .
Recall Solution
The idea (half-range expansion). On you are free to invent the other half. To kill all sines and keep cosines, extend to be even: reflect across the -axis so on . Now the interval is , so , and the even extension guarantees .
The constant term = average of on . ✔ The figure shows the even reflection.

L4.2
For that same on with the even extension, find for .
Recall Solution
Parts (): So , which is for even and for odd . Final cosine series:
Level 5 — Mastery
L5.1
Prove the orthogonality integral for all integers — including the degenerate case .
Recall Solution
Tool choice: the product-to-sum identity . Why this tool: it turns a product (hard to integrate) into a sum of single sines (each trivially integrable).
With : Reason it dies: every is an odd function of , and the interval is symmetric, so each integrates to — regardless of whether , , or either is zero. (Even the case gives , both integrate to .) Hence the mixed integral is always . This is the pillar that lets sines and cosines never interfere with each other — the machinery of Orthogonality of Functions.
L5.2
The parent's plug-in gave . Independently re-derive it by evaluating the square-wave series at , showing every step.
Recall Solution
Square wave: , and (continuous there — sits inside the "" block, not on a jump, so the series equals exactly).
Evaluate each sine at : So the odd terms alternate with denominators : This is the Leibniz series for , falling out of a square wave.
L5.3
Parseval's identity for a -periodic odd function says . Apply it to the square wave ( everywhere) to derive .
Recall Solution
Why Parseval: it says total "energy" equals the sum of the squared amplitudes — the same orthogonality idea, now for the norm. Left side: , so .
Right side: for odd , else , so (odd ). Thus Solve: ✔ (And since , it is consistent with Basel from L3.2.)
Recall Big-picture recall
These exercises rehearsed all four moves: (1) read symmetry to delete half the coefficients, (2) turn the crank with integration by parts, (3) evaluate at smart points (continuous vs jump) to harvest number identities, (4) reuse orthogonality both to isolate coefficients and to prove Parseval. The same modes reappear when you solve the Heat Equation and Wave Equation by Separation of Variables.