Jump to content

Hamilton's principle/Mathematics/Boundary terms and natural boundary conditions: Difference between revisions

From The Invariance Itself
hamiltons-principle>HPVBuild
Initial import of M1-05
 
Pipe internal links so cross-references read as titles, not paths
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Boundary terms and natural boundary conditions}}
{{Plebeian|Hamilton's principle/Explainers/Free ends}}
{{Plebeian|Hamilton's principle/Explainers/Free ends}}


The derivation on
The derivation on
[[Hamilton's principle/Mathematics/The first variation]] discarded a boundary
[[Hamilton's principle/Mathematics/The first variation|the first variation]] discarded a boundary
term because the endpoints were held fixed. When an endpoint is free, that term
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
survives and imposes its own condition on the extremal. These are the
Line 86: Line 87:


<math>L_{y'}</math> is the conjugate momentum of
<math>L_{y'}</math> is the conjugate momentum of
[[Hamilton's principle/Mathematics/The Euler-Lagrange equation]]. Condition (6)
[[Hamilton's principle/Mathematics/The Euler-Lagrange equation|the Euler-Lagrange equation]]. Condition (6)
therefore reads: '''the conjugate momentum vanishes at a free end.'''
therefore reads: '''the conjugate momentum vanishes at a free end.'''


Line 109: Line 110:


For the arc-length integrand <math>L = \sqrt{1 + y'^2}</math> of
For the arc-length integrand <math>L = \sqrt{1 + y'^2}</math> of
[[Hamilton's principle/Mathematics/The Euler-Lagrange equation]], substituting
[[Hamilton's principle/Mathematics/The Euler-Lagrange equation|the Euler-Lagrange equation]], substituting
into (7) gives <math>1 + y'g' = 0</math>, so <math>y'g' = -1</math> and the
into (7) gives <math>1 + y'g' = 0</math>, so <math>y'g' = -1</math> and the
extremal meets the curve at a right angle. Transversality is orthogonality for
extremal meets the curve at a right angle. Transversality is orthogonality for
Line 129: Line 130:
quantities are continuous across a corner even though <math>y'</math> is not.
quantities are continuous across a corner even though <math>y'</math> is not.
The second is the Beltrami quantity of
The second is the Beltrami quantity of
[[Hamilton's principle/Mathematics/The Beltrami identity]], and the pair
[[Hamilton's principle/Mathematics/The Beltrami identity|the Beltrami identity]], and the pair
reappears on
reappears on
[[Hamilton's principle/Mathematics/The Weierstrass excess function]].
[[Hamilton's principle/Mathematics/The Weierstrass excess function|the Weierstrass excess function]].


Note that when <math>L_{y'y'} \neq 0</math>, the first condition in (8) forces
Note that when <math>L_{y'y'} \neq 0</math>, the first condition in (8) forces
<math>y'</math> to be continuous, so no corner can occur. Corners require
<math>y'</math> to be continuous, so no corner can occur. Corners require
degeneracy, which is the connection back to
degeneracy, which is the connection back to
[[Hamilton's principle/Mathematics/The Legendre condition]].
[[Hamilton's principle/Mathematics/The Legendre condition|the Legendre condition]].


== Why this matters for Hamilton's principle ==
== Why this matters for Hamilton's principle ==
Line 144: Line 145:
mechanical statement. They matter in two places this volume reaches later: in
mechanical statement. They matter in two places this volume reaches later: in
continuum problems on
continuum problems on
[[Hamilton's principle/Applications/Continuum systems: the vibrating string]],
[[Hamilton's principle/Applications/Continuum systems: the vibrating string|Continuum systems: the vibrating string]],
where a free string end generates its own condition, and in field theory on
where a free string end generates its own condition, and in field theory on
[[Hamilton's principle/Applications/Classical field theory]], where the
[[Hamilton's principle/Applications/Classical field theory|Classical field theory]], where the
surface term must be argued away rather than assumed away. The
surface term must be argued away rather than assumed away. The
Einstein-Hilbert action on
Einstein-Hilbert action on
[[Hamilton's principle/Applications/The Einstein-Hilbert action]] is the case
[[Hamilton's principle/Applications/The Einstein-Hilbert action|the Einstein-Hilbert action]] is the case
where it cannot be argued away and a compensating surface term must be added by
where it cannot be argued away and a compensating surface term must be added by
hand.
hand.
Line 155: Line 156:
== Next ==
== Next ==


[[Hamilton's principle/Mathematics/The Beltrami identity]] treats the first
[[Hamilton's principle/Mathematics/The Beltrami identity|the Beltrami identity]] treats the first
integral available when <math>L</math> does not contain the independent variable.
integral available when <math>L</math> does not contain the independent variable.


Line 161: Line 162:


<references />
<references />

Latest revision as of 04:57, 16 September 2026

Plain-language version: Free ends

The derivation on 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 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 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 the Beltrami identity, and the pair reappears on 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 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 Continuum systems: the vibrating string, where a free string end generates its own condition, and in field theory on Classical field theory, where the surface term must be argued away rather than assumed away. The Einstein-Hilbert action on the Einstein-Hilbert action is the case where it cannot be argued away and a compensating surface term must be added by hand.

Next

the Beltrami identity treats the first integral available when L does not contain the independent variable.

References