Calculus of variations Created 2026-09-24 Updated 2026-11-05
The calculus of variations studies functionals whose inputs are functions, curves or fields. A variational problem specifies an admissible class, including endpoint or other boundary conditions, and asks for stationary points or minimizers. The first variation gives an equation for stationary candidates; a second variation, convexity or a direct comparison is needed to decide minimality.
For example, minimizeA zero-endpoint variation gives . If is twice differentiable, integration by parts and the fundamental lemma of the calculus of variations yield . The candidate is the straight line .
It is also the unique global minimizer, not merely stationary. Write any admissible with zero endpoint values for . The cross term is , soEquality forces . This argument extends to Sobolev spaces with a meaningful endpoint trace and illustrates the Dirichlet principle. In more complicated problems, the direct method in the calculus of variations establishes existence without first solving the stationarity equation.
Energy functional Created 2026-09-24 Updated 2026-10-03
An energy functional assigns an integral energy to a function. Minimization of a suitable energy is the basis of the Dirichlet principle. For the modified Helmholtz equation, a natural example is
Past exam of the mathematics course of the University of Cambridge 2005 ia Paper 3 9A Solution Created 2026-09-24 Updated 2026-10-14
Assume sufficient smoothness and a regular boundary for the integrations below, with outward. Put , so on . Expanding the Dirichlet energy givesBy Green's first identity, the middle integral isThus the Dirichlet principle follows with an explicit remainder:Equality means is constant on each connected component; its zero boundary value forces that constant to be zero.
Now let solve the heat equation and set . Differentiation followed by Green's first identity givesUnder time-independent Dirichlet boundary conditions, on , while in . ThereforeIf equality holds at a particular time, continuity makes throughout at that time. Its boundary values are still , so uniqueness of the Dirichlet problem implies . Conversely has and gives equality. This proves the full equality criterion for Dirichlet energy dissipation for the heat equation.
For the dynamic boundary condition for the heat equation, substitute directly into the boundary term. The interior equation is unchanged, soThis is Dirichlet energy dissipation with a dynamic heat boundary condition. It remains valid when vanishes, because no division by is used. The last part preserves energy monotonicity; its stationary states need not have the earlier prescribed Dirichlet data. For example, with strictly positive on a connected boundary, a stationary harmonic state has zero outward normal derivative and is constant, as follows by applying Green's first identity to that state itself.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 80 3 ii Solution Created 2026-10-03 Updated 2026-10-14
Choose the affine trial function . It has the required trace and constant gradient, so the Dirichlet principle givesFor the macroscopic isotropic effective medium, the corresponding affine-boundary energy is . Dividing by for a nonzero imposed gradient yields the Voigt boundMore generally the same calculation is the tensor inequality in the Loewner order . For a finite unresolved specimen the calculation bounds its apparent affine-boundary response; identification with the bulk effective conductivity uses the macroscopic scale separation.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 80 3 i Solution Created 2026-10-03 Updated 2026-10-14
Use symmetric positive conductivity, for example with . Let have the same Dirichlet boundary data as , and write with . Symmetry givesThe middle integral vanishes by the weak field equation; equivalently integrate by parts, use on the boundary and . HenceThereforeEquality forces , and its zero boundary trace gives , proving uniqueness. This is the Dirichlet principle for the conductivity equation.
The positivity is essential to the physical minimum-energy interpretation; symmetry by itself would give only stationarity. For example, take , and . The field equation holds, but every nonzero smooth compactly supported has , and scaling makes the energy unbounded below. Thus if the printed word “conductivity” were not understood to include positivity, the stated minimum claim would require that additional hypothesis.
Past exam of the mathematics course of the University of Cambridge 2009 ia Paper 3 9B Solution Created 2026-09-24 Updated 2026-10-14
Put , which vanishes on the boundary. Expanding the Dirichlet energy givesThe cross term vanishes by integration by parts: it is , using both the zero boundary values of and Laplace's equation for . Thus the Dirichlet principle gives the stronger identityWith the usual regular boundary, equality forces .
In the unit disc, take boundary data . The harmonic function realizes these data and has constant gradient of length one, so its energy is . For , the polar gradient givesThe energy principle therefore yields the sharp radial Dirichlet energy inequality
There is a small regularity point at the centre: finite energy need not make the polar expression classically smooth there. The bound still holds under the stated finite-energy condition. Indeed for ,The tails tend to zero, so has a limit at zero. That limit must be zero, since a positive limit would make diverge. Completing the square on and letting givesThis proves the finite-energy extension directly, and also shows that equality holds exactly for .
Past exam of the mathematics course of the University of Cambridge 2017 ia Paper 3 12B b Solution Created 2026-09-24 Updated 2026-10-05
Put . Then on , and the constant does not change a gradient, so . Expand the unnormalized Dirichlet energy:The cross term is zero by Green's first identity:Thus the useful stronger identity isEquality holds exactly when has zero gradient. It is then constant on every connected component and zero on that component’s boundary, hence . Therefore equality holds precisely when throughout . This is the Dirichlet principle; an additive boundary constant does not alter the minimizing energy. The energy here omits the optional factor , which does not affect minimizers or the inequality.
Past exam of the mathematics course of the University of Cambridge 2019 ia Paper 3 12B a Solution Created 2026-09-24 Updated 2026-09-29
Green's first identity and the boundary condition giveThus , so is constant on each connected component of ; its zero boundary value forces .
Since on and , another application of Green's first identity givesConsequentlyExpanding and using the vanishing cross term yields the Dirichlet principle
Past exam of the mathematics course of the University of Cambridge 2019 ia Paper 3 12B b Solution Created 2026-09-24 Updated 2026-09-29
For a spherically symmetric function , the Laplacian in spherical coordinates isIntegrating from zero to and using regularity at the origin gives
For the stated density, integration and the boundary condition giveThe two pieces and their first derivatives agree at . If another solution existed, its difference from would be harmonic with zero boundary data, so part (a) proves Uniqueness of the Dirichlet problem.
On the shell , normalize the outer radial part to obtain the harmonic functionBy the Dirichlet principle, this function minimizes the energy among all with the same boundary values. Sinceits energy isTherefore
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 214 3 c Solution 2026-10-03
Let be the voltage with , , and harmonic values at every other vertex. For any other admissible , write , where . Its discrete Dirichlet energy expands asDiscrete summation by parts turns the cross term intobecause is harmonic in the interior and vanishes at the boundary. Thus minimizes the energy. Under a unit voltage drop, its energy equals the total current from to , namely the effective conductance . Therefore the Dirichlet principle gives
Past exam of the mathematics course of the University of Cambridge 2023 ia Paper 3 11B a Solution Created 2026-09-24 Updated 2026-09-25
The identity follows immediately from the product rule:If have the same boundary data, put . Integrating the identity with givesbecause the volume equation and boundary term vanish. Positivity of makes constant, and its boundary value makes it zero, proving uniqueness.
For any with on the boundary, expansion givesbecause the cross term vanishes by the same integration by parts. This proves the inequality and the Dirichlet principle.
Past exam of the mathematics course of the University of Cambridge 2023 ia Paper 3 11B b Solution Created 2026-09-24 Updated 2026-10-03
Since and , the divergence theorem givesSpherical symmetry gives . Regularity at zero and decay at infinity yieldFor , the exterior solution cannot tend to zero: it is logarithmic at and grows below it.
On the exterior domain, the energy-minimizing solution with boundary value one is . Applying the Dirichlet principle to any admissible gives
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2001 Paper 2 2 Solution Created 2026-10-18 Updated 2026-10-20
Green identity. With the outward unit normal, the product rule gives . Integrating over and applying the divergence theorem yields Green's first identity:
Uniqueness for nonzero mass. Suppose two real solutions have the same prescribed boundary data, and let be their difference. The spatial equation called the Klein-Gordon equation in the question is the modified Helmholtz equation, so . With , Green's first identity becomesFor identical Dirichlet boundary conditions, on ; for identical Neumann boundary conditions, there. Either makes the right-hand side zero. When is real and nonzero, both integrands on the left are nonnegative, forcing . ThusThis is the required uniqueness assertion; existence is understood for admissible smooth data on a suitable bounded region. Complex-valued solutions obey the same result by treating their real and imaginary parts separately.
Zero mass. For , the argument gives , hence on the connected region. Dirichlet boundary conditions still force , but Neumann boundary conditions leave an arbitrary additive constant:The prescribed normal data in the zero-mass case must also satisfy , by the divergence theorem. For nonzero , that flux can instead equal .
Energy minimization. Let for the two functions in the last part. They share their boundary values, so on . Since is a harmonic function, Green's first identity givesExpand the square in the Dirichlet energy of :The cross term vanishes, soEquality requires to be constant, and the shared boundary values then make it zero. This is the Dirichlet principle: among functions with fixed boundary values, the harmonic function minimizes Dirichlet energy.
This is the Dirichlet principle. Put , so vanishes on the boundary. For real, sufficiently regular functions of finite Dirichlet energy, Green's first identity givesThe surface term is zero because , and the volume term is zero because is a harmonic function. Expanding the square of now gives the stronger identityThus the harmonic function minimizes Dirichlet energy among functions with the same boundary values. Equality requires , hence is constant on each connected component; the zero boundary value makes that constant zero on every component having boundary. For an unbounded domain one additionally needs the boundary term at infinity to vanish; the usual bounded regular-domain setting needs no such extra condition.
Write and . The admissible set is the closed affine subspace . Symmetry of the coefficient matrix givesIf minimizes the energy, its first variation vanishes: differentiating at gives . Hence is a weak solution.
Conversely, if is a weak solution, every admissible has and thereforeby uniform ellipticity. This is the Dirichlet principle for the stated symmetric energy.
Sharp radial Dirichlet energy inequality Created 2026-10-14 Updated 2026-10-31
For and finite displayed energy, the angular mode has Dirichlet energy equal to times that integral. The harmonic function minimizes the energy with the same boundary data by the Dirichlet principle, giving the bound. Finite energy forces as : Cauchy–Schwarz bounds changes of by twice the product of the two energy tails, so has a limit, and a nonzero limit would make divergent. Consequently completing the square gives the exact identity . Equality occurs exactly for . This identity also covers finite-energy functions whose polar expression is not classically smooth at the centre.