For a variation preserving both endpoint values and slopes, at the endpoints. The first variation is
Integrate the last term twice and the middle term once. All boundary terms vanish, giving
The fundamental lemma of the calculus of variations yields the higher-order Euler-Lagrange equation
For the present functional this becomes . Its general solution is . The left endpoint gives and . The right endpoint then gives
The coefficient determinant is , so , . The stationary function is .
For any admissible perturbation , exact quadratic expansion, followed by the stationarity equation and integration by parts, gives
Apply the supplied Poincare inequality first to , then to , whose endpoint values also vanish:
Thus for every admissible perturbation, proving a global maximum through the clamped second-variation inequality.
Let be the configuration smooth manifold, and let be a smooth Lagrangian on its tangent bundle. For a path with fixed endpoints, its action is
The principle of stationary action requires the first variation to vanish for every fixed-endpoint variation. In a coordinate chart take , with . Differentiation under the integral and integration by parts give
Repeated coordinate indices are summed. The endpoint term vanishes. Since compactly supported variations can be chosen independently in each coordinate, the fundamental lemma of the calculus of variations yields the Euler-Lagrange equations
Conversely these equations make the displayed first variation zero for every fixed-endpoint variation. Variations localized in coordinate charts establish the same assertion for paths on . Thus the Euler-Lagrange equations are exactly the stationary-path condition, not necessarily a condition for an action minimum.
The principle of stationary action says that the physical path makes the action stationary under smooth variations with fixed endpoints . It need not minimize the action. Differentiating and integrating by parts gives
The fundamental lemma of the calculus of variations then gives the Euler-Lagrange equation
Vary by , where the clamped endpoint conditions require at both endpoints. The first variation of the quadratic elastic energy is
Both integrations by parts have zero boundary terms. Since the variation is arbitrary in the interior, the fundamental lemma of the calculus of variations gives the Euler-Lagrange equation. Varying independently gives the second equation:
The clamped endpoint values accompany these equations. If or depends on , it must remain inside the derivatives.
Fix a reference path from to . By path connectedness, a path can be joined to it by a smooth homotopy strip with
Smooth homotopies may be used by the relative smoothing theorem; piecewise smooth homotopies give the same integrals. Orient the square by and define the Lagrangian path-area functional by
Here denotes the functional called in the question. The minus sign is the convention for which downward gradient flow is -holomorphic on the standard oriented strip.
For relative symplectic-area independence, glue two choices, with one orientation reversed, along their common reference and final paths. The resulting oriented surface is a relative -cycle in . Since , it bounds a relative -chain: as an absolute chain, for a chain supported in . The symplectic form is closed, and it restricts to zero on each Lagrangian submanifold. Using piecewise smooth relative chains, Stokes theorem gives
Equivalently, integration of the closed symplectic form defines the zero pairing on the zero relative homology group. The two strips therefore define the same value of .
Choosing a different reference path changes every value by the negative area of one fixed connecting strip, independent of . Changing the initially assigned reference value also adds a constant. Path connectedness ensures that this is one global constant, rather than an independent constant on each component.
For the first variation, let be a variation vector field along , with and . Differentiate the defining strip integral. Stokes theorem, or the variation formula for the integral of a closed differential form, reduces it to the final edge; the side edges give zero because their variations and tangent vectors lie in the Lagrangian submanifolds. With the chosen sign,
If this vanishes for every admissible , it in particular vanishes for every field supported in . Nondegeneracy of the symplectic form, together with the fundamental lemma of the calculus of variations, forces in the interior and hence everywhere by smoothness. Conversely, a constant path makes the displayed integral zero. The constant must lie in both endpoint submanifolds. Thus
No transverse-intersection assumption is required; the critical set can be empty or have positive dimension.
A compatible almost complex structure is a smooth bundle map such that
These conditions make
a Riemannian metric. Its symmetry follows from the -invariance and skew symmetry of , and its positivity is the final compatibility condition. It also satisfies .
Use the formal metric on the path space,
The variation formula becomes
Thus a formal downward flow satisfies
Put the standard complex structure on the strip, with . The J-holomorphic curve equation says , which is equivalent to the displayed flow equation because . The converse is identical: a smooth J-holomorphic curve on the strip with the specified Lagrangian boundary conditions gives a formal downward trajectory of .
As a sign check, along such a strip,
The drop in therefore equals the positive symplectic area swept out by the strip. The word formal matters: the calculation gives the interior equation and its Lagrangian boundary conditions; it does not assert that arbitrary smooth initial paths produce a well-posed ordinary flow on the smooth path space. In particular, the expression need not satisfy the endpoint tangent restrictions for an arbitrary initial path. The claimed correspondence concerns smooth solutions of the strip equation.
Take a smooth variation with on the boundary. Assume enough differentiability for the following operations, for example a smooth bounded open set, , and a twice continuously differentiable integrand. Differentiation under the integral gives
By integration by parts, the boundary term vanishes and the first variation is
Stationarity for every such variation, including every compactly supported smooth one, and the fundamental lemma of the calculus of variations give the Euler-Lagrange equation
For the quadratic integrand, , , and . Thus
with the prescribed Dirichlet boundary condition. For real , a stationary function is also the unique minimizer, if it exists: for any nonzero admissible , the linear term vanishes and . This last positivity uses the zero boundary values; it also holds at .
For variations vanishing at both endpoints, differentiating the action and using integration by parts gives
The fundamental lemma of the calculus of variations therefore yields the Euler-Lagrange equations
For the specified Lagrangian, the gauge transformation changes it by
For arbitrary , it is a total derivative precisely when . The corresponding change in action is then an endpoint term whose variation is zero. In general time-dependent notation, the equations are
The electric field and magnetic field are unchanged by the gauge transformation with . Although the original potentials have no time dependence, their transformed versions generally do; allowing this is essential to the stated invariance.
For a variation with at both endpoints, the first variation is
Two applications of integration by parts remove derivatives from . The boundary terms vanish, and the fundamental lemma of the calculus of variations gives the higher-order Euler-Lagrange equation
For the stated integrand,
so the equation reduces to
The general solution of this linear ordinary differential equation is
Decay and finiteness of the integral force ; gives , and gives . Hence the unique stationary function is
The Dirichlet boundary condition is built into the first component's space, while the Neumann boundary condition is natural. Thus a weak solution is a pair
such that for every ,
If are up to the boundary, taking compactly supported test functions and applying the fundamental lemma of the calculus of variations gives both differential equations pointwise in . Membership of gives on . Applying integration by parts to the second identity and using its differential equation leaves
for every smooth boundary trace . Hence on , so the equations and both boundary conditions hold classically.
Introduce a Lagrange multiplier for the normalization and vary
For a smooth variation with on , integration by parts gives
The fundamental lemma of the calculus of variations therefore yields the Euler-Lagrange equation
Multiplying by and integrating, while using
the divergence theorem and on the boundary give
The normalization is one, so the multiplier equals the stationary value:
Take a variation with . Expanding the action gives
An integration by parts and the fixed endpoint conditions give the first variation
The fundamental lemma of the calculus of variations therefore yields the Euler-Lagrange equation
and the second variation is
Linearizing the equation of motion about gives
so the Jacobi equation is
When has no zero on ,
The total derivative integrates to zero because , hence
For the simple harmonic oscillator, the Jacobi equation is . Put and choose
If , then throughout , so is positive there. The preceding square identity proves that the classical path is a local minimum of the action whenever the elapsed time is less than half an oscillation period.
Let , where the variation satisfies . Differentiating the functional at gives its first variation
Using integration by parts and the fixed endpoint conditions,
If this vanishes for every admissible , the fundamental lemma of the calculus of variations gives the Euler-Lagrange equation
If , take and integrate the gradient term by parts. The weak identity becomes
The fundamental lemma of the calculus of variations gives pointwise. Membership in , together with continuity up to the boundary, says that the boundary trace is zero, so the Dirichlet condition also holds classically.
Take a variation , where the differentiable function obeys
because both and its first derivative have fixed endpoint values. The first variation of the functional is
Applying integration by parts once to the second term and twice to the third gives
The endpoint conditions on and make every boundary term zero. Since the remaining integral vanishes for every admissible variation, the fundamental lemma of the calculus of variations yields the higher-order Euler-Lagrange equation
Let and , where the variations vanish on the boundary. The first variation is
Applying integration by parts to the four derivative terms and discarding the boundary contributions gives
The variations and are independent and arbitrary in the interior. The fundamental lemma of the calculus of variations therefore gives the two Euler-Lagrange equations for two fields