Mathematics · Article
Calculus of variations and the Euler–Lagrange equations
Optimising curves and fields through first and second variations, endpoint and constraint equations, symmetry, existence and non-attainment, with complete worked solutions and careful distinctions between stationary paths, local minima and global certificates.
Back to MathematicsAfter reading, you can
- Derive first variations, weak momentum regularity and classical Euler–Lagrange equations with their exact curve classes, endpoint restrictions and Hessian assumptions.
- Compute natural, cost-adjusted and moving-endpoint conditions; derive transversality, normal integral multipliers, regular holonomic fields and free-corner matching.
- Prove Beltrami, cyclic-momentum and point-symmetry conservation identities while tracking total derivatives, signs and physical units.
- Use second variation, sharp Poincare bounds, Legendre and Jacobi tests, uniform remainders and Weierstrass excess to distinguish necessary conditions and weak or strong sufficient conclusions.
- Prove a specified direct-method existence theorem and a nonconvex non-attainment example; solve curve, field and beam problems with complete value and boundary checks.
- Derive discrete stationarity, conforming Ritz error identities and rescaling formulas, and state precisely what full-dual residual and independent model-error bounds establish.
The unknown is a whole curve
A shortest path, a bent beam and a field in equilibrium ask for more than the best point in a finite list of coordinates. The unknown is a function: its values, slopes and sometimes curvature all contribute to one objective. A variation changes that whole function while respecting its actual endpoints and constraints. The Euler–Lagrange equation expresses what it means for every admitted first-order change to cancel.
Cancellation is the beginning of the analysis. A stationary curve may minimize, maximize or have directions of both signs. Moving an endpoint changes the boundary equation; changing the class of admitted curves can change whether a minimum exists at all. Second variations, interval eigenvalues, Jacobi fields and needle variations reveal different parts of that structure. Their conclusions depend on both the equations and the topology in which nearby curves are compared.
The lesson develops the complete calculations before applying them to straight paths, loaded fields and beams, constrained curves and cycloidal travel-time arcs. Symmetry connects variational reasoning to momentum and energy. Discrete actions and Ritz approximation connect it to computation, while full-space residual and model-error bounds show what a numerical result can certify. The individual preparations in multivariable calculus and differential equations remain essential throughout.
The first variation is a derivative of a functional
Fix a finite interval [a,b], a vector curve y in C1 and a declared admissible class with fixed or explicitly free endpoint components. The value J[y]=integral_a^b L(x,y(x),y_prime(x)) dx is a functional: its argument is an entire curve. For an allowed C1 variation eta, consider y_t=y+t eta only for t small enough that every curve/velocity pair remains in the integrand domain. A fixed endpoint component requires the corresponding component of eta to vanish there.
Assume L has continuous derivatives in its curve and velocity variables on an open neighborhood of the compact set traced by (x,y,y_prime). Choose a small closed tube inside that neighborhood. The sets of y_t and y_t_prime for |t| sufficiently small lie in the tube, so the derivatives are uniformly continuous and bounded there. Applying the ordinary one-variable fundamental theorem along t gives the difference quotient as an integral of L_y(x,y+s t eta,y_prime+s t eta_prime) dot eta plus the analogous L_v term.
Uniform continuity on the tube makes the difference quotient converge uniformly in x to L_y dot eta+L_v dot eta_prime. It may therefore be integrated, giving DJ[y](eta)=integral_a^b(L_y dot eta+L_v dot eta_prime) dx. The same compact-tube estimate bounds this expression by a constant times ||eta||_C1 and gives the Frechet first differential in the C1 topology. A different variation space, such as H1, needs the growth and integrability estimates appropriate to that space.
At an unconstrained local extremum relative to the admitted affine curve class, each two-sided admissible variation has DJ[y](eta)=0 because t=0 is an ordinary local extremum of J[y+t eta]. A one-sided inequality constraint gives only the corresponding directional inequality. A small C1 neighborhood controls both the curve and its slope; a small C0 neighborhood controls only the curve. Declaring that topology is necessary before interpreting a weak or strong local minimum. Related reading: [First variation, Euler–Lagrange and endpoints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=24); [Variations, regularity and metric energy](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=7). The basic variation formula is derived on an admitted compact curve/velocity neighborhood. The function-space topology and actual endpoint restrictions are part of the theorem.
The fundamental lemma with actual test functions
Let f be continuous on (a,b) and suppose integral f eta=0 for every real smooth test function eta with compact support in (a,b). If f(x0)>0 at an interior point, continuity supplies a closed short interval I around x0 and a number c>0 such that f>=c on I. We can choose a nonnegative smooth bump eta supported in the interior of I and positive on a smaller interval, so its integral is strictly positive.
For example, a translate and rescale of exp(-1/(1-s^2)) for |s|<1, extended by zero for |s|>=1, is such a bump. Its derivatives of every order tend to zero at the endpoints because the exponential dominates every reciprocal power. Then integral f eta>=c integral eta>0, contradicting the hypothesis. If f(x0)<0, apply the same construction to -f. Both alternatives being impossible, f vanishes at every interior point.
For a continuous vector f, take variations eta=e_j phi, where e_j is a coordinate vector and phi is any scalar compactly supported smooth test. The scalar result gives f_j=0 for every j. There is no need to infer a vector conclusion from tests in just one fixed direction. If f also extends continuously to the closed interval, vanishing on the interior gives its endpoint values by continuity; endpoint boundary equations are still separate in the variational calculation.
Continuity is used to turn a nonzero point value into a sign on an interval. For an integrable residual, the corresponding distributional conclusion is equality almost everywhere rather than a value at every point. Nor does vanishing against a finite list of test functions give the same theorem: a residual may be orthogonal to that finite span and remain nonzero. This distinction will matter when comparing a discrete trial residual with a full variational equation. Related reading: [First variation, Euler–Lagrange and endpoints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=24). The selected continuous fundamental-lemma proof supplies the framework. The compact smooth bump and componentwise vector argument are given explicitly above.
Weak and classical Euler–Lagrange equations
Write q(x)=L_y(x,y,y_prime) and p(x)=L_v(x,y,y_prime), and initially assume only that these functions are continuous along a C1 curve. Fixed-endpoint stationarity says integral(q dot eta+p dot eta_prime)=0 for every compactly supported smooth eta. This is the weak Euler–Lagrange equation. Formally it says p_prime=q, but we can recover that regularity without presupposing a second derivative of y.
Choose an interior reference point c and define Q(x)=integral_c^x q(s) ds. Integration by parts for this C1 primitive gives integral Q dot eta_prime=-integral q dot eta. Hence integral(p-Q) dot eta_prime=0 for every compact test. To prove p-Q is constant, first take any compactly supported smooth scalar psi whose integral is zero. Its antiderivative eta(x)=integral_a^x psi(s) ds is smooth and compactly supported, so integral(p-Q) psi=0 componentwise.
Fix one compact smooth rho with integral rho=1. For an arbitrary compact smooth phi, apply the preceding zero-mean identity to psi=phi-rho integral phi. It follows that integral(p-Q) phi equals C integral phi, where C=integral(p-Q) rho is a constant vector. The continuous fundamental lemma gives p-Q=C pointwise. Thus p is C1 and p_prime=q on the interior; the proof has made the weak derivative into an ordinary continuous derivative.
Conversely, if p is C1 and p_prime=q, integration by parts gives DJ[y](eta)=[p dot eta]_a^b. This vanishes for fixed-endpoint variations and proves weak stationarity. The interior result alone places no zero condition on p at a fixed endpoint. If q is only integrable, the analogous primitive argument gives an absolutely continuous representative of p and an almost-everywhere identity, under the corresponding admitted weak-test formulation. Related reading: [First variation, Euler–Lagrange and endpoints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=24); [Variations, regularity and metric energy](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=7). The integral equation precedes classical differentiation. The primitive and zero-mean-test argument establishes C1 momentum without assuming the desired curve regularity.
Regularity from a nonsingular velocity Hessian
Assume L is C2 in all its arguments near the graph of a C1 weak extremal. The preceding argument makes its momentum p(x)=L_v(x,y(x),y_prime(x)) a C1 function. Suppose the square velocity Hessian L_vv is nonsingular at a chosen interior point (x0,y0,v0). This is an algebraic regularity condition; it need not be positive definite and does not assert that the extremal is a minimum.
Apply the implicit function theorem to the equation L_v(x,z,v)=r, solving locally for v=V(x,z,r). Because the derivative with respect to v is L_vv and is invertible, V is C1 on a neighborhood of (x0,y0,p(x0)). Continuity of the original curve and slope keeps them in that branch for x sufficiently close to x0. The equation defining the actual momentum then gives y_prime(x)=V(x,y(x),p(x)).
The right side is C1 as a composition of C1 maps and C1 functions. Consequently y_prime is C1 and y is C2 locally. Differentiating p=L_v along the now C2 curve yields L_vx+L_vy y_prime+L_vv y_double_prime=L_y. Thus the classical Euler–Lagrange equation is a second-order system that can be solved for y_double_prime on the regular branch. Repeating the argument along the curve gives the same local regularity wherever the Hessian remains nonsingular.
A singular velocity Hessian prevents this implicit inversion and can express a real geometric degeneracy. Arc-length functionals, for instance, have a radial velocity degeneracy from reparametrization, so a regular quadratic-energy theorem cannot simply be copied to them. More generally a weak extremal may exist without the classical regularity used in a formal second derivative. The needed regularity is a proved consequence here, not an initial silent assumption. Related reading: [First variation, Euler–Lagrange and endpoints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=24); [Variations, regularity and metric energy](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=7). The nonsingular velocity Hessian permits local momentum inversion. This extra premise is distinct from a formal second-order differential equation or a globally invertible Legendre transform.
Free endpoints and natural momentum conditions
Suppose the interior equation has already been established and the momentum is regular enough for integration by parts. For fixed endpoint times, the complete first variation is DJ[y](eta)=p(b) dot eta(b)-p(a) dot eta(a). The endpoint values of eta are now determined by the actual admissible class. If both curve endpoints are prescribed, both variations vanish and there is no additional zero-momentum requirement at those endpoints.
If the terminal value is entirely free and the initial value fixed, arbitrary small terminal vectors can be realized by a smooth variation that vanishes near the initial point. Stationarity therefore forces p(b)=0. If the initial value is free and the terminal value fixed, the same argument gives -p(a)=0. The sign in the boundary differential matters when adding costs or forces even though a homogeneous zero condition has the same solutions.
For partially fixed endpoint values, choose variations in each free coordinate independently. Only the corresponding components of p must vanish. More generally, if the endpoint value lies on a smooth submanifold at a fixed time, p must annihilate the admitted endpoint tangent space rather than vanish in every ambient component. This conclusion uses attainable tangent variations; a singular endpoint constraint needs its own geometry and cannot be replaced by an arbitrary gradient equation.
These are natural boundary conditions because they arise from stationarity rather than being imposed as data. They are still only necessary first-order conditions for a minimum. The affine interior solutions of a derivative-energy problem can satisfy the differential equation while failing its free-end momentum equation. Conversely, supplying both prescribed values and unnecessary zero momenta can overdetermine the problem and remove the actual fixed-end solution. Related reading: [First variation, Euler–Lagrange and endpoints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=24). The terminal natural condition follows only for free endpoint values. The full boundary expression retains the opposite initial sign and each component actually fixed or constrained.
Endpoint costs change the boundary equation
Add differentiable endpoint costs to form J[y]=integral_a^b L dx+Phi(y(b))+Psi(y(a)), with a and b fixed. The chain rule changes the first variation by grad Phi(y(b)) dot eta(b)+grad Psi(y(a)) dot eta(a). These terms depend only on endpoint variations and therefore do not alter the interior Euler–Lagrange equation obtained from compactly supported tests.
After using the interior equation, the boundary expression is [p(b)+grad Phi(y(b))] dot eta(b)+[-p(a)+grad Psi(y(a))] dot eta(a). A fully free terminal value requires p(b)+grad Phi=0, while a fully free initial value requires -p(a)+grad Psi=0. Fixed components are omitted from the corresponding test. These signs follow directly from the upper-minus-lower endpoint convention in integration by parts.
For a terminal spring Phi(z)=k||z-d||^2/2 with k>=0, the terminal condition is p(b)+k(y(b)-d)=0. It balances the interior momentum against the endpoint cost gradient; it is not p(b)=k(y(b)-d) under this cost convention. If endpoints are coupled by constraints or costs, first differentiate the complete coupled expression and then restrict it to the admitted endpoint tangent vectors, instead of applying two independent free-end formulas.
With fixed initial value and free endpoint, integration by parts gives −y″−f in the interior and y′(T)+k(y(T)−z) at the terminal boundary. Solving these equations fixes C by (1+kT)C=fT+k(z−y₀+fT²/2). The positive variation energy makes this stationary curve the unique minimizer.
| Quantity | Exact result |
|---|---|
| Euler–Lagrange interior | y″=−f |
| Initial slope C | 2 |
| Exact curve | y(t)=0 + (2)t − (1)t² |
| Terminal value | 1 |
| y′(T) / k(y(T)−z) | (0, 0) |
| Natural boundary balance | 0 |
| Positive variation energy | ∫η′² + kη(T)² > 0 for nonzero η with η(0)=0. |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| T | 1 |
| f | 2 |
| k | 0 |
| z | 0 |
| y0 | 0 |
Endpoint curvature can also change the minimization question. A positive spring may help coercivity, whereas a sufficiently negative terminal quadratic can make the total functional unbounded below despite a positive interior derivative energy. The natural condition remains a stationarity condition in either case. Thus the sign and size of an endpoint cost belong to the scientific assumptions and cannot be inferred from the interior equation alone. Related reading: [First variation, Euler–Lagrange and endpoints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=24). The source cost-free boundary calculation is the starting framework. Differentiating the explicit endpoint costs supplies the changed equations and preserves the interior residual.
Moving endpoints and the boundary differential
Let y_t be a regular family of curves on intervals [a_t,b_t], with a_0=a and b_0=b. Assume the family is smoothly represented on a common slightly larger interval, or use a smooth pullback to a fixed interval. Write eta(x)=partial_t y_t(x) at fixed x, Delta_b=b_t_prime at zero and Delta_Y_b=d[y_t(b_t)]/dt at zero. The endpoint chain rule gives Delta_Y_b=eta(b)+y_prime(b)Delta_b.
Differentiating the variable-limit integral gives integral_a^b(L_y dot eta+L_v dot eta_prime) dx+L(b)Delta_b-L(a)Delta_a. If y is an interior extremal, integration by parts reduces the integral to p(b) dot eta(b)-p(a) dot eta(a). Substitute eta(b)=Delta_Y_b-y_prime(b)Delta_b, and the analogous initial formula, to get the terminal covector p dot Delta_Y+(L-p dot y_prime)Delta_x minus the same expression at the initial endpoint.
The distinction between eta at a fixed coordinate and the actual endpoint displacement Delta_Y is essential. If the terminal point moves along a graph Y=psi(x), its actual displacement is Delta_Y=psi_prime(b)Delta_b. A free terminal location on that graph therefore requires L+p dot(psi_prime-y_prime)=0. If the terminal value is fixed while its time is free, the requirement becomes L-p dot y_prime=0; a free value at a fixed time instead gives p=0.
The derivation assumes the displayed endpoint family is admissible and sufficiently regular, and any explicit terminal cost must also be differentiated in both its time and value arguments. It does not turn every fixed-interval solution into a free-duration solution. The quantity L-p dot y_prime has density units, whereas p pairs with a curve-value displacement; both boundary products must have the units of the original functional. Related reading: [First variation, Euler–Lagrange and endpoints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=24); [Free corners and the Weierstrass excess](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=67). Moving limits and the actual displacement Delta y=eta+v·Delta x determine the boundary covector. A variation at the old coordinate alone misses its energy coefficient.
Transversality to an endpoint manifold
Consider a free terminal point z=(b,Y) constrained to a smooth manifold F(z)=0 in the combined time/value space. Suppose DF has full row rank there and admissible local endpoint families realize every tangent vector v in ker DF. The moving-end first variation at an interior extremal is the covector ell=(L-p dot y_prime,p) paired with the terminal displacement (Delta_b,Delta_Y). Initial data are held fixed for this argument.
Stationarity for all such terminal families gives ell dot v=0 for every v in ker DF. Finite-dimensional linear algebra identifies the orthogonal complement of ker DF with Range(DF_transpose). Hence ell=DF_transpose alpha for some multiplier vector alpha. This is the transversality equation. Its sign can be changed by renaming alpha, but the actual boundary covector and the constraint orientation must be kept consistent when additional endpoint costs are included.
If there is a terminal cost Phi(b,Y), replace ell by ell+grad Phi before applying the same annihilator argument. For an endpoint graph F(b,Y)=Y-psi(b), the tangent direction is (Delta_b,psi_prime(b)Delta_b), recovering L+p dot(psi_prime-y_prime)=0 when there is no extra cost. If b is fixed and Y free, the tangent space contains all value directions and only p vanishes; if Y is fixed and b free, only the density component vanishes.
The full-rank and realizability assumptions are not decorative. A singular constraint gradient can fail to describe the true endpoint tangent space, and a formal ambient multiplier equation can then miss a real necessary condition. An endpoint at a singular integrand value or a forbidden time likewise requires separate admissibility analysis. Transversality is a first-order compatibility condition, not an existence theorem or a global minimum certificate. Related reading: [First variation, Euler–Lagrange and endpoints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=24); [Free corners and the Weierstrass excess](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=67). The endpoint-curve problem in the notes is an exercise. The tangent annihilator and full-rank manifold argument here give the stated transversality result and its limitations.
The Beltrami identity and its actual scope
Let y be a classical extremal and write v=y_prime and p=L_v(x,y,v). Define E=L-p dot v. Differentiating along the curve gives E_prime=L_x+L_y dot v+p dot v_prime-p_prime dot v-p dot v_prime. Euler–Lagrange supplies p_prime=L_y, so the two remaining curve-gradient terms cancel and E_prime=L_x. All partial derivatives in this identity are evaluated along the actual extremal.
If L has no explicit dependence on x, L_x=0 and E is constant on each smooth connected piece of the extremal. This is the Beltrami first integral. It can reduce the order of an autonomous Euler–Lagrange equation, but solving the first integral may introduce branches or lose information at singular points. Any recovered curve must still satisfy the original equation, admissibility and boundary data where the regular derivation applies.
For L=(v^2+y^2)/2 in one dimension, E=(y^2-v^2)/2 is constant on solutions of y_double_prime=y. For a mechanical action L=kinetic-potential, the opposite-signed quantity p dot v-L=-E is the usual Hamiltonian energy when the kinetic structure admits that interpretation. The sign is a convention, not an inconsistency: both quantities are conserved when the density is autonomous, and the moving-end boundary term uses L-p dot v.
Conservation does not imply minimization, attainment or uniqueness. An autonomous functional can have saddle extremals, several boundary-compatible solutions or no minimizer in a chosen class. If L depends explicitly on x, the exact identity is E_prime=L_x rather than a constant. Across a freely moving admissible corner, the separate corner condition decides whether the constants from the two pieces agree. Related reading: [First variation, Euler–Lagrange and endpoints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=24); [Momentum, energy and symmetry](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=49). The source Hamiltonian is p·v-L. Translating its sign gives the displayed Beltrami quantity and derivative; conservation does not establish a minimum.
Cyclic coordinates conserve momentum
Suppose a dependent coordinate y_j does not occur in L, so L_yj=0 on the relevant curve/velocity neighborhood. The j-th Euler–Lagrange equation is then (L_vj)_prime=0. Hence p_j=L_vj is constant along a classical extremal. This cyclic-coordinate statement is componentwise; it does not require the other coordinates to be absent from L or make their equations disappear.
For a density invariant under translations y_j to y_j+epsilon, the derivative with respect to that coordinate vanishes and the same conserved momentum follows. In a quadratic Euclidean kinetic density, that momentum is the corresponding velocity component times its declared coefficient. With a nontrivial metric or coupled velocity terms, p_j need not equal y_j_prime, so conservation of the actual conjugate momentum must not be replaced by constant coordinate speed.
The boundary equations can determine the constant or contradict a proposed curve. If the cyclic coordinate is free at a fixed terminal time with no terminal cost, its momentum must vanish there and therefore on the whole connected extremal. If its values are prescribed at both ends, a nonzero constant may be needed to connect those values. Endpoint constraints and endpoint forces are retained rather than erased by the interior first integral.
A coordinate transformation can reveal a cyclic variable, but its domain and possible singularities must be checked. Polar-angle momentum, for instance, is meaningful where the polar chart is regular, and a singular chart point cannot simply be crossed by dividing by its radius. The conservation law is a local identity along admitted classical solutions, not an independent proof that a coordinate chart or a global minimizer exists. Related reading: [First variation, Euler–Lagrange and endpoints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=24); [Momentum, energy and symmetry](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=49). A cyclic coordinate conserves its conjugate momentum. Coupled coordinates, boundary equations and physical forces still have to satisfy the rest of the variational problem.
Noether conservation under a stated symmetry
Let an infinitesimal smooth point transformation have independent-variable component tau(x,y) and curve-value component xi(x,y). Along a curve put D tau=tau_x+tau_y dot v and D xi=xi_x+xi_y v. Its first-order velocity change is D xi-v D tau. Suppose the density changes, including the interval element, by the total derivative D B(x,y): L_x tau+L_y dot xi+p dot(D xi-v D tau)+L D tau=D B. This is a stated identity on an admitted neighborhood, not a symmetry guessed from one numerical trajectory.
Define Q=p dot xi+(L-p dot v)tau-B. Differentiate Q along a classical extremal. The product rule, p_prime=L_y and the identity (L-p dot v)_prime=L_x give Q_prime=L_y dot xi+p dot D xi+L_x tau+(L-p dot v)D tau-D B. Rearranging the middle terms makes the right side exactly the assumed infinitesimal density variation minus D B, so Q_prime=0.
For an autonomous density, choose tau=1, xi=0 and B=0 to recover L-p dot v. For a cyclic translation choose tau=0, xi equal to its coordinate vector and B=0 to recover the momentum component. For planar rotational invariance of a Euclidean kinetic density, xi=(-y2,y1), giving Q=-p1*y2+p2*y1, the signed angular momentum. Each example uses the actual invariant density and coordinate pairing.
The theorem separates a conservation identity from its possible use in solving or minimizing a problem. A transformation that changes boundary data can still give an interior first integral under the stated local identity, but it need not map the full boundary-value problem to itself. A total-derivative boundary term B must remain in Q. Unverified approximate symmetry, discrete numerical conservation and global existence of a symmetry flow are additional questions beyond this exact classical calculation. Related reading: [Momentum, energy and symmetry](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=49). The selected mechanics notes state the general symmetry principle and give examples. The full prolonged density and total-derivative calculation here proves the precise conservation law used.
A total derivative and endpoint bookkeeping
Take a C2 scalar function F(x,y) and define the new density L_tilde=L+D F=L+F_x+F_y dot v. The ordinary chain rule along any admitted C1 curve gives integral_a^b D F dx=F(b,y(b))-F(a,y(a)). Therefore J_tilde-J is constant on a class with both endpoint times and values fixed. The minimizers and all fixed-endpoint first variations on that class are unchanged.
The momentum changes to p_tilde=p+F_y. Its derivative is p_prime+F_yx+F_yy v. The derivative of the added density with respect to y is F_xy+F_yy v; equality of mixed derivatives cancels these terms in L_tilde_y-(p_tilde)_prime. Thus the interior Euler–Lagrange residual is identical to the original one, provided the stated differentiability permits the calculation.
At a free terminal value the extra boundary differential is F_y dot Delta_Y, and at a moving terminal time it also contains F_x Delta_x. Indeed L_tilde-p_tilde dot v=(L-p dot v)+F_x, so the combined endpoint covector changes by the full gradient (F_x,F_y). The initial endpoint has the opposite sign. This exactly matches differentiating the endpoint difference and shows why free-end conditions need not be unchanged.
If an endpoint cost is simultaneously changed by subtracting the appropriate added endpoint value, the complete variational problem can remain equivalent. Without that bookkeeping, saying two densities differ only by a total derivative does not make their free-boundary problems identical. The argument is about a genuine single-valued smooth F on the admitted domain; coordinate potentials with singularities or multivalued branches require their own treatment. Related reading: [First variation, Euler–Lagrange and endpoints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=24); [Momentum, energy and symmetry](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=49). The fixed-end boundary framework extends by integrating a total derivative. The resulting endpoint differences, changed momentum and natural conditions are retained explicitly.
A normal isoperimetric multiplier
Let G[y]=integral_a^b g(x,y,y_prime) dx be a continuously differentiable integral functional on an admitted open neighborhood in the fixed-endpoint C1 affine curve class and constrain G[y]=k within the fixed-endpoint affine curve class. At a constrained local extremum y assume there is an allowed variation zeta with DG[y](zeta) not zero. This is the normality qualification. It says the integral constraint can be adjusted to first order by an actual admitted endpoint-preserving curve perturbation.
For an arbitrary other allowed eta, set H(t,s)=G[y+t eta+s zeta]-k. The finite-dimensional implicit function theorem applies at (0,0), because H_s=DG(zeta) is nonzero. It gives a small admissible s(t) with H(t,s(t))=0 and s_prime(0)=-DG(eta)/DG(zeta). Along this corrected family the constrained objective has a local extremum, so DJ(eta)+DJ(zeta)s_prime(0)=0.
Define the single real number lambda=-DJ(zeta)/DG(zeta). The preceding identity becomes DJ(eta)+lambda DG(eta)=0 for every allowed eta. Thus y is stationary for the augmented density L+lambda*g, with its own Euler–Lagrange and boundary equations. The multiplier is constant in x because it belongs to one integral equality; it is not a freely chosen function of the interval coordinate.
The specified plus-sign Lagrangian yields −y″+λ=0. The fixed ends give the parabola and its integral is C T³/6. Every feasible variation has zero area, so its first-order cross term against the constant y″ vanishes. The remaining quadratic variation is strictly positive for a nonzero feasible variation.
| Quantity | Exact result |
|---|---|
| Curve coefficient in C t(T−t) | 6 |
| Midpoint | 3/2 |
| Signed area | 1 |
| λ=y″ | −12 |
| Energy ½∫y′² | 6 |
| Admissible endpoint and area variations | η(0)=η(T)=0 and ∫η=0 |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| T | 1 |
| A | 1 |
If DG vanishes on the allowed variation space, this normal conclusion need not follow. A constraint such as integral y^2=0 can force y=0 while its first differential there vanishes, leaving a nonzero objective differential that no finite normal multiplier cancels. One may discuss abnormal multiplier formulations separately, but setting the objective multiplier to one without a qualification would silently exclude this case. The implicit-family proof also needs the original local domain admission for both perturbation directions. Related reading: [Integral and holonomic constraints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=52); [Integral constraints and elastic-rod modeling](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=14). The source identifies the tangent-line and normality gaps. The complete implicit-function construction here gives exact feasible variations and the constant multiplier under a nonzero constraint derivative.
Several integral constraints and rank
Let the vector G=(G1,...,Gr) contain finitely many integral constraints that are continuously differentiable on an admitted open neighborhood in the fixed-endpoint C1 affine curve class, and let V be the allowed fixed-endpoint variation space. Assume the linear map DG:V to R^r is onto. Choose variations zeta1,...,zetar for which the matrix M_ij=DG_i(zetaj) is invertible. Such a finite choice follows from surjectivity and expresses the actual independent first-order constraint directions.
For any eta in V consider H(t,s)=G[y+t eta+sum_j s_j zetaj]-G[y]. Its derivative with respect to s at zero is M. The finite-dimensional implicit function theorem supplies s(t) with H=0 and s_prime(0)=-M_inverse DG(eta). Put a_j=DJ(zetaj). Stationarity of the objective on this corrected feasible family gives DJ(eta)-a_transpose M_inverse DG(eta)=0.
With lambda=-M_inverse_transpose a, we have DJ+sum_i lambda_i DG_i=0 on all of V. Each lambda_i is a constant coefficient and the augmented density is L+sum_i lambda_i g_i. Applying the fundamental lemma then yields its Euler–Lagrange system. The same reasoning accommodates vector-valued curves; the rank condition concerns the finite collection of scalar integral constraints on the full allowed variation space.
Redundant or singular constraint differentials prevent this particular normal proof. If some constraint combination is identically dependent, first identify a justified reduced independent system without changing the actual feasible class; multiplier uniqueness and recoverability are separate matters. Rank failure alone does not prove no multipliers exist, just as rank success does not guarantee the constrained problem attains a minimum. The argument establishes a necessary first-order certificate at an already existing local extremum. Related reading: [Integral and holonomic constraints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=52); [Integral constraints and elastic-rod modeling](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=14). Independent integral-constraint derivatives provide the correcting directions. A rank failure can obstruct normal multipliers; parameter counting alone supplies no existence or uniqueness proof.
Holonomic constraints use pointwise multipliers
Let F(x,y)=0 be a smooth pointwise constraint whose curve-value Jacobian A=F_y has full row rank along a classical constrained extremal. These are holonomic constraints: they restrict the curve value at each x rather than impose a separate nonintegrable relation on velocities. Local implicit-function charts describe the admitted values of y and realize smooth compactly supported tangent variation fields eta with A eta=0.
Integrating the first variation by parts on an interior compact support gives integral R dot eta=0, where R=L_y-(L_v)_prime. Choose a local smooth frame Z(x) for ker A and test eta=Z phi with arbitrary compact vector phi. The fundamental lemma gives Z_transpose R=0. Hence R lies pointwise in the range of A_transpose, the normal space of the regular constraint manifold.
Because A has full row rank, AA_transpose is invertible. The coefficient alpha=(AA_transpose)_inverse A R is continuous when A and R are continuous, and R=A_transpose alpha. Set lambda=-alpha. Then L_y-(L_v)_prime+F_y_transpose lambda=0 together with F=0 is the Euler–Lagrange system of the augmented density L+lambda(x) dot F. Here lambda is a function of x because the original constraint is imposed pointwise.
The multiplier sign follows the stated plus convention and can be checked by substituting it back into the residual. Endpoint variations still lie in their own admitted tangent spaces and have corresponding natural conditions. A rank-deficient constraint may not describe the actual tangent space, and a velocity constraint is not automatically a holonomic constraint of this form. Treating either situation by the same unrestricted multiplier equation would need an additional argument. Related reading: [Integral and holonomic constraints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=52); [Integral constraints and elastic-rod modeling](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=14). The regular holonomic tangent-space proof is separate from derivative-dependent nonholonomic dynamics. The multiplier field and its sign follow from the stated full-row-rank Jacobian.
A free corner has two matching conditions
Let y be continuous and piecewise smooth with one interior corner c, and suppose it is an Euler–Lagrange extremal on both open pieces. Allow the corner location c and its common curve value Y=y(c) to vary freely, with no corner cost and with the outside endpoints fixed. Denote the one-sided momentum and density quantities by p_minus,E_minus and p_plus,E_plus, where E=L-p dot y_prime.
Apply the moving-end boundary differential to the left piece, for which the corner is a terminal point, and to the right piece, for which it is an initial point. Their sum is (p_minus-p_plus) dot Delta_Y+(E_minus-E_plus)Delta_c. Admissible two-sided variations of the common value and the corner location are independent under the stated free-corner premise, so stationarity forces p_minus=p_plus and E_minus=E_plus.
If the corner location is prescribed, Delta_c=0 and only momentum matching follows. If the common value is also constrained, its permitted tangent directions replace the free Delta_Y test. A corner cost would add its value/time differential before matching, just as an endpoint cost does. The conditions therefore depend on the actual interface data and are not extra universal equations at every artificially subdivided integration interval.
Momentum continuity need not imply velocity continuity when the velocity-to-momentum map has several branches. A nonconvex density can admit different slopes with the same momentum and the same E, and an admissible minimizing curve can then have a genuine corner. For a strictly convex quadratic velocity density the map is injective, so the same condition does force matching velocities. The corner equations are necessary stationarity conditions; their satisfaction alone is not a general minimum or existence theorem. Related reading: [Free corners and the Weierstrass excess](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=67). The moving-corner derivation requires independent corner position and common value. A fixed corner retains momentum matching but does not impose the second free-location equation.
The second variation and a necessary sign
Along a fixed-endpoint C1 extremal, assume the integrand has a continuous second differential in the curve and velocity variables on an admitted compact neighborhood. Write A=L_yy, B=L_yv and C=L_vv along the curve. The pure blocks A and C are symmetric; the opposite mixed block is B_transpose. For a fixed variation eta, differentiating J[y+t eta] twice at zero gives Q[eta]=integral(eta_transpose A eta+2 eta_transpose B eta_prime+eta_prime_transpose C eta_prime) dx.
The differentiation is justified as for the first variation: the compact tube bounds and makes the second differential uniformly continuous, so the difference quotients converge under the finite-interval integral. The factor two combines the two equal mixed scalar terms. Here Q is the second derivative itself, so the Taylor expansion is J[y+t eta]=J[y]+t DJ[y](eta)+(t^2/2)Q[eta]+o(t^2); the half belongs in the expansion rather than being silently included in the definition of Q.
If y is a local minimum in a topology admitting the two-sided family y+t eta, then DJ[y](eta)=0 and Q[eta]>=0 for every such eta, because an ordinary twice differentiable scalar function at a local minimum has a nonnegative second derivative. Fixed endpoints mean eta(a)=eta(b)=0. Free endpoints, endpoint costs or nonlinear constraints can change the second variation and the allowed variation space, so this formula cannot be imported unchanged into those problems.
A nonnegative quadratic second variation is only a necessary test. A zero value in a nonzero direction leaves the higher-order terms undecided; an everywhere positive but noncoercive form also needs care in an infinite-dimensional space. The later sufficient condition uses a uniform norm bound and a controlled remainder. Distinguishing that condition from this directional necessary sign prevents a finite-dimensional Hessian shortcut from becoming an unsupported variational theorem. Related reading: [Second variation, Legendre and Jacobi conditions](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=56). The source convention divides the full second derivative by two. The displayed A,B,C form and Taylor factor use one consistent convention, including the vector mixed block.
The Legendre condition is necessary
Assume A, B and C are continuous and bounded near an interior point x0, and Q[eta]>=0 for every compactly supported smooth vector variation. Suppose instead that a vector w has w_transpose C(x0)w<0. By continuity, on a short interval around x0 there is a number c>0 with w_transpose C(x)w<=-c. Choose a nonconstant smooth scalar bump phi supported in (-1,1).
For small h>0 define eta_h(x)=w phi((x-x0)/h), with support inside that interval. Its derivative is w phi_prime((x-x0)/h)/h. The C contribution to Q is at most -(c/h) integral_-1^1 phi_prime^2 ds. The A contribution is bounded in absolute value by a constant times h, and the mixed B contribution by a constant independent of h, using the same substitution and the bounded coefficients.
The negative term of order 1/h dominates those bounded terms for sufficiently small h, giving Q[eta_h]<0, a contradiction. Thus w_transpose C(x0)w>=0 for every w, so L_vv is positive semidefinite at every interior point. The vector direction is arbitrary and fixed before choosing the small support; no assertion about just the diagonal entries can replace this quadratic-form conclusion.
The large derivative of eta_h does not invalidate the weak C1 necessary argument: after fixing h, the amplitude parameter t can be chosen arbitrarily small so y+t eta_h lies in its required C1 neighborhood. The condition obtained is semidefiniteness, not a uniform positive lower bound. It is necessary but does not control the effects of the A and B terms over a finite interval, as the conjugate-point and quadratic examples will show. Related reading: [Second variation, Legendre and Jacobi conditions](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=56). The localized pulse argument gives a necessary semidefinite velocity Hessian. The explicit smooth bump proof retains the admissible topology and does not claim coercive sufficiency.
A sharp one-dimensional Poincare inequality
Let the interval length be ell>0 and k=pi/ell. Translate its left endpoint to zero. For a compactly supported smooth scalar eta in (0,ell), put w(x)=sin(kx)>0 in the interior and write eta=w z. Because eta vanishes near both endpoints, z is smooth with compact support there. Expanding eta_prime and integrating the cross term, using w_double_prime=-k^2 w, gives integral(eta_prime^2-k^2 eta^2)=integral w^2 z_prime^2>=0.
By definition H01 is the H1 closure of compactly supported smooth functions. Both quadratic integrals are continuous under H1 convergence, so the inequality extends to every eta in H01. Equivalently, integral eta^2<=k^(-2) integral eta_prime^2. This proves the sharp lower bound without assuming a sine expansion or dividing an arbitrary H1 function by w at its zero endpoints.
To characterize equality, let Q0[eta]=integral(eta_prime^2-k^2 eta^2)=0. The nonnegativity just proved implies that Q0[eta+t zeta]>=0 for every real t and every smooth compact test zeta. The linear coefficient must vanish, so integral eta_prime zeta_prime-k^2 eta zeta=0. This weak linear ODE gives eta_double_prime=-k^2 eta; its primitive regularity and the one-dimensional continuous H1 representative make eta a classical solution.
The endpoint traces then give eta(x)=c sin(kx); the cosine coefficient is zero at the left endpoint and the sine satisfies the right one. These functions also directly attain equality, proving sharpness. Vector curves obey the inequality componentwise, with one sine coefficient for each coordinate. The nonzero length and homogeneous endpoint traces are essential; a constant free-end function would immediately contradict this particular inequality. Related reading: [The first mode and a change in stability](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=22); [Sobolev spaces, weak equations and boundary data](https://people.maths.ox.ac.uk/suli/fem.pdf#page=13); [Second variation, Legendre and Jacobi conditions](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=56). The notes state the sharp interval constant or prove weaker bounds. The ground-state identity, density passage and equality argument here establish the exact first-sine result.
Positive velocity curvature is not the whole second test
Consider J_lambda[y]=(1/2)integral_0^ell(y_prime^2-lambda y^2) dx on H01 and set k=pi/ell. For lambda>=0 the sharp Poincare inequality gives integral(y_prime^2-lambda y^2)>=(1-lambda/k^2)integral y_prime^2. For lambda<0 the left side is at least integral y_prime^2. Therefore if lambda<k^2, it bounds the derivative norm below by a fixed positive factor and, through Poincare again, is coercive in the full H1 norm.
In that regime y=0 is the unique global minimum, with value zero. This is a quantitative conclusion about all admissible curves, not just the positive velocity Hessian L_vv=1. When lambda=k^2 the same inequality gives J>=0, but every curve c sin(kx) has value zero. Thus the stationary zero curve is a global minimum without being strict or unique, and the quadratic form has a genuine nonzero null direction.
If lambda>k^2, the admissible family y=c sin(kx) has J_lambda=(c^2/2)(k^2-lambda)ell/2, which tends to minus infinity as |c| tends to infinity. Arbitrarily small nonzero c already lowers the value, so zero is not even a weak C1 local minimum. The velocity Hessian remains the positive number one in every regime, proving that Legendre positivity alone is insufficient for finite-interval minimality.
The sharp Poincaré inequality is ∫η² ≤ (T/π)²∫η′² for zero-endpoint functions, with equality precisely in the first eigendirection. Below the threshold it gives Q≥(1−r)∫η′². At equality Q is nonnegative with a kernel. Above it the first sine yields a negative second variation, even though the velocity term retains positive curvature.
| Quantity | Exact result |
|---|---|
| κ divided by π²/T² | 1/2 |
| Integral η² | 1/2 |
| Derivative contribution ∫η′² | π²/2 |
| Potential contribution κ∫η² | π²/4 |
| Q for the first sine | π²/4 |
| Coefficient of π² in Q | 1/4 |
| For all variations | Coercive |
| Decision for a quadratic functional at zero | Unique minimum; coercive quadratic form |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| T | 1 |
| r | 1/2 |
This threshold also distinguishes a necessary zero second-variation direction from a sufficient obstruction. At the threshold the quadratic problem is flat in the first mode, but adding a positive or negative quartic potential can change the minimum classification while leaving the second variation at zero unchanged. The full functional and its admissible space, rather than the sign of one isolated coefficient, determine the conclusion. Related reading: [Second variation, Legendre and Jacobi conditions](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=56); [The first mode and a change in stability](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=22). An eigenvalue threshold explains why positive velocity curvature is insufficient. The exact quadratic functional has a flat equality family, unlike a nonlinear model with nonzero higher-order terms.
The Jacobi equation is the linearized stationarity equation
Use the second-variation convention A=L_yy, B=L_yv and C=L_vv. Suppose a smooth family of classical extremals y_t is differentiated at t=0, with eta=partial_t y_t. The corresponding momentum variation is delta p=B_transpose eta+C eta_prime, while the curve-gradient variation is delta L_y=A eta+B eta_prime. Differentiating the stationarity equation p_prime=L_y therefore gives (C eta_prime+B_transpose eta)_prime-(A eta+B eta_prime)=0.
The same equation follows by taking the first variation of the quadratic second-variation functional Q/2 with respect to eta. Its derivative in a test zeta is integral[(A eta+B eta_prime) dot zeta+(B_transpose eta+C eta_prime) dot zeta_prime]. Integration by parts and the fundamental lemma give the displayed linear equation. This route defines a Jacobi field without assuming it has already been realized by a nonlinear family of extremals.
For one dependent coordinate, B is scalar and the two B eta_prime terms cancel after differentiation. The equation becomes -(C eta_prime)_prime+(A-B_prime)eta=0. The mixed term in Q can likewise be integrated to replace A by A-B_prime, with the boundary term [B eta^2]. All required coefficient derivatives and boundary traces must exist; dropping that boundary term before declaring the endpoint class would be incorrect.
The Jacobi equation studies infinitesimal stationary perturbations, not actual minimizers by itself. A nonzero Jacobi field with two zero endpoint values makes a second-variation degeneracy, and its location relative to the interval matters. The coefficient C must satisfy the regular positive premise used in the later scalar conjugate-point argument. An arbitrary singular or vector system is not automatically covered by that scalar proof. Related reading: [Second variation, Legendre and Jacobi conditions](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=56). The scalar Jacobi framework motivates the linearized equation. The derivation here preserves the full vector mixed-derivative convention rather than assuming a symmetric mixed block.
A positive Jacobi solution factors the second variation
In the scalar case assume C>=c>0, the coefficients needed below are continuously differentiable, and a Jacobi solution w is positive on the CLOSED interval [a,b]. Write r=w_prime/w, which is bounded there. The equation -(C w_prime)_prime+(A-B_prime)w=0 gives (C r)_prime+C r^2=A-B_prime. Expanding a square and integrating the mixed derivative now yields Q[eta]=integral C(eta_prime-r eta)^2+[ (B+C r)eta^2 ]_a^b.
For fixed endpoint traces the boundary term vanishes. Put z=eta/w, so eta_prime-r eta=w z_prime and Q=integral C w^2 z_prime^2. Because w is continuous and strictly positive on a compact interval, m_w=min w>0 and M_w=max w<infinity. Thus Q>=c m_w^2 integral z_prime^2. This already shows Q=0 forces z constant and hence eta=0 when both endpoint traces vanish.
There is also a uniform H1 bound. Let D=max|w_prime| and k=pi/(b-a). Poincare gives ||z||_L2^2<=k^(-2)||z_prime||_L2^2. Since eta=w z and eta_prime=w_prime z+w z_prime, we get ||eta||_H1^2<=K||z_prime||_L2^2 with K=M_w^2/k^2+2D^2/k^2+2M_w^2. Consequently Q>=c m_w^2||eta||_H1^2/K, a genuine positive coercivity constant.
The positivity hypothesis on the closed interval is deliberately sufficient, not an asserted necessary characterization of every minimum. If w has a zero at an endpoint or inside, r may be singular and m_w vanishes, so the coercivity proof cannot be copied unchanged. Such zeros are central to conjugate-point analysis rather than harmless denominators. For rougher coefficient or variation spaces the identity must first be justified by approximation and valid trace bounds. Related reading: [Second variation, Legendre and Jacobi conditions](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=56). A Riccati solution can blow up within the interval. A Jacobi field positive on the closed interval gives the displayed identity and quantitative coercivity, with no endpoint division by zero.
An interior conjugate point obstructs a minimum
Assume the regular scalar Jacobi setting with C>0. Let a nontrivial field h solve the Jacobi equation on [a,c], vanish at a and c, and have c strictly inside the full interval (a,b). Ordinary linear ODE uniqueness implies h_prime(c) is nonzero: zero value and zero derivative at c would make the solution identically zero. Extend h by zero on [c,b], producing a continuous H01 variation h_tilde with a possible derivative jump at c.
Integration by parts using the Jacobi equation gives Q[h_tilde]=0. For a smooth fixed-endpoint test zeta, the polarized second-variation form is B_Q(h_tilde,zeta)=C(c)h_prime(c)zeta(c), since h(c)=0 and the interior residual vanishes on the left piece. Choose zeta with zeta(c) not zero. This pairing is nonzero because C(c)>0 and h_prime(c) not zero.
Then Q[h_tilde+epsilon zeta]=2epsilon B_Q(h_tilde,zeta)+epsilon^2 Q[zeta]. Choose the sign of epsilon opposite to the nonzero linear coefficient and take its magnitude sufficiently small; the result is negative. The bounded-coefficient quadratic form is continuous in H1, so compactly supported smooth approximations preserve strict negativity. One of those smooth variations contradicts the necessary second-variation sign at a local minimum.
If the second zero occurs only at the terminal point c=b, there is no interior derivative jump available for this argument. The Jacobi field then gives Q=0, leaving higher-order behavior undecided. A flat quadratic minimum and the positive/negative quartic modifications illustrate different possibilities. The claim is therefore an interior-conjugate-point obstruction under the stated regular scalar hypotheses, not a blanket classification from any observed zero of any auxiliary solution. Related reading: [Second variation, Legendre and Jacobi conditions](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=56); [The first mode and a change in stability](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=22). Conjugacy is an interval property. The truncated-field and boundary-pairing argument proves the interior obstruction; terminal degeneracy alone does not classify a minimum.
Coercive second variation gives a weak local minimum
Let y be a stationary fixed-endpoint C1 curve in an admitted open tube, and suppose the integrand has a uniformly continuous second differential on a compact neighborhood of its curve/velocity graph. Assume Q[eta]>=gamma||eta||_H1^2 for every allowed fixed-endpoint C1 variation, with a known gamma>0. This uniform coercivity is stronger than simply finding Q[eta]>0 separately for each nonzero test.
For a small C1 perturbation eta, apply the ordinary integral Taylor formula in the pair (y,y_prime) at each x. After integrating, J[y+eta]-J[y]=DJ[y](eta)+(1/2)Q[eta]+R[eta]. Uniform continuity of the second differential bounds |R[eta]| by (1/2)omega(||eta||_C1)||eta||_H1^2, where omega(s) tends to zero as s tends to zero. The tube ensures every interpolated curve/velocity pair remains admitted.
The first differential vanishes because eta has the prescribed homogeneous endpoint traces. Choose the C1 neighborhood so omega<=gamma/2. Then J[y+eta]-J[y]>=(gamma/4)||eta||_H1^2. Every nonzero admitted perturbation in that neighborhood raises the value, giving a strict weak local minimum and an explicit local quadratic growth estimate in the declared variation norm.
The conclusion is local in the C1 topology used to control the Taylor remainder. A small C0 perturbation can have large velocities and visit entirely different parts of the integrand, so this does not automatically establish a strong minimum. Nor does a formal second-order coefficient prove the assumed global-in-variation coercivity. The positive-Jacobi factorization supplies one sufficient route to that bound under its own scalar regularity and positivity premises. Related reading: [Second variation, Legendre and Jacobi conditions](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=56). Coercivity and a uniform remainder estimate work together. Pointwise positivity of individual directions is insufficient, and the resulting C1 weak neighborhood is distinct from a C0 strong one.
The Weierstrass excess tests strong minima
Let a C1 curve be a strong local minimum in the C0 topology among the stated admitted continuous piecewise smooth curves with fixed endpoints. Fix an interior point x0, its velocity v0 and an admitted replacement velocity w. Assume L is C1 on neighborhoods of the original and replacement curve/velocity values. Define the excess E(x,y,v,w)=L(x,y,w)-L(x,y,v)-L_v(x,y,v) dot(w-v). We prove that a negative excess at this point contradicts strong minimality.
Set d=w-v0. On an interval of length epsilon after x0, choose a piecewise affine perturbation eta with eta_prime=d. On the next interval of length delta choose eta_prime=-(epsilon/delta)d, and set eta=0 elsewhere, so the perturbation returns exactly to zero. Take delta tending to zero with epsilon/delta tending to zero. Its uniform amplitude is at most epsilon||d||, while its first short segment changes the velocity by a finite amount. The stated open-domain admission keeps both segments feasible for sufficiently small lengths.
Subtract the vanishing first variation from the objective difference. On the short segment, continuity and y_prime(x) tending to v0 give epsilon times E(x0,y(x0),v0,w)+o(epsilon). On the compensation segment both eta and eta_prime tend uniformly to zero. Uniform continuity of the first differential bounds its Taylor remainder by omega times the integral of |eta|+|eta_prime|, which is O(epsilon) times a modulus tending to zero. Piecewise tests have the same zero first variation by the continuous momentum equation and integration by parts.
Hence a negative excess would produce J[y+eta]-J[y]<0 while ||eta||_C0 tends to zero, a contradiction. Therefore E>=0 for every admitted replacement velocity. This finite-velocity test is stronger than the infinitesimal Legendre sign. The proof uses the declared piecewise smooth admissible class; requiring globally C1 competitors would additionally require an admissible smoothing argument. Neither an inaccessible velocity outside the integrand domain nor a singular release endpoint is covered by the test. Related reading: [Free corners and the Weierstrass excess](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=67). The needle construction uses C0-small piecewise competitors whose velocities need not be C1-small. The all-velocity excess condition is a necessary strong-minimum test in the declared class.
Joint convexity supplies a global variational certificate
Assume that, for almost every x, L(x,z,v) is differentiable and jointly convex in the curve value z and velocity v on the admitted convex domain. Let y be an admitted fixed-endpoint extremal whose momentum is regular enough for the weak Euler–Lagrange identity. For any other admitted curve z, joint convexity gives L(x,z,z_prime)>=L(x,y,y_prime)+L_y dot(z-y)+L_v dot(z_prime-y_prime). The integrals are assumed well defined.
Integrating this supporting inequality yields J[z]-J[y]>=DJ[y](z-y). Because z-y has zero endpoint traces, the weak stationarity identity makes the right side zero. Thus y is a global minimizer on the declared convex curve class. No second-order local test or observed numerical descent is needed for this certificate, but existence of the admitted extremal y is a hypothesis rather than a consequence of the supporting inequality.
For a precise sufficient uniqueness case, suppose L=T(x,v)+V(x,z), where T is strictly convex in v and V convex in z. Two distinct fixed-endpoint H1 curves have derivatives differing on a set of positive measure; otherwise their difference is a constant with zero trace. Strict convexity of T then makes the integrated midpoint inequality strict, ruling out two minimizers. A uniform positive derivative-curvature lower bound in this separable setting gives an analogous quantitative growth bound through Poincare.
Separate strict convexity in velocity of an arbitrarily coupled density should not be substituted for a proved joint strict inequality or a stated coercivity condition. Constraints, nonconvex domains and endpoint terms must likewise be included in the actual convex formulation before using this argument. A global mathematical minimum is still conditional on the supplied density, boundary values and feasible set; it does not certify that a physical model or measured load is correct. Related reading: [Symmetric quadratic energy and minimization](https://people.maths.ox.ac.uk/suli/fem.pdf#page=32); [First variation, Euler–Lagrange and endpoints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=24). The supporting-plane inequality and endpoint cancellation give the global certificate. The explicit strictness assumptions give uniqueness when applicable; attainment is a separate question.
A bounded-coercive quadratic derivative energy attains a minimum
Consider J[y]=(1/2)integral y_prime_transpose A(x)y_prime dx+integral V(x,y) dx on H1 curves over a finite interval with fixed finite endpoint values. Suppose A is continuous, symmetric and satisfies A(x)>=cI for a fixed c>0; V is continuous and bounded below by -C. The affine connecting curve has finite energy, so the infimum is finite above, while coercivity gives J[y]>=(c/2)||y_prime||_L2^2-C(b-a). Choose a minimizing sequence with uniformly bounded values.
Its derivative norms are bounded, and the fixed initial value gives |y(x)|<=|y(a)|+sqrt(b-a)||y_prime||_L2. Also |y(x)-y(s)|<=sqrt(|x-s|)||y_prime||_L2, so the sequence is uniformly bounded and equicontinuous. Arzela–Ascoli supplies a uniformly convergent subsequence, and bounded weak compactness in the Hilbert derivative space supplies a further subsequence with y_n_prime converging weakly to v in L2. Testing against interval indicators gives y(x)=y(a)+integral_a^x v, hence y belongs to H1 and retains both endpoint values.
The weighted derivative term is weakly lower semicontinuous: multiplication by the bounded continuous matrix square root A^(1/2) preserves weak convergence, and a Hilbert norm is a supremum of continuous linear pairings over its unit ball. Thus its norm at the weak limit is at most the liminf of the sequence norms. Uniform convergence of y_n and uniform continuity of V on the compact interval times their common bounded value range make V(x,y_n) converge uniformly to V(x,y).
The first variation asks for ∫a(t)y′η′=0 on fixed-end test functions, hence a(t)y′ is constant in the weak sense. Integrating y′=C/a(t) and imposing the end values fixes C. The positive weighted derivative energy of any nonzero zero-endpoint difference proves uniqueness.
| Quantity | Exact result |
|---|---|
| Compliance s/a₁+(T−s)/a₂ | 3/2 |
| Constant flux a(t)y′ | 2 |
| Left / right slopes | (2, 1) |
| Continuous interface value | 2 |
| Minimum energy | 3 |
| Weak interface condition | a₁ y′(s−)=a₂ y′(s+); y is continuous. |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| T | 2 |
| s | 1 |
| a1 | 1 |
| a2 | 2 |
| y0 | 0 |
| yT | 3 |
Combining these two conclusions gives J[y]<=liminf J[y_n], so the limit attains the infimum. This is a complete direct-method result for the specified positive quadratic derivative energy and bounded-below continuous potential, which need not be convex in y. It is not an unproved general theorem for every nonconvex derivative density or every dimension. Closed pointwise constraints can be retained only when their admissible class is nonempty and their closure is preserved by this convergence. Related reading: [The direct method and failures of attainment](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=28); [Sobolev spaces, weak equations and boundary data](https://people.maths.ox.ac.uk/suli/fem.pdf#page=13). The selected direct-method discussion is introductory. The complete proof here uses uniform ellipticity, a bounded-below continuous potential, a closed endpoint class and the stated weak and uniform compactness.
Nonconvex derivative energy can lose attainment
On [0,1] with zero endpoint traces take J[y]=integral[(y_prime^2-1)^2+y^2] dx in the admitted W1,4 class. The integrand is nonnegative, so the infimum is at least zero. For each integer n>=1, divide the interval into n equal cells. On each cell let y_n rise from zero with slope +1 for its first half and fall with slope -1 for its second half, returning to zero at the next cell boundary.
These piecewise affine curves are Lipschitz, have the required endpoints and belong to W1,4. Their derivative magnitude is one almost everywhere, so the derivative-energy term vanishes. The triangular amplitude is 1/(2n). The integral of its square on one cell is twice integral_0^(1/(2n)) t^2 dt=1/(12n^3), giving J[y_n]=1/(12n^2). Therefore the infimum is exactly zero.
If a minimizer had value zero, the nonnegative y^2 term would force y=0 almost everywhere and hence everywhere for its continuous representative. Its weak derivative would then be zero almost everywhere, so the other integrand term would equal one and J[y]=1, a contradiction. Thus the infimum is not attained even though the sequence has bounded derivative norms and uniformly converges to the feasible zero curve.
The derivative density is genuinely nonconvex: its values at +1 and -1 are zero while its value at their midpoint zero is one. The oscillating derivatives can have weak limit zero, but their energy does not have the lower-semicontinuity property used by the preceding direct method. This demonstrates the role of the actual integrand structure, rather than claiming that boundedness or formal Euler–Lagrange equations alone produce a minimizing curve. Related reading: [The direct method and failures of attainment](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=28). This is a standard canonical nonconvex example from the selected notes. The explicit zigzag sequence and zero-cost contradiction prove both the infimum and non-attainment in the declared class.
The straight path minimizes Dirichlet energy
Let y be an H1 vector curve joining A to B over [a,b], with ell=b-a>0 and d=B-A. The fundamental theorem for the absolutely continuous representative gives integral_a^b y_prime dx=d. Put vbar=d/ell. Expanding the square and using that identity yields integral||y_prime-vbar||^2=integral||y_prime||^2-||d||^2/ell.
Consequently the Dirichlet energy satisfies (1/2)integral||y_prime||^2>=||B-A||^2/(2ell). Equality holds exactly when y_prime=vbar almost everywhere, since the squared integrand must vanish. The endpoint trace then forces y(x)=A+(x-a)(B-A)/ell. This affine curve belongs to the unconstrained admitted class and achieves the bound, proving both attainment and uniqueness there.
The identity is an exact objective-gap formula: the excess above the affine value is half the squared L2 derivative difference from the affine curve. It is stronger than merely checking y_double_prime=0, because it compares every admitted H1 competitor, including curves without classical second derivatives. It also handles coincident endpoints, where the unique minimizing curve is constant and the minimum is zero.
The affine curve has constant derivative. Its cross term with any admissible perturbation is proportional to the perturbation’s difference at the endpoints, which vanishes. The additional energy here is ½ ε² (π/T)²∫cos²(πt/T)dt = ε²π²/(4T).
| Quantity | Exact result |
|---|---|
| Affine slope | 1 |
| Minimum value ½∫y′² | 1/2 |
| Signed amplitude ε | 1/4 |
| Cross term | 0 |
| Exact nonnegative gap | 1/64·π² |
| Perturbed energy | 1/2 + 1/64·π² |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| T | 1 |
| y0 | 0 |
| yT | 1 |
| eps | 1/4 |
An obstacle or pointwise manifold restriction may make the affine path inadmissible. The same inequality can remain a lower bound without providing an attaining curve in that restricted class. The independent-variable interval length and the norm or metric are also part of the problem; changing duration changes the minimum energy even when the geometric segment is the same. These qualifications distinguish energy from a parameter-invariant path length. Related reading: [Symmetric quadratic energy and minimization](https://people.maths.ox.ac.uk/suli/fem.pdf#page=32); [First variation, Euler–Lagrange and endpoints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=24). The symmetric energy-gap framework is consistent with the direct affine-path calculation. The equality condition fixes the velocity, rather than relying on a stationary-length argument.
Length, energy and parametrization
Let G(y) be a smooth positive-definite metric along an admitted curve and define s(t)=sqrt(y_prime_transpose G(y)y_prime). Over duration T>0 its metric length is ell_G=integral s and its quadratic energy is E=(1/2)integral s^2. Cauchy–Schwarz gives ell_G^2<=T integral s^2=2TE. Equality holds exactly when s is constant almost everywhere; the statement compares a curve and its parametrization, not two unrelated paths.
For a regular C1 curve with s>0 throughout the closed interval, cumulative metric arc length is strictly increasing with a C1 inverse. Reparametrize its value to increase linearly from zero to ell_G over the same duration T. The chain rule then gives constant new metric speed ell_G/T, unchanged geometric image and length, and energy ell_G^2/(2T). Curves with zero-speed intervals or singular points need a separate weaker reparametrization argument rather than this inverse-function proof.
The autonomous quadratic energy density has momentum p=G(y)y_prime and Beltrami quantity L-p dot y_prime=-s^2/2. Thus its classical stationary curves have constant metric speed, although stationarity alone does not say which geometric geodesic is shortest. The energy velocity Hessian is G and is positive definite. The length density is homogeneous of degree one in nonzero velocity, so differentiating its homogeneity identity gives L_vv v=0 and a radial degeneracy.
This is why a nonsingular-velocity-Hessian regularity theorem for energy cannot simply be applied to length. The inequality and regular reparametrization explain their relation under stated hypotheses without asserting global existence of a shortest path, uniqueness of a geodesic or minimality of every stationary arc. Boundary conditions, allowed images and metric domain all remain part of the geometric problem. Related reading: [Variations, regularity and metric energy](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=7); [Momentum, energy and symmetry](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=49). Metric energy and length are related through speed and parametrization. Positive-definite metric data and regular positive speed are explicit; global shortest-path existence is not inferred.
A cycloidal extremal and its endpoint limitation
Use a downward vertical coordinate y>0, constant gravitational acceleration g>0 and the travel-time density L=sqrt((1+v^2)/(2gy)), with v=dy/dx. This formula assumes the stated ideal gravitational speed sqrt(2gy); drag, launch speed and inadmissible regions would give a different model. Its momentum is p=v/[sqrt(2gy)sqrt(1+v^2)], so the autonomous Beltrami quantity is L-pv=1/[sqrt(2gy)sqrt(1+v^2)].
A positive constant value of that quantity is equivalent to y(1+v^2)=2a for some a>0. Set x=x0+a(theta-sin theta) and y=a(1-cos theta). For 0<theta<2pi, dx/dtheta=a(1-cos theta)>0 and v=sin theta/(1-cos theta)=cot(theta/2). Substitution gives y(1+v^2)=2a exactly. On regular subarcs it satisfies Euler–Lagrange; differentiation establishes the equation away from a zero slope and continuity supplies it at the isolated horizontal tangent.
The travel-time element becomes L dx=sqrt(a/g) dtheta on such an increasing arc. Thus the elapsed time between two admitted parameter values is sqrt(a/g) times their difference. The scale a has length units and g length per time squared, so this expression has time units. These are exact stationary-arc formulas and an ideal-model time calculation, not conclusions inferred from a plotted curve.
At theta=0 the release point has y=0 and the density is singular; the graph slope is also unbounded there. It lies outside the C1 positive-y setting used for the local derivation. One can consider a finite limiting time, but admission of that endpoint and a proof that a full arc is globally fastest need additional analysis. The lesson therefore keeps the cycloidal extremal calculation distinct from a global brachistochrone minimum theorem. Related reading: [The brachistochrone with a singular release point](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=34); [First variation, Euler–Lagrange and endpoints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=24). The source physical setup normalizes gravity. The calculation here keeps g and units, proves regular cycloidal stationarity and identifies the additional singular-endpoint and global-optimality questions.
Euler–Lagrange for a field
For a scalar field u on a bounded smooth domain Omega, consider J[u]=integral_Omega L(x,u,grad u) dx. Assume enough classical regularity and domain admission to differentiate under the integral and integrate by parts. Put P=L_grad_u. A field variation eta gives DJ[u](eta)=integral(L_u eta+P dot grad eta). The divergence theorem writes this as integral(L_u-div P)eta+integral_boundary(P dot n)eta.
Compactly supported smooth tests remove the boundary term. The multidimensional fundamental lemma follows from the same continuous-sign bump argument on a small ball, giving L_u-div P=0 in the interior. For L=||grad u||^2/2-fu this is -Delta u=f. The sign comes from the minus divergence after integration by parts, not from an assumed convention for the source term.
If u is prescribed on a Dirichlet portion of the boundary, eta vanishes there. On a smooth relatively open free portion, arbitrary admitted trace variations force P dot n=0. A differentiable boundary energy contributes its own derivative before setting this natural flux to zero. Edges between boundary types and corners require their appropriate trace or interface interpretation rather than an unsupported pointwise condition everywhere.
For H1 fields the integral identity is often the primary weak equation, while classical normal fluxes may not exist as ordinary functions. Extra regularity is needed before interpreting them pointwise. The first-order calculation establishes stationarity only; convexity, coercivity, actual boundary data and existence remain separate questions. It also shows why an interior harmonic field can fail the full variational problem when its free-boundary flux is not zero. Related reading: [Euler–Lagrange equations for fields](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=32); [The direct method and failures of attainment](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=28); [Sobolev spaces, weak equations and boundary data](https://people.maths.ox.ac.uk/suli/fem.pdf#page=13). The field variation retains the divergence-theorem boundary term. Natural flux applies to free boundary values, while weak trace classes and mixed problems need their stated domain assumptions.
Higher derivatives add boundary data
For fixed endpoint times consider J[y]=integral_a^b L(x,y,v,w) dx with v=y_prime and w=y_double_prime. Assume the curve and coefficients have enough regularity for the displayed derivatives and traces. A variation gives DJ=integral(L_y eta+L_v eta_prime+L_w eta_double_prime). Integrating the L_v term once and the L_w term twice yields the interior residual L_y-(L_v)_prime+(L_w)_double_prime.
The full boundary expression is [(L_v-(L_w)_prime)eta+L_w eta_prime]_a^b. Compactly supported smooth tests therefore give the higher-order Euler–Lagrange equation L_y-D L_v+D^2 L_w=0. The sign of the second-derivative term is positive because it has undergone two integrations by parts. This derivation does not assume that a fourth-order equation alone decides the endpoint data.
If both value and slope are prescribed at an endpoint, eta and eta_prime both vanish there and no natural equation is added. If the value is fixed and slope free, L_w=0 follows there. If the slope is fixed and value free, L_v-D L_w=0 follows. If both are free, both coefficients vanish, with the lower-end overall sign retained when external endpoint forces or costs are present. Independent endpoint jets can be realized by elementary smooth Hermite variations.
Weak H2 formulations can use the original second-derivative integral without classical fourth derivatives. Additional regularity is needed before its interior equation or boundary terms become pointwise classical expressions. Moving endpoint times, slope-dependent endpoint costs and nonlinear curve constraints also add their own variations. Keeping those premises explicit prevents a first-order natural-boundary rule from being copied incorrectly to a beam or another higher-gradient model. Related reading: [Variations, regularity and metric energy](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=7); [Integral constraints and elastic-rod modeling](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=14). The source fourth-order residual is a starting framework. Two integrations by parts here give both independent boundary coefficients and distinguish fixed displacement, fixed slope and free ends.
Beam curvature, loads and end conditions
For a beam curve y let J[y]=(1/2)integral EI(x)y_double_prime^2 dx-integral q(x)y dx, where the bending coefficient EI is positive and regular enough for the stated classical formula. Here L_w=EI y_double_prime=M, L_v=0 and L_y=-q. The higher-order Euler–Lagrange equation is M_double_prime=q, and its boundary differential is [-M_prime eta+M eta_prime]_a^b.
Thus a free slope gives the natural zero-moment condition M=0 and a free endpoint displacement gives M_prime=0 in the absence of external endpoint terms. The displayed upper-minus-lower boundary expression determines actual force signs when such loads are present. A clamped end fixes both y and y_prime, whereas a simply supported end fixes y and allows its slope to vary, giving M=0. These are different admissible variational problems.
Let y_star be an admitted stationary solution in an affine class of compatible linear endpoint constraints, and let eta be the difference to any other admitted curve. Expanding the quadratic functional gives J[y_star+eta]-J[y_star]=DJ[y_star](eta)+(1/2)integral EI eta_double_prime^2. The first term vanishes by full weak stationarity, including the actual boundary conditions. Hence the stationary curve is a global minimizer, with that exact nonnegative energy-gap identity.
Uniqueness requires the homogeneous admissible class to contain no nonzero affine curve: equality in the gap gives eta_double_prime=0, so eta is affine. Prescribing both endpoint values already removes such a mode; clamping does as well. A completely free beam can retain affine modes or fail load balance, so positivity of EI alone does not ensure a unique equilibrium or attainment. The curvature, load, endpoint signs and model units all belong to the certificate. Related reading: [Integral constraints and elastic-rod modeling](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=14); [Symmetric quadratic energy and minimization](https://people.maths.ox.ac.uk/suli/fem.pdf#page=32). Curvature-squared rod energy and EI dimensions motivate the model. The loaded small-deflection beam functional, exact end terms and positive energy gap are proved for its own declared constraints.
Discrete stationarity is its own equation
On a uniform fixed mesh x_i=a+i h, i=0,...,N, with N>=1 and h=(b-a)/N>0, define the LEFT-point discrete action J_h=sum_(i=0)^(N-1) h L(x_i,y_i,v_i), where v_i=(y_(i+1)-y_i)/h. Keep y_0 and y_N fixed. Varying an interior value y_i affects the preceding velocity positively and the following one negatively, so its derivative is p_(i-1)+h L_y(x_i,y_i,v_i)-p_i, with p_i=L_v(x_i,y_i,v_i).
Discrete stationarity is therefore p_i-p_(i-1)=h L_y(x_i,y_i,v_i). This equation follows from the declared finite sum; a different quadrature or midpoint convention gives its own equation. Endpoint variations must likewise be differentiated from that same sum rather than assigned a continuous natural condition by analogy. The discrete unknowns and their actual endpoint constraints are finite-dimensional data.
For L=v^2/2+V(x,y), the interior equation becomes -(y_(i+1)-2y_i+y_(i-1))/h^2+V_y(x_i,y_i)=0. If a classical solution is C4 with a bounded fourth derivative, substituting its sampled values gives a central-difference truncation error of order h^2. This consistency estimate is about the interior equation under that smoothness; it is not an automatic second-order claim for every quadrature error in the objective.
Consistency alone does not imply convergence, stability, a continuum minimum or a valid residual in an infinite-dimensional norm. Nonconvex discrete systems can have many stationary branches, and a finite trial gradient may miss other test directions. Conforming variational structure and coercivity can supply a stronger approximation theorem for a declared quadratic problem, but those are additional hypotheses established separately rather than inferred from a small mesh residual. Related reading: [Symmetric quadratic energy and minimization](https://people.maths.ox.ac.uk/suli/fem.pdf#page=32); [Galerkin orthogonality and approximation norms](https://people.maths.ox.ac.uk/suli/fem.pdf#page=40). A declared discrete action has its own exact stationarity equation. The consistency estimate is model- and smoothness-dependent; a stationary grid solution alone is no continuum convergence theorem.
Ritz approximation and an exact energy error
Let V be the declared Hilbert variation space, a a bounded symmetric coercive bilinear form, and ell a bounded linear functional. Suppose u is an attained weak solution of a(u,v)=ell(v) for every v in V. The quadratic objective is J(v)=a(v,v)/2-ell(v). For a finite-dimensional conforming subspace V_h, coercivity makes its coefficient matrix positive definite, so there is a unique u_h with a(u_h,v_h)=ell(v_h) for every v_h in V_h.
Subtracting the two equations gives Galerkin orthogonality a(u-u_h,v_h)=0. Put e=u-u_h. For any v_h in V_h, expand u-v_h=e+(u_h-v_h); the cross term vanishes and a(u-v_h,u-v_h)=a(e,e)+a(u_h-v_h,u_h-v_h)>=a(e,e). Thus u_h is the best approximation to u in the energy norm ||z||_a=sqrt(a(z,z)).
Expanding the objective at the exact solution gives J(u_h)-J(u)=a(u_h-u,u_h-u)/2, since a(u,u_h-u)=ell(u_h-u). This is an exact continuum energy-gap identity for the conforming trial solution. For nonhomogeneous fixed boundary values, first use an admitted lift and formulate the same equations on the homogeneous difference space; the load functional changes accordingly.
The exact equation is −y″=t^p with both endpoints zero. Restrict the first variation to multiples of φ to solve the scalar Ritz equation. The exact first variation on y_R−y vanishes, so J[y_R]−J[y] equals half the squared derivative difference. Both energies can be computed by integrating polynomials exactly.
| Quantity | Exact result |
|---|---|
| Exact curve | (1/2)(t−t^2) |
| Trial shape φ | t(1−t) |
| ∫φ′² | 1/3 |
| Force moment ∫t^pφ | 1/6 |
| Ritz coefficient | 1/2 |
| Exact J[y] / J[y_R] | (−1/24, −1/24) |
| Energy gap ½∫(y′−y_R′)² | 0 |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| p | 0 |
If the trial spaces have the approximation property inf_(v_h in V_h)||u-v_h||_a tending to zero, the best-approximation bound proves energy convergence. Nested spaces with dense union provide one sufficient route, using equivalence of the energy and original norms from boundedness/coercivity. The theorem presumes the attained weak solution and symmetric positive form; it does not extend unchanged to arbitrary nonconvex functionals, nonconforming meshes, inexact solves or unverified quadrature. Related reading: [Symmetric quadratic energy and minimization](https://people.maths.ox.ac.uk/suli/fem.pdf#page=32); [Galerkin orthogonality and approximation norms](https://people.maths.ox.ac.uk/suli/fem.pdf#page=40). Symmetric coercive energy gives orthogonality and exact best fit in the energy norm. Conformity, actual integration and an approximation property remain part of the result.
Rescaling the interval and the curve
Set x=a+T t with T>0 and y=U z, where U is an invertible constant matrix. Then dx=T dt and y_prime=(U/T)z_prime. The same functional on the rescaled interval has density L_tilde(t,z,w)=T L(a+Tt,U z,(U/T)w). Endpoint values, admissible domains and any endpoint costs must be transformed with this substitution; the integral equality itself does not discard them.
Differentiating the density gives p_tilde=L_tilde_w=U_transpose p and L_tilde_z=T U_transpose L_y. Since d/dt=T d/dx along corresponding curves, the transformed Euler–Lagrange residual is T U_transpose[L_y-dp/dx]. It vanishes exactly when the original residual does because T and U are invertible. The velocity Hessian is L_tilde_ww=(1/T)U_transpose L_vv U, with one inverse T remaining after the two velocity derivatives.
The momentum pairs with a dependent-variable displacement and has functional-value per curve-value units; L-p dot y_prime is a density with functional-value per independent-variable units. Their endpoint products agree with the units of the action. A positive overall objective scale multiplies the functional, its momentum and its residual together, while norm-dependent coercivity constants and reported tolerances require the corresponding transformed variation and dual norms.
Thus identical stationary curves in two coordinate systems need not have equal raw coefficient vectors, Euclidean residual norms or numerical condition numbers. A singular U or nonpositive interval scale is outside this equivalence. Treating normalized coordinates as unit-free without transforming derivative factors can change a physical beam, travel-time or boundary-force equation even when the written algebra looks similar. Related reading: [Integral constraints and elastic-rod modeling](https://math.ucdavis.edu/~hunter/m280_09/ch3.pdf#page=14); [First variation, Euler–Lagrange and endpoints](https://liberzon.csl.illinois.edu/teaching/cvoc.pdf#page=24). Dimensional and coordinate changes require the transformed density as well as the variables. The exact T and U factors carry momentum, residuals, norms and physical units consistently.
A residual bound is a conditional functional certificate
Let J be differentiable and mu-strongly convex on the actual convex feasible affine class in a declared Hilbert variation space V, with mu>0 in the chosen norm. At an admitted candidate y suppose the FULL first differential has known dual norm at most epsilon. The strong lower model gives J[y+h]>=J[y]+DJ[y](h)+(mu/2)||h||_V^2 for every admitted difference h. Dual Cauchy–Schwarz bounds the linear term below by -epsilon||h||_V.
Completing the scalar square gives J[y+h]>=J[y]-epsilon^2/(2mu). Taking the infimum over the actual feasible class proves J[y]-inf J<=epsilon^2/(2mu); if a minimizer exists this is the corresponding suboptimality bound. Feasibility of y, a valid global strong lower model and a known full dual-norm residual are all required. The units are consistent: epsilon is objective per variation-norm unit and mu objective per squared variation-norm unit.
A residual tested only against a finite subspace can be zero while the full differential is nonzero on other variations. Galerkin stationarity therefore does not by itself give epsilon=0 in this bound. If an evaluated differential has a separately known full dual-norm error gamma, the triangle inequality permits epsilon<=epsilon_tilde+gamma; a printed solver tolerance or a few test vectors is not that error certificate.
Model error is another independent premise. If |J[z]-J_tilde[z]|<=delta uniformly on the common feasible class and a feasible candidate has a certified J_tilde gap at most g, then J[y]-inf J<=g+2delta by adding the two objective discrepancies. Such a uniform bound is not inferred from finitely many matching samples. Without strong convexity or another valid global lower certificate, even exact local Euler–Lagrange stationarity need not control a global objective gap. Related reading: [Symmetric quadratic energy and minimization](https://people.maths.ox.ac.uk/suli/fem.pdf#page=32); [Galerkin orthogonality and approximation norms](https://people.maths.ox.ac.uk/suli/fem.pdf#page=40). Coercive energy and approximation estimates motivate the distinction. The full-dual residual bound and independent uniform-model-error transfer are proved here under their own quantitative premises.
Compare exact fixed-end, free-end and constrained variations. Each case shows which admissible curves and endpoint conditions make its certificate valid.
A free terminal value obeys a natural boundary equation
Free terminal slope without endpoint cost
With fixed initial value and free endpoint, integration by parts gives −y″−f in the interior and y′(T)+k(y(T)−z) at the terminal boundary. Solving these equations fixes C by (1+kT)C=fT+k(z−y₀+fT²/2). The positive variation energy makes this stationary curve the unique minimizer.
| Quantity | Exact result |
|---|---|
| Euler–Lagrange interior | y″=−f |
| Initial slope C | 2 |
| Exact curve | y(t)=0 + (2)t − (1)t² |
| Terminal value | 1 |
| y′(T) / k(y(T)−z) | (0, 0) |
| Natural boundary balance | 0 |
| Positive variation energy | ∫η′² + kη(T)² > 0 for nonzero η with η(0)=0. |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| T | 1 |
| f | 2 |
| k | 0 |
| z | 0 |
| y0 | 0 |
An integral constraint selects an exact parabolic extremal
A positive signed area
The specified plus-sign Lagrangian yields −y″+λ=0. The fixed ends give the parabola and its integral is C T³/6. Every feasible variation has zero area, so its first-order cross term against the constant y″ vanishes. The remaining quadratic variation is strictly positive for a nonzero feasible variation.
| Quantity | Exact result |
|---|---|
| Curve coefficient in C t(T−t) | 6 |
| Midpoint | 3/2 |
| Signed area | 1 |
| λ=y″ | −12 |
| Energy ½∫y′² | 6 |
| Admissible endpoint and area variations | η(0)=η(T)=0 and ∫η=0 |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| T | 1 |
| A | 1 |
Velocity curvature alone does not settle the second variation
Below the first eigenvalue
The sharp Poincaré inequality is ∫η² ≤ (T/π)²∫η′² for zero-endpoint functions, with equality precisely in the first eigendirection. Below the threshold it gives Q≥(1−r)∫η′². At equality Q is nonnegative with a kernel. Above it the first sine yields a negative second variation, even though the velocity term retains positive curvature.
| Quantity | Exact result |
|---|---|
| κ divided by π²/T² | 1/2 |
| Integral η² | 1/2 |
| Derivative contribution ∫η′² | π²/2 |
| Potential contribution κ∫η² | π²/4 |
| Q for the first sine | π²/4 |
| Coefficient of π² in Q | 1/4 |
| For all variations | Coercive |
| Decision for a quadratic functional at zero | Unique minimum; coercive quadratic form |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| T | 1 |
| r | 1/2 |
A weak solution conserves weighted flux across an interface
Lower slope in the heavier material
The first variation asks for ∫a(t)y′η′=0 on fixed-end test functions, hence a(t)y′ is constant in the weak sense. Integrating y′=C/a(t) and imposing the end values fixes C. The positive weighted derivative energy of any nonzero zero-endpoint difference proves uniqueness.
| Quantity | Exact result |
|---|---|
| Compliance s/a₁+(T−s)/a₂ | 3/2 |
| Constant flux a(t)y′ | 2 |
| Left / right slopes | (2, 1) |
| Continuous interface value | 2 |
| Minimum energy | 3 |
| Weak interface condition | a₁ y′(s−)=a₂ y′(s+); y is continuous. |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| T | 2 |
| s | 1 |
| a1 | 1 |
| a2 | 2 |
| y0 | 0 |
| yT | 3 |
An endpoint-preserving sinusoid has an exact energy gap
A positive perturbation rises above the path
The affine curve has constant derivative. Its cross term with any admissible perturbation is proportional to the perturbation’s difference at the endpoints, which vanishes. The additional energy here is ½ ε² (π/T)²∫cos²(πt/T)dt = ε²π²/(4T).
| Quantity | Exact result |
|---|---|
| Affine slope | 1 |
| Minimum value ½∫y′² | 1/2 |
| Signed amplitude ε | 1/4 |
| Cross term | 0 |
| Exact nonnegative gap | 1/64·π² |
| Perturbed energy | 1/2 + 1/64·π² |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| T | 1 |
| y0 | 0 |
| yT | 1 |
| eps | 1/4 |
A finite trial space has a computable energy error
The exact solution belongs to the trial space
The exact equation is −y″=t^p with both endpoints zero. Restrict the first variation to multiples of φ to solve the scalar Ritz equation. The exact first variation on y_R−y vanishes, so J[y_R]−J[y] equals half the squared derivative difference. Both energies can be computed by integrating polynomials exactly.
| Quantity | Exact result |
|---|---|
| Exact curve | (1/2)(t−t^2) |
| Trial shape φ | t(1−t) |
| ∫φ′² | 1/3 |
| Force moment ∫t^pφ | 1/6 |
| Ritz coefficient | 1/2 |
| Exact J[y] / J[y_R] | (−1/24, −1/24) |
| Energy gap ½∫(y′−y_R′)² | 0 |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| p | 0 |
Worked examples
Straight path with finite energy
Minimize one half integral_0^2 y_prime^2 with y(0)=1,y(2)=5; give the path, energy and equality certificate.
- The density is L=v^2/2, so its momentum is p=v and the Euler–Lagrange equation is y_double_prime=0. Its classical solutions are affine. The endpoint values give slope (5-1)/(2-0)=2 and intercept 1, hence y_star(x)=1+2x. Both endpoints are fixed, so constant nonzero momentum 2 is permitted; a natural zero-momentum condition is not part of this problem.
- Substitution gives J[y_star]=(1/2)integral_0^2 4 dx=4. This value also agrees with the endpoint-displacement bound (5-1)^2/(2*2)=4. The interval length is included in that denominator, so the value would change if the same displacement were required over a different duration or length coordinate.
- For any H1 competitor write y=y_star+eta, where eta(0)=eta(2)=0. Expanding the squared derivative gives J[y]-4=2 integral_0^2 eta_prime dx+(1/2)integral_0^2 eta_prime^2 dx. The linear term is 2[eta(2)-eta(0)]=0, leaving the claimed nonnegative exact gap.
- Equality forces eta_prime=0 almost everywhere. The homogeneous endpoint trace then makes eta the zero curve, proving uniqueness on the full admitted H1 class, rather than just among affine candidates. The calculation is a global certificate for this unconstrained Euclidean energy; an obstacle excluding the straight path would require a different attainment argument.
The unique path is y(x)=1+2x on [0,2], with energy 4 and constant momentum 2. The gap to any admitted competitor is one half integral_0^2(y_prime-2)^2.
A distributed load with fixed ends
For J=integral_0^1(one half y_prime^2-2y) and zero endpoints, find the extremal and its exact energy-gap identity.
- Here L=v^2/2-2y, so L_y=-2 and p=v. Euler–Lagrange gives -2-y_double_prime=0, or y_double_prime=-2. The general solution is -x^2+A x+B. The prescribed endpoint values set B=0 and A=1, giving y_star=x-x^2 with derivative 1-2x.
- The derivative-energy contribution is (1/2)integral_0^1(1-2x)^2 dx=1/6. The load contribution is -2 integral_0^1(x-x^2)dx=-1/3. Their sum is -1/6. A negative minimum is consistent with a positive derivative energy because the external-load term is a separate negative linear contribution.
- For a homogeneous perturbation eta, the linear part of the expanded functional is integral[(1-2x)eta_prime-2eta]. Integration by parts gives [ (1-2x)eta ]_0^1+2 integral eta-2 integral eta=0. Thus the remaining difference is exactly half the squared derivative norm, with no uncomputed nonlinear remainder.
- This proves a global minimum on the admitted zero-endpoint H1 class. Equality requires eta_prime=0 and therefore eta=0, proving uniqueness. The same full weak identity is also valid for test functions without classical second derivatives. Boundary reactions need not vanish because endpoint displacements were prescribed rather than left free.
The unique global minimizer is y_star=x(1-x), with J=-1/6. For every zero-endpoint perturbation eta, the exact gap is J[y_star+eta]-J[y_star]=(1/2)integral eta_prime^2.
A terminal spring cost
Minimize one half integral_0^1 y_prime^2+(2/2)(y(1)-3)^2 with y(0)=0 and free terminal value; check its boundary sign and value.
- The interior derivative energy again gives y_double_prime=0. The fixed initial value makes an interior candidate y(x)=a x. The terminal cost is Phi(z)=(z-3)^2, whose derivative is 2(z-3). Since the terminal value is free at the fixed time 1, the actual boundary equation is p(1)+Phi_prime(y(1))=0.
- Substituting the affine candidate yields a+2(a-3)=0, so 3a=6 and a=2. The terminal momentum 2 is balanced by the endpoint cost gradient -2. A sign-reversed condition would solve a different problem. The derivative energy is (1/2)*4=2 and the endpoint cost is (2-3)^2=1, giving total 3.
- For y=2x+eta with eta(0)=0, the expanded linear terms are 2 integral eta_prime-2eta(1)=2eta(1)-2eta(1)=0. The quadratic terms are (1/2)integral eta_prime^2+eta(1)^2. They are nonnegative and are exactly the objective difference because the entire functional is quadratic.
- If the gap is zero then eta_prime=0 almost everywhere and eta(0)=0, so eta=0. The candidate is therefore the unique global minimum over the admitted H1 curves with that initial value. This example tests the endpoint sign and the full objective, not merely the interior affine equation; it also illustrates how a positive terminal cost changes the natural condition without changing the interior differential equation.
The terminal condition is y_prime(1)+2(y(1)-3)=0. It gives y_star(x)=2x and total minimum 3; the exact perturbation gap is one half integral eta_prime^2+eta(1)^2.
A prescribed integral area
Minimize one half integral_0^1 y_prime^2 with zero endpoints and integral_0^1 y=1/3; derive the normal multiplier and a global certificate.
- The constraint is G[y]=integral_0^1 y dx=1/3, with zero endpoint values. Its differential is DG(eta)=integral eta and is nonzero, for example on eta=x(1-x). The normality premise is therefore satisfied. Use the augmented density v^2/2+lambda*y; subtracting the constant lambda/3 from the action would not alter its stationarity.
- Euler–Lagrange for the augmented density gives y_double_prime=lambda. With zero endpoints, y=-(lambda/2)x(1-x). Its integral is -lambda/12, so the area condition requires lambda=-4 and y_star=2x(1-x). Direct integration confirms integral y_star=2(1/2-1/3)=1/3.
- The derivative is 2-4x. Its half-squared integral is (1/2)[4-8+16/3]=2/3. To certify the constrained optimum, take any other admitted feasible curve y=y_star+eta. Then eta has zero endpoint traces and integral eta=0. The cross term is integral y_star_prime eta_prime=-integral y_star_double_prime eta=4 integral eta=0.
- Thus the exact constrained gap is (1/2)integral eta_prime^2, proving globality and uniqueness exactly as in the derivative-energy argument. The constant multiplier is tied to one global area constraint; replacing it by an arbitrary function would impose a different pointwise problem. The attained feasible curve, its qualification and the original plus-multiplier convention have all been checked.
The minimizer is y_star=2x(1-x), the normal multiplier in L+lambda*y is lambda=-4, and the minimum derivative energy is 2/3.
An autonomous hyperbolic extremal
For J=one half integral_0^(log2)(y_prime^2+y^2),y(0)=0,y(log2)=3/4, find the extremal, Beltrami constant and exact value.
- For L=(v^2+y^2)/2, Euler–Lagrange is y-y_double_prime=0. The general solution is A exp(x)+B exp(-x). The initial value gives B=-A. Since sinh(log2)=(2-1/2)/2=3/4, the terminal condition requires 2A=1, so y=sinh x and y_prime=cosh x.
- The autonomous Beltrami quantity is L-pv=(y^2-v^2)/2. For the computed curve, cosh^2 x-sinh^2 x=1, so this equals -1/2 everywhere. It is the density-sign convention used in the moving-end formula; its negative would also be constant but is a different named sign convention.
- Along y_double_prime=y, the derivative of y*y_prime is y_prime^2+y*y_double_prime=y_prime^2+y^2. Therefore J=[y*y_prime]_0^(log2)/2. At the terminal point y=3/4 and y_prime=(2+1/2)/2=5/4, giving J=(1/2)*(3/4)*(5/4)=15/32. The initial boundary product is zero.
- For a zero-endpoint perturbation eta, stationarity cancels the linear term and the gap is (1/2)integral(eta_prime^2+eta^2), strictly positive unless eta vanishes. This supplies a global unique-minimum proof in addition to the first integral. Conservation alone would not have provided that classification for an arbitrary autonomous density.
The unique extremal and global minimizer is y=sinh x. Its Beltrami quantity is -1/2 and J=15/32 over [0,log2].
Planar rotational conservation
For the free planar quadratic energy and y(t)=(1+t,2-t) on [0,1], compute momentum, energy and the conserved angular Noether quantity.
- The planar density L=(v1^2+v2^2)/2 has momentum p=v. For y(t)=(1+t,2-t), the velocity is (1,-1) and acceleration is zero, so it solves both Euler–Lagrange equations. Translation symmetry gives the two constant momentum components directly; it does not make the endpoint values free.
- The squared speed is 1^2+(-1)^2=2, so L=1 and the energy integral over duration 1 is 1. The corresponding autonomous Beltrami quantity is L-p dot v=1-2=-1. The curve is the affine connector from (1,2) to (2,1), so its fixed-endpoint energy also attains the Dirichlet lower bound.
- For an infinitesimal rotation choose xi=(-y2,y1), tau=0 and B=0. The velocity variation is (-v2,v1), and v dot(-v2,v1)=0, verifying the density symmetry. Noether gives p dot xi=-p1*y2+p2*y1, which here is -(2-t)-(1+t)=-3 for every t.
- This interior conservation calculation uses a genuine exact rotation symmetry of the Euclidean density. The rotated curve usually has rotated endpoints, so it need not solve the same complete fixed-endpoint problem, even though the first integral holds on its interior. There is no inference about a torque model, a numerical conservation tolerance or a different anisotropic metric without their corresponding assumptions.
Momentum is (1,-1), energy on [0,1] is 1, and the rotational Noether quantity y1*p2-y2*p1 is the constant -3.
A conjugate endpoint and an interior conjugate point
Analyse Q=integral(eta_prime^2-eta^2) on [0,pi], then show a negative variation on [0,3*pi/2] and give the exact functional value for that sine test.
- For Q=integral(eta_prime^2-eta^2) on [0,pi], the first Dirichlet threshold is (pi/pi)^2=1. The sharp Poincare inequality gives Q>=0, and eta=sin x attains equality. Thus the associated quadratic functional J=Q/2 has a family c sin x of global minimizers, so zero is not a strict minimum even though it is a minimum.
- The scalar Jacobi equation is eta_double_prime+eta=0 with C=1. Its nontrivial solution sin x vanishes first again at x=pi. On the first interval that is a terminal conjugate point and gives only a zero second-variation direction. Extending the full interval to [0,3*pi/2] puts that same conjugate point strictly inside, where the obstruction theorem applies.
- A direct smooth negative test on the larger interval is eta=sin(2x/3), which vanishes at both endpoints. Its squared integral is 3*pi/4, and its squared-derivative integral is (4/9)*(3*pi/4)=pi/3. Hence Q=pi/3-3*pi/4=-5*pi/12 and J=-5*pi/24, checking the sign and the second-variation factor explicitly.
- Multiplying that test by an arbitrarily small nonzero amplitude already lowers the value near zero, while arbitrarily large amplitudes make the quadratic functional unbounded below. This distinguishes the two endpoint locations rather than treating every zero of a Jacobi field as the same event. The classification uses the exact quadratic objective; a terminal zero mode in a nonlinear objective can require higher-order information.
On [0,pi],Q[sin x]=0 and all multiples minimize the quadratic functional at value 0. On [0,3*pi/2], eta=sin(2x/3) gives Q=-5*pi/12 and J=Q/2=-5*pi/24.
A weak minimum that is not strong
For J=integral_0^1(y_prime^2-y_prime^4), zero endpoints, show y=0 is a C1 weak minimum but fails strong C0 minimality using admitted triangular needle curves.
- For L(v)=v^2-v^4, the zero curve has p=L_v=0 and satisfies the interior and fixed-endpoint stationarity equations. Its velocity Hessian is L_vv(0)=2>0. If a competitor has ||y_prime||_infinity<=r<1, its integrand is y_prime^2(1-y_prime^2)>=(1-r^2)y_prime^2. Thus J>=0, with equality only for the zero derivative and, by the endpoint trace, the zero curve.
- Choose an interior interval of total length 2*epsilon. Let a continuous triangular curve rise from zero with slope +2 for length epsilon and fall with slope -2 for the next epsilon, and be zero elsewhere. Its amplitude is 2*epsilon, so it converges uniformly to zero. On both nonzero-slope pieces L=4-16=-12, giving total J=-24*epsilon<0.
- This is already an admitted piecewise smooth competitor. If globally C1 or smooth competitors are required, extend the needle by zero and mollify at a scale delta=o(epsilon) while its support remains in the interior. The slopes stay bounded by 2, the altered corner regions have total length O(delta), and continuity of the polynomial integrand makes the energy change O(delta). The value remains negative for sufficiently small delta, with uniform amplitude still tending to zero.
- The Weierstrass excess at the zero curve for replacement velocity 2 is L(2)-L(0)-p(0)*2=-12, agreeing with the strong-minimum failure. Small C1 perturbations exclude that finite slope, while small C0 perturbations need not. This example therefore separates the topologies and shows why positive infinitesimal curvature or a coercive local second variation does not automatically establish a strong minimum.
Zero is a strict local minimum in a sufficiently small C1 neighborhood, but not a strong C0 minimum. A triangular needle with slopes +2,-2 has value -24*epsilon and uniform amplitude 2*epsilon.
A corner that survives the matching test
For J=integral_0^1(y_prime^2-1)^2 with zero endpoints, check the triangular path with slopes +1,-1, momentum and Beltrami matching, and its global value.
- The density L=(v^2-1)^2 is nonnegative for every real velocity. The triangular path has derivative +1 on the first half and -1 on the second, zero endpoint values and a continuous common value 1/2 at the corner. Its density is zero almost everywhere, so J=0, already attaining the global lower bound in the admitted piecewise smooth or W1,4 class.
- The momentum is p=4v(v^2-1), which vanishes at both +1 and -1. The Beltrami quantity L-pv therefore also vanishes on both pieces. The two freely moving corner matching conditions hold: neither momentum nor L-pv jumps at the common corner, even though the velocity does.
- Each open piece satisfies the interior equation p_prime=0 because L has no dependence on y. The full first variation is integral p eta_prime=0, with the corner contribution already zero. The velocity Hessian 12v^2-4 equals 8 on both selected branches, but the momentum map is not globally injective; it has the same value at different slopes. Local regularity on a branch cannot eliminate this global branch distinction.
- There can be other zero-energy paths whose slopes are +1 or -1 almost everywhere and whose total displacement is zero. Thus global minimality here is not uniqueness. Adding the positive y^2 term from the nonattainment example changes the objective: the triangular paths then have positive value and ever finer oscillations approach a missing zero-energy minimum. The matching test and the global lower bound belong to the exact density actually stated.
The triangular path y=x for x<=1/2 and y=1-x afterward has J=0,p_minus=p_plus=0 and matching Beltrami quantity 0. It is a global minimizer despite its derivative jump.
A Poisson field with an exact energy
On the unit square with zero boundary values, set u=x(1-x)y(1-y) and f=2[y(1-y)+x(1-x)]. Verify its Dirichlet-energy equation and compute J=integral(one half||grad u||^2-fu).
- For u=x(1-x)y(1-y), u_xx=-2y(1-y) and u_yy=-2x(1-x). Hence -Delta u=2[y(1-y)+x(1-x)]=f. The product vanishes on every edge of the unit square, giving the prescribed full Dirichlet boundary values. The sign agrees with the density L=||grad u||^2/2-fu.
- Use the exact one-dimensional integrals integral_0^1 s(1-s)ds=1/6, integral[s(1-s)]^2=1/30 and integral(1-2s)^2=1/3. The two squared gradient components integrate to (1/3)*(1/30) each, so their sum is 1/45. The source pairing is 2[(1/6)*(1/30)+(1/30)*(1/6)]=1/45 as well.
- Therefore J[u]=(1/2)*(1/45)-1/45=-1/90. This also follows from multiplying the PDE by u and integrating by parts, because u vanishes on the boundary. Keeping the half in the energy separate from the full source pairing avoids an erroneous factor of two in the objective value.
- For any other admitted H1 field with the same trace, write it as u+eta. The weak PDE cancels the linear term, leaving J[u+eta]-J[u]=(1/2)integral||grad eta||^2. A zero gradient makes eta constant on the connected square, and its zero boundary trace makes that constant zero. Thus the field is the unique global minimizer, not merely one solution of the interior equation.
The field solves -Delta u=f with zero boundary values. Integral||grad u||^2=integral f*u=1/45, so J=-1/90 and the Dirichlet energy-gap identity proves uniqueness.
A clamped uniformly loaded beam
For J=integral_0^1(one half y_double_prime^2-24y) with y=y_prime=0 at both ends, find the polynomial solution and its exact global energy.
- Here EI=1 and q=24, so the classical equation is y_fourth=24. The polynomial y=x^2-2x^3+x^4 has that fourth derivative. Its value and first derivative 2x-6x^2+4x^3 both vanish at 0 and 1, checking all four clamped boundary conditions rather than substituting the simply supported moment conditions.
- Its integral is 1/3-1/2+1/5=1/30. Multiplying y_fourth=24 by y and integrating twice gives integral y_double_prime^2=24 integral y=4/5; both boundary terms vanish because value and slope are clamped. The explicit second derivative 2-12x+12x^2 gives the same integral if expanded directly.
- The objective is therefore (1/2)*(4/5)-24*(1/30)=2/5-4/5=-2/5. Its endpoint moments y_double_prime are 2 at both ends and are not required to vanish. Those nonzero reactions are compatible with clamping, whereas imposing zero moment as an extra condition would change or overdetermine this problem.
- For a homogeneous clamped perturbation eta, the full stationarity equation removes the cross term and J[y+eta]-J[y]=(1/2)integral eta_double_prime^2. Equality makes eta affine; its clamped traces then make it zero. This proves the unique global minimum in the admitted H2 class, with the load and stiffness interpreted in the declared compatible units.
The clamped solution is y=x^2(1-x)^2, with integral y=1/30, integral y_double_prime^2=4/5 and minimum J=-2/5.
One sine mode as a Ritz trial space
For J=integral_0^1(one half y_prime^2-y), zero endpoints, use the single trial mode a*sin(pi*x). Derive a, the trial value and the exact gap relative to the continuum optimum.
- For y_h=a sin(pi*x), the derivative term contributes (a^2*pi^2/2)integral cos^2(pi*x)dx=a^2*pi^2/4. The load term is -a integral sin(pi*x)dx=-2a/pi. The exact continuum objective restricted to this one-dimensional trial space is therefore j(a)=a^2*pi^2/4-2a/pi, a strictly convex scalar quadratic.
- Its derivative is a*pi^2/2-2/pi, giving a=4/pi^3. Substitution yields the derivative-energy term 4/pi^4 and the load term -8/pi^4, so J[y_h]=-4/pi^4. The trial derivative vanishes only against multiples of the sine mode; this is its Galerkin stationarity condition, not yet the full weak equation.
- The continuum solution satisfies -y_double_prime=1 and has zero endpoints, hence y_star=x(1-x)/2. Its derivative-energy contribution is 1/24 and its load contribution -1/12, giving J[y_star]=-1/24. The exact gap is thus 1/24-4/pi^4. The quadratic energy identity shows this number is nonnegative without relying on a numerical approximation to pi.
- Indeed the gap equals (1/2)integral(y_h_prime-y_star_prime)^2 and is strictly positive because the sine curve is not the quadratic solution. The full interior residual is -y_h_double_prime-1=(4/pi)sin(pi*x)-1, which is not zero. This explicitly demonstrates why a zero finite-dimensional derivative does not by itself supply a zero residual or a zero gap in the continuum problem.
The Ritz coefficient is a=4/pi^3 and its continuum objective value is -4/pi^4. The exact optimum is -1/24, so the gap is 1/24-4/pi^4, half the squared derivative-energy error.
Try it yourself
Explain why a continuous nonzero first-variation residual can be detected by a smooth compactly supported test, including the vector case.
Show the answer and reasoning
A continuous nonzero residual has a component with a fixed strict sign on a small interior interval; testing that component with a nonnegative smooth bump gives a nonzero integral.
Suppose a scalar continuous residual f is nonzero at an interior point x0. If f(x0)>0, continuity gives an interval I contained in the domain and c>0 with f>=c on I. Choose a nonnegative smooth bump phi supported inside I and not identically zero. Then integral f phi>=c integral phi>0, so the residual cannot vanish against every allowed test. If f(x0)<0, use the same construction for -f or reverse the sign of the bump. The test stays compactly supported, so it changes no endpoint values. This sign argument detects an actual continuous residual on an interval; it does not use a single point evaluation as a substitute for an integral identity. For a vector residual choose a nonzero component f_j and set eta=e_j phi, with every other component zero. Its pairing is the scalar integral of f_j phi and is nonzero. Testing only one common direction in vector space would not detect a residual perpendicular to that direction, which is why componentwise test freedom is needed. A finite collection of tests is a weaker condition: many nonzero continuous functions can be orthogonal to a finite span. For merely integrable residuals the analogous unrestricted-test theorem gives equality almost everywhere, not values at arbitrary exceptional points. Thus the topology, regularity and full test space determine exactly what the variational residual statement proves.
For one half integral_0^1 y_prime^2,y(0)=0 and free y(1), classify affine interior extremals and identify which satisfies full stationarity.
Show the answer and reasoning
The interior extremals are y=a*x. Only a=0 has full free-terminal stationarity and is the unique global minimizer.
The density v^2/2 has Euler–Lagrange equation y_double_prime=0. Imposing only y(0)=0 leaves the affine family y=a x as interior solutions. Their momenta are the constants p=a. The problem does not prescribe y(1), so a test variation can have any small terminal value while retaining eta(0)=0. After using the interior equation, the first variation is a*eta(1). It vanishes for every such variation exactly when a=0. The nonzero affine candidates therefore fail the natural condition p(1)=0, even though each solves the differential equation and the initial value. This is an endpoint failure rather than an algebraic error in the interior equation. A direct decreasing direction for a nonzero candidate is eta=-a x. The admissible family y+t eta=(1-t)a x has energy a^2(1-t)^2/2 and derivative -a^2 at zero. It lowers the value for sufficiently small positive t while changing only the permitted free terminal value. The zero curve has energy zero, and the squared-derivative integral is nonnegative for every competitor. Equality implies a zero derivative and then, by the initial value, the zero curve. Thus its classification is a unique global minimum on the stated H1 class, stronger than simply satisfying the natural boundary equation.
For one half integral_0^1 y_prime^2-y(1)^2 with y(0)=0, derive the natural condition and decide whether the zero extremal is a minimum.
Show the answer and reasoning
The natural terminal equation is y_prime(1)-2*y(1)=0 and its only affine extremal is 0. Nevertheless the functional is unbounded below; zero is a saddle in the full curve space.
The interior equation remains y_double_prime=0, and the fixed initial value gives y=a x. The terminal reward is Phi(z)=-z^2, so Phi_prime=-2z. The natural condition is p(1)+Phi_prime(y(1))=a-2a=-a=0, giving a=0 as the only fully stationary affine candidate. On that same feasible affine family, J[a x]=a^2/2-a^2=-a^2/2. Hence every nonzero a lowers the value below zero, and sending |a| to infinity makes J tend to minus infinity. Arbitrarily small a also disproves local minimality in the C1 topology. Zero is not a maximum on the full class either. A perturbation y=t sin(pi*x) retains initial value zero and also has terminal value zero, so its reward term vanishes while its derivative energy is t^2*pi^2/4>0. There are therefore both positive and negative objective changes arbitrarily close to the stationary zero curve. The correct classification is a saddle in the full variation space, with a maximum only along the affine subfamily. The negative endpoint cost has defeated the otherwise positive interior energy. This demonstrates why an interior positive velocity Hessian and a satisfied natural condition do not replace a complete second-variation or global coercivity analysis.
Minimize integral_0^b(1+one half y_prime^2),y(0)=0,y(b)=1,b>0. Derive the transversality equation, optimal duration, path slope and value.
Show the answer and reasoning
The optimal duration is b=1/sqrt(2), the slope is sqrt(2), and the minimum is sqrt(2). Transversality is 1-y_prime(b)^2/2=0.
For any fixed b>0, the endpoint displacement is one. The Dirichlet bound gives integral_0^b y_prime^2/2>=1/(2b), attained uniquely by y=x/b. The additional constant density contributes b, so the full free-duration problem reduces rigorously to minimizing j(b)=b+1/(2b) over positive b. The derivative is j_prime=1-1/(2b^2), which vanishes at b=1/sqrt(2). Since j_double_prime=1/b^3>0 and j tends to infinity at both zero and infinity, this is the unique duration minimum. Its value is 1/sqrt(2)+sqrt(2)/2=sqrt(2), and the corresponding slope 1/b is sqrt(2). The terminal value remains the fixed height 1 while the terminal coordinate b moves, so its actual displacement Delta_Y is zero. The moving-end boundary equation is L-pv=0. For L=1+v^2/2 and p=v, it is 1-v^2/2=0, agreeing exactly with the optimizing slope. The argument checks both the curve problem at each fixed duration and the separate duration choice. Using the fixed-time free-value condition p=0 would be incorrect because the terminal height is fixed. The positive duration and admitted endpoint family are essential, and the value depends on the stated constant running cost and quadratic coefficient.
Compare L=one half v^2 and L_tilde=one half v^2+y+x*v on a fixed interval. Check the interior equations and explain the different terminal natural condition.
Show the answer and reasoning
The densities differ by D_x(x*y). Both give y_double_prime=0 in the interior; at a free terminal value the new condition is y_prime(b)+b=0 instead of y_prime(b)=0.
Let F(x,y)=x*y. Its total derivative along a curve is y+x*y_prime, so L_tilde-L=D F. Their actions differ by b*y(b)-a*y(a). With both endpoint times and values fixed this difference is constant, proving exact equivalence of the fixed-endpoint minimization and stationarity problems. For L_tilde=v^2/2+y+xv, the curve derivative is L_tilde_y=1 and its momentum is p_tilde=v+x. Therefore L_tilde_y-(p_tilde)_prime=1-(y_double_prime+1)=-y_double_prime, the same interior residual as for the original derivative density. If the terminal value is free at a fixed b and there is no compensating endpoint cost, the old condition is v(b)=0 while the new one is v(b)+b=0. The added boundary term b*y(b) has derivative b with respect to that value. It changes the actual problem even though it has not changed the interior differential equation. Subtracting the added endpoint difference as explicit endpoint costs would restore full equivalence. The initial sign is opposite because the total derivative integrates to upper minus lower endpoint. Thus the phrase total derivative must always be paired with boundary bookkeeping; it does not authorize deleting a physical endpoint force or a free-end cost.
With zero endpoints and integral_0^1 y^2=0, minimize integral_0^1 y. Explain why the feasible optimum has no normal constant-multiplier Euler–Lagrange equation.
Show the answer and reasoning
The only feasible curve is 0 and its objective is 0. The constraint differential is zero there, so no finite normal multiplier can cancel the nonzero objective differential.
The constraint integral_0^1 y^2=0 has a nonnegative integrand. It forces y=0 almost everywhere and, for the continuous representative in the stated class, everywhere. With zero endpoints this curve is feasible and is automatically the constrained optimum, with objective integral y=0. At zero the constraint differential is DG(eta)=2 integral y eta=0 for every variation. The objective differential is DJ(eta)=integral eta, which is not identically zero: eta=x(1-x) has integral 1/6. Thus the nonzero-differential qualification in the normal isoperimetric theorem fails exactly here. The augmented density for a putative normal multiplier is y+lambda*y^2. Its Euler–Lagrange residual is 1+2lambda*y, with no velocity term. At the feasible zero curve it equals 1 for every finite constant lambda, so it cannot satisfy the unrestricted augmented stationarity equation. There is no contradiction with the actual constrained optimum, because its true feasible perturbations are only the zero curve, whereas linearizing the flat constraint incorrectly admits every direction. An abnormal formulation can have zero objective coefficient, but normalizing that coefficient to one would remove this case. The failure concerns a multiplier representation under lost qualification, not existence of the feasible optimum.
For quadratic planar energy with |y|^2=1, check y=(cos(omega*x),sin(omega*x)) and compute the pointwise multiplier in L+lambda(|y|^2-1). Does stationarity certify every winding is globally shortest?
Show the answer and reasoning
The multiplier is lambda=-omega^2/2 in the plus-constraint convention. These circle curves are stationary, while nonzero full windings can have larger energy and length than a constant competitor with the same endpoints.
For y=(cos(omega*x),sin(omega*x)), the constraint |y|^2=1 is exact and its gradient 2y never vanishes. The velocity is omega*(-sin(omega*x),cos(omega*x)) and acceleration is -omega^2*y. Thus the regular pointwise constraint geometry and the classical derivatives are both available. For the augmented density |v|^2/2+lambda(x)(|y|^2-1), the Euler–Lagrange equation is 2lambda*y-y_double_prime=0. Substitution gives (2lambda+omega^2)y=0, and the unit norm of y forces lambda=-omega^2/2. The pointwise multiplier happens to be constant on this particular uniform-speed curve. Stationarity does not imply every winding is shortest. Over duration T, choose omega*T=2*pi*k for a nonzero integer k. The endpoints are both (1,0), but the rotating path has energy omega^2*T/2>0 and positive length, whereas the constant unit-circle path has the same endpoints with energy and length zero. The example keeps the holonomic constraint and its sign convention intact. It does not infer minimization from an arbitrary mechanical centripetal-force interpretation or from the existence of a multiplier. For different endpoints, multiple arc branches likewise require an actual comparison or a separate local/global theorem rather than a stationary-equation label.
For J=one half integral_0^1 y_prime^2 with zero endpoints, test the triangular slopes +1,-1 path against the free-corner condition and a decreasing variation.
Show the answer and reasoning
The triangular path has momentum jump from +1 to -1 and fails the free-corner condition. Its energy is 1/2 and scaling it toward zero decreases that energy.
The path is y=x on the first half and y=1-x on the second, with common corner value 1/2 and zero outside endpoint values. For the density v^2/2, momentum is v. Hence the left momentum is +1 and the right momentum -1, so p_minus-p_plus=2 rather than zero. Even if the corner location 1/2 is held fixed, its common value can vary. The corner first variation is 2*Delta_Y, which is negative when that value decreases. Fixing a corner location removes the energy-density matching test, but does not remove the momentum matching test for a free common value. A direct family is y_t=(1-t)y with the same zero endpoints and fixed corner location. Its value is J[y_t]=(1-t)^2/2, because both slope magnitudes are 1-t over total length one. The derivative at zero is -1, so the path is not a local minimum in its admitted piecewise smooth class. The constant zero curve gives the global lower bound zero for this nonnegative derivative energy. Unlike the double-well density with equal momenta at slopes +1 and -1, this strictly convex quadratic has an injective momentum map. Its derivative jump therefore cannot survive the necessary matching condition, even though both open pieces separately solve the interior equation.
For J=-one half integral_0^1 y_prime^2, zero endpoints, check the zero extremal and the sine perturbation. Give its exact value and local/global conclusion.
Show the answer and reasoning
Zero is stationary but is the unique global maximum, not a minimum. The sine perturbation has J=-t^2*pi^2/4 and gives unbounded decrease as |t| grows.
For L=-v^2/2, the momentum is p=-v and the interior equation is y_double_prime=0. The zero curve satisfies it and the fixed endpoint data. However its velocity Hessian is the negative number -1, violating the necessary Legendre semidefiniteness condition for a minimum. Take the allowed smooth perturbation y=t sin(pi*x). Its derivative is t*pi*cos(pi*x), so J=-(t^2*pi^2/2)integral_0^1 cos^2(pi*x)dx=-t^2*pi^2/4. Any nonzero amplitude lowers the objective below zero, including arbitrarily small amplitudes in the C1 norm. Sending the amplitude magnitude to infinity makes this value tend to minus infinity, so the functional has no finite lower minimum on the declared zero-endpoint class. Conversely J<=0 for every curve because it is the negative of a squared derivative integral. Equality forces a constant curve and hence, by the endpoint traces, exactly the zero curve. Thus zero is the unique global maximum in this example. The conclusion follows from the complete density and admitted variations, not merely from a zero Euler–Lagrange residual. It also separates a genuine maximum from the terminal-reward example, whose competing positive and negative directions made it a saddle instead.
At y=0 with zero endpoints, compare J_plus/minus=integral_0^1[one half y_prime^2-one half*pi^2*y^2 plus/minus y^4]. Use the first sine mode and the sharp inequality to classify both cases.
Show the answer and reasoning
The plus-quartic functional has the unique strict global minimum 0 at the zero curve; the minus-quartic functional has decreasing sine perturbations and is unbounded below. Both have the same degenerate second variation.
For either sign, the first variation at zero vanishes and the second variation is Q[eta]=integral(eta_prime^2-pi^2 eta^2). The sharp zero-endpoint Poincare inequality gives Q>=0, with equality for the first sine mode. The quartic term contributes nothing to this second differential at zero, so the two functionals cannot be distinguished by that test alone. For y=t sin(pi*x), the quadratic part is zero. The identity sin^4 s=(3-4cos(2s)+cos(4s))/8 gives integral_0^1 sin^4(pi*x)dx=3/8. Consequently J_plus=3t^4/8 and J_minus=-3t^4/8 along the same exact family. For every nonzero admitted H1 curve, J_plus is a nonnegative quadratic part plus a strictly positive integral y^4. Thus zero is its unique strict global minimum. However its gap along the sine family is of order t^4 while the squared H1 norm is of order t^2, so no fixed positive local quadratic-growth constant in that norm follows at zero. For the minus sign, arbitrarily small nonzero t lowers the value, and large amplitudes give unbounded decrease. This is a concrete endpoint-conjugacy degeneracy where higher-order terms decide the outcome. Positive Legendre curvature and nonnegative second variation are present in both cases; neither supplies a sufficient classification without the actual remainder information.
Use Q[eta]=integral_a^b(eta_prime^2-eta^2) dx with zero endpoint traces on each stated interval. Explain why w=sin x on [0,pi] does not meet a closed-interval positive-solution factorization hypothesis. Contrast w=cos x on [0,pi/4] and state the exact completed-square form.
Show the answer and reasoning
sin x vanishes at the endpoints of [0,pi], so its cotangent logarithmic derivative and the closed-interval positive lower bound are unavailable. On [0,pi/4], cos x gives Q=integral(eta_prime+tan(x)*eta)^2 for fixed-endpoint eta.
The field w=sin x solves w_double_prime+w=0 and is positive only in the open interval (0,pi). It is zero at both endpoints, so min_[0,pi] w=0 and r=w_prime/w=cot x is unbounded near the boundary. The sufficient factorization theorem required a positive solution on the closed interval precisely to exclude these singular denominators and obtain a uniform coercivity bound. The failure is substantive: eta=sin x belongs to H01(0,pi) and gives integral(eta_prime^2-eta^2)=0. A strictly positive H1 coercivity constant for that form would contradict this nonzero null direction. A formal square identity for compactly supported tests may still hold with the singular r, but it does not justify the missing uniform bound or its extension by the closed-interval argument. On [0,pi/4], choose w=cos x. It solves the same Jacobi equation and has minimum cos(pi/4)>0. Its logarithmic derivative is r=-tan x. With A=-1,B=0,C=1, the complete identity is Q=integral(eta_prime+tan x*eta)^2+[-tan x*eta^2]_0^(pi/4). Fixed zero endpoint traces remove the boundary term. The positive-Jacobi proof now supplies a genuine coercive form. The sharp interval inequality also gives Q>=15*integral eta_prime^2/16 because the first Dirichlet eigenvalue is 16 on this shorter interval. These conclusions retain the actual interval and homogeneous endpoint conditions rather than treating the same auxiliary formula as valid under every endpoint configuration.
For fixed endpoints y(0)=0,y(1)=1, restrict one half integral_0^1 y_prime^2 to curves with integral y_prime^2>1. Find the infimum and prove it is not attained.
Show the answer and reasoning
The infimum is 1/2 and is not attained. The excluded affine curve y=x is approached by y_epsilon=x+epsilon*sin(pi*x), whose energies are 1/2+epsilon^2*pi^2/4.
For any curve joining 0 to 1 over [0,1], the derivative variance identity gives integral y_prime^2>=1, with equality only for y=x. The imposed strict condition integral y_prime^2>1 excludes exactly that equality case. Every admitted curve therefore has J>1/2, so 1/2 is a lower bound that no admitted curve can attain. For epsilon not zero, y_epsilon=x+epsilon*sin(pi*x) has the same endpoint values. Its derivative is 1+epsilon*pi*cos(pi*x). The cross integral is zero and integral cos^2=1/2, giving integral y_epsilon_prime^2=1+epsilon^2*pi^2/2 and J=1/2+epsilon^2*pi^2/4. These are admitted values tending to 1/2. The sequence converges to y=x in H1 and C1 as epsilon tends to zero, but its limit is outside the strictly constrained class. Thus the nonattainment is a genuine failure of closure of the admissible class, not of differentiability, positive velocity curvature or the availability of a bounded minimizing sequence. The direct-method existence theorem for the full fixed-endpoint H1 class is not contradicted: that class includes the affine minimizer. Restricting to a nonclosed subset changes the problem. Replacing the strict condition by a non-strict one would restore the equality curve and its attained value, so the literal inequality symbol belongs to the scientific statement.
For y(t)=(t^2,0),0<=t<=1, compute Euclidean length and energy and compare the constant-speed parameterization. State the limitation at the zero-speed endpoint.
Show the answer and reasoning
The curve has length 1 and energy 2/3. Its constant-speed version has energy 1/2; the original zero speed at t=0 falls outside the everywhere-positive-speed inverse-function hypothesis.
For y(t)=(t^2,0) on [0,1], the velocity is (2t,0), whose Euclidean norm is 2t. The length is integral_0^1 2t dt=1. The quadratic energy is (1/2)integral_0^1 4t^2 dt=2/3. Length and energy are therefore different quantities even for this straight geometric image. The constant-speed curve z(s)=(s,0) on the same unit interval has the same endpoints and image, length 1 and energy 1/2. It attains the length-energy lower bound ell^2/(2T)=1/2. The original curve has strictly nonconstant speed and strictly larger energy, in agreement with the equality case of Cauchy–Schwarz. The parameter change s=t^2 maps the image correctly, but its inverse t=sqrt s is not C1 at zero because the original speed vanishes there. Hence the closed-interval regular inverse-function reparametrization proof cannot be invoked literally. In this example the new curve is explicit and regular, so the comparison is independently established without that theorem. A zero-speed endpoint does not by itself imply infinite energy or forbid every weaker reparametrization. It simply requires the appropriate admitted regularity argument. Parameter-invariant length must not be described as invariant quadratic energy, and an equality claim for the latter requires constant metric speed under its actual fixed duration.
Use x=a(theta-sin theta), y=a(1-cos theta), downward y, and ideal release from rest at theta=0 at the origin, with constant downward g. For a=3,g=12 and theta=pi/2, compute the cycloidal horizontal/downward coordinates, travel time and mechanical speed. State what this stationary-arc calculation does not prove.
Show the answer and reasoning
Relative to x0=0, the point is (3*(pi/2-1),3). The ideal limiting travel time from theta=0 is pi/4, and the mechanical speed is 6*sqrt(2). This does not prove global fastest-path minimality.
Substitute a=3 and theta=pi/2 into x=a(theta-sin theta) and y=a(1-cos theta). Since sin(pi/2)=1 and cos(pi/2)=0, the horizontal displacement is 3(pi/2-1) and the downward coordinate is 3. An arbitrary starting horizontal offset would simply be added to that first coordinate. The stationary-arc time element is sqrt(a/g)dtheta. Here sqrt(3/12)=1/2, so integrating from a positive lower parameter to pi/2 and taking the ideal release limit gives T=(1/2)*(pi/2)=pi/4. This uses the finite improper limit; the release point itself is outside the positive-y C1 graph assumptions of the local derivation. The ideal mechanical speed follows from the declared gravity model as sqrt(2*g*y)=sqrt(2*12*3)=sqrt72=6sqrt2. It is not the graph slope dy/dx, which at this parameter is cot(pi/4)=1. The scale a has length units and g length per time squared, so sqrt(a/g) carries time units. The calculation verifies a cycloidal stationary arc and its ideal-model quantities. It does not supply admission of every singular endpoint, compare all competing paths, establish a globally fastest path or validate neglected drag and launch conditions. Upward versus downward coordinate conventions also matter because the density assumes positive downward y.
On the unit square, Dirichlet data u=0 are imposed only on x=0 and other edges are free. Is u=x stationary for one half integral||grad u||^2? Check flux and an admitted variation.
Show the answer and reasoning
u=x solves the interior Laplace equation but fails the free right-edge flux condition. The admitted variation eta=-x has DJ=-1, so it is not stationary.
The gradient of u=x is (1,0) and its Laplacian is zero. Its trace on the prescribed left edge x=0 is zero, so the essential boundary data are satisfied. On the right edge the outward normal is (1,0), giving natural flux grad u dot n=1 rather than zero. The horizontal edges have zero normal flux. The left edge is Dirichlet, so its nonzero outward flux is not a violation: trace variations vanish there. The right edge is free, so the unit flux is a real failure of the natural boundary condition. Interior harmonicity alone cannot remove that uncancelled boundary first variation. Choose eta=-x, which is admitted because it vanishes on the left edge and no other value is fixed. Directly DJ[u](eta)=integral_Omega(1,0) dot(-1,0)=-1 on the unit square. The family (1-t)x has energy (1-t)^2/2 and decreases at t=0, independently confirming the flux diagnosis. The zero field is an admitted zero-energy competitor. Nonnegativity of derivative energy and the left trace condition make it the unique global minimum on the connected domain. This illustrates a boundary-data issue rather than a wrong PDE sign or a need to reclassify harmonicity; the full weak problem always includes its actual boundary tests.
For a beam with EI=1,q=24 on [0,1], impose y=0 at both ends and leave slopes free. Derive natural moments, find the polynomial, and compare with the clamped solution.
Show the answer and reasoning
Free slopes impose y_double_prime(0)=y_double_prime(1)=0. The solution is y=x^4-2x^3+x, with J=-12/5; it differs from the clamped curve x^2(1-x)^2 and its value -2/5.
With EI=1 and fixed endpoint values, the higher-order boundary differential is [-y_triple_prime eta+y_double_prime eta_prime]. The value variations vanish, while slope variations are free, giving natural zero moments y_double_prime=0 at both ends. These replace the fixed-slope conditions of a clamped beam. Integrate y_fourth=24 as y=x^4+A x^3+B x^2+C x+D. The first endpoint value gives D=0; the first zero moment gives B=0. The terminal moment gives 12+6A=0, so A=-2, and the terminal value gives 1-2+C=0, so C=1. Thus y=x^4-2x^3+x, with endpoint slopes +1 and -1 rather than zero. Its integral is 1/5-1/2+1/2=1/5. Multiplying the beam equation by y and integrating twice gives integral y_double_prime^2=24/5 because values and natural moments kill the boundary terms. Therefore J=(1/2)*(24/5)-24*(1/5)=-12/5. The same value is certified globally by the quadratic energy-gap identity in the simply supported class. The clamped curve is feasible in this larger value-only class but is not its stationary solution, since its end moments are 2 rather than zero. The lower simply supported objective is consistent with having more freedom. Comparing the two requires retaining the changed endpoint conditions; one cannot call their different reactions or deflections a discrepancy in the same boundary-value problem.
For J=integral_0^1(one half y_prime^2-y), use the conforming piecewise affine mesh 0,1/2,1 with zero endpoints. Find the interior value, energy and continuum gap, and explain why a full-space residual can remain nonzero.
Show the answer and reasoning
The interior nodal value is 1/8, the exact continuum functional of the tent interpolant is -1/32, and the gap is 1/96. Its trial derivative is zero while its full residual is not.
Let z be the unknown at x=1/2 and use the continuous piecewise affine interpolant with zero endpoint values. Its slopes are +2z and -2z. Hence the derivative energy is 2z^2 and its triangular area is z/2, giving the exact continuum objective j(z)=2z^2-z/2. This is also the declared constant-load finite-element action for this mesh. The scalar derivative is 4z-1/2, so z=1/8 and j=-1/32. The central discrete equation gives the same result: -(0-2z+0)/(1/2)^2=1 implies 8z=1. The continuum solution y_star=x(1-x)/2 also has midpoint 1/8, but its curved pieces are not the tent interpolant. The continuum minimum is -1/24, so the exact energy gap is 1/24-1/32=1/96. Equivalently the squared derivative error is twice that gap, 1/48. Matching one nodal value or obtaining zero trial gradient has therefore not made the continuum objective or the entire curve exact. Take a nonnegative smooth test eta supported strictly inside the first element. The trial slope there is constant, so integral y_h_prime eta_prime=0, while -integral eta is nonzero. Thus the full weak differential remains nonzero outside the one-dimensional test space. A zero finite residual is not the full dual-norm certificate needed to assert zero continuum suboptimality.
For the same constant-load quadratic functional on H01(0,1), use the derivative norm and approximate curve 0. Compute the full first-variation dual norm via its Riesz representer and compare the resulting bound with the exact value gap.
Show the answer and reasoning
The Riesz representative of DJ[0] is r=-x(1-x)/2 and its derivative norm is 1/sqrt(12). With mu=1, the residual bound gives 1/24, exactly the objective gap.
Use V=H01(0,1) with inner product a(u,v)=integral u_prime*v_prime and norm ||u||_V=||u_prime||_L2. The functional is J[y]=||y||_V^2/2-integral y, so its strong-convexity constant in this particular norm is exactly 1. At the admitted approximate curve 0, the first differential is R(eta)=-integral eta. Let w=x(1-x)/2, the exact constant-load solution, so -w_double_prime=1. Integration by parts gives a(w,eta)=integral eta for every zero-trace eta. Therefore the Riesz representative of R is r=-w, not +w. Its derivative is x-1/2, whose squared integral is 1/12. Cauchy–Schwarz gives |R(eta)|=|a(r,eta)|<=||r||_V||eta||_V, and choosing eta proportional to r attains equality. Thus the full dual norm is epsilon=1/sqrt12. The rigorous strong-convexity certificate is epsilon^2/(2mu)=(1/12)/2=1/24. The exact objective gap is J[0]-J[w]=0-(-1/24)=1/24, so the bound is tight here. The norm was computed from a full Riesz representation, not inferred from a finite set of zero test values. A different variation norm changes mu and the dual norm together, and physical model-error transfer would still require its own verified uniform allowance.
What to carry forward
- A functional derivative acts on admitted variations. Its topology, integrability, endpoint data and regularity are part of the problem, rather than details to add after finding an equation.
- Euler–Lagrange is a stationarity equation. A minimum, an attained infimum and a global objective certificate each require additional reasoning.
- Boundary terms carry momentum, endpoint costs and the actual motion of the endpoint. Integral constraints need a rank qualification; holonomic multipliers and free-corner conditions have their own freedoms.
- Autonomy and symmetry give conserved quantities with precise sign conventions. Adding a total derivative preserves fixed-end equations while changing endpoint bookkeeping.
- Positive velocity curvature is only one second-order test. Interval eigenvalues, conjugate points, quantitative coercivity and uniform remainders decide what further conclusion is justified.
- C1 weak and C0 strong neighborhoods admit different perturbations. Needle variations detect strong-minimum failures that a derivative-small test can miss.
- Uniform coercivity and compactness can establish existence, while nonconvex derivative energy can lose weak lower semicontinuity and attainment. A larger admissible class can also change the answer.
- A conforming finite-space optimum is exact for that space. Continuum convergence, a full-space residual certificate and model-error transfer each retain their own quantitative assumptions.
References
Sources for the concepts and teaching approaches in this article.
Daniel Liberzon6 sources
- First variation, Euler–Lagrange and endpointsDaniel LiberzonPrimary · PDF
- The brachistochrone with a singular release pointDaniel LiberzonPrimary · PDF
- Momentum, energy and symmetryDaniel LiberzonPrimary · PDF
- Integral and holonomic constraintsDaniel LiberzonPrimary · PDF
- Second variation, Legendre and Jacobi conditionsDaniel LiberzonPrimary · PDF
- Free corners and the Weierstrass excessDaniel LiberzonPrimary · PDF
John K. Hunter5 sources
- Variations, regularity and metric energyJohn K. HunterPrimary · PDF
- Integral constraints and elastic-rod modelingJohn K. HunterPrimary · PDF
- The first mode and a change in stabilityJohn K. HunterPrimary · PDF
- The direct method and failures of attainmentJohn K. HunterPrimary · PDF
- Euler–Lagrange equations for fieldsJohn K. HunterPrimary · PDF