For fixed endpoint values, the Euler-Lagrange equation is
It follows by differentiating the functional along with , integrating the term by parts and applying the fundamental lemma of the calculus of variations.
For this quadratic integrand it becomes . If , write ; the condition at zero gives , and that at requires . Consequently is the only extremal when is not an integer. If is a positive integer, all extremals are
The integer case must be handled separately: with both endpoints zero has only . If negative real is allowed, the hyperbolic-function solutions also yield only zero under these endpoints. These statements concern stationary functions; no minimum is assumed.
Polar coordinates give speed squared , so unit mass has kinetic energy . The radial force is , giving after choosing the additive constant zero. Therefore is the stated expression.
The two Euler-Lagrange equations are
The second gives conservation of angular momentum . The mechanical energy is
Direct differentiation expresses its derivative as
Thus energy is conserved for the motion wherever .
Let be a smooth variation with . Assuming the usual continuous second derivatives of , stationarity of the functional under gives its first variation
Integration by parts removes the derivative of ; its boundary term vanishes because the endpoint values are fixed. Thus
for every such variation. The fundamental lemma of the calculus of variations implies the Euler-Lagrange equation .
For arc length, , so
The function is strictly increasing; hence is constant. With endpoints and , , the extremal is
It is also the global shortest curve: integrating the unit displacement vector dotted with the curve velocity gives the endpoint distance, which is at most the integrated speed by Cauchy-Schwarz inequality; the straight segment attains equality. A vertical segment is described parametrically or after rotating axes, since it cannot be represented by on a nontrivial horizontal interval.
For a holonomic conservative system the Lagrangian is , the difference between kinetic energy and potential energy. The Euler-Lagrange equations are
If , this gives for the generalized momentum . Such a coordinate is a cyclic coordinate.
In cylindrical coordinates the squared speed is . The holonomic constraint gives , while gravity has potential energy . Therefore
There is no explicit dependence, so is a cyclic coordinate and
This is angular momentum about the vertical symmetry axis. At the polar angle is singular, but the Cartesian angular momentum remains well defined and has the same conserved value.
With fixed endpoint values, a smooth extremal satisfies the Euler-Lagrange equation . If has no explicit dependence, differentiation gives
Thus is constant, the Beltrami identity.
For this integrand, and , so the equation is . Consequently
The two constants are fixed uniquely by the prescribed values at distinct endpoints. Equivalently, writing these values as ,
Its first integral is , which is constant. Using only that first integral without the Euler-Lagrange equation could admit spurious constant functions, so the differential equation was used directly.
For any nonzero endpoint-vanishing perturbation , the linear terms in vanish by the Euler-Lagrange equation and integration by parts; also . The remainder is
Hence the extremal is the unique strict global minimum, and cannot be a maximum.
A coordinate absent from the Lagrangian is cyclic. Its Euler-Lagrange equation gives
Thus the corresponding generalized momentum is conserved.
Put and , so . Direct differentiation gives and . The Euler-Lagrange equations are and , equivalently
The cyclic angular coordinate and time independence give the two conserved quantities
The expression for equals here because is homogeneous quadratic in the velocities.
For a constant radius and nonzero angular motion, the radial equation requires , so . This lies outside , and the angular equation then gives , with any nonzero constant . This is the photon sphere radius in the stated coordinates. If both velocities are zero, the displayed variational equations also admit a stationary configuration at any radius; the moving circular photon solution is the nonzero-speed case just found.
Take a smooth variation with vanishing on the boundary; compactly supported test functions suffice for the interior equation. At an extremum, the first variation is zero:
Integration by parts removes the derivatives from . The boundary terms vanish, giving
The fundamental lemma of the calculus of variations gives the Euler-Lagrange equation
This is the classical equation for sufficiently smooth admissible extrema; for weaker regularity the first-variation identity supplies its weak form.
For the squared-gradient integrand, the equation is , namely the Laplace equation. Put and write any admissible function as , with on the boundary. The energy identity is
By the divergence theorem, the middle integral is ; equivalently it vanishes by weak integration by parts for zero-trace functions. The final term is nonnegative and vanishes at . Thus this is a global minimum, not merely a stationary value:
With and , the Lagrangian is
At configurations with , the Euler-Lagrange equations give
These formulas apply on the differentiable part of the potential; collision configurations require any additional smooth extension of to be specified. Summing the equations gives
so the total linear momentum is conserved. The total energy is
Differentiating, the two interacting forces do work , while the potential derivative is and particle three contributes no force term. Hence . Both total momentum and total energy are conserved.
For fixed endpoint values, independent variations of and give the Euler-Lagrange equations
The sphere parametrization has metric , obtained by differentiating its position vector and taking its Euclidean squared length. The displayed functional is therefore one half the integral of squared speed, the geodesic energy. Its fixed-endpoint extremals are affinely parametrized geodesics; energy stationarity chooses a constant-speed parametrization.
Its explicit equations, after dividing by , are
The second gives . Since the Lagrangian has no explicit time dependence, its energy is conserved. Thus
The same second identity follows by differentiating it and substituting the two equations. These polar-coordinate formulas hold on a nonsingular coordinate patch; the geodesic curve itself can pass through a pole in another chart.
Let and . For a smooth variation , the first variation is
Here the last expression follows by two integrations by parts. Taking variations supported in the interior and applying the fundamental lemma of the calculus of variations gives the Euler-Lagrange equation for a second-derivative functional:
If both endpoint values and slopes are free, their independent variations force the natural boundary conditions for second-derivative functionals
If an endpoint value or slope is fixed instead, its corresponding variation vanishes and the associated natural condition is not required.
For , differentiate using the chain rule:
The Euler-Lagrange equation cancels the first term. Consequently , and if there is no explicit dependence,
This is a Beltrami identity for a second-derivative functional.
For variations vanishing at the endpoints, the Euler-Lagrange equations are
Differentiate the stated energy expression using the chain rule. The acceleration terms cancel, leaving
Along a stationary trajectory the two brackets vanish. Thus , and in the absence of explicit time dependence .
In plane polar coordinates, the squared speed is , so the kinetic energy is . An inverse-square central gravitational force has potential energy proportional to . With the sign convention printed in this paper, write , giving
For attraction to a star of mass , this convention has . Keeping real and signed is essential; no sign is changed in differentiating the printed functional.
Since , , and , the equations of motion are
The second equation gives the conserved angular momentum ; equivalently . The autonomous-functional identity gives a second conserved quantity,
This is the total mechanical energy; for attractive gravity the potential contribution is negative because .
Away from a collision, let and . The Lagrangian is
Differentiating with respect to and gives and . Therefore
The other coordinates give and . Substituting these into the Euler-Lagrange equations yields equal and opposite central forces:
Adding the equations shows that the derivative of the total linear momentum is zero, so is constant. For the total angular momentum, the terms vanish, giving
Thus both stated vectors are conserved quantities.
The total energy is also constant. Define . Since ,
Hence . The explicit cancellation establishes energy conservation for an arbitrary smooth separation-dependent potential, throughout any collision-free trajectory.
Take independent smooth variations and . Differentiating the functional and using integration by parts gives its first variation
First choose variations vanishing at the endpoints. To use the stated form of the fundamental lemma of the calculus of variations, take with arbitrary smooth , and similarly for . The lemma makes vanish, and hence makes the unweighted coefficient vanish in the interior; continuity extends this to the endpoints. Applying the same argument to gives the Euler-Lagrange equations
If either endpoint value of or is free, the corresponding variation there is arbitrary. The remaining boundary term gives the natural boundary conditions for a free endpoint: for a free value and for a free value at that endpoint. With both coordinates free at both endpoints, all four conditions apply.
For the specified integrand these equations reduce to
and the natural conditions are at each free endpoint. Eliminating gives
Its four independent modes give the full general solution
At zero, and . Vanishing forces , giving
At the two derivative conditions become and . Their coefficient determinant is nonzero, so . Thus the unique stationary extremal with all four natural boundary conditions is . The word extremal here means a stationary point of the functional; the indefinite integrand does not require this point to be a minimum.
For an autonomous Lagrangian, the Euler-Lagrange equations imply
Indeed, differentiating the expression cancels the acceleration terms, leaving , which vanishes. Here is quadratic in the velocities, so . Thus the conserved energy is
The azimuth is a cyclic coordinate. Its conjugate momentum is constant:
Therefore is constant as well. Physically, is the vertical component of angular momentum.
The polar Euler-Lagrange equation is
For a constant angle with , conservation of makes constant, say . The remaining equation is
If , every nonvertical constant-angle motion is a conical pendulum motion:
The rod sweeps out a cone about the downward vertical, in either azimuthal direction. Equivalently, . The exactly downward and exactly upward vertical rods are also static solutions; azimuth has no physical meaning at either pole. No static tilted rod is possible under nonzero gravity.
If , the condition is . Thus a rod may remain at rest in any orientation, or rotate uniformly in the horizontal plane with and arbitrary constant . The vertical cases are included among static orientations; changing only their azimuth does not move the rod.
For a variation with , stationarity gives
The boundary term vanishes. The fundamental lemma of the calculus of variations therefore gives the Euler-Lagrange equation .
Differentiating the proposed first integral gives
Thus it is constant along an extremal when , proving the Beltrami identity.
For the positive branch relevant to the endpoint data, . The identity becomes
The Euler-Lagrange equation itself gives , so . Integrating, or solving the first integral, yields a circle . The equal endpoint values force and . Hence the unique positive smooth extremal is
It stays positive on the entire interval and satisfies the second-order equation, including its turning point. Merely differentiating the first integral after dividing by would need extra care there. Geometrically this is an arc of a hyperbolic geodesic in the upper half-plane model.
For the upper function graph, the vertical cross-section of the enclosed region has length , so its area is . A maximizing nonnegative arch therefore uses and in the normal Euler-Lagrange equation. It becomes
Integrating once gives . The concave upper branch has and integrates to . The equal zero endpoint heights force and . Hence
It is a circular arc. To find its parameter, substitute into the length integral: , giving
This scalar equation determines numerically when needed; no explicit solution is required.
The arch is a global maximum in its smooth function graph regime. For , the integrand is concave and strictly concave in its slope. Its supporting-tangent inequality, integrated against any competing function graph with the same endpoint values, has first-order term zero by the Euler-Lagrange equation. Thus . On the fixed-length class this is ; strict slope concavity also gives uniqueness.
The source leaves the length range implicit. A twice continuously differentiable function graph of this form needs , giving . At the straight function graph is the degenerate solution. The semicircle limit has vertical endpoint tangents and is outside that smooth function graph class. For , no arc in the claimed smooth function graph family exists, so the stated formula cannot describe a twice continuously differentiable maximizing function graph under those unrestricted data. Allowing overhanging curves changes the admissible class.
Figure 1.
The circular arch and its smooth graph length range
. Details.
Write . At a regular constrained extremal, the first variation of is not identically zero. Choose a variation for which ; the implicit function theorem supplies a correction in the direction to each other variation so that remains one. Stationarity of on these corrected variations implies for one scalar .
Put . Integration by parts gives, for an arbitrary twice continuously differentiable variation ,
Taking variations with zero endpoint values and using the stated fundamental lemma of the calculus of variations gives the Euler-Lagrange equation. The remaining endpoint values are free and independent, giving the natural boundary conditions:
If the constraint is not regular, the general multiplier statement permits an abnormal pair with ; the source's general normal-form derivation implicitly excludes that case. In its quadratic example, regularity follows automatically from normalization: .
For that example , so the equation and endpoint conditions reduce to
Multiply the equation by and integrate. The boundary term vanishes, giving
The last integral equals one, so , the functional value at the constrained extremal.
Finally multiply the equation for by and the equation for by , then subtract and integrate. The derivative terms give only the vanishing boundary term , while the terms cancel. Therefore . For distinct multipliers this proves
Discard the constant factor when forming the Euler-Lagrange equation. For it becomes
The Beltrami identity, since has no explicit dependence, gives . Combining with the differential equation yields . Its exponential solution has coefficients whose product is , by . Positivity therefore puts it in the form
Its constants must satisfy and . Depending on the endpoint data, these equations may have no solution or more than one. A constant function can satisfy a formal first-integral equation but fails the full Euler-Lagrange equation; it is not an extra extremal.