The Weierstrass Counterexample to Dirichlet's Principle
1. Introduction: The Dirichlet Problem and 19th-Century Physics
In the mid-19th century, few mathematical ideas were as celebrated or seemed as physically unassailable as Dirichlet's Principle.
The problem at the center of this story is the classical Dirichlet boundary value problem for Laplace's equation. LetΩ⊂Rn(typicallyn=2orn=3) be a bounded domain with smooth boundary∂Ω. Given a continuous boundary functiong:∂Ω→R, we seek a functionu:Ω→Rsatisfying:
{Δu=∑i=1n∂xi2∂2u=0u=gin Ω,on ∂Ω.
Solutions to Laplace's equation are called harmonic functions. They describe fundamental physical phenomena in equilibrium:
Electrostatics: The electric potentialuin a charge-free regionΩwith fixed potentialgon the conducting boundary.
Thermodynamics: The steady-state temperature distributionuwithin a solid whose surface temperature is maintained atg.
Fluid Mechanics: The velocity potential of an incompressible, irrotational fluid.
Elasticity: The equilibrium displacement of a flexible membrane (e.g., a soap film) stretched over a wire boundary curveg.
Fixed boundary potential: u = g(x) on ∂Ω
╭────────────────╮
╱ Δu = 0 in Ω ╲
│ (Harmonic State) │
╲ ╱
╰────────────────╯
Minimizes Total Dirichlet Energy:
D[u] = ∫_Ω |∇u|² dx
2. Dirichlet's Principle: Riemann's Foundation
The Variational Insight
In physics, equilibrium states correspond to states of minimal potential energy.
For any continuously differentiable functionv:Ω→R, define the Dirichlet Integral (or Dirichlet Energy):
D[v]=∫Ω∣∇v∣2dx=∫Ω((∂x1∂v)2+⋯+(∂xn∂v)2)dx
Now consider the class of admissible candidate functions satisfying the given boundary values:
A={v∈C2(Ω)∩C(Ω):v∣∂Ω=g}
Supposeu∈Ais a minimizer ofD[v]onA. Letϕ∈Cc∞(Ω)be any smooth test function vanishing on∂Ω. For any small scalarε∈R, the perturbed functionu+εϕis also inA.
SinceuminimizesD, the functionΦ(ε)must have a local minimum atε=0. Setting the first variation to zero:
Φ′(0)=dεdε=0D[u+εϕ]=2∫Ω∇u⋅∇ϕdx=0
Applying Green's first identity (integration by parts) and using the fact thatϕ=0on∂Ω:
∫Ω∇u⋅∇ϕdx=−∫Ω(Δu)ϕdx=0
Since this must hold for every test functionϕ∈Cc∞(Ω), the fundamental lemma of the calculus of variations forces:
Δu=0in Ω
Thus, any minimizer of the Dirichlet integral is automatically a harmonic function solving the boundary value problem!
The Fatal Assumption
The early pioneers of potential theory—notably George Green (1828), William Thomson (Lord Kelvin, 1847), and Peter Gustav Lejeune Dirichlet (in lectures in Göttingen in the 1850s)—reversed this logical implication.
They argued as follows:
The integrand∣∇v∣2is everywhere non-negative, soD[v]≥0for allv∈A.
The set of real numbers{D[v]:v∈A}is bounded below by zero.
Therefore, this set has a well-defined greatest lower bound (infimum):d=v∈AinfD[v]≥0
The Unexamined Leap: Because the lower bounddexists, there must exist a functionu∈Athat actually achieves this minimum value,D[u]=d.
By the variational calculation above, this minimizerusatisfiesΔu=0withu∣∂Ω=g.
Hence, a solution to Laplace's equation always exists!
Riemann's Triumphs Built on Quicksand
In 1851, a brilliant young student of Gauss and Dirichlet, Bernhard Riemann, submitted his doctoral dissertation (Grundlagen für eine allgemeine Theorie der Functionen einer veränderlichen complexen Grösse). In it, Riemann christened this argument Dirichlet's Principle (Dirichletsches Princip).
Riemann recognized that Dirichlet's Principle was the master key to complex analysis:
A complex analytic functionf(z)=u(x,y)+iv(x,y)has harmonic real and imaginary components satisfying the Cauchy-Riemann equations.
To construct holomorphic mappings, conformal transformations, and meromorphic differentials on topological surfaces (Riemann surfaces), Riemann routinely invoked Dirichlet's Principle to produce harmonic functions with specified boundary values, branch cuts, and logarithmic singularities.
He used it to prove the Riemann Mapping Theorem (1851) and the existence of Abelian differentials in algebraic geometry (1857).
To Riemann and his contemporaries, physical intuition was a guarantor of mathematical truth: an electric field always settles into an equilibrium; therefore, the minimizer must exist.
Physical Analogy (1850s) Mathematical Reality
┌─────────────────────────────────────┐ ┌─────────────────────────────────────┐
│ "A soap film stretched across a │ │ In infinite-dimensional function │
│ wire loop will physically assume │ ≠ │ spaces, bounded sets are NOT │
│ the configuration of least energy; │ │ compact. An infimum of energy need │
│ therefore the math must work." │ │ NOT be attained by any function! │
└─────────────────────────────────────┘ └─────────────────────────────────────┘
3. The Shock of 1870: Weierstrass's Counterexample
On July 14, 1870, Karl Weierstrass delivered an address before the Royal Prussian Academy of Sciences in Berlin titled:
"Über das sogenannte Dirichlet'sche Princip" (On the So-Called Dirichlet Principle)
In this short, devastating paper, Weierstrass dismantled the foundation of Riemann's edifice. He demonstrated that Dirichlet's Principle rested on a elementary logical fallacy:
The existence of an infimum does not imply the existence of a minimum.
In the finite-dimensional caseR, the setS=(0,1)is bounded below and has infimuminfS=0, yet no element ofSattains the value0. In finite dimensions, the Extreme Value Theorem saves optimization if the domain is closed and bounded (compact). But in infinite-dimensional function spaces, closed and bounded sets are never compact in the norm topology. A sequence of functions can easily "escape" the space.
To prove that this failure is fatal in the calculus of variations, Weierstrass constructed an explicit, concrete one-dimensional variational problem.
The Classical Weierstrass Construction
Consider the open intervalΩ=(−1,1). We seek to minimize the variational integral:
J[y]=∫−11x2(y′(x))2dx
over the space of continuously differentiable admissible functions:
For everyx∈[−1,1]and anyy∈A, the integrand is a square of real quantities:
x2(y′(x))2≥0⟹J[y]=∫−11x2(y′(x))2dx≥0
Because the set{J[y]:y∈A}is bounded below by zero, its infimum exists and satisfies:
d=y∈AinfJ[y]≥0
Step 2: The Value Zero is Never Attained
Could there exist a functiony0∈Asuch thatJ[y0]=0?
Theorem: No admissible function can achieveJ[y]=0.
Proof: Supposey∈C1([−1,1])satisfiesJ[y]=0. Since the integrandf(x)=x2(y′(x))2is continuous and non-negative on[−1,1], its integral on[−1,1]can vanish if and only if the integrand vanishes identically:
x2(y′(x))2=0for all x∈[−1,1]
For everyx=0,x2>0, which immediately implies:
y′(x)=0for all x∈[−1,0)∪(0,1]
Sincey∈C1([−1,1]), the derivativey′is continuous on all of[−1,1], including atx=0. By continuity:
y′(0)=x→0limy′(x)=0
Therefore,y′(x)=0on the entire interval[−1,1].
By the Mean Value Theorem, any function on an interval with zero derivative everywhere is identically constant:
y(x)=Cfor all x∈[−1,1]
Evaluating at the endpoints:
y(−1)=Candy(1)=C⟹y(−1)=y(1)
However, the boundary conditions requirey(−1)=−1andy(1)=1. Since−1=1, this is an absolute contradiction!
Conclusion: For every functiony∈A:
J[y]>0
■
Step 3: The Infimum is Exactly Zero (infy∈AJ[y]=0)
While no function inAcan yieldJ[y]=0, Weierstrass proved that the infimum is nevertheless precisely zero.
To do this, he constructed an explicit minimizing sequence of admissible functions{yε}ε>0⊂Asuch that:
ε→0+limJ[yε]=0
The Construction
For each parameterε>0, define the function:
yε(x)=arctan(ε1)arctan(εx)
Let us verify thatyεsatisfies all requirements of admissibility:
The denominator approaches:ε→0+limarctan(1/ε)=arctan(+∞)=2π⟹arctan2(1/ε)→4π2
The integral overtconverges to a finite improper integral:∫0∞(1+t2)2t2dtUsing integration by parts withu=tanddv=(1+t2)2tdt(sov=−2(1+t2)1):∫0∞(1+t2)2t2dt=[−2(1+t2)t]0∞+21∫0∞1+t21dt=(0−0)+21[arctan(t)]0∞=21⋅2π=4π
y_∞(x) = sgn(x)
1 ┼ o━━━━━━━━━━━━━━━━
│ │
0 ┼──────────────────────────●──────────────── x
│ │
-1 ┼━━━━━━━━━━━━━━━━━━━━━━━━━o
-1 0 1
Discontinuity (Jump = 2) at x = 0!
The pointwise limit of our smooth functions is the signum step functionsgn(x)!
Notice what happened:
The weighting coefficientx2in the functionalJ[y]=∫−11x2(y′)2dxvanishes atx=0.
This means that having a huge derivativey′(x)costs very little energy as long as that derivative is concentrated in an infinitesimal neighborhood ofx=0.
The minimizing sequence exploits this loophole: to transition from−1to+1, it makes the derivative arbitrarily steep (yε′(0)∼1/ε→∞), squeezing all the transition into a window of widthεaroundx=0.
In the limit, the derivative blows up into a Dirac delta distribution2δ(0), and the function develops a jump discontinuity of height 2.
The limit function does not belong toC1([−1,1]), nor even toC0([−1,1]).
The sequence was "trying" to minimize energy, but to do so, it was forced to escape the function space entirely!
5. The Crisis and the Thirty-Year Interregnum
Weierstrass's 1870 paper caused panic in the mathematical community. Riemann had died of tuberculosis in 1866 at the age of 39, leaving no one capable of directly defending his proofs.
The Reaction of the Mathematical World
In his lectures on the development of 19th-century mathematics, Felix Klein described the atmosphere:
"Riemann's theory of functions was regarded with great suspicion. Weierstrass's critique was accepted by the majority of mathematicians as decisive. Riemann's brilliant results were left hanging in the air without rigorous foundation."
Mathematicians split into ideological camps:
The Berlin School (Weierstrass, Kronecker): Demanded absolute arithmetic and logical rigor. Leopold Kronecker went so far as to reject Riemann's work entirely as mystical nonsense lacking mathematical reality.
The Göttingen / Geometric School (Klein): Maintained that Riemann's theorems had to be true because of physical intuition. Klein famously argued that an electrical engineer measuring potentials on a conductive surface would have no doubt that a solution existed, and that mathematics must eventually catch up with physics.
Alternative Rescues (1870–1890)
For three decades, mathematicians abandoned the variational approach and scrambled to find alternative, constructive methods to solve the Dirichlet problem without Dirichlet's Principle:
ATTEMPTS TO RESCUE POTENTIAL THEORY
│
┌─────────────────────────────────┼─────────────────────────────────┐
▼ ▼ ▼
Schwarz Alternating Method Neumann Integral Equations Poincaré's Balayage
(H. A. Schwarz, 1870) (Carl Neumann, 1877) (Henri Poincaré, 1890)
• Decompose domain into simple • Express boundary potential as • "Sweeping out" charge
overlapping pieces (disks) a double-layer potential distributions
• Alternate boundary values • Leads to Fredholm integral • Foundational for subharmonic
• Proves convergence geometrically operators functions & Perron's method
Hermann Amandus Schwarz (1870) — The Alternating Method (Alternierendes Verfahren): Schwarz (Weierstrass's student) proved that if a domain is formed by the union of two simpler domains (such as two overlapping disks) where the Dirichlet problem can be solved explicitly by Poisson's integral formula, one can alternate solving on each domain to produce a convergent sequence of harmonic functions.
Carl Neumann (1877) — Boundary Integral Equations: Neumann formulated the Dirichlet problem for convex domains using boundary integral equations, expressing the harmonic function as the potential of a double layer of charge on∂Ω. This work directly inspired Ivar Fredholm's theory of integral equations.
Henri Poincaré (1890) — The Balayage ("Sweeping Out") Method: Poincaré devised a method of repeatedly "sweeping out" masses to the boundary of smaller subdomains, generating a monotonically decreasing sequence of superharmonic functions that converges to the harmonic solution.
These methods proved that Riemann's theorems were indeed true for many domains, but they were technically monstrous compared to the breathtaking simplicity of Riemann's original variational idea.
6. The Plot Thickens: Counterexamples to the Actual Dirichlet Problem
Weierstrass's 1870 example had a weightx2multiplying the derivative. A skeptic might ask:
Could the actual Dirichlet integralD[u]=∫Ω∣∇u∣2dx(without anyx2weight) still work as Riemann envisioned for Laplace's equation?
The twentieth century delivered an astonishing answer: No. Even for the standard Laplace equation, Dirichlet's Principle and the Dirichlet problem fail under very natural conditions!
Hadamard's Counterexample (1906): Finite Energy Fails
In 1906, Jacques Hadamard asked a fundamental question: Does every continuous boundary functiong∈C(∂Ω)produce an admissible candidate with finite Dirichlet integral?
Hadamard answered with an emphatic NO.
The Construction on the Unit Disk
Consider the open unit disk inR2:
D={(x,y)∈R2:x2+y2<1}
Its boundary is the unit circle∂D=S1. In polar coordinates(r,θ), define a continuous boundary functiong(θ)via the Fourier series:
g(θ)=k=1∑∞k21sin(k!θ)
Because∑k=1∞k21=6π2<∞, the series converges uniformly on[0,2π]by the WeierstrassM-test. Therefore:
g∈C(S1)
The boundary condition is a bona fide continuous function!
By classical Fourier theory and separation of variables, the unique harmonic function inDcontinuous up to the boundary matchinggis:
u(r,θ)=k=1∑∞k21rk!sin(k!θ)
Let us compute the Dirichlet integral ofuover the disk:
Fork≥7: By Stirling's approximation,k!grows super-exponentially, whilek4is merely polynomial:k→∞limk4k!=+∞
The series diverges violently:
D[u]=+∞
The Implication
The unique harmonic function matchinggon the boundary has infinite Dirichlet energy. Furthermore, by Dirichlet's principle itself, any otherC1function onDmatchinggon the boundary must have:
D[v]≥D[u]=+∞
Therefore, the set of admissible functions with finite energy is completely empty:
A={v∈C1(D):v∣∂D=g and D[v]<∞}=∅
Riemann's assumption thatinfD[v]was a real number was false even on the unit disk with continuous boundary data!
Lebesgue's Spine (1912): The Geometry of the Boundary
Even if we abandon energy minimization and only ask whether a classical solution toΔu=0inΩ,u∈C(Ω),u∣∂Ω=gexists: it can still fail if the domain has a sharp boundary singularity.
In 1912, Henri Lebesgue constructed a famous 3D domain featuring an inward-pointing sharp cusp known as the Lebesgue Spine (or Lebesgue Thorn).
Lebesgue's 3D Domain with Inward Spine
╭─────────────────────────╮
╱ ╲
│ Δu = 0 │
╲ ╱
╰─────────────╮ ╭─────╯
│ ▲ │ Inward needle/cusp
│ │ │ r = exp(-1/x₁), x₁ > 0
╰──┴──╯
Origin O
Consider a 3D domainΩformed by punching an ultra-sharp needle into a ball, where the boundary near the originO=(0,0,0)behaves like:
r=x22+x32≤exp(−x11),x1>0
If one assigns boundary valuesgsuch thatg(O)=1at the sharp tip, butg=0elsewhere on the boundary, the potentialu(x)insideΩcannot continuously attain the value1at the origin:
x→O,x∈Ωlimu(x)=0=g(O)
The electrostatic charge capacity of the sharp needle is too small to influence the potential in the interior. The pointOis an irregular boundary point.
The complete characterization of domains where the classical Dirichlet problem can be solved was finally resolved in 1924 by Norbert Wiener with the celebrated Wiener Criterion (based on logarithmic/Newtonian capacity).
7. The Resurrection: Hilbert and the Direct Method
Dirichlet's Principle was not dead; it was merely premature. It was waiting for modern functional analysis to be born.
In 1900, at the International Congress of Mathematicians in Paris, David Hilbert listed the calculus of variations and Dirichlet's Principle as his 20th Problem:
"The general problem of boundary values."
Already in 1899, Hilbert had read a preliminary paper titled "Über das Dirichletsche Princip", followed by his definitive 1904 treatise. Hilbert proved that Riemann's core intuition was correct, provided it was formulated within the proper functional framework.
19th Century View (Riemann) 20th Century View (Hilbert & Sobolev)
┌────────────────────────────────────────┐ ┌────────────────────────────────────────┐
│ Space: Classical C²(Ω) ∩ C(Ω̄) │ │ Space: Sobolev Space H¹(Ω) │
│ Topology: Uniform norm (Non-compact) │ → │ Topology: Weak topology (Weak Compact) │
│ Existence: Assumed blindly │ │ Existence: Direct Method in Variations │
│ Regularity: Assumed from the start │ │ Regularity: Proved a posteriori │
└────────────────────────────────────────┘ └────────────────────────────────────────┘
Hilbert inaugurated what is now known as the Direct Method in the Calculus of Variations (Direkte Methode der Variationsrechnung).
The Four Pillars of the Direct Method
To prove that a functionalE[u]on an infinite-dimensional spaceXattains its minimum:
u∈XminE[u]
one executes four rigorous steps:
┌────────────────────────────────────────────────────────────────────────┐
│ THE DIRECT METHOD IN VARIATIONS │
└───────────────────────────────────┬────────────────────────────────────┘
│
┌────────────────────────────┼────────────────────────────┐
▼ ▼ ▼
1. Minimizing Sequence 2. Weak Compactness 3. Weak Lower
Take u_k such that Extract u_k ⇀ u Semicontinuity
E[u_k] → d = inf E using reflexivity & E[u] ≤ lim inf E[u_k]
coercivity: ‖u_k‖ ≤ C shows E[u] = d
1. Formulate on a Complete Space (Sobolev SpaceH1)
We must expand the class of functions beyondC1to include functions whose first derivatives exist in a generalized (weak) sense and are square-integrable. This is the Sobolev space:
H1(Ω)=W1,2(Ω)={u∈L2(Ω):∂xi∂u∈L2(Ω),i=1,…,n}
equipped with the norm:
∥u∥H12=∥u∥L22+∥∇u∥L22=∫Ω∣u∣2dx+∫Ω∣∇u∣2dx
H1(Ω)is a Hilbert space—it is complete, reflexive, and equipped with an inner product.
2. Weak Compactness from Coercivity
By the Poincaré Inequality, for functions vanishing on the boundary (u∈H01(Ω)):
∥u∥L2(Ω)≤CΩ∥∇u∥L2(Ω)
Thus, the Dirichlet energy controls the full Sobolev norm:
D[u]=∥∇u∥L22≥c∥u∥H12(Coercivity)
If{uk}⊂H1is a minimizing sequence (D[uk]→d=infD), coercivity guarantees that the sequence is bounded in norm:
∥uk∥H1≤M<∞
By the fundamental theorem of functional analysis (the Banach-Alaoglu Theorem and Eberlein-Šmulian Theorem):
In any reflexive Banach space (and in particular any Hilbert space), every bounded sequence possesses a weakly convergent subsequence!
Therefore, there exists a subsequenceukjand a limit functionu0∈H1(Ω)such that:
ukj⇀u0weakly in H1(Ω)
The minimizing sequence cannot escape into non-existence!
3. Weak Lower Semicontinuity (WLSC)
Although the functionalD[u]is generally not continuous under weak convergence, it is convex. In a Hilbert space, any continuous and convex functional is weakly lower semicontinuous:
D[u0]≤j→∞liminfD[ukj]
BecauseD[ukj]→d=infD, this gives:
D[u0]≤d
Sinceu0belongs to the admissible space, we also haveD[u0]≥d. Consequently:
D[u0]=d=u∈AminD[u]
The minimizeru0∈H1(Ω)exists!
The Final Step: Elliptic Regularity (Smoothness)
Does this weak minimizeru0∈H1(Ω)solve Laplace's equation in the classical sense?
At this stage,u0is merely an equivalence class of square-integrable functions with weak derivatives. Doesu0have continuous second derivatives (u0∈C2(Ω))?
The resolution of this question required the development of Elliptic Regularity Theory:
Hermann Weyl (1940) — Weyl's Lemma: If a locally integrable functionu∈Lloc1(Ω)satisfies∫ΩuΔϕdx=0for allϕ∈Cc∞(Ω), thenuis (after redefinition on a set of measure zero) infinitely differentiable (C∞) andΔu=0pointwise!
De Giorgi-Nash-Moser Theorem (1957–1960): Extended regularity to minimizers of elliptic equations with rough, discontinuous coefficients.
Riemann's magnificent geometric intuition was fully vindicated: the minimizer does exist, and it is indeed a smooth, classical harmonic function—provided the domain and boundary data satisfy the necessary Sobolev and capacity conditions.
8. Summary Comparison
Concept
The 1850s Orthodoxy (Riemann & Dirichlet)
The 1870 Counterexample (Weierstrass)
The Modern Resolution (Hilbert & Sobolev)
Guiding Philosophy
Physical intuition (energy always has an equilibrium)
Pure mathematical analysis (arithmetization & counterexamples)
Functional analysis & topology
Underlying Space
C2(Ω)∩C(Ω)(Classical smooth functions)
Discovered that minimizing sequences escapeC1into discontinuous functions
Proved a posteriori via Elliptic Regularity (Weyl's Lemma, Schauder)
Boundary Values
Any continuousgassumed to work
Did not address boundary pathologies
Hadamard (D[u]=∞) and Lebesgue spine resolved by Wiener capacity
9. Chronology of Dirichlet's Principle
1828 ── George Green publishes essay on potential theory
1847 ── William Thomson (Lord Kelvin) formulates variational principle
1850s── Dirichlet lectures on the principle in Göttingen
1851 ── Bernhard Riemann coins "Dirichlet's Principle" in his doctoral thesis
1857 ── Riemann uses Dirichlet's Principle to establish the theory of Abelian functions
1870 ── Karl Weierstrass presents 1D counterexample to the Berlin Academy (July 14)
1870 ── Hermann Schwarz invents the Alternating Method to bypass the principle
1877 ── Carl Neumann solves Dirichlet problem using boundary integral equations
1890 ── Henri Poincaré introduces the Balayage method
1899 ── David Hilbert begins the resurrection of Dirichlet's Principle
1900 ── Hilbert announces 20th Problem at Paris ICM
1904 ── Hilbert publishes "Über das Dirichletsche Prinzip", launching the Direct Method
1906 ── Jacques Hadamard constructs disk example where harmonic extension has infinite energy
1912 ── Henri Lebesgue discovers the Lebesgue Spine (boundary irregularity)
1924 ── Norbert Wiener establishes the Wiener Criterion for boundary regular points
1936 ── Sergei Sobolev introduces Sobolev spaces W^{k,p}
1940 ── Hermann Weyl proves Weyl's Lemma (weak harmonic functions are smooth)
10. Concluding Remarks
The story of the Weierstrass counterexample to Dirichlet's Principle is one of the most transformative sagas in the history of mathematics.
What began as an apparent disaster—the invalidation of Riemann's crowning achievements in complex analysis and algebraic geometry—ultimately triggered a mathematical renaissance:
The Separation of Existence and Regularity: In classical analysis, one looked for smooth solutions directly. Modern analysis learned to decouple the problem into two distinct phases: first, find a weak solution in a large, complete function space (where compactness is available); second, use regularity theory to prove that the weak solution is smooth.
The Birth of Modern Functional Analysis: The quest to resurrect Dirichlet's Principle led directly to Hilbert spaces, weak topologies, Sobolev spaces, and distribution theory.
The Power of Counterexamples: Weierstrass did not destroy Dirichlet's Principle; he disciplined it. By pinpointing exactly where intuitive reasoning broke down, his counterexample forced mathematics to create the tools that transformed the calculus of variations into the modern theory of partial differential equations.
As David Hilbert famously proclaimed in his 1900 address:
"Every mathematician knows that Dirichlet’s Principle was used by Riemann with the greatest success... but Weierstrass showed by a simple example that the conclusion is not valid. The problem now is to revive Dirichlet’s Principle and establish it upon a rigorous foundation."
That revival redefined mathematics for the twentieth century.