4.7.3 · D3Partial Differential Equations

Worked examples — Fourier series — motivation from periodic functions

2,897 words13 min readBack to topic

This page is the practice arena for Fourier series. The parent note derived the recipe; here we run it on every kind of function you can be handed — even, odd, neither, constant, discontinuous, with a period that isn't the friendly , and a real heat-flow word problem. By the end there is no case class that can surprise you.


The framework we keep reusing (self-contained recap)

Every example below plugs into the same three formulas from the parent note. State them once here so this page stands alone.


The scenario matrix

The decision-tree has three symmetry classes (even / odd / neither) crossed with two continuity classes (continuous / has a jump) crossed with the period ( or general ). The eight examples below hit each reachable branch at least once; the last column names which branch.

Cell Symmetry Period Continuity Twist Example
A Odd () Jump classic odd+jump Ex 1: square wave
B Even () Continuous (corner) corner, no jump Ex 2:
C Neither () Jump both and nonzero Ex 3: on
D Even General Continuous keep Ex 4: on
E Constant any Continuous degenerate: no waves Ex 5:
F Odd Jump value at the jump (not new coeffs) Ex 6: square-wave series at
G Half-range only given choose extension exam twist Ex 7: sine vs cosine series of
H Physics Jump (block) word problem, units Ex 8: initial heat profile

Example 1 — Cell A: odd, jump, the square wave

The figure below carries the geometry of this convergence.

Figure — Fourier series — motivation from periodic functions

Example 2 — Cell B: even, continuous corner


Example 3 — Cell C: neither even nor odd (and it jumps)


Example 4 — Cell D: even, general period


Example 5 — Cell E: the degenerate constant


Example 6 — Cell F: the value exactly at a jump


Example 7 — Cell G: half-range twist (exam classic)


Example 8 — Cell H: physics word problem (even block, with a jump)


Recall Scenario checklist before any Fourier problem

Symmetry? ::: Even ⇒ only ; odd ⇒ only ; neither ⇒ both. Period ::: Always write ; only simplify to when . Jump present? ::: Series converges to the midpoint there (Gibbs overshoot nearby). Half-range given? ::: You choose even (cosine) or odd (sine) extension per the boundary conditions; the becomes by symmetry.


Connections

  • Parent recipe & derivation: Fourier series motivation
  • Why coefficients isolate: Orthogonality of Functions
  • Symmetry shortcuts: Even and Odd Functions
  • Where these series come from: Separation of Variables, applied to the Heat Equation and Wave Equation
  • The overshoot at jumps: Gibbs Phenomenon
  • The continuous-spectrum sibling: Fourier Transform