Jump to content

Boundary terms and natural boundary conditions

From The Invariance Itself
Revision as of 04:46, 16 September 2026 by BFP Rauch (talk | contribs) (Add DISPLAYTITLE: title the page by its section rather than its path)
Plain-language version: Free ends

The derivation on Hamilton's principle/Mathematics/The first variation discarded a boundary term because the endpoints were held fixed. When an endpoint is free, that term survives and imposes its own condition on the extremal. These are the natural boundary conditions: conditions the variational problem generates by itself, rather than conditions imposed on it.

The term that was discarded

A free endpoint and its natural boundary condition.

Integration by parts gave

δJ[y;η]=[Ly′η]ab+∫ab[Ly−ddxLy′]ηdx(1)

With η(a)=η(b)=0 the first term vanishes. Now enlarge the admissible set. Fix only the left endpoint:

𝒜∗={y∈C2[a,b]:y(a)=ya},𝒱∗={η∈C2[a,b]:η(a)=0}(2)

η(b) is now unconstrained. Equation (1) becomes

δJ[y;η]=Ly′(b,y(b),y′(b))η(b)+∫ab[Ly−ddxLy′]ηdx(3)

Extracting two conditions from one requirement

The boundary term left by integration by parts.

Stationarity requires (3) to vanish for every η∈𝒱∗. The argument splits in two stages, and the order matters.

Stage 1. 𝒱∗ contains 𝒱 as a subset. Restrict attention to those η that do vanish at b. For these the boundary term is absent and (3) reduces to the fixed-endpoint case, so the fundamental lemma applies and

Ly−ddxLy′=0(4)

on [a,b]. The Euler-Lagrange equation is unchanged. A free endpoint does not alter the differential equation.

Stage 2. With (4) established, the integral in (3) vanishes for every η, so stationarity now demands

Ly′(b,y(b),y′(b))η(b)=0(5)

for every η∈𝒱∗. Choosing any η with η(b)≠0 forces

Ly′(b,y(b),y′(b))=0(6)

Equation (6) is the natural boundary condition at the free end.

The two-stage structure is worth stating plainly: a larger class of variations yields the same equation plus an extra condition. Nothing is lost by freeing an endpoint; something is gained.

The condition count still balances

An endpoint free to lie on a curve.

The Euler-Lagrange equation is second order and needs two conditions. With both endpoints fixed, the admissible set supplies both. With the right endpoint free, it supplies only y(a)=ya, and (6) supplies the second. With both endpoints free, (6) holds at each end and again the count is two.

This is why the term "natural" is apt. The conditions are not an extra assumption; they are what the problem produces when the modeller declines to impose one.

Interpretation

A corner in an extremal.

Ly′ is the conjugate momentum of Hamilton's principle/Mathematics/The Euler-Lagrange equation. Condition (6) therefore reads: the conjugate momentum vanishes at a free end.

In mechanics, a free end carries no momentum transfer. In elasticity, where L is a strain energy and Ly′ a stress, (6) is the statement that an unloaded edge is stress free. The same algebra covers both, and the interpretation follows from what L was taken to be.

Transversality: endpoints on a curve

A more general case fixes the right endpoint not to a point but to a curve. Let the right end be required to lie on y=g(x), with the crossing abscissa b itself free. Varying both y and b, the boundary contribution becomes

[L+(g′−y′)Ly′]x=b=0(7)

Equation (7) is the transversality condition. It reduces to (6) when g is a vertical line, and to L=0 when g′=y′.

For the arc-length integrand L=1+y'2 of Hamilton's principle/Mathematics/The Euler-Lagrange equation, substituting into (7) gives 1+y′g′=0, so y′g′=−1 and the extremal meets the curve at a right angle. Transversality is orthogonality for this integrand, and only for integrands of this kind; the general condition (7) is not a statement about angles.

Corner conditions

If the admissible class is widened to piecewise smooth paths, a path may have a corner at an interior point c. The variation then produces a boundary term at c from each side, and stationarity requires both

[Ly′]c−c+=0and[L−y′Ly′]c−c+=0(8)

These are the Weierstrass-Erdmann corner conditions. Both bracketed quantities are continuous across a corner even though y′ is not. The second is the Beltrami quantity of Hamilton's principle/Mathematics/The Beltrami identity, and the pair reappears on Hamilton's principle/Mathematics/The Weierstrass excess function.

Note that when Ly′y′≠0, the first condition in (8) forces y′ to be continuous, so no corner can occur. Corners require degeneracy, which is the connection back to Hamilton's principle/Mathematics/The Legendre condition.

Why this matters for Hamilton's principle

The endpoints in Hamilton's principle are configurations at two fixed times, and they are held fixed. So natural boundary conditions play no role in the basic mechanical statement. They matter in two places this volume reaches later: in continuum problems on Hamilton's principle/Applications/Continuum systems: the vibrating string, where a free string end generates its own condition, and in field theory on Hamilton's principle/Applications/Classical field theory, where the surface term must be argued away rather than assumed away. The Einstein-Hilbert action on Hamilton's principle/Applications/The Einstein-Hilbert action is the case where it cannot be argued away and a compensating surface term must be added by hand.

Next

Hamilton's principle/Mathematics/The Beltrami identity treats the first integral available when L does not contain the independent variable.

References