<?xml version="1.0" encoding="UTF-8"?>

<record version="1" id="1207">
 <title>Calculus of Variations: Constrained Variations and Isoperimetric Problems</title>
 <name>CalculusOfVariationsConstrainedVariationsAndIsoperimetricProblems</name>
 <created>2026-09-13 21:26:09</created>
 <modified>2026-09-13 21:26:09</modified>
 <type>Topic</type>
 <creator id="1" name="bloftin"/>
 <modifier id="1" name="bloftin"/>
 <comment>added a computational resource to understand Lagrange multipliers</comment>
 <author id="1" name="bloftin"/>
 <classification>
	<category scheme="pacs" code="02.30.Xx"/>
	<category scheme="pacs" code="02.30.Sa"/>
	<category scheme="pacs" code="45.20.Jj"/>
 </classification>
 <synonyms>
	<synonym concept="Calculus of Variations: Constrained Variations and Isoperimetric Problems" alias="CV09"/>
 </synonyms>
 <keywords>
	<term>calculus of variations</term>
	<term>constrained variation</term>
	<term>isoperimetric problem</term>
	<term>integral constraint</term>
	<term>Lagrange multiplier</term>
	<term>variational multiplier theorem</term>
	<term>augmented integrand</term>
	<term>normal extremal</term>
	<term>abnormal extremal</term>
	<term>eigenvalue problem</term>
	<term>Rayleigh quotient</term>
	<term>fixed mean</term>
	<term>constant curvature</term>
 </keywords>
 <preamble>% this is the default PhysicsLibrary preamble.  as your knowledge
% of TeX increases, you will probably want to edit this, but
% it should be fine as is for beginners.

% almost certainly you want these
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}

% used for TeXing text within eps files
%\usepackage{psfrag}
% need this for including graphics (\includegraphics).
% If you use \includegraphics{figure} with no file extension, PhysicsLibrary
% will prefer figure.png before falling back to figure.eps.
\usepackage{graphicx}
\DeclareGraphicsExtensions{.png,.jpg,.jpeg,.pdf,.eps}
% for neatly defining theorems and propositions
%\usepackage{amsthm}
% making logically defined graphics
%\usepackage{xypic}

% there are many more packages, add them here as you need them

% define commands here</preamble>
 <content>\section*{Calculus of Variations: Constrained Variations and Isoperimetric Problems}

The Euler--Lagrange equation developed in CV04 assumes that the admissible function may be perturbed in every sufficiently small endpoint-preserving direction. Many important variational problems impose an additional global condition. A curve may be required to have a prescribed length, a density may have a prescribed total mass, a wavefunction may be normalized, or a trajectory may be required to satisfy a fixed integral budget. Such problems are examples of \emph{constrained variational problems}.

The classical prototype is an \emph{isoperimetric problem}: extremize one functional while another integral functional is held fixed. The central tool is the variational analogue of the finite-dimensional Lagrange-multiplier method. Under a normality condition, a constrained extremal of

\begin{equation}
J[y]=\int_a^b F(x,y,y')\,dx
\end{equation}

subject to

\begin{equation}
K[y]=\int_a^b G(x,y,y')\,dx=k_0
\end{equation}

is an unconstrained stationary function of an augmented functional with integrand

\begin{equation}
H=F+\lambda G,
\end{equation}

where \(\lambda\) is a constant multiplier. Classical treatments of this theorem and of isoperimetric problems may be found in \cite{GelfandFomin,VanBrunt,Sagan,Bliss}.

\section{Why an integral constraint changes the variation}

Suppose the endpoint values are fixed and the admissible class also satisfies

\begin{equation}
K[y]=k_0.
\end{equation}

For the ordinary perturbation

\begin{equation}
y_\epsilon=y+\epsilon\eta,
\end{equation}

we have

\begin{equation}
K[y_\epsilon]
=
K[y]
+
\epsilon\,\delta K[y;\eta]
+o(\epsilon).
\end{equation}

Therefore an arbitrary endpoint-preserving \(\eta\) generally leaves the constraint surface. To remain feasible to first order, it would have to satisfy

\begin{equation}
\delta K[y;\eta]=0.
\end{equation}

This means the variations available to the constrained problem form only the tangent directions to the constraint set. We can no longer assert that the first variation of \(J\) vanishes for every endpoint-preserving test function.

\begin{center}
\includegraphics{CV09_constraint_geometry.png}

\vspace{0.45em}

\textbf{Figure.}
A constrained extremum is taken over the level set \(K[y]=k_0\), not over the whole function space. At the extremum, admissible first-order variations are tangent to the constraint set. The multiplier theorem says that the first variations of \(J\) and \(K\) are linearly dependent there.
\end{center}

\section{Finite-dimensional analogy}

For a function \(f(\mathbf x)\) constrained by

\begin{equation}
g(\mathbf x)=c,
\end{equation}

an ordinary constrained extremum satisfies

\begin{equation}
\nabla f+\lambda\nabla g=0
\end{equation}

provided \(\nabla g\neq0\). The geometric reason is that \(\nabla g\) is normal to the constraint surface while the directional derivative of \(f\) vanishes in every tangent direction. Hence \(\nabla f\) must also be normal to the surface and therefore parallel to \(\nabla g\).

In the calculus of variations, the gradients are replaced by first-variation functionals. The corresponding statement is

\begin{equation}
\boxed{
\delta J[y_*;\eta]
+
\lambda\,\delta K[y_*;\eta]
=0
\quad
\text{for every admissible endpoint-preserving }\eta.
}
\end{equation}

The important point is that the multiplier restores the freedom to test against arbitrary endpoint-preserving directions.

\section{The classical one-constraint multiplier theorem}

\textbf{Theorem.}
Let

\begin{equation}
J[y]=\int_a^bF(x,y,y')\,dx,
\qquad
K[y]=\int_a^bG(x,y,y')\,dx,
\end{equation}

with \(F\) and \(G\) sufficiently smooth. Let \(y_*\in C^2([a,b])\) satisfy fixed endpoint conditions and the constraint \(K[y_*]=k_0\). Suppose \(y_*\) is a local constrained extremum of \(J\). Assume the constraint is \emph{normal} at \(y_*\): there exists at least one endpoint-preserving variation \(\zeta\) such that

\begin{equation}
\delta K[y_*;\zeta]\neq0.
\end{equation}

Then there exists a constant \(\lambda\) such that

\begin{equation}
\delta J[y_*;\eta]
+
\lambda\,\delta K[y_*;\eta]
=0
\end{equation}

for every endpoint-preserving variation \(\eta\).

\subsection{Proof by a two-parameter variation}

Take any endpoint-preserving test function \(\eta\), and use the special direction \(\zeta\) from the normality assumption. Form

\begin{equation}
y_{\epsilon,\delta}
=
y_*+\epsilon\eta+\delta\zeta.
\end{equation}

Define two ordinary functions of the two scalar parameters:

\begin{equation}
\Phi(\epsilon,\delta)=J[y_{\epsilon,\delta}],
\end{equation}

and

\begin{equation}
\Psi(\epsilon,\delta)=K[y_{\epsilon,\delta}]-k_0.
\end{equation}

At the origin,

\begin{equation}
\Psi(0,0)=0.
\end{equation}

Moreover,

\begin{equation}
\Psi_\delta(0,0)
=
\delta K[y_*;\zeta]
\neq0.
\end{equation}

The implicit-function theorem therefore gives, locally, a function \(\delta=h(\epsilon)\) such that

\begin{equation}
\Psi(\epsilon,h(\epsilon))=0.
\end{equation}

Thus

\begin{equation}
y_{\epsilon,h(\epsilon)}
\end{equation}

is a one-parameter family that stays on the constraint surface.

\begin{center}
\includegraphics{CV09_two_parameter_variation.png}

\vspace{0.45em}

\textbf{Figure.}
The two-parameter family supplies one arbitrary direction \(\eta\) and one correction direction \(\zeta\). The constraint equation determines a small correction \(\delta=h(\epsilon)\), producing a feasible curve through parameter space.
\end{center}

Because \(y_*\) is a constrained extremum,

\begin{equation}
\left.
\frac{d}{d\epsilon}
\Phi(\epsilon,h(\epsilon))
\right|_{\epsilon=0}
=0.
\end{equation}

By the ordinary chain rule,

\begin{equation}
\Phi_\epsilon(0,0)
+
\Phi_\delta(0,0)h'(0)
=0.
\end{equation}

Differentiating the constraint relation gives

\begin{equation}
\Psi_\epsilon(0,0)
+
\Psi_\delta(0,0)h'(0)
=0,
\end{equation}

so

\begin{equation}
h'(0)
=
-
\frac{\Psi_\epsilon(0,0)}{\Psi_\delta(0,0)}.
\end{equation}

Substitution yields

\begin{equation}
\Phi_\epsilon(0,0)
-
\frac{\Phi_\delta(0,0)}{\Psi_\delta(0,0)}
\Psi_\epsilon(0,0)
=0.
\end{equation}

Recognize the parameter derivatives as first variations:

\begin{equation}
\Phi_\epsilon(0,0)=\delta J[y_*;\eta],
\qquad
\Phi_\delta(0,0)=\delta J[y_*;\zeta],
\end{equation}

and

\begin{equation}
\Psi_\epsilon(0,0)=\delta K[y_*;\eta],
\qquad
\Psi_\delta(0,0)=\delta K[y_*;\zeta].
\end{equation}

Define the constant

\begin{equation}
\lambda
=
-
\frac{\delta J[y_*;\zeta]}{\delta K[y_*;\zeta]}.
\end{equation}

Then

\begin{equation}
\boxed{
\delta J[y_*;\eta]
+
\lambda\,\delta K[y_*;\eta]
=0
}
\end{equation}

for every endpoint-preserving \(\eta\). This proves the theorem. \hfill$\square$

\section{From the multiplier theorem to Euler--Lagrange}

The first variations are

\begin{equation}
\delta J
=
\int_a^b
\left(
F_y\eta+F_{y'}\eta'
\right)dx
\end{equation}

and

\begin{equation}
\delta K
=
\int_a^b
\left(
G_y\eta+G_{y'}\eta'
\right)dx.
\end{equation}

Therefore

\begin{equation}
\delta J+\lambda\delta K
=
\int_a^b
\left[
(F_y+\lambda G_y)\eta
+
(F_{y'}+\lambda G_{y'})\eta'
\right]dx.
\end{equation}

Introduce the augmented integrand

\begin{equation}
\boxed{
H(x,y,y')
=
F(x,y,y')+\lambda G(x,y,y').
}
\end{equation}

Then

\begin{equation}
\delta J+\lambda\delta K
=
\delta\int_a^bH\,dx.
\end{equation}

Thus the constrained extremal must satisfy the ordinary Euler--Lagrange equation for \(H\):

\begin{equation}
\boxed{
H_y-
\frac{d}{dx}H_{y'}
=0.
}
\end{equation}

Equivalently,

\begin{equation}
\boxed{
F_y+\lambda G_y
-
\frac{d}{dx}
\left(F_{y'}+\lambda G_{y'}\right)
=0.
}
\end{equation}

The original integral constraint must still be imposed after solving this differential equation. It is normally used to determine the multiplier \(\lambda\) or another remaining constant.

\begin{center}
\includegraphics{CV09_multiplier_euler_lagrange.png}

\vspace{0.45em}

\textbf{Figure.}
For a normal integral constraint, augment the integrand by a constant multiplier, derive the Euler--Lagrange equation for the augmented integrand, apply the endpoint conditions, and finally enforce the original integral constraint.
\end{center}

\section{Why the multiplier is a constant}

The condition

\begin{equation}
K[y]=k_0
\end{equation}

is one scalar equation on the entire function. Its multiplier is therefore one scalar constant \(\lambda\).

This should be distinguished from a pointwise constraint such as

\begin{equation}
C(x,y(x),z(x))=0
\quad\text{for every }x.
\end{equation}

A pointwise constraint represents infinitely many scalar conditions, one at each \(x\), and its multiplier is generally a function \(\lambda(x)\). That more mechanical constraint structure will be developed later in the series.

\section{Worked example: minimum gradient energy with prescribed mean}

Consider

\begin{equation}
J[y]
=
\frac12\int_0^1(y')^2\,dx
\end{equation}

with fixed endpoints

\begin{equation}
y(0)=y(1)=0
\end{equation}

and the integral constraint

\begin{equation}
\int_0^1y(x)\,dx=m.
\end{equation}

Here

\begin{equation}
F=\frac12(y')^2,
\qquad
G=y.
\end{equation}

The augmented integrand is

\begin{equation}
H=\frac12(y')^2+\lambda y.
\end{equation}

Its derivatives are

\begin{equation}
H_y=\lambda,
\qquad
H_{y'}=y'.
\end{equation}

The Euler--Lagrange equation is

\begin{equation}
\lambda-y''=0,
\end{equation}

or

\begin{equation}
y''=\lambda.
\end{equation}

Integrating twice gives

\begin{equation}
y(x)=\frac{\lambda}{2}x^2+C_1x+C_2.
\end{equation}

The endpoint conditions imply

\begin{equation}
C_2=0,
\qquad
C_1=-\frac{\lambda}{2},
\end{equation}

so

\begin{equation}
y(x)
=
-\frac{\lambda}{2}x(1-x).
\end{equation}

Now impose the integral constraint:

\begin{align}
m
&amp;=
-\frac{\lambda}{2}
\int_0^1x(1-x)\,dx\\
&amp;=
-\frac{\lambda}{2}\left(\frac16\right).
\end{align}

Therefore

\begin{equation}
\lambda=-12m
\end{equation}

and

\begin{equation}
\boxed{
y_*(x)=6m\,x(1-x).
}
\end{equation}

\begin{center}
\includegraphics{CV09_fixed_mean_parabola.png}

\vspace{0.45em}

\textbf{Figure.}
The fixed-mean constraint forces the minimum-gradient-energy curve away from the zero function. The stationary curve is a parabola whose amplitude is set by the prescribed integral \(m\).
\end{center}

This example can be classified directly. Let

\begin{equation}
y=y_*+u,
\end{equation}

where

\begin{equation}
u(0)=u(1)=0,
\qquad
\int_0^1u\,dx=0.
\end{equation}

Then

\begin{align}
J[y]
&amp;=
\frac12\int_0^1({y_*}'+u')^2dx\\
&amp;=
J[y_*]
+
\int_0^1{y_*}'u'\,dx
+
\frac12\int_0^1(u')^2dx.
\end{align}

Integrating the cross term by parts,

\begin{equation}
\int_0^1{y_*}'u'\,dx
=
-
\int_0^1{y_*}''u\,dx
=
-
\lambda\int_0^1u\,dx
=0.
\end{equation}

Hence

\begin{equation}
\boxed{
J[y]-J[y_*]
=
\frac12\int_0^1(u')^2dx
\ge0.
}
\end{equation}

Equality requires \(u'=0\), and the endpoint conditions then force \(u=0\). Thus \(y_*\) is the unique global minimizer, not merely a stationary function.

\section{Worked example: normalization constraint and an eigenvalue problem}

Consider

\begin{equation}
J[y]
=
\int_0^\pi (y')^2\,dx
\end{equation}

with

\begin{equation}
y(0)=y(\pi)=0
\end{equation}

and normalization

\begin{equation}
\int_0^\pi y^2\,dx=1.
\end{equation}

Use

\begin{equation}
H=(y')^2+\lambda y^2.
\end{equation}

Then

\begin{equation}
H_y=2\lambda y,
\qquad
H_{y'}=2y',
\end{equation}

so Euler--Lagrange gives

\begin{equation}
y''=\lambda y.
\end{equation}

Nontrivial solutions satisfying both endpoint conditions require

\begin{equation}
\lambda=-n^2,
\qquad
n=1,2,3,\ldots,
\end{equation}

with

\begin{equation}
y_n(x)=A_n\sin(nx).
\end{equation}

Normalization gives

\begin{equation}
A_n=\sqrt{\frac{2}{\pi}}
\end{equation}

up to an overall sign. Thus

\begin{equation}
\boxed{
y_n(x)=\sqrt{\frac{2}{\pi}}\sin(nx).
}
\end{equation}

For these stationary functions,

\begin{equation}
J[y_n]=n^2.
\end{equation}

Therefore the lowest branch is

\begin{equation}
\boxed{
y_1(x)=\sqrt{\frac{2}{\pi}}\sin x,
\qquad
J[y_1]=1.
}
\end{equation}

\begin{center}
\includegraphics{CV09_eigenvalue_constraint.png}

\vspace{0.45em}

\textbf{Figure.}
The normalization constraint converts the multiplier into an eigenvalue parameter. The stationary functions form discrete sine modes, and the lowest mode has the smallest gradient energy. This is the elementary variational structure behind later Rayleigh--Ritz and Sturm--Liouville theory.
\end{center}

The sign assigned to the multiplier is conventional. If the augmented functional is written \(J-\mu K\) rather than \(J+\lambda K\), then \(\mu=-\lambda=n^2\) is positive.

\section{The classical isoperimetric geometry preview}

The name \emph{isoperimetric} comes from geometric problems in which one quantity, historically perimeter or length, is fixed while another quantity such as enclosed area is extremized. A graph version illustrates the multiplier method without yet proving the full closed-curve isoperimetric theorem.

Suppose one seeks a stationary graph for the area functional

\begin{equation}
A[y]=\int_a^b y\,dx
\end{equation}

subject to fixed arc length

\begin{equation}
L[y]
=
\int_a^b\sqrt{1+(y')^2}\,dx
=
L_0.
\end{equation}

The augmented integrand is

\begin{equation}
H
=
y
+
\lambda\sqrt{1+(y')^2}.
\end{equation}

Euler--Lagrange gives

\begin{equation}
1
-
\frac{d}{dx}
\left(
\lambda\frac{y'}{\sqrt{1+(y')^2}}
\right)
=0.
\end{equation}

Since \(\lambda\) is constant,

\begin{equation}
\frac{y''}{(1+(y')^2)^{3/2}}
=
\frac{1}{\lambda}.
\end{equation}

The left-hand side is the signed curvature of the graph. Therefore every normal stationary arc has constant curvature. A nonzero constant-curvature plane curve is a circular arc. The full isoperimetric theorem requires additional global arguments; CV09E1 will work through the classical geometry in more detail.

\section{Multiple integral constraints}

Suppose there are \(m\) scalar constraints

\begin{equation}
K_r[y]
=
\int_a^bG_r(x,y,y')\,dx
=
k_r,
\qquad
r=1,\ldots,m.
\end{equation}

Under the appropriate independence condition, introduce constants

\begin{equation}
\lambda_1,\ldots,\lambda_m
\end{equation}

and form

\begin{equation}
H
=
F+
\sum_{r=1}^m\lambda_rG_r.
\end{equation}

Then a normal constrained extremal satisfies

\begin{equation}
\boxed{
H_y-
\frac{d}{dx}H_{y'}=0
}
\end{equation}

along with all original constraints and endpoint conditions.

The multiplier vector is determined together with the integration constants. Linear dependence among the first variations of the constraints requires special care because the effective number of independent constraints may be smaller than the number written down.

\section{Normal and abnormal extremals}

The theorem above assumed that the first variation of the constraint is not the zero functional. This is the \emph{normal} case.

If

\begin{equation}
\delta K[y_*;\eta]=0
\end{equation}

for every admissible \(\eta\), then the constraint itself is stationary at \(y_*\). The proof based on solving the constraint for a correction parameter breaks down because the required derivative \(\Psi_\delta\) vanishes.

A more general multiplier statement introduces two constants \(\lambda_0\) and \(\lambda_1\), not both zero, such that

\begin{equation}
\lambda_0\delta J
+
\lambda_1\delta K
=0.
\end{equation}

If \(\lambda_0\neq0\), rescaling gives the normal form used throughout this article. If \(\lambda_0=0\), the extremal is called \emph{abnormal}. Abnormality is important in advanced variational theory and optimal control, but most elementary isoperimetric examples are normal. See \cite{GelfandFomin,VanBrunt} for broader formulations.

\section{What the multiplier means}

The multiplier has several useful interpretations.

First, it is the coefficient that converts the constrained stationarity problem into unconstrained stationarity of an augmented functional.

Second, in regular optimization problems it measures the first-order sensitivity of the optimal value to the prescribed constraint value. Schematically, if

\begin{equation}
J_{\min}=J_{\min}(k_0),
\end{equation}

then, subject to sign convention and regularity,

\begin{equation}
\lambda
\sim
-
\frac{dJ_{\min}}{dk_0}.
\end{equation}

This is the infinite-dimensional analogue of the \emph{shadow price} interpretation of an ordinary Lagrange multiplier.

Third, in eigenvalue problems the multiplier often becomes the spectral parameter. The normalization constraint prevents the trivial zero function, and stationarity selects discrete eigenfunctions and eigenvalues.

\section{Common mistakes}

\begin{itemize}
\item \textbf{Varying freely while ignoring the constraint.} An arbitrary perturbation normally leaves the constraint surface.
\item \textbf{Requiring \(\delta K=0\) for every test function and then applying the Fundamental Lemma directly.} Only tangent directions satisfy the linearized constraint; the multiplier theorem restores arbitrary test directions through the augmented functional.
\item \textbf{Forgetting to impose the original constraint after solving Euler--Lagrange.} The augmented differential equation alone does not determine the multiplier.
\item \textbf{Treating \(\lambda\) as a function of \(x\) for a single scalar integral constraint.} The multiplier is a constant because the constraint is one scalar equation.
\item \textbf{Confusing an integral constraint with a pointwise constraint.} Pointwise constraints generally require multiplier functions.
\item \textbf{Assuming the multiplier condition proves a minimum.} It gives a necessary stationarity condition in the normal case. Classification still requires additional arguments.
\item \textbf{Forgetting multiplier sign conventions.} Writing \(F+\lambda G\) or \(F-\mu G\) is equivalent after redefining the multiplier.
\item \textbf{Ignoring abnormal extremals.} The simple theorem requires a nondegenerate constraint first variation.
\end{itemize}

\section{A compact workflow}

For one scalar integral constraint, use the following sequence:

\begin{enumerate}
\item Write the objective functional \(J[y]\).
\item Write the constraint functional \(K[y]=k_0\).
\item Verify the endpoint conditions and identify admissible variations.
\item Check that the constraint is normal, at least at the classical level.
\item Introduce a constant multiplier \(\lambda\).
\item Form the augmented integrand \(H=F+\lambda G\).
\item Apply the ordinary Euler--Lagrange equation to \(H\).
\item Apply all endpoint conditions.
\item Impose the original integral constraint to determine \(\lambda\) and remaining constants.
\item Separately decide whether the stationary function is a minimum, maximum, or saddle.
\end{enumerate}

\section{What CV10 adds}

CV09 keeps each extremal smooth across the whole interval but restricts which functions are admissible through integral constraints. CV10 changes a different assumption: the stationary path may be only piecewise smooth and may contain an interior corner whose location can move.

That leads to the Weierstrass--Erdmann corner conditions, which determine which generalized momentum and Hamiltonian-like quantities must remain continuous across a movable corner.

\section*{Summary}

For

\begin{equation}
J[y]=\int_a^bF(x,y,y')\,dx
\end{equation}

subject to the scalar integral constraint

\begin{equation}
K[y]=\int_a^bG(x,y,y')\,dx=k_0,
\end{equation}

a normal constrained extremal satisfies

\begin{equation}
\boxed{
\delta J+\lambda\delta K=0
}
\end{equation}

for some constant \(\lambda\). Equivalently, with

\begin{equation}
H=F+\lambda G,
\end{equation}

the extremal satisfies

\begin{equation}
\boxed{
H_y-
\frac{d}{dx}H_{y'}=0.
}
\end{equation}

The multiplier theorem is not merely an algebraic trick. It is the statement that, at a constrained extremum, the first variation of the objective is linearly dependent on the first variation of the constraint. This idea reappears in isoperimetric geometry, eigenvalue theory, constrained mechanics, field theory, and optimal control.

\begin{thebibliography}{9}

\bibitem{GelfandFomin}
I.~M. Gelfand and S.~V. Fomin,
\emph{Calculus of Variations},
Dover Publications, 2000.

\bibitem{VanBrunt}
Bruce van Brunt,
\emph{The Calculus of Variations},
Springer, 2004.

\bibitem{Sagan}
Hans Sagan,
\emph{Introduction to the Calculus of Variations},
Dover Publications, 1992.

\bibitem{Bliss}
Gilbert Ames Bliss,
\emph{Lectures on the Calculus of Variations},
University of Chicago Press, 1946.

\bibitem{CourantHilbert}
Richard Courant and David Hilbert,
\emph{Methods of Mathematical Physics, Volume I},
Wiley-Interscience, 1989 reprint.

\end{thebibliography}</content>
</record>
