4.7.5 · D5Partial Differential Equations
Question bank — Full Fourier series — coefficients derivation
Before we start, three quick reminders so the questions land.
Recall The three formulas (so you can argue against them)
On (period ), using a single summation index — we call it everywhere below to avoid confusion: , and for , , . The series is . (When two different indices appear together inside one orthogonality integral we name them and — but the coefficient we solve for is always or .)
True or false — justify
Every prompt below is a claim. Decide true/false, then give the reason.
The constant term of the series equals the average value of over one period.
True — the average is , and the constant term is ; they are literally the same number.
If is odd, then every (including ) is zero.
True — odd makes odd (even odd), so the graph on the right of is the negated mirror of the left, and the two halves cancel over .
If is even, then every is zero.
True — even makes odd (even odd), so left and right halves cancel and each integral over vanishes.
For integers , holds for all such pairs.
False — it is only when ; when the integral equals , and the special case gives . That surviving value is exactly what lets us solve for .
The sine–cosine integral is zero only when .
False — it is zero for every including , because is an odd function whose two halves cancel; a sine and a cosine never overlap.
A full Fourier series must contain both sine and cosine terms.
False — "full" means we allow both; if has a symmetry, one whole family drops out (an odd becomes a pure sine series), yet it is still the full-interval series.
The formula also gives the correct when you plug in .
True — that is precisely why the constant is written : at , and the formula returns .
Two functions being orthogonal means their graphs never cross.
False — orthogonal means , i.e. the signed area under the product is zero; the graphs can and usually do cross many times while the area above the axis cancels the area below.
Multiplying by and integrating isolates because it "projects" onto that one wave.
True — thinking of as a dot product, this is projection onto one perpendicular axis; every other basis wave contributes zero signed area, leaving only the term.
The Fourier series of the basis function has infinitely many nonzero coefficients.
False — orthogonality kills all but ; a basis function's own series is just itself.
Spot the error
Each line contains a mathematical or factual mistake. Say what is wrong and what it should be.
"On , ."
Wrong prefactor: the full-interval coefficient uses , not . The only appears in half-range series on , where you integrate over half the period.
"Since the average of is , we get ."
Double-counted the : the average equals , so . The is already inside the constant term.
" for every ."
True only for ; for the integral is because a full period of a cosine has equal area above and below the axis. The nonzero case is the constant, not the oscillating one.
"To derive , integrate the series term by term — this is always allowed."
The step assumes term-by-term integration is valid, which needs to be nice enough (piecewise smooth); it is an assumption, not a free lunch, and can fail for pathological functions.
" for all integers ."
Wrong: , so it alternates . This sign is exactly what makes even-indexed vanish for the square wave.
"For the square wave, gives a nonzero constant."
The bracket is , so ; the arithmetic (and the odd symmetry) both force it to zero.
"Since can be positive, its integral over is positive."
No — pointwise positivity of a bit of the graph says nothing about the signed area; the product is odd, its two halves cancel exactly, so the integral is .
Why questions
Answer the "why", not just "what".
Why do we integrate over a full period rather than part of it?
A full period is where the oscillating waves have equal area above and below the axis (so they average to zero) and where the orthogonality cancellations hold; over a partial interval those cancellations fail and the projection trick breaks.
Why is the product-to-sum identity used to prove orthogonality?
It turns a product of two cosines into a sum of single cosines, whose signed area over a full period is trivially (or in the matched case) — the raw product is hard to integrate directly.
Why does exactly one term survive when we multiply by and integrate?
Because is for and for ; the whole sum collapses to the single term.
Why write the constant as instead of just ?
Pure bookkeeping: it makes the single formula valid for all , unifying the constant with the cosine coefficients.
Why can two different functions have the same set of Fourier coefficients on ?
If they differ only at isolated points (e.g. at a jump) the integrals defining the coefficients are unchanged, so the series cannot tell them apart — it matches values in an averaged (mean-square) sense, the idea behind Parseval's theorem.
Why does symmetry ( even or odd) cut the work in half?
An odd kills every and an even kills every before any integration, because the relevant product is odd and its two halves cancel — so you compute only one family of coefficients.
Why are and the right building blocks for period ?
Each completes a whole number of cycles across a length , so every term — and any sum of them — repeats every , matching the periodicity of .
Why is the complex form equivalent to the real sine–cosine form?
Euler's formula splits each exponential into a cosine plus times a sine, so the complex coefficients just repackage ; both describe the same function (see Complex (exponential) Fourier series).
Edge cases
Boundary and degenerate situations the formulas quietly handle.
At a jump discontinuity, what value does the series converge to?
The midpoint of the left and right limits, , splitting the difference regardless of how is defined at the jump itself.
Near a jump, the partial sums overshoot by a fixed amount that never shrinks — what is this called?
The Gibbs phenomenon: adding more terms narrows the overshoot's width but its height stays about of the jump, so the "ringing" spike never disappears — a classic trap when students expect perfect convergence everywhere.
What is the Fourier series of the zero function ?
Every coefficient is zero, so the series is just ; there is nothing to project onto and no wave is present.
For a constant function , which coefficients survive?
Only , giving the constant term ; all () and vanish since (oscillation) has equal area above and below the axis.
What happens to the formula when ?
identically, so trivially — there is no sine constant term, which is why the sine sum starts at .
Does the series value at the endpoints equal ?
Generally no — the periodic extension makes and the same point on the tiled line, so the series converges to the midpoint of and , the "wrap-around" jump.
If is neither even nor odd, are both sine and cosine families guaranteed nonzero?
Not guaranteed nonzero, but neither family is forced to vanish; you must actually compute both since no symmetry does the work for you.
What if is continuous and -periodic with a continuous derivative?
Then the series converges to everywhere (uniformly), the cleanest case — no jump-midpoint and no Gibbs overshoot, since there are no jumps.