Calculus of variations is a powerful mathematical tool for optimizing functionals. It finds the function that extremizes a given functional, subject to constraints. This field has wide-ranging applications in physics, engineering, and economics.
The fundamental problem is finding a function that minimizes or maximizes a functional. Key concepts include functionals, function spaces, extrema, variations, and the Euler-Lagrange equation. These tools allow us to solve complex optimization problems in many fields.
Fundamental concepts of calculus of variations
- Calculus of variations is a field of mathematical analysis that deals with optimizing functionals, which are mappings from a set of functions to the real numbers
- It has wide-ranging applications in physics, engineering, and economics, where it is used to find the function that extremizes a given functional subject to certain constraints
- The fundamental problem in calculus of variations is to find a function that minimizes or maximizes a given functional , often subject to boundary conditions or other constraints
Functionals and function spaces
- A functional is a mapping that assigns a real number to each function in a certain function space
- Function spaces are sets of functions that share certain properties, such as continuity, differentiability, or integrability
- Examples of functionals include the length of a curve and the energy of a system
Extrema of functionals
- An extremum of a functional is a function that minimizes or maximizes the functional among all functions in the function space
- A necessary condition for to be an extremum is that the first variation of the functional vanishes at , i.e., for all admissible variations
- A sufficient condition for to be a minimum is that the second variation of the functional is non-negative at , i.e., for all admissible variations
Weak and strong extrema
- A function is a weak extremum of a functional if it satisfies the necessary condition for all admissible variations
- A function is a strong extremum of a functional if it satisfies both the necessary and sufficient conditions for an extremum
- Weak extrema are not necessarily global extrema, while strong extrema are always global extrema in their function space
Variations and variational derivatives
- A variation of a function is a small perturbation added to , i.e., , where is a small parameter
- The first variation of a functional at in the direction is defined as
- The variational derivative of a functional is a function such that for all admissible variations
Euler-Lagrange equation
- The Euler-Lagrange equation is a necessary condition for a function to be an extremum of a functional
- It is a second-order differential equation that the extremizing function must satisfy, along with any boundary conditions or constraints
- The Euler-Lagrange equation arises from setting the first variation of the functional equal to zero and applying the fundamental lemma of calculus of variations
Derivation of Euler-Lagrange equation
- Consider a functional of the form , where is the Lagrangian of the system
- The first variation of at in the direction is given by
- Setting for all admissible variations and applying integration by parts leads to the Euler-Lagrange equation
First variation and its properties
- The first variation measures the rate of change of the functional in the direction of the variation
- The first variation is a linear functional in , i.e., for all scalars and variations
- The first variation satisfies the product rule and the chain rule

Second variation and sufficient conditions
- The second variation measures the second-order change of the functional in the directions of the variations and
- The second variation is a bilinear functional in and , i.e., for all scalars and variations
- A sufficient condition for a function to minimize the functional is that for all admissible variations and for all non-zero admissible variations
Generalizations of Euler-Lagrange equation
- The Euler-Lagrange equation can be generalized to functionals involving higher-order derivatives, such as
- In this case, the Euler-Lagrange equation becomes
- The Euler-Lagrange equation can also be generalized to functionals involving multiple functions, such as , leading to a system of coupled Euler-Lagrange equations
Variational problems with constraints
- Many variational problems involve finding the extrema of a functional subject to certain constraints on the admissible functions
- Constraints can arise from physical or geometrical considerations, such as fixed boundary conditions, prescribed arc length, or conservation laws
- The presence of constraints modifies the Euler-Lagrange equation and introduces additional terms, such as Lagrange multipliers or transversality conditions
Isoperimetric problems and Lagrange multipliers
- An isoperimetric problem is a variational problem where the functional is extremized subject to a constraint of the form , where is a constant
- The isoperimetric constraint can be incorporated into the functional using a Lagrange multiplier , leading to the modified functional
- The Euler-Lagrange equation for the modified functional is , along with the isoperimetric constraint
Holonomic and non-holonomic constraints
- Holonomic constraints are constraints that can be expressed as equations involving the functions and their derivatives, such as , , or
- Non-holonomic constraints are constraints that cannot be expressed as equations, such as inequality constraints or integral constraints
- Holonomic constraints can be incorporated into the functional using Lagrange multipliers, while non-holonomic constraints require more advanced techniques, such as the Karush-Kuhn-Tucker conditions or the Pontryagin maximum principle
Transversality conditions and natural boundary conditions
- Transversality conditions are additional conditions that the extremizing function must satisfy at the boundary points where the function or its derivatives are not prescribed
- Transversality conditions arise from the boundary terms in the first variation of the functional and ensure that the extremizing function is "perpendicular" to the boundary in a suitable sense
- Natural boundary conditions are boundary conditions that are not prescribed a priori but follow from the transversality conditions, such as or
Hamilton's principle and variational mechanics
- Hamilton's principle is a variational principle in classical mechanics that states that the motion of a system between two fixed points in configuration space is such that the action integral is stationary, where is the Lagrangian of the system
- The Euler-Lagrange equation for Hamilton's principle yields the equations of motion for the system, which are second-order differential equations in the generalized coordinates
- Hamilton's principle provides a unified framework for deriving the equations of motion in various branches of mechanics, such as particle dynamics, rigid body dynamics, and continuum mechanics

Direct methods in calculus of variations
- Direct methods are techniques for proving the existence of minimizers of functionals without explicitly solving the Euler-Lagrange equation
- Direct methods rely on functional analytic tools, such as compactness, lower semicontinuity, and coercivity, to establish the existence of minimizers in suitable function spaces
- Direct methods are particularly useful for functionals that lack smoothness or convexity properties, or for problems with constraints or singular behavior
Existence of minimizers and lower semicontinuity
- A functional is said to have a minimizer in a function space if there exists a function such that for all
- A sufficient condition for the existence of a minimizer is the sequential lower semicontinuity of the functional, which means that for any sequence converging to in
- Lower semicontinuity is often established using convexity or compactness arguments, such as the Banach-Alaoglu theorem or the Rellich-Kondrachov compactness theorem
Tonelli's theorem and its applications
- Tonelli's theorem provides sufficient conditions for the existence of a minimizer of a functional of the form in the Sobolev space
- The conditions are: (1) is convex in for almost all and all ; (2) for some , , and ; (3) is measurable in for all and continuous in for almost all
- Tonelli's theorem has applications in various areas, such as nonlinear elasticity, image processing, and optimal control theory
Regularity of minimizers and Hilbert's invariant integral
- Regularity theory studies the smoothness properties of minimizers of functionals, such as their continuity, differentiability, or higher regularity
- A key tool in regularity theory is the Euler-Lagrange equation, which provides a necessary condition for minimizers in the form of a differential equation
- Hilbert's invariant integral is a functional of the form that is invariant under a certain group of transformations, such as translations or rotations
- The invariance of the functional leads to conservation laws for the minimizers, which can be used to establish their regularity or symmetry properties
Lavrentiev phenomenon and relaxation methods
- The Lavrentiev phenomenon refers to the situation where the infimum of a functional over a certain function space is strictly less than the infimum over a dense subspace
- The Lavrentiev phenomenon occurs when the functional lacks lower semicontinuity or coercivity, and it indicates a gap between the original problem and its relaxed version
- Relaxation methods are techniques for extending the functional to a larger space where the infimum is attained, often by convexifying the functional or by adding lower semicontinuous terms
- Relaxation methods provide a way to approximate the original problem by a sequence of more tractable problems, and to establish the existence of generalized minimizers
Applications of calculus of variations
- Calculus of variations has numerous applications in geometry, physics, engineering, and other fields where optimization problems arise
- Many physical principles, such as the principle of least action, the principle of minimum potential energy, or the maximum entropy principle, can be formulated as variational problems
- The solutions to variational problems often have important geometric or physical interpretations, such as geodesics, minimal surfaces, or equilibrium configurations
Geodesics and shortest paths in Riemannian geometry
- A geodesic on a Riemannian manifold is a curve that locally minimizes the length functional , where is the Riemannian metric and is a parametrized curve
- Geodesics are the generalization of straight lines in Euclidean space to curved spaces, and they play a fundamental role in Riemannian geometry
- The Euler-Lagrange equation for the length functional yields the geodesic equation , where are the Christoffel symbols of the metric
- Geodesics have applications in general relativity, where they describe the motion of free-falling particles in curved spacetime, and in computer graphics, where they are used for shortest path planning and mesh parameterization
Minimal surfaces and soap films
- A minimal surface is a surface that locally minimizes the area functional , where is the area element of the surface
- Minimal surfaces are characterized by having zero mean curvature, which means that their principal curvatures are equal and opposite at each point
- Soap films are physical realizations of minimal surfaces, as they minimize the surface tension energy subject to the constraint of enclosing a fixed volume
- The Euler-Lagrange equation for the area functional yields the minimal surface equation , where is the Laplace-Beltrami operator on the surface and is the position vector of the surface
- Minimal surfaces have applications in architecture, where they are used for designing efficient and aesthetically pleasing structures, and in materials science, where they arise in the study of crystal growth and self-assembly
Elastica and rod theory
- An elastica is a curve that minimizes the bending energy functional $$E[\gamma] = \int_a^b \kappa(t)^2 ds