© 2026 Neckpinch · www.neckpinch.com · All rights reserved.
Course 2Book 2B: Spaces, Functions and ChangeChapter 7
Fourier Series and the First Heat Equation
Fourier’s solution of heat flow on a ring: smoothing, energy decay and the first heat kernel.
Read with Tao, Analysis II, chapter "Fourier series": periodic functions, inner products on periodic functions, trigonometric polynomials, periodic convolutions (where the Fejér kernel appears), and the Fourier and Plancherel theorems. The heat equation is not in Tao; this chapter adds it.
In this chapter · 7 sections
- 7.1Seasons underground
- 7.2Periodic functions and their coefficients
- 7.2.1Two pictures of the same thing
- 7.3Does the Fourier series converge?
- 7.3.1Convolution becomes multiplication
- 7.4Fourier's solution of the heat equation on a ring
- 7.4.1A rod instead of a ring
- 7.4.2What the formula shows
- 7.4.3Heat against waves
- 7.4.4Hearing a shape
- 7.4.5The isoperimetric inequality, by Fourier series
- 7.5The Gibbs phenomenon
- 7.6History
- 7.7Exercises
- ↗Free resources
In 1807 Joseph Fourier submitted a memoir to the Paris Academy claiming that the temperature in a solid could be found by writing the initial temperature as a sum of sines and cosines, and letting each one decay at its own rate. The claim that an arbitrary function could be written that way was greeted with scepticism, and making sense of it occupied analysts for a century: it is one of the main reasons the concepts of function, convergence and integral in Books 2A and 2B were made precise at all. Fourier's book, Théorie analytique de la chaleur, appeared in 1822.
This chapter does Fourier's analysis in the setting of periodic functions, and then solves Fourier's problem: heat flow on a ring. Here the heat equation, the equation behind thread H of this guidebook and, eventually, behind Ricci flow, is solved completely and explicitly. Every property of heat flow that later chapters prove with harder tools can be seen here in the formula: high frequencies die fastest, so the solution becomes smooth instantly; an energy decreases; the maximum can only fall; and the solution is an average of the initial data against a kernel. When Hamilton described Ricci flow as a heat equation for the metric (11A.1 The Equation and Its First Solutions), these are the properties he meant.
By the end of this chapter you will be able to:
- compute Fourier coefficients, in complex and in sine–cosine form, and use orthonormality of to find best approximations;
- explain why Fourier series of continuous functions need not converge, and prove that their Fejér means do;
- prove Plancherel's identity and use it to sum series such as ;
- solve the heat equation on a ring by Fourier series, and prove instant smoothing, energy decay, the maximum principle and exponential convergence to the mean;
- explain the Gibbs phenomenon, and why positive kernels avoid it.
Seasons underground
Over a year, the temperature at the ground's surface rises and falls roughly like a sine wave. Below the surface, heat moves by conduction, so the temperature at depth obeys the heat equation
where is the soil's thermal diffusivity. If the surface temperature is , with , a solution is
(Exercise 7.15). The temperature wave travels downwards and dies out as it goes. At depth its amplitude is reduced by the factor and it is delayed by the fraction of a year. The damping depth sets the scale.
For a soil diffusivity of m²/s, a typical value for moist soils, m. At a depth of m, the wave is delayed by half a year, so the seasons there are reversed: the warmest time is midwinter. But by then the amplitude is only of the surface swing, so the ground at that depth is close to the annual mean temperature all year round. A cellar a few metres down lags the seasons and swings much less; ground-source heat pumps exploit the same near-constant temperature; and the depth to which permafrost thaws each summer is governed by the same law. For the daily temperature cycle, is times larger and is times smaller, about cm: a day's heat barely gets below the topsoil.
The decisive feature is that each frequency decays at its own rate, faster for higher frequencies: the damping depth is proportional to . On a ring of metal, where heat flows around instead of down, the same principle gives the complete solution of the heat equation. To use it we need to break an arbitrary periodic function into frequencies.
Periodic functions and their coefficients
Work with functions of period : . Equivalently, functions on the circle , the real line with and identified (2A.2 Sets, Functions and Equivalence). Let be the continuous periodic functions with complex values, a complete metric space with the sup metric (2B.5 Uniform Convergence and Arzelà–Ascoli).
For ,
This behaves like the dot product on : it is linear in the first slot, conjugate-symmetric, and unless (by the positivity argument of 2B.1 Metric Spaces). The Cauchy–Schwarz inequality and the triangle inequality for follow exactly as in 2B.1 Metric Spaces. So is a metric, the root-mean-square distance.
The building blocks are the characters , , which go times around the unit circle as runs over .
if and if .
Proof. . For the integrand is . For it has antiderivative , which takes the same value at and .
A trigonometric polynomial is a finite sum . Its coefficients can be recovered by taking inner products: . For a general this suggests a definition.
The Fourier coefficients of are . Its Fourier series is , and the partial sums are .
For real , , and the terms pair up into real cosines and sines: .
In terms of real functions: writing for , the Fourier series of a real becomes
with . Books on physics and engineering usually use this form; the complex form is shorter to compute with, and the two carry the same information.
The partial sum is the best approximation to by trigonometric polynomials of degree at most , in the root-mean-square sense. The reason is Pythagoras' theorem, which holds for any inner product.
If , then . Consequently, for every trigonometric polynomial of degree at most ,
with equality only for .
Proof. Expand: , and the middle terms are and its conjugate. For the second statement, first, is orthogonal to each with :
by orthonormality. So it is orthogonal to every linear combination of them, in particular to . Apply the first statement with and , whose sum is .
Taking , and computing by the same orthonormality, gives Bessel's inequality: for every . In particular as (the terms of a convergent series tend to ).
Two pictures of the same thing
It helps to hold two pictures of what has just happened, because each explains things the other hides.
The geometric picture. Continuous periodic functions form a vector space, and the inner product gives it lengths and angles, exactly like but with infinitely many dimensions. The characters are an orthonormal family, like the standard basis vectors. The Fourier coefficient is the component of along , computed by a dot product, and is the orthogonal projection of onto the span of . Lemma 7.4 is the statement that the projection is the closest point of a subspace, which in the plane is the fact that the perpendicular is the shortest way to a line. Bessel's inequality says that a vector is at least as long as any of its projections. And the question "does the Fourier series converge to ?" becomes "are the enough to reach every vector?", that is, is the orthonormal family complete? Plancherel's identity (Corollary 7.7) will say yes: is Pythagoras with infinitely many perpendicular sides.
The frequency picture. is the amount of oscillation at frequency in : how much of the function goes around times per period. A function is a chord, and its coefficients list how loudly each pure tone sounds. In this picture differentiation is simple, multiplying the -th coefficient by (shown below), so it amplifies high frequencies; integration divides by , so it damps them. Smooth functions are the ones whose high frequencies are quiet. Every linear operation that commutes with rotating the circle acts on the coefficients one at a time, by multiplication, and that is why the heat equation will decouple into separate equations, one per frequency.
The geometric picture explains best approximation and Plancherel; the frequency picture explains smoothing, smoothness and the heat equation. Fourier analysis is the passage between them.
Does the Fourier series converge?
The natural hope is that . Write the partial sum as an average:
Expressions of this kind are periodic convolutions, , and . If were an approximate identity in the sense of 2B.5 Uniform Convergence and Arzelà–Ascoli, non-negative with integral and concentrating at , we would have uniformly. It has integral and its peak at grows. But it is not non-negative: it oscillates, with side lobes that decay slowly (Figure 7.1). Its total absolute mass grows like , and that is enough to wreck convergence: there are continuous functions whose Fourier series diverge at a point (du Bois-Reymond, 1873).
Why a sharp cut in frequency rings. The partial sum keeps the frequencies at full strength and discards the rest: it multiplies by the indicator of , a sharp step in frequency. The price of that sharp step is a kernel that decays slowly in space, like away from (its denominator is of size while the numerator keeps oscillating with height ), so that its absolute mass , the Lebesgue constant, grows without bound, like . A smoother taper in frequency produces a kernel that decays faster in space. This trade-off between abruptness in one picture and spread in the other is a form of the uncertainty principle (4A.6 The Fourier Transform), and it is the reason signal processing tapers its filters rather than cutting them off.
The cure is to average the partial sums.
The Fejér mean is , where
The last formula (Exercise 7.14) is the important one: . Averaging has cancelled the oscillation.
For every , uniformly as .
Proof. is an approximate identity. Mass : integrate the middle expression term by term; only survives. Non-negative: the last expression. Concentration: for , , so uniformly there. Now repeat the proof of the Weierstrass theorem (2B.5 Uniform Convergence and Arzelà–Ascoli): with and chosen from the uniform continuity of so that when ,
which is less than for large , for every .
Three consequences follow, and they are what make Fourier series usable.
For :
- Trigonometric polynomials are dense in in the sup metric.
- If for every , then . So is determined by its Fourier coefficients.
- (Plancherel) , and , and more generally .
- If , then uniformly.
Proof. (1) Each is a trigonometric polynomial. (2) Then every , and . (3) Given , pick a trigonometric polynomial of some degree with , so . For , is the best approximation of degree , so . Then , by Pythagoras: . The formula for follows by polarisation: for complex inner products, (expand the four norms), and the same identity holds for the sums of coefficients, so the identity for norms, applied to , gives the identity for inner products. (4) By the M-test the series converges uniformly to some continuous ; its coefficients are those of (integrate term by term, 2B.5 Uniform Convergence and Arzelà–Ascoli), so by (2).
How fast decays measures how smooth is. Integrating by parts (2A.11 The Riemann Integral), for periodic ,
the boundary term vanishing because and take the same values at and . So if is , then , which is summable, and the Fourier series converges uniformly. Smoothness of is decay of . That sentence, made quantitative, is the theory of Sobolev spaces (4A.10 Sobolev Spaces).
Convolution becomes multiplication
Partial sums, Fejér means and, below, the solution of the heat equation are all convolutions . The frequency picture explains why that is natural.
For , the convolution is continuous and periodic, , and
Proof. Periodicity is clear. Continuity: is uniformly continuous (2B.3 Compactness), so if is small then is small uniformly in , and so is . Commutativity: substitute , and use periodicity to move the interval of integration back to . For the coefficients, exchange the order of the two integrals, which is allowed for a continuous integrand on a square (3A.5 Product Measures and Change of Variables proves the general case):
and writing and integrating in first,
The inner integral is for every , by periodicity, and what remains is .
So each of the averaging processes of this chapter is a filter: it multiplies the -th frequency of by a fixed number , the coefficients of its kernel.
| Process | Kernel | Multiplier |
|---|---|---|
| Partial sum | Dirichlet | for , otherwise |
| Fejér mean | Fejér | for , otherwise |
| Heat flow for time | heat kernel |
All three keep low frequencies nearly intact and suppress high ones, and all three multipliers equal at , which is the statement that the kernel has integral . The difference is in the shape: a cliff for Dirichlet, a ramp for Fejér, a smooth bell for heat. The smoother the multiplier, the better behaved the kernel, and the two good ones have positive kernels. This table is the frequency picture of the whole chapter, and it extends without change to the Fourier transform on the line (4A.6 The Fourier Transform) and to the heat semigroup of a manifold, where the frequencies are replaced by the eigenvalues of the Laplacian (9B.7 The Heat Equation on a Manifold).
The proposition also explains why convolution smooths. If is continuously differentiable, then is too, with : on the coefficient side, multiplying by can be done to instead of . A convolution is as smooth as the smoother of its two factors, which is the principle behind mollifiers (3A.8 Convolution and Mollifiers).
Let on , extended to be periodic: a continuous function made of parabolic arches, with corners at the integers. Then . For , integrate by parts twice. The first time, and , ; the boundary term vanishes because :
The second time, with , the boundary term is , and the remaining integral is . So
Since , part 4 of Corollary 7.7 says the series converges uniformly to :
Two famous sums drop out. At : , so . And Plancherel, with , gives , so .
The coefficients decay like , not faster, because jumps at the integers (from to ): is continuous but not as a periodic function. Compare the square wave of Exercise 7.12, which jumps itself and whose coefficients decay only like .
Fourier's solution of the heat equation on a ring
Now Fourier's problem. A thin ring of metal of circumference has temperature at position and time . Choosing units so the diffusivity is ,
Separate the frequencies. Try . Since , the equation decouples into one ordinary differential equation per frequency:
by the uniqueness in 2B.6 Power Series, Exponentials and Bump Functions. So the candidate solution is
In words: each frequency decays exponentially, at a rate proportional to the square of the frequency. The term, the mean temperature, never decays. Frequency decays like ; frequency like .
Let and define by for , and . Then:
- For , the series and all its term-by-term derivatives in and converge uniformly on for each , so is infinitely differentiable for and satisfies .
- uniformly as .
- is the only solution of the problem that is continuous on and smooth for .
Proof. (1) by Bessel. A term differentiated times in and times in is bounded by on , and these bounds are summable over , because the Gaussian factor beats every power. By the M-test and 2B.5 Uniform Convergence and Arzelà–Ascoli, all derivatives may be taken term by term, and each term solves the equation.
(2) Write with the periodic heat kernel
has integral (only survives integration). It is positive: this follows from the identity , which says that the ring's heat kernel is the Gaussian heat kernel of the line wrapped around the circle. (The identity is an instance of the Poisson summation formula, proved in 4A.6 The Fourier Transform; take it on trust here, or see Exercise 7.17 for a proof of positivity that avoids it.) From the Gaussian form, concentrates at as . So is an approximate identity, and the proof of Fejér's theorem gives uniformly.
(3) If is another solution, solves the heat equation with . Its energy satisfies (by the computation in the next subsection) and as , so .
Start from the parabolic arches of Example 7.9. By ,
At the hottest point, , the temperature falls from to about at and at ; at the coldest, , it rises from to about and . Both approach the mean , the hottest point from above and the coldest from below, as the maximum principle requires. By the term carries almost all of the remaining deviation, since the term has been damped by the extra factor relative to it, as property 3 below predicts.
A rod instead of a ring
A ring has no ends. A real rod does, and what happens at the ends changes the frequencies but not the method. There are two standard conditions, and each reduces to the ring by a reflection.
Ends held at temperature . For a rod whose ends are kept in ice, extend the initial temperature to as an odd function and then periodically with period . The heat flow on this ring of circumference keeps the extension odd, so it stays at and , and on it is the solution for the rod. Odd periodic functions are sums of sines, so
with the diffusivity. Insulated ends, through which no heat flows, correspond to an even extension and give cosines instead, including a constant term: the mean temperature, which an insulated rod keeps for ever.
The formula answers a practical question at once: how long does a rod take to cool? Every term decays, and the slowest is , with rate . For a copper rod, m²/s, so a rod m long with iced ends has its temperature fall by a factor of about every seconds, a quarter of an hour, once the higher modes have died. A rod cm long does the same in about seconds: a hundred times faster, not ten.
Read the scaling: the time constant is , proportional to the square of the length. This is diffusive scaling, and it is the deepest structural fact about the heat equation. Heat spreads a distance in a time of order , so doubling a distance quadruples the time; the damping depth of the opening example is the same law read the other way. Under the change of variables , , solutions of the heat equation go to solutions. This parabolic scaling (6A.1 What a PDE Is) is how Ricci flows are rescaled near a singularity: lengths by , times by (11B.3 Compactness of Ricci Flows).
What the formula shows
Each property below is visible in , and each is a theme that later books prove for much harder equations, where no formula is available.
1. Instant smoothing. However rough is (here, merely continuous; in Course 3, merely square-integrable), is infinitely differentiable for every , because crushes the high frequencies. The heat equation cannot be run backwards in general: running it backwards would multiply by , and only very special survive that (Exercise 7.16). Smoothing is the reason Ricci flow is useful at all: it improves a metric, and the improvement is quantified by Shi's derivative estimates (11A.5 Shi's Derivative Estimates), the analogue of the bound in part 1 of the proof.
2. Energy decreases. By Plancherel, , which visibly decreases in . Directly, as in the rehearsal of 2A.11 The Riemann Integral, integrating by parts with no boundary terms,
Likewise the Dirichlet energy decreases. In fact the heat equation is the direction of steepest descent of the Dirichlet energy, the gradient flow of (Exercise 7.19). This is thread V's first appearance: Ricci flow is, after Perelman's modification, the gradient flow of his -functional (12A.2 Ricci Flow as a Gradient Flow).
Read the identity term by term. The rate at which the energy falls is the Dirichlet energy, the total squared steepness. A temperature profile with steep gradients loses energy fast; a nearly flat one barely changes. The flow spends its effort where the profile is roughest, which is why corners vanish instantly while gentle variations linger.
3. Convergence to equilibrium, at a rate set by the first frequency. Let be the mean. Then
The temperature evens out exponentially fast, at the rate of the lowest non-zero frequency. This spectral gap is equivalent to an inequality of Poincaré type (Exercise 7.18), and it reappears as the first eigenvalue of the Laplacian on a manifold (9B.7 The Heat Equation on a Manifold).
The gap between the first two frequencies decides how quickly the profile becomes a single sine wave. In the square-wave example of Figure 7.2, the coefficients of frequencies and start in the ratio , and the ratio is multiplied by . At the third harmonic has fallen to about of the first, which is why the profile there already looks like a sine curve, of amplitude . Late in any heat flow, the solution looks like its slowest non-constant mode, and the shape of that mode, not the initial data, decides what is seen.
4. The maximum principle. Since with and , each value is an average of values of . So : the heat equation creates no new maxima or minima, and in fact is non-increasing in (apply the same argument starting from any time ). For the heat equation on a ring this follows from the positivity of a kernel; in 6A.5 Maximum Principles it is proved for general heat equations by the second-derivative test (2A.10 Derivatives, 2B.8 Calculus in Several Variables), and in 11A.7 Maximum Principles under Ricci Flow Hamilton extends it to tensors.
The kernel is the first appearance of the heat kernel, the fundamental solution of the heat equation. On the line it is the Gaussian (6A.3 The Heat Equation on ℝⁿ); on a Riemannian manifold it is defined abstractly and estimated geometrically (9B.7 The Heat Equation on a Manifold). As a function of (at ), is a theta function, an object of number theory and complex analysis (Book 5A). And in Perelman's work the conjugate heat equation, run backwards in time, carries a heat-kernel-like density whose behaviour encodes the geometry (12A.2 Ricci Flow as a Gradient Flow, 12A.9 Pseudolocality). The factor there is the same normalisation as the here.
Heat against waves
The heat equation has a first derivative in time. Its cousin, the wave equation , which governs a vibrating string, has a second. Solving it on the ring by the same separation of frequencies shows exactly what the single time derivative is responsible for. Each coefficient now satisfies
whose solutions are : oscillations, not decays. Nothing is damped, so nothing is smoothed. A corner in the initial shape of a string travels along it for ever without rounding off, and the energy is conserved rather than dissipated. The equation can be run backwards as easily as forwards, since replacing by leaves it unchanged. There is no maximum principle and no convergence to equilibrium.
Every good property of the heat equation, then, comes from the exponent being real and negative, which comes from the single time derivative. Equations of the first kind are called parabolic, those of the second kind hyperbolic (6A.1 What a PDE Is). Ricci flow, , has one time derivative and, after DeTurck's trick, behaves like a heat equation; this is why it smooths metrics, as this chapter's formula smooths temperatures. Einstein's equations of general relativity involve the same Ricci tensor but are hyperbolic, and they propagate waves instead.
Hearing a shape
The characters are the eigenfunctions of on the circle, with eigenvalues , and every statement about the heat equation in this chapter was really a statement about these eigenvalues. On a drumhead, or any bounded region of the plane with its edge held fixed, or a closed Riemannian manifold, the circle's characters are replaced by the eigenfunctions of the Laplacian, and the frequencies by its eigenvalues . The heat equation is solved in exactly the same way, each eigenfunction decaying like , and the vibrating membrane rings at frequencies proportional to .
How much of the shape do the frequencies determine? Mark Kac asked the question in a famous 1966 article, "Can one hear the shape of a drum?". A lot can be heard: the eigenvalues determine the area of the drum, the length of its boundary and, for a planar region, the number of holes, and the method for extracting them is the heat equation, through the small-time behaviour of , the trace of the heat kernel. But not everything. John Milnor had already found, in 1964, two sixteen-dimensional flat tori with the same eigenvalues that are not isometric, and in 1992 Carolyn Gordon, David Webb and Scott Wolpert constructed two plane regions, polygons of different shapes, that have exactly the same eigenvalues. The theta function of the ahead box above is the circle's case of the heat trace, and the heat kernel on manifolds (9B.7 The Heat Equation on a Manifold) is where these questions are taken up.
The isoperimetric inequality, by Fourier series
Fourier series also prove theorems of geometry. Of all closed curves of a given length, the circle encloses the largest area: for a closed curve of length enclosing area ,
with equality only for a circle. Adolf Hurwitz gave this proof in 1901.
Parametrise a continuously differentiable closed curve, traversed anticlockwise, by a multiple of arc length on , and write it as a complex function of period . Then the speed is constant, so, by Plancherel and ,
The enclosed area is (Green's theorem, 8A.8 Differential Forms and Stokes’ Theorem), and . By the inner-product form of Plancherel,
so, taking imaginary parts,
Subtracting,
because for every integer . Equality forces whenever , that is, for all except and , so : a circle.
The proof shows how a curve falls short of a circle: each frequency costs in the inequality, so wiggles of high frequency are expensive. The inequality is the ancestor of the isoperimetric inequalities used for curvature flows (6A.10 Curve Shortening and the First Geometric Flows) and in Perelman's pseudolocality theorem (12A.10 The Proof of Pseudolocality).
The Gibbs phenomenon
Fourier series of functions with jumps converge badly near the jumps. For the square wave ( on , on ), the partial sums overshoot the jump by a fixed amount that does not shrink as grows; the overshoot just moves closer to the jump (Figure 7.3). In the limit, the partial sums rise to , overshooting the value by about of the jump of size .
The overshoot is caused by the negative lobes of the Dirichlet kernel. The Fejér means, which average against a positive kernel, never overshoot: by the argument of property 4, they stay between and . Positivity of the averaging kernel is what makes both the maximum principle and the absence of overshoot work.
A JPEG image is compressed block by block. Each block of pixels is transformed by the discrete cosine transform, a finite cousin of the Fourier series that writes the block as a combination of cosine patterns of increasing frequency. The coefficients are then rounded, coarsely for the high frequencies and finely for the low ones, and many high-frequency coefficients become zero and cost almost nothing to store. This works because, as the decay of for smooth suggests, most of the content of a typical photograph is in the low frequencies. Where an image has a sharp edge, the discarded high frequencies were needed, and the result is the ringing near edges in a heavily compressed JPEG: a two-dimensional relative of the Gibbs phenomenon.
A sustained musical note is (nearly) periodic, so it is a Fourier series: a fundamental frequency, which sets the pitch, plus harmonics at integer multiples of it. Two instruments playing the same pitch have the same fundamental and differ in the sizes of the coefficients for . That difference is what we hear as timbre. A flute's tone is close to a pure sine wave, with weak harmonics; a bowed violin string, which is dragged and released in a stick–slip motion, produces a waveform close to a sawtooth, whose harmonics decay only like (Exercise 7.12), and it sounds correspondingly brighter. Smoothness of the waveform is decay of the coefficients, heard.
Tides are not periodic, but they are close to a sum of periodic parts. The gravitational pull of the Moon raises a tide with a period of about hours (the principal lunar constituent, called ), the Sun one with a period of exactly hours (), and dozens of smaller constituents arise from the tilt and the ellipticity of the orbits. Their periods are known from astronomy. Their amplitudes and phases at a given port are not, and are found from a long record of observed water levels by projecting the record onto each constituent, the inner-product computation of this chapter in practice. William Thomson (Lord Kelvin) built the first tide-predicting machine in the 1870s, a mechanical device of pulleys and a wire that added up the constituents for a chosen port, and such machines predicted tides until digital computers replaced them.
Even the two main constituents explain a familiar pattern. When and are in step their amplitudes add (spring tides), and when they are out of step they partly cancel (neap tides). The two are in step again after the time it takes one to gain a full cycle on the other, hours, about hours, or days: the spring–neap cycle of roughly a fortnight, half a lunar month.
History
Fourier's 1807 memoir was judged by Lagrange, Laplace, Monge and Lacroix; its prize-winning revision (1811) and the 1822 book established the method, and Chapter IV of the book treats the movement of heat in a ring. Peter Gustav Lejeune Dirichlet gave the first rigorous convergence theorem in 1829, for piecewise monotone functions. Paul du Bois-Reymond constructed a continuous function whose Fourier series diverges at a point in 1873. In 1900, aged twenty, Lipót Fejér proved that the Cesàro means of the Fourier series of every continuous function converge uniformly. The overshoot at jumps was described by Henry Wilbraham in 1848 and again by J. Willard Gibbs in 1899, whose name it carries. The questions Fourier raised, what a function is and in what sense a series converges, led to Riemann's integral (1854), to Cantor's set theory (which began with sets of uniqueness for trigonometric series), and to Lebesgue's integral (1902), the subject of Course 3.
Whether the Fourier series of a continuous function must converge at most points remained open until Lennart Carleson proved in 1966 that it converges everywhere except on a set of length zero, one of the deepest theorems of twentieth-century analysis.
Periodic functions have Fourier coefficients with respect to the orthonormal characters . Partial sums are best approximations, but may fail to converge for continuous , because the Dirichlet kernel is not positive. Fejér means average against a positive kernel and converge uniformly, which gives density of trigonometric polynomials, uniqueness and Plancherel's identity. Smoothness of is decay of . The heat equation on a ring is solved by letting each coefficient decay like : the solution is smooth at once, its energy decreases, it converges exponentially to the mean, and it obeys the maximum principle because it is an average against the positive heat kernel. 2B.8 Calculus in Several Variables turns to functions of several variables, where the Laplacian becomes the trace of the Hessian.
Exercises
(a) For the square wave on and on , show that for odd and for even , so "" . (b) For the sawtooth on , show for . (These functions are not continuous, but the integrals defining still make sense.)
Solution
(a) , which is for odd and for even (and ). Pairing with : . (b) For , integrate by parts with : .
Apply Plancherel's identity to the sawtooth of Exercise 7.12 (it holds for piecewise continuous functions too, by approximating them in by continuous ones), and deduce .
Solution
, and . Equate: .
With , show that , and that . Deduce .
Solution
Here means . is a geometric sum: multiplying by telescopes to . Summing over , with , , which simplifies to . Dividing by once more gives the claim. Finally , so the ratio of squares is , and dividing by gives .
(a) Verify that solves when . (Write .) (b) With m²/s, compute for the annual and the daily cycle. (c) At what depth is the annual swing reduced to of its surface value, and how far behind the surface is it there?
Solution
(a) With : and , so exactly when . Take real parts. (b) Annual: , m. Daily: m. (c) at m, with a lag of of a year, about months.
Suppose solves the heat equation on the ring for , continuously, with . Show that for some . Deduce that if is merely continuous (for example, ), no such backward solution exists.
Solution
The coefficients of satisfy , so , and . A function with () is continuous by the M-test, but is not .
Let be continuous and periodic, and . Show that for all , by considering : at a point where the minimum is attained, (2A.10 Derivatives), so can't be decreasing there; make this rigorous with (or ) as in Hamilton's trick (2A.10 Derivatives). Deduce by taking to be a narrow bump.
Hint
Suppose first becomes at a time and point . There and , but . For the last step, , and if a bump concentrated near makes this negative at .
Solution
Fix and , and let , which is positive at (as ) and continuous on . Suppose it is somewhere in . The set of such times is closed and doesn't contain ; let be its least element, and a point with . Then is a minimum of , so there; and for , so . But , a contradiction. So for every , and . For the kernel: is continuous, so if it is negative on some interval . A non-negative bump supported in with gives , contradicting the first part.
(a) For periodic with mean , prove Wirtinger's inequality , using Plancherel and . When is it an equality? (b) Use it to prove the decay estimate of property 3 without Fourier series: if for a solution of the heat equation, show , and conclude (compare 2A.10 Derivatives's comparison argument). This route, "an energy identity plus a functional inequality gives exponential decay", is the one that survives on manifolds and for nonlinear equations, where Fourier series don't exist. Perelman's entropy arguments use a log-Sobolev inequality in exactly this role (6A.12 Entropy, Information and Diffusion, 12A.3 The 𝓦-Entropy).
Solution
(a) . Equality iff for : . (b) The mean is constant (2A.11 The Riemann Integral), so . Then .
For smooth periodic and , let . Show that . So, measuring changes by the inner product , the direction in which decreases fastest is (normalised), and the heat equation moves in that direction. This is the first instance of the variational thread V; it is developed in 6A.11 Calculus of Variations and Gradient Flows and reaches Ricci flow in 12A.2 Ricci Flow as a Gradient Flow.
Solution
, so the derivative at is , integrating by parts with no boundary terms. Among with , is most negative when points along (Cauchy–Schwarz, with equality for parallel vectors). So is the direction of steepest descent of .
Compute the coefficients , of the triangle wave on , extended periodically, and show that its series contains only cosines with odd . How fast do the coefficients decay, and why?
Solution
Since and has period , : is even. So each is the integral of an odd function over a symmetric interval, which is . Next, , and for , integrating by parts twice as in Example 7.9, : for odd , for even . So . The coefficients decay like because is continuous with a derivative that jumps (at and ).
Free resources for this chapter
Chosen for what this chapter covers, and all free to read or watch. Links checked Nov 6, 2026.
Read
- Book §11.8 Fourier seriesJiří Lebl, Basic Analysis I & II (free textbook)Fourier coefficients, convergence and Parseval’s theorem.
- Notes Lecture 16: Fejér’s Theorem and Convergence of Fourier SeriesMIT OpenCourseWare 18.102 Introduction to Functional Analysis (Spring 2021)When and how Fourier series converge.
- Reference Gibbs phenomenonWikipediaThe overshoot of Fourier partial sums at a jump.
Watch 4 lectures and talks
- Video But what is a partial differential equation?3Blue1Brown, Differential Equations seriesAnimated: the heat equation derived from how temperature evens out.
- Video Solving the heat equation3Blue1Brown, Differential Equations seriesAnimated: sine waves as the solutions that decay simply, and why high frequencies die first.
- Video But what is a Fourier series? From heat flow to drawing with circles3Blue1Brown, Differential Equations seriesAnimated: Fourier’s idea, starting from the heat equation on a rod.
- Video Lecture 16: Fejer’s Theorem and Convergence of Fourier SeriesMIT OpenCourseWare 18.102 Introduction to Functional Analysis (Spring 2021), Casey RodriguezFejér’s theorem and the convergence of Fourier series, rigorously.
© 2026 Neckpinch (www.neckpinch.com). All content in the guidebook (text, mathematics, figures and exercises) is protected by copyright. All rights reserved. No part may be copied, republished or redistributed without written permission.