where
L is a real-valued Lagrangian density and
V is the
measure for
X. Specifically, we wish to solve for this
extremization in terms of the functional derivative
δfδS=dϵdS(f+ϵg)ϵ=0=0,(2)
where the function
g:X→R is arbitrary up being
zero on the boundary (denoted
∂) of
X, and
L,
f, and
g are differentiable.
∀x∈∂X,g(x)=0.
Let us expand the induced perturbation
dS to first order in
dϵ about
ϵ=0:
∫∂Xαy⋅dn^=∫X∇⋅(αy)dV=2nd term in (3)∫X(∇α)⋅ydV+∫Xα(∇⋅y)dV.
for scalar
α, vector
y, and unit vector
n^ normal
to
∂X.
In our case,
dϵdS=∫∂Xi∑0 on ∂Xg(x)∂fi′∂Ldn^i+∫Xg(x)[∂f∂L−i∑∂xi∂(∂fi′∂L)]dV.
The only way to guarantee that this derivative is zero
for all permissible
g is for the Euler-Lagrange equation to hold:
∂f∂L−i∑∂xi∂(∂fi′∂L)=0;fi′=∂xi∂f.
Non-Local Lagrangian Densities
Consider now a situation in which the Lagrangian density
L depends
on the joint behavior of
f at
n disjoint points
xa∈X indexed by
a∈[n], such that the relationship between these
points is captured by
[xa]∈M⊆Xn.
That is, we seek to extremize
S(f)=∫ML([xa],[f(xa)],[∇f(xa)])dVn.S(f) depends on non-local properties of the function
f, and
M determines any specific constraints or symmetries of the
n
points.
Using the same prescription to vary
f as above, let
df=gdϵ.
This time, however, rather than fixing the value of
g on
∂X, we will assume either a periodic structure for
M,
or a Lagrangian density
L that does not depend on
∇f(xa) for all
a, in order to guarantee
∀g,∫Ma∈[nG]∑∇⋅(g(xa)fi′(xa)∂L)dVn=0.(3)
Let us determine the perturbation
dS to first order in
dϵ by considering perturbations of
f and
f′ at each
xa separately:
Let us be mathematically explicit about how this equation must hold for all
g.
Specifically, consider perturbations of the form
g(x)=δ(x−y)
where
δ is the Dirac delta, for any
y. It follows that
Consider the problem
min∫−∞∞L(x,f,f′)21(f(x)+f′(x−π/2))2dx.
We know that translations of
f=sin minimize this objective, though we have
not excluded other possibilities.
To solve this problem with variational calculus, we redefine the Lagrangian density as
L=21(f(x)+f′(z))2,
and integrate over the manifold
M={(x,z):z=x−π/2}.