Two-Route Corrections: A Master Equation for Motion, Constraints and Conserved Quantities in Analytical Mechanics

Abstract

Many errors in analytical mechanics are errors of omission: a Coriolis force that never appears, a centrifugal term set to zero, or a term that vanishes because a rolling constraint was imposed one step too early. This paper shows that such structural terms (inertial, gyroscopic, transport, anholonomy and constraint terms) share a single origin, the symmetry of mixed partial derivatives, and that they can be found by comparing two routes to the same quantity rather than by recalling formulas. We call the difference between the routes a two-route correction, and list the corrections produced by the standard operations of a derivation. Non-potential forces such as friction and actuation are not of this kind; they enter as independent physical input. The central result is a master equation of motion, valid in any moving frame, in which every such term has a definite place: inertial and gyroscopic terms come from the Lagrangian written in the chosen velocity variables, and transport and anholonomy terms from the commutators of the frame’s vector fields. Lagrange’s, Euler’s, Hamel’s and Kane’s equations all follow from it directly. The same idea reaches beyond the equations of motion: in Hamilton-Jacobi theory, the gap between partial and total time derivatives is what carries the dynamics, and Routh reduction, Noether’s theorem and Poisson brackets fit the same pattern. The approach also gives the exact term lost when a nonholonomic constraint is substituted too early, with a simple test for when this shortcut is safe. It also turns the search for conserved quantities into a linear problem needing no guessed symmetry or gauge choice. Since this problem also admits driven and damped systems with a time-independent kinetic metric, it yields Lyapunov functions too. Worked examples range from the Chaplygin sleigh, solved in closed form, to the hidden integral of Euler’s two-centre problem. A decision chart, reference tables and a catalogue of standard cases make the paper a working reference.

Share and Cite:

Harari, Z. (2026) Two-Route Corrections: A Master Equation for Motion, Constraints and Conserved Quantities in Analytical Mechanics. Journal of Applied Mathematics and Physics, 14, 4945-4980. doi: 10.4236/jamp.2026.1411240.

1. Introduction

Lagrange’s equations follow from Newton’s second law by projecting m r ¨ =F onto the vectors ∂r/ ∂ q i , using two textbook identities [1]-[3]:

∂ r ˙ ∂ q ˙ i = ∂r ∂ q i ,  d dt ∂r ∂ q i = ∂ r ˙ ∂ q i . (1)

These are usually presented as computational tricks. Both are instances of the equality of mixed partial derivatives (Clairaut-Schwarz [4]). This paper shows that this one fact, used systematically, is a complete working method. It produces the equations of motion of difficult systems together with the terms most often lost. It also produces equations whose solutions are the conserved quantities of a system.

Errors in analytical mechanics almost always come from a step used outside its range of validity. Typical cases are treating ∂T/ ∂ q i as zero in curvilinear coordinates, confusing a partial with a total time derivative, identifying canonical with kinetic momentum in a magnetic field, taking the conserved energy in a rotating frame to be T+U , or substituting a nonholonomic constraint into the Lagrangian before differentiating. The historical record includes such errors by first-rate analysts; Lindelöf’s 1895 treatment of a rolling body, corrected by Chaplygin, is the classical example [5] [6]. In the method developed here each step carries its assumption, and when the assumption fails, the missing piece is a computable term with a physical name.

1.1. A First Example: The Bead on a Rotating Hoop

A bead of mass m slides without friction on a hoop of radius R that a motor turns at constant rate Ω about its vertical diameter. Let θ be the angle of the bead from the lowest point. In the inertial frame,

T= 1 2 m R 2 θ ˙ 2 + 1 2 m R 2 Ω 2 sin 2 θ, U=−mgRcosθ. (2)

Three plausible shortcuts give three different wrong answers.

a) Writing the problem “in the rotating frame” as a pendulum, with ∂T/ ∂θ set to zero, gives R θ ¨ =−gsinθ . This misses the bifurcation of the equilibrium. The term lost is the inertial correction ∂ T 0 / ∂θ of Section 4.3(a).

b) Taking E=T+U as conserved is wrong: the motor does work. The quantity that is conserved is h=E−2 T 0 (Result 13).

c) Adding the Coriolis force by hand to the tangential equation adds a term that is not there: the Coriolis force is normal to the hoop and is absorbed by the constraint. With the coordinate velocity θ ˙ the Coriolis force is the gyroscopic correction of T 1 = b θ θ ˙ (Section 4.3(b)), and its coefficient b θ =m  ∂ θ r⋅( Ω×r ) vanishes, because Ω×r is normal to the hoop.

The method gives the correct equation in one line,

R θ ¨ =( R  Ω 2 cosθ−g )sinθ, (3)

with the off-bottom equilibria cos θ * =g/ ( R Ω 2 ) for Ω 2 >g/R . The rest of the paper shows that corrections of this kind can be enumerated in advance, read off from one equation, and used to construct conserved quantities as well as equations of motion.

1.2. Contributions

The classical equations recovered below are known. What the paper adds is a single mechanism that produces all of them: a master equation and three tools that we have not found stated in this form.

1) A master equation in time-dependent moving frames (Result 3). Hamel’s equations for affine, time-dependent (rheonomic) quasi-velocities [7] [8] are written on the extended configuration space. Inertial and gyroscopic terms then come from the Lagrangian L * in the chosen velocity variables, and all transport and anholonomy terms from the commutators [ e β , e μ ] of the frame vector fields, so that rotating frames, rigid bodies, vehicles and charged particles are covered by one formula.

2) A commutator table (Table 1). Each standard step of a derivation is a linear operation, and each correction is the commutator of two such operations. The table makes the audit of a derivation built from these operations a check against a fixed list.

3) The constraint-substitution correction (Result 7). The terms lost by early substitution of nonholonomic constraints are known in principle from the work of Voronets, Chaplygin and Hamel [6] and, geometrically, as the curvature of the nonholonomic connection [9] [10]. We give them as one explicit product, constraint momentum times anholonomy, with a one-line Frobenius test for when the shortcut is safe.

4) A gauge-free determining system for first integrals and Lyapunov functions (Result 15). Determining equations for quadratic integrals in magnetic fields are known [11]-[13]. We give a form that contains only field strengths, applies unchanged to Coriolis and Routh-reduced systems, and, for systems with a time-independent kinetic metric, accepts explicit time dependence and arbitrary forces linear in the velocity, and therefore also constructs Lyapunov functions for damped systems.

Routh reduction, Noether’s theorem, Hamilton-Jacobi theory, the Helmholtz conditions and Poisson brackets are shown to fit the same pattern, so that they can be combined with these tools rather than used side by side. The mathematics required is multivariable calculus, and every statement is written in components. A dictionary to the language of differential geometry is given in Appendix B for readers who want it, and can be ignored by those who do not.

[How to use this paper]

Design engineers can start at the decision chart of Section 12 and the problem guide of Section 13, which lead from a type of problem to the variables to use, the corrections that must appear and the integrals to look for. Section 4.3 (moving frames, robot arms), Section 5 (vehicles, Kane’s method) and Example 12 (Lyapunov functions) are the most directly applicable parts. Physicists will find the new structural results in Sections 4, 5 and 10. Everyone can use Section 13 and Appendix A as a quick reference. Every formula there is derived in the main text, and every worked example has been checked symbolically.

2. The Basic Identity and the Commutator Table

2.1. Commutation Rules

Let q=( q 1 ,⋯, q n ) be generalized coordinates; repeated indices are summed. We treat time t , positions q i , velocities v i and accelerations a i as independent variables and set v i = q ˙ i , a i = q ¨ i only along an actual motion q( t ) . This is what is done implicitly whenever one writes ∂L/ ∂ q ˙ . The total time derivative is

D t = ∂ ∂t + v i ∂ ∂ q i + a i ∂ ∂ v i , (4)

which reproduces d/ dt along every motion. The part v i ∂ q i + a i ∂ v i , the convective term, is what separates D t from ∂t .

Result 1 (Commutation rules). For any twice continuously differentiable f( t,q,v ) ,

∂ ∂ v i ( D t f )− D t ( ∂f ∂ v i )= ∂f ∂ q i , ∂ ∂ q i ( D t f )= D t ( ∂f ∂ q i ),  ∂ ∂t ( D t f )= D t ( ∂f ∂t ). (5)

Proof. Expand D t f using (4) and differentiate. All terms cancel in pairs once mixed partials are equated, except in the first rule, where ∂/ ∂ v i also acts on the coefficient v i of D t and leaves ∂f/ ∂ q i . □

For the position r( t,q ) , which does not depend on v , the first rule gives the first identity in (1) and the second rule the second. Conversely, if (5) holds for a function, its mixed partials involving a velocity are symmetric: the rules are Clairaut’s theorem in the variables of mechanics. Together with the chain and product rules and the Poincaré lemma (“a field with symmetric derivatives is locally a gradient” [14]), they are the only mathematical input of this paper.

2.2. The Two-Route Principle

Every standard step of a derivation is a linear operation on functions: differentiation with respect to t , q i or v i ; application of D t ; a change of velocity variables; restriction to a constraint or to a level set of a momentum. If two chains of such operations lead from the same quantity to the same target, their difference is a sum of commutators of the operations involved. Under some assumption the commutator vanishes and the two routes agree; when the assumption fails, the difference is a definite, computable term, the two-route correction (Figure 1).

Figure 1. The two-route principle. Two orders of the same two operations differ by their commutator. Here the commutator is the first rule of (5); all structural corrections in this paper arise in the same way from the operations listed in Table 1, while constitutive forces (Section 4.3(e)) are independent physical input.

Table 1 lists the commutators that occur in the rest of the paper, the physical term each produces, and where it is derived. It is the organizing table of the method: a derivation that applies two of these operations in an order different from the one its assumptions justify loses exactly the entry in the corresponding row.

Table 1. The commutator table. Each row compares two orders of operations and names the correction that their commutator produces. Symbols are defined in the sections cited and collected in the notation table of Section 13.

Operations compared

Commutator

Correction it produces

Where

∂ v i and D t

[ ∂ v i , D t ]= ∂ q i

Euler-Lagrange structure; inertial terms (Christoffel, centrifugal)

Res. 1, 2

∂ q i , ∂ t and D t

0

none: identities (1), gauge invariance

Res. 1, 9

D t and ∂ t

D t − ∂ t = v i ∂ q i + a i ∂ v i

convective term; Hamilton’s equations from Hamilton-Jacobi

Res. 11

Velocity-linear L : ℰ i and gradient

ℱ ij = ∂ i λ j − ∂ j λ i , ∂ t λ i − ∂ i λ 0

gyroscopic terms: Lorentz, Coriolis, Euler forces

Res. 5

Frame derivatives e β , e δ

[ e β , e δ ]= γ βδ α e α

anholonomy: Euler’s rigid-body terms, nonholonomic terms

Res. 3

Frame derivative e β and frame flow e 0

[ e β , e 0 ]= γ   β0 α e α

transport: rotating and accelerating frames

Res. 3

Constraint ω c =0 and differentiation

γ   ad c P c   ω d

constraint-substitution correction

Res. 7

Level set p χ =c and ℰ i

transfer to ( c−σ ) a i , V eff

reduction: gyroscopic term, effective potential

Res. 8

Hamiltonian flows X g , X k

[ X g , X k ]=− X { g,k }

Poisson bracket; central charges

Sec. 11

3. Bookkeeping: Quantities and Assumptions

3.1. Quantities Kept Apart

Using one symbol for two different things is a frequent source of error, so we keep the following distinct:

T( t,q,v ), U( t,q ), E:=T+U, L:=T−U, h:= v i ∂L ∂ v i −L, H( t,q,p ), S( t,q ), (6)

with the canonical momentum p i := ∂L/ ∂ v i and the kinetic momentum π i := ∂T/ ∂ v i . For particles with positions r( t,q ) , the kinetic energy splits into parts quadratic, linear and independent of the velocities,

T= T 2 + T 1 + T 0 ,  T 2 = 1 2 g ij ( t,q ) v i v j ,  T 1 = b i ( t,q ) v i ,  T 0 ( t,q ), (7)

with g ij =m ∂ i r⋅ ∂ j r , b i =m ∂ i r⋅ ∂ t r , T 0 = 1 2 m | ∂ t r | 2 (summed over particles) and ∂ i :=∂/ ∂ q i . T 1 and T 0 are nonzero only for moving coordinates.

3.2. Assumptions

All functions are twice continuously differentiable (three times where the Helmholtz conditions are used). Each step is labelled by the assumptions it uses. They are separated so that a failed check points to exactly one cause.

(H1) Cartesian coordinates: g ij =m  δ ij is constant.

(H2) Fixed coordinates in an inertial frame: b i =0 , T 0 =0 , ∂ t g ij =0 .

(H3) Constant mass, closed system: no mass enters or leaves.

(H4) Potential forces: the generalized force Q i :=F⋅ ∂r/ ∂ q i equals − ∂U/ ∂ q i with U=U( t,q ) .

(H5) Regular Legendre map: det( ∂ 2 L/ ∂ v i ∂ v j )≠0 .

(H6) On shell: the relation holds along actual motions, not identically in ( t,q,v,a ) .

(H7) Natural system: T= T 2 and U is velocity independent.

(H8) Holonomic velocities: the velocity variables used are time derivatives of coordinates (Section 4).

3.3. Derivative Operations

Table 2 lists how energy, momentum, force and velocity are obtained from each generating quantity. Every entry is a derivative operation, so entries can be chained; a chain is valid when all assumptions along it hold. Relations such as π=mv or W=ΔT are statements about values in special circumstances, not operations, and are never chained.

4. The Master Equation

[In brief]

What you get: one equation of motion valid in any coordinates, any moving frame and any choice of velocity variables, with every inertial, gyroscopic, transport and anholonomy term identified. When you need it: rotating or accelerating frames, rigid bodies, vehicles, robots, and any problem where body-fixed velocity components are the natural variables. What you compute: the Lagrangian L * in the chosen velocity variables and the commutators [ e β , e μ ] of the frame vector fields.

Table 2. Derivative operations relating mechanical quantities. Labels are the assumptions of Section 3.2; unlabelled entries hold for all smooth functions. The Force entry of the action column is the partial time derivative of a momentum field and equals p ˙ i only after the convective correction (Section 9).

Action S

Lagrangian L

Hamiltonian H

Kinetic T , potential U

Energy

− ∂S ∂t

h= v i ∂L ∂ v i −L

H (H5)

E=T+U

Momentum

∂S ∂ q i

p i = ∂L ∂ v i

—

π i = ∂T ∂ v i

Force

∂ 2 S ∂t ∂ q i

∂L ∂ q i

− ∂H ∂ q i (H5, H6)

∂T ∂ q i ; − ∂U ∂ q i (H4)

Velocity

—

—

∂H ∂ p i (H5)

—

4.1. From Newton’s Second Law

Let m r ¨ =F hold in an inertial frame, with r=r( t,q ) in arbitrary, possibly time-dependent coordinates; the extension to systems of particles with ideal holonomic constraints is standard [1] [2]. Define the Euler-Lagrange expression of any f( t,q,v ) ,

ℰ i ( f ):= D t ∂f ∂ v i − ∂f ∂ q i , (8)

which is linear in f , so pieces of a Lagrangian can be treated separately.

Result 2 (Lagrange’s equations). Under (H3), ℰ i ( T )=m r ¨ ⋅ ∂ i r identically. Hence Newton’s law is equivalent to ℰ i ( T )= Q i , and under (H4) to

ℰ i ( L )= D t ∂L ∂ v i − ∂L ∂ q i =0, L=T−U. (9)

Proof. By the first rule, ∂ r ˙ / ∂ v i = ∂ i r , so ∂T/ ∂ v i =m r ˙ ⋅ ∂ i r . By the product rule and the second rule, D t ( ∂T/ ∂ v i )=m r ¨ ⋅ ∂ i r+m r ˙ ⋅ ∂ i r ˙ , and the last term is ∂T/ ∂ q i . Under (H4), Q i =− ∂ i U and ∂U/ ∂ v i =0 . □

No variational principle is used; that (9) also makes ∫ Ldt stationary is a separate fact [15] [16]. In the language of Table 2, (9) states that two routes from L to the Force row agree: the direct one, ∂L/ ∂ q i , and the one through the momentum, L→ p i → D t p i . If nonpotential forces are present, ℰ i ( L )= Q i nc .

4.2. Moving Frames and the Master Equation

Many problems are naturally written not in the velocities v i but in velocity components resolved along a moving body or frame. We allow the most general linear choice, including explicit time dependence and an offset,

ω α = A i α ( t,q ) v i + A 0 α ( t,q ),  v i = B α i ω α + B 0 i , B= A −1 ,  B 0 i :=− B α i A 0 α . (10)

Examples are body-frame angular velocities, velocities resolved along a vehicle, and inertial velocities resolved in a rotating frame (for which A 0 α ≠0 ). With these variables come n+1 frame vector fields on ( t,q ) -space,

e α := B α i ∂ i ,  e 0 := ∂ t + B 0 i ∂ i , (11)

chosen so that along any motion the time derivative of a function of ( t,q ) splits as d/ dt = e 0 + ω α e α . Their commutators close on the spatial fields,

[ e β , e μ ]= γ   βμ α e α  ( μ=0,1,⋯,n ),  γ   βμ α =− γ   μβ α , (12)

because e β and e 0 have constant t -components. Explicitly, for spatial indices,

γ   βδ α =( ∂ j A i α − ∂ i A j α ) B β i B δ j , γ   β0 α =( ∂ t A i α − ∂ i A 0 α ) B β i +( ∂ j A i α − ∂ i A j α ) B β i B 0 j . (13)

We call γ   βδ α the anholonomy and γ   β0 α the transport coefficients; in Hamel’s notation the former are the transitivity (Boltzmann-Hamel) coefficients [6]-[8]. All of them vanish if and only if each ω α is the total time derivative of a function φ α ( t,q ) , which is assumption (H8).

Result 3 (Master equation). Let L * ( t,q,ω ):=L( t,q,v( t,q,ω ) ) , P α := ∂ L * / ∂ ω α and ω 0 :=1 . Then, identically,

B β i ℰ i ( L )= P ˙ β − e β L * + γ   βμ α P α ω μ (sum over μ=0,1,⋯,n ),(14)

and Newton’s law takes the form

P ˙ β − e β L * + γ   βδ α P α ω δ + γ  β0 α P α = Q β * ,  Q β * := B β i Q i nc . (15)

Proof. By the chain rule, ∂L/ ∂ v i = A i α P α and ∂ i L| t,v = ∂ i L * | ω + P α ( ∂ i A j α v j + ∂ i A 0 α ) . The product rule gives D t ( A i α P α )= A i α P ˙ α + P α ( ∂ t A i α + v j ∂ j A i α ) . Subtracting,

ℰ i ( L )= A i α P ˙ α − ∂ i L * + P α [ ( ∂ j A i α − ∂ i A j α ) v j + ∂ t A i α − ∂ i A 0 α ].

Contract with B β i and insert v j = B δ j ω δ + B 0 j ; the bracket becomes the right-hand side of (13). That these coefficients are the commutator coefficients (12)

follows from ω α ( e μ )=const and the formula dθ( X,Y )=Xθ( Y )−Yθ( X )−θ( [ X,Y ] ) for the one-forms θ α = A i α d q i + A 0 α dt , which in components is again the symmetry of mixed partials. □

Equation (15) is the Hamel (Boltzmann-Hamel) equation [6] [7] [17] for time-dependent, affine velocity variables, whose rheonomic terms are treated in [8]; the form used here collects them into the transport coefficients γ   β0 α . The only new input it needs is the table of commutators [ e β , e μ ] , which is computed once for a given frame. A potential is included in L * ; Q β * collects the rest. Table 3 shows where each named term of classical mechanics appears in (15) and when it vanishes.

Table 3. Anatomy of the master equation (15): where each named term of classical mechanics lives.

Term

Physical content

Vanishes when

P ˙ β

rate of change of momentum, including the Christoffel terms of curvilinear coordinates

—

− e β L *

potential forces; centrifugal term ∂ T 0 ; gyroscopic forces from velocity-linear terms in L *

L * independent of q

γ   βδ α P α ω δ

anholonomy: Euler’s rigid-body terms, nonholonomic vehicle terms

(H8): ω α are coordinate velocities

γ   β0 α P α

transport: frame rotation and acceleration (Coriolis, Euler, centrifugal in compact form)

frame fixed in an inertial frame

Q β *

nonpotential forces: friction, actuation, constraint forces

(H4)

4.3. Special Cases

(a) Coordinate velocities: inertial corrections. With ω α = v i all γ vanish and (15) is (9). Writing ℰ i ( T )= Q i out with (7) gives the general equation of motion in arbitrary coordinates,

g ij a j + Γ i,jk v j v k = Q i − ∂ t g ij v j  +  β ij v j − ∂ t b i + ∂ i T 0 , (16)

with the Christoffel symbols Γ i,jk = 1 2 ( ∂ j g ik + ∂ k g ij − ∂ i g jk ) and β ij := ∂ i b j − ∂ j b i . (Directly: ℰ i ( T 2 )= g ij a j + ∂ t g ij v j + Γ i,jk v j v k , ℰ i ( T 1 )= ∂ t b i − β ij v j , ℰ i ( T 0 )=− ∂ i T 0 .) The terms from T 2 and T 0 are inertial corrections: they exist because the kinetic coefficients depend on position and time, so that ∂T/ ∂ q i ≠0 and D t ( g ij v j )≠ g ij a j .

Example 1 (Plane polar coordinates). For T= 1 2 m( v r 2 + r 2 v θ 2 ) , (16) gives m r ¨ −mr θ ˙ 2 = Q r and m r 2 θ ¨ +2mr r ˙ θ ˙ = Q θ . The centrifugal term is the correction ∂T/ ∂r ; the term 2mr r ˙ θ ˙ comes from D t acting on π θ =m r 2 v θ . Assuming ∂T/ ∂ q i =0 loses the first; also taking π i =m v i loses the second.

Result 4 (Matrix form and passivity). For T= T 2 , (16) is the manipulator equation

M( q ) q ¨ +C( q, q ˙ ) q ˙ +∇U=τ, M=( g ij ),  C ij := Γ i,jk v k , (17)

with τ the actuator forces, and M ˙ −2C is antisymmetric.

Proof. ( M ˙ −2C ) ij =( ∂ i g jk − ∂ j g ik ) v k . □

The antisymmetry, widely used in passivity-based and adaptive control of robots [18], is the matrix statement that inertial corrections do no work,

q ˙ T ( 1 2 M ˙ −C ) q ˙ =0 . Defining C from the Christoffel symbols, as here, is what

guarantees it; other factorizations of the same velocity-quadratic terms do not have this property. The two-link arm is worked out in Appendix A.4.

(b) Velocity-linear terms: gyroscopic corrections. Let L contain a part linear in the velocities,

L Λ = λ i ( t,q ) v i + λ 0 ( t,q ), (18)

such as the vector potential ( λ i =e A i , λ 0 =−eϕ ) or the term T 1 = b i v i of a moving frame.

Result 5 (Gyroscopic correction). With the field strength ℱ ij := ∂ i λ j − ∂ j λ i ,

ℰ i ( L Λ )  =  ( ∂ t λ i − ∂ i λ 0 )  −   ℱ ij v j . (19)

It vanishes for all motions if and only if ( λ 0 , λ i ) is locally the gradient of a function of ( t,q ) .

Proof. D t λ i = ∂ t λ i + v j ∂ j λ i and ∂ L Λ / ∂ q i = v j ∂ i λ j + ∂ i λ 0 ; subtract. The vanishing conditions are Clairaut’s integrability conditions. □

Because the velocity-dependent part of (19) is an antisymmetric array contracted with v j , its contraction with v i vanishes: neither magnetic nor Coriolis forces do work.

Result 6 (Lorentz and inertial forces). (a) For a charge in potentials ( ϕ,A ) , L=T−eϕ+eA⋅v , (19) gives − ℰ i ( L Λ )=e ( E+v×B ) i with E=−∇ϕ− ∂ t A , B=∇×A ; the canonical and kinetic momenta differ by p i − π i =e A i .

(b) In a frame rotating with angular velocity Ω( t ) about a fixed origin, with coordinate velocities, g ij =m δ ij , b=m Ω×r , T 0 = 1 2 m | Ω×r | 2 , and (16) becomes

ma=F−2m Ω×v−m Ω×( Ω×r )−m  Ω ˙ ×r. (20)

The Coriolis force is the gyroscopic correction of b ( ∇×b=2m Ω ), the Euler force its time component, and the centrifugal force the inertial correction ∇ T 0 .

Proof. (a) Insert λ i =e A i , λ 0 =−eϕ and use ℱ ij v j =e ( v×B ) i . (b) β ij v j =−2m ( Ω×v ) i , ∂ t b=m  Ω ˙ ×r and ∇ T 0 =−m Ω×( Ω×r ) ; the Christoffel terms vanish. □

Example 2 (Larmor’s theorem as a cancellation). A charge in a uniform field B ( A= 1 2 B×r ) observed in a frame rotating with Ω∥B has the Lagrangian L= 1 2 m | v+Ω×r | 2 +eA⋅( v+Ω×r )−U . Its velocity-linear part has λ=( e 2 B+m Ω )×r and total field strength ∇×λ=eB+2m Ω . Choosing Ω=− eB/ 2m removes the gyroscopic correction entirely. Two velocity-independent pieces remain: the centrifugal term T 0 = 1 2 m | Ω×r | 2 and the cross term eA⋅( Ω×r ) . Both are of second order in B and together give the effective potential

V eff =U+ e 2 8m | B×r | 2 , (21)

a confining harmonic term, not a centrifugal one: the cross term outweighs T 0 by a factor of two. This is Larmor’s theorem [1] [19], obtained as the cancellation of two gyroscopic terms of the same class, with the diamagnetic residual computed rather than guessed.

(c) Moving frames: the transport term. Let ρ be Cartesian coordinates in a frame with angular velocity Ω( t ) whose origin moves with acceleration a 0 (frame components), and let ω α be the components of the inertial velocity resolved in the frame, ω= ρ ˙ +Ω×ρ+w( t ) , with w the frame components of

the origin’s velocity. Then A=I , A 0 α = ( Ω×ρ+w ) α , L * = 1 2 m | ω | 2 −U and (13) gives γ   βδ α =0 , γ   β0 α = ϵ αβk Ω k . The master Equation (15) reads

m( ω ˙ +Ω×ω )=F, (22)

the familiar “rate of change in a rotating frame”. A single transport term replaces the Coriolis, centrifugal, Euler and translational terms; expanding ω gives back (55) of Appendix A.2. Equations (20) and (22) describe the same physics with different velocity variables: in the first the frame motion appears as gyroscopic and inertial corrections, in the second as transport. The master equation makes their agreement an identity rather than a coincidence. For the bead on the hoop of Section 1.1, the Coriolis force is normal to the hoop whichever form is used; in the coordinate-velocity form its gyroscopic coefficient b θ vanishes, which is why it does not enter the equation for θ .

(d) Body velocities: anholonomy. With A independent of t and A 0 α =0 , only γ   βδ α survives and (15) is the classical Hamel equation.

Example 3 (Euler’s equations of the rigid body). For body-frame angular velocities written in Euler angles, (13) gives the constants γ   βδ α = ϵ αβδ (the

Levi-Civita symbol). With T * = 1 2 ∑ α I α ( ω α ) 2 independent of q , (15) gives

I 1 ω ˙ 1 +( I 3 − I 2 )  ω 2 ω 3 = M 1 and cyclic permutations. All gyroscopic coupling of the free rigid body is anholonomy; no Euler-angle Christoffel symbols are needed.

(e) Constitutive corrections. If (H4) fails, write Q i =− ∂ i U+ Q i nc ; then ℰ i ( L )= Q i nc . This correction comes not from the structure of the operations but from a force law that is not of potential form. Forces linear in velocity with symmetric coefficients can be written with a Rayleigh function [1] [20]. Whether they can be absorbed into a modified Lagrangian is the inverse problem of Section 8; how they enter conserved quantities and Lyapunov functions is treated in Section 10.3. If (H3) fails (rockets, belts, cables), the momentum flux of entering or leaving mass is a further constitutive term on the right-hand side of (15).

5. Constraints: Vehicles, Kane’s Method and the Substitution Correction

[In brief]

What you get: the correct equations of motion of rolling, skating and towed systems, the constraint forces, and the exact term lost if the constraints are substituted into the Lagrangian too early. When you need it: wheels, blades, skates, trailers, rolling bodies. What you compute: the anholonomy γ   ad c and the constraint momentum P c .

5.1. The Constraint-Substitution Correction

For linear nonholonomic constraints it is convenient to choose the velocity variables so that the constraints read ω c =0 , where indices c label constrained and a,b,d free variables. Ideal constraint forces have Q a * =0 . A common shortcut is to substitute ω c =0 into L * and then write Lagrange-type equations for the remaining variables. We take the frame time-independent here ( γ   β0 α =0 ); in a time-dependent frame the transport term γ   a0 α P α splits in the same way, its free part γ   a0 b P b ∘ joining the left-hand side and its constrained part γ   a0 c P c joining the correction.

Result 7 (Constraint-substitution correction). Let L ∘ ( t,q, ω a ):= L * | ω c =0 and P a ∘ := ∂ L ∘ / ∂ ω a . The correct equations for the free variables are

P ˙ a ∘ − e a L ∘ + γ   ad b P b ∘ ω d = Q a * − γ   ad c ( P c ) ω c =0 ω d ︸ lost by early substitution , (23)

where ( P c ) ω c =0 = ( ∂ L * / ∂ ω c ) ω c =0 is the constraint momentum. The constraint

forces follow from the constrained components of (15). Applying the Hamel equations to L ∘ alone is correct if and only if the underbraced term vanishes along the motion; treating the ω a moreover as coordinate velocities also drops γ   ad b P b ∘ ω d . The correction vanishes in particular when γ   ad c =0 for all free a,d , which is the Frobenius condition for the constraints to be integrable, that is, holonomic.

Proof. In (15) set ω c =0 after differentiation. Since e a differentiates only in q , ( e a L * ) ω c =0 = e a L ∘ and ( P a ) ω c =0 = P a ∘ . In the sum over α , split α into free b and constrained c ; the sum over δ runs only over free d . □

The criterion is again a mixed-partial condition. The constraints can be integrated to relations between the coordinates exactly when the antisymmetrized derivatives of A i c , evaluated on pairs of allowed directions, vanish. The correction can be nonzero only when the kinetic energy couples allowed and forbidden directions ( P c ≠0 although ω c =0 ). Lindelöf’s error for a rolling body of revolution [6] is of exactly this type: rolling constraints are nonintegrable and the kinetic energy couples rolling to slipping directions.

Example 4 (Chaplygin sleigh: equations and closed-form solution). A rigid body of mass m slides on a plane on a knife edge at point P ; its mass centre lies a distance ℓ ahead of P on the blade axis, with central moment of inertia I c . Use q=( x,y,θ ) for P and the heading, and u= x ˙ cosθ+ y ˙ sinθ (along the blade), w=− x ˙ sinθ+ y ˙ cosθ (sideways) and Ω= θ ˙ . The knife edge imposes w=0 . Then

T * = 1 2 m[ u 2 +( w+ℓΩ ) 2 ]+ 1 2 I c Ω 2 , (24)

and (13) gives the only nonzero coefficients γ   wΩ u =− γ   uΩ w =1 (with their antisymmetric partners). With J:= I c +m ℓ 2 , T ∘ = 1 2 m u 2 + 1 2 J Ω 2 , and the naive equations would be u ˙ =0 , Ω ˙ =0 : motion in a straight line or a fixed circle, which is wrong. The constraint momentum is P w =mℓΩ≠0 , and (23) restores the missing terms:

m u ˙ =mℓ Ω 2 , J Ω ˙ =−mℓu Ω, (25)

with lateral blade force Λ=m( ℓ Ω ˙ +uΩ ) from the w -component of (15). The energy 1 2 m u 2 + 1 2 J Ω 2 = 1 2 m u ∞ 2 , with u ∞ >0 the terminal sliding speed, is

conserved, since the correction does no work for the same antisymmetry reason as in Section 4.3(b), and (25) integrates in closed form:

u( t )= u ∞ tanh( mℓ u ∞ J ( t− t 0 ) ), Ω( t )=±  u ∞ m J  sech( mℓ u ∞ J ( t− t 0 ) ). (26)

Every motion with Ω ≡ 0 ends in straight-line sliding with the mass centre leading, the characteristic asymmetric behaviour of the sleigh [6] [10] [21] (Figure 2). Integrating Ω over a complete motion gives the total change of heading in closed form,

Δθ= ∫ −∞ ∞ Ωdt =π J m ℓ 2 =π 1+ I c m ℓ 2 >π, (27)

independent of the speed u ∞ : the sleigh always turns through more than a half circle, and the blade point P , which stops and reverses at t= t 0 , traces a cusp. The two restored terms in (25) are, respectively, a centripetal and a gyroscopic anholonomy correction.

5.2. Kane’s Equations and the Gibbs-Appell Form

Engineers usually treat constrained multibody systems with Kane’s method [22]. In Kane’s language the free variables ω a are generalized speeds, the vectors B a i ∂ i r are the partial velocities, and the generalized inertia force is F a * =−m r ¨ ⋅ B a i ∂ i r . By Result 2, F a * =− B a i ℰ i ( T ) , and by Result 3,

− F a * = [ P ˙ a − e a T * + γ   aμ α P α ω μ ] ω c =0 . (28)

Kane’s equations F a + F a * =0 are therefore the free components of the master equation, evaluated on the constraint after differentiation. This explains why Kane’s method never makes the substitution error: it projects Newton’s law instead of differentiating a constrained energy. Equation (28) adds a closed form for F a * that requires no accelerations of material points, only the rates ω ˙ a through P ˙ a , and Result 7 says which terms of it come from the constraint. The Gibbs-Appell equations [8] are the same projection written through the acceleration energy.

Figure 2. Chaplygin sleigh with m=1 , ℓ=0.5 , I c =0.25 , u ∞ =1 . Starting by sliding backwards (mass centre trailing), the sleigh turns through Δθ=π 2 ≈ 255 ∘ and ends sliding forwards with the mass centre leading; the blade point traces a cusp where it stops and reverses. The naive equations obtained by early substitution of w=0 would predict an almost straight line (a circle of very large radius, since Ω is initially small but nonzero). The numerically integrated motion agrees with (26) to 10−10.

Another route is sometimes confused with the one used here. Imposing nonholonomic constraints with multipliers inside Hamilton’s principle (vakonomic dynamics) gives different equations in general; for mechanical systems with ideal constraints the correct equations are those of d’Alembert’s principle used above [10]. Constraint forces, when wanted, are the constrained components β=c of (15).

6. Reduction: Cyclic Coordinates Become Gyroscopic Fields

Eliminating a cyclic coordinate is a two-route operation (“solve, then substitute” against “substitute, then solve”), and the mechanism of Section 4.3(b) predicts what it produces.

Result 8 (Routh reduction as transfer of field strength). Let χ be cyclic in

L= 1 2 g ij v i v j + 1 2 I χ ( v χ + a i v i ) 2 +σ v χ + λ i v i −V, (29)

where g ij , I χ ≠0, a i ,σ, λ i ,V depend on the remaining coordinates q only. On the level set p χ =c , the motion of q obeys ℰ i ( R c )=0 with

R c = 1 2 g ij v i v j +[ λ i +( c−σ )  a i ] v i − V eff ,  V eff =V+ ( c−σ ) 2 2 I χ . (30)

The cyclic coordinate thus becomes a gyroscopic field with “charge” c , with reduced field strength ℱ ij + ∂ i [ ( c−σ ) a j ]− ∂ j [ ( c−σ ) a i ] , plus an inertial-type correction in the effective potential.

Proof. p χ = I χ ( v χ + a i v i )+σ=c fixes v χ . The Routhian R=L−c v χ satisfies ∂R/ ∂ v χ =0 there, so its derivatives with respect to q i and v i at fixed c equal those of L (the dependence through v χ drops out: two routes agree). Hence ℰ i ( R )= ℰ i ( L ) on the level set. Substituting v χ = ( c−σ )/ I χ − a i v i gives (30). □

This is the classical Routh procedure [23]-[25]; the point here is that its output is automatically of the form (39) below, so all tools for magnetic-type systems (brackets, integrals) apply to reduced systems without change.

Example 5 (Heavy symmetric top in two reductions). With Euler angles ( θ,ϕ,ψ ) , L= 1 2 I 1 ( θ ˙ 2 + ϕ ˙ 2 sin 2 θ )+ 1 2 I 3 ( ψ ˙ + ϕ ˙ cosθ ) 2 −Mglcosθ . Reducing ψ ( I χ = I 3 , a ϕ =cosθ , σ=0 ) on p ψ =c gives the velocity-linear term ccosθ  ϕ ˙ , whose field strength ℱ θϕ =−csinθ is the gyroscopic force:

I 1 θ ¨ − I 1 ϕ ˙ 2 sinθcosθ+c ϕ ˙ sinθ−Mglsinθ=0. (31)

Reducing ϕ next ( I χ = I 1 sin 2 θ , a=0 , σ=ccosθ ) on p ϕ =b gives, up to a constant, V eff =Mglcosθ+ ( b−ccosθ ) 2 / ( 2 I 1 sin 2 θ ) , the classical one-dimensional problem of the top [1]. The gyroscopic term of the first stage and the σ -term of the second are the same object seen at two stages of reduction. The same two steps apply to a spacecraft with a momentum wheel, where the wheel angle is the cyclic coordinate and the wheel momentum supplies the gyroscopic stiffness.

7. Gauge Freedom, Null Lagrangians and Generating Functions

Result 9 (Null Lagrangians). On a star-shaped region of ( t,q ) -space, ℰ i ( L )≡0 identically if and only if L= D t F= ∂ t F+ v j ∂ j F for some F( t,q ) .

Proof. If L= D t F , the second rule gives ℰ i ( L )= D t ∂ i F− ∂ i D t F=0 . Conversely, the coefficient of a j in ℰ i ( L ) is ∂ 2 L/ ∂ v i ∂ v j , so L is affine in v ; Result 5 gives the integrability conditions, and the Poincaré lemma gives F . □

This is the first-order case of the classical characterization [26] [27]. Consequences: 1) gauge invariance— L and L+ D t F give the same equations, and only field strengths are physical; 2) on a region with a hole, a velocity-linear term may satisfy the integrability conditions without being a gradient, and is then detected only by loop integrals, as in the Aharonov-Bohm configuration [28]; 3) generating functions—a time-independent change of variables ( q,p )→( Q,P ) preserves the form of Hamilton’s equations when p i d q i − P i d Q i has symmetric mixed partials, and the Poincaré lemma then supplies the generating function F 1 ( q,Q ) with p i = ∂ F 1 / ∂ q i , P i =− ∂ F 1 / ∂ Q i [1]. Canonical transformations are, in this sense, gauge transformations of the phase-space Lagrangian p i q ˙ i −H .

8. The Inverse Problem: Does an Equation Have a Lagrangian?

Given second-order expressions ε i ( t,q,v,a ) , is there an L with ε i = ℰ i ( L ) [27] [29]-[31]? The necessary conditions are once more the commutation rules.

Result 10 (Helmholtz conditions). If ε i = ℰ i ( L ) for some L with three continuous derivatives, then

∂ ε i ∂ a j = ∂ ε j ∂ a i , (32)

∂ ε i ∂ v j + ∂ ε j ∂ v i =2 D t ∂ ε i ∂ a j , (33)

∂ ε i ∂ q j − ∂ ε j ∂ q i = 1 2 D t ( ∂ ε i ∂ v j − ∂ ε j ∂ v i ). (34)

Proof sketch. Only D t introduces accelerations, so ∂ ε i / ∂ a j = ∂ 2 L/ ∂ v i ∂ v j is symmetric. Differentiating ε i in v j with the first rule, the symmetric part is D t ( ∂ 2 L/ ∂ v i ∂ v j ) and the antisymmetric part is L i ¯ j − L j ¯ i , with L i ¯ j := ∂ 2 L/ ∂ v i ∂ q j . Differentiating in q j with the second rule, the antisymmetric part is D t ( L i ¯ j − L j ¯ i ) . □

These conditions are also locally sufficient [26] [27] [31]. For equations q ¨ i = f i ( t,q, q ˙ ) one looks for a multiplier g ij such that g ij ( a j − f j ) passes the test (Douglas [29], Sarlet [32]).

Example 6 (Damped oscillator). For ε=ma+ζmv+kq with ζ≠0 , (33) reads 2ζm=0 and fails. The multiplied expression e ζt ε passes, giving the Caldirola-Kanai Lagrangian L= e ζt ( 1 2 m v 2 − 1 2 k q 2 ) [33] [34], with canonical momentum p=m e ζt v and an energy function that is not the physical energy: a multiplier changes which entries of Table 2 carry physical meaning.

9. Hamilton-Jacobi Theory

Under (H5), H( t,q,p ):= p i v i −L (otherwise Dirac’s constraint analysis is needed [35] [36]). Any S( t,q ) defines a momentum field p i ( t,q ):= ∂ i S and an energy field − ∂ t S , with

∂ i p j = ∂ j p i ,  ∂ t p i = ∂ i ( ∂ t S ) (35)

for every S . The Hamilton-Jacobi equation requires the energy field to equal the Hamiltonian on the momentum field,

∂ t S+H( t,q, ∂ q S )=0. (36)

Result 11 (Characteristics). Let S solve (36) and let q( t ) satisfy q ˙ j = ∂H/ ∂ p j at p= ∂ q S . Then p i ( t ):= ∂ i S( t,q( t ) ) satisfies p ˙ i =− ∂H/ ∂ q i , and d( − ∂ t S )/ dt = ∂H/ ∂t .

Proof. Along the curve, p ˙ i = ∂ t p i + q ˙ j ∂ j p i : partial derivative plus convective correction. Differentiating (36) in q i and using (35), ∂ t p i =− ∂H/ ∂ q i −( ∂H/ ∂ p j ) ∂ j p i ; the last term cancels the convective correction exactly. □

The convective correction is thus the carrier of the dynamics: the method of characteristics [37] [38]. The same argument gives Jacobi’s theorem: for a complete integral S( t,q,α ) , differentiating (36) in α k and exchanging mixed partials shows that ∂S/ ∂ α k is constant along every characteristic [1] [39].

Example 7 (Free particle). For H= p 2 / 2m , S= m q 2 / ( 2t ) has momentum field p= mq/t with ∂ t p=− mq/ t 2 , cancelled by the convective term q ˙   ∂ q p= mq/ t 2 along q=ct . Mistaking ∂ t p for the force would assign a spurious force to a free particle.

10. Conserved Quantities and Lyapunov Functions

[In brief]

What you get: conserved quantities without guessing symmetries, integrals beyond the point-symmetry class considered here, adiabatic-type invariants of driven systems, and Lyapunov functions for damped systems, all from one linear system of equations (for the class of systems stated in Section 10.3). When you need it: integrability, stability, error control of simulations, design of controllers. What you compute: Killing tensors of the kinetic metric (once per geometry), then a linear compatibility test on the forces and a quadrature.

10.1. Energy Function versus Total Energy

Result 12 (Energy balance). For any Lagrangian, identically, D t h= v i ℰ i ( L )− ∂L/ ∂t . Along solutions of ℰ i ( L )= Q i nc , D t h= v i Q i nc − ∂ t L .

Proof. D t ( v i p i )= a i p i + v i D t p i and D t L= ∂ t L+ v i ∂ i L+ a i p i ; subtract. □

Result 13 (Energy correction). Under (H4), by Euler’s theorem on homogeneous functions,

h= T 2 − T 0 +U, h−E=−( T 1 +2 T 0 ), (37)

so h=E only for natural systems (H7).

In a uniformly rotating frame this gives the Jacobi integral h= 1 2 m | v | 2 − 1 2 m | Ω×r | 2 +U , which is conserved although E is not; for a charge, h=T+eϕ ; for the bead on the hoop, h= 1 2 m R 2 ( θ ˙ 2 − Ω 2 sin 2 θ )−mgRcosθ .

10.2. Noether’s Theorem

Let q i → q i +ϵ ξ i ( t,q ) , so that v i changes by ϵ D t ξ i and L by ϵ δ ξ L , δ ξ L:= ξ i ∂L/ ∂ q i +( D t ξ i ) ∂L/ ∂ v i [26].

Result 14 (Noether’s theorem for point symmetries). If δ ξ L= D t F for some F( t,q ) , then I:= ξ i p i −F satisfies D t I= ξ i ℰ i ( L ) identically.

Proof. D t ( ξ i p i )=( D t ξ i ) p i + ξ i D t p i = δ ξ L+ ξ i ℰ i ( L ) . □

The term F is needed whenever L is symmetric only up to a null Lagrangian [26] [40]. For a uniform field, A= 1 2 B×r , a translation by c has F= e 2 ( B×c )⋅r , and the conserved pseudo-momentum is c⋅( mv+eB×r ) : neither p nor mv is conserved.

Noether’s theorem requires a symmetry to be found first, and in the point-symmetry form of Result 14 it depends on the gauge through F . Quadratic integrals such as those of Examples 8 and 10 lie outside this point-symmetry class, but they can correspond to generalized (velocity-dependent) symmetries in Noether’s general sense [26], which must likewise be found first. Both drawbacks are removed by turning the problem around: instead of guessing a symmetry, we impose a condition on D t I for an ansatz I and solve for its coefficients.

10.3. Determining Equations for Polynomial Integrals

Scope. This subsection assumes a time-independent kinetic metric g ij ( q ) , forces of the form N ij ( t,q ) v j − ∂ i V( t,q ) (velocity-independent forces of gradient form plus forces linear in the velocity), and coordinate velocities. Its applicability therefore does not automatically extend to every time-dependent moving-frame system considered earlier: time-dependent metrics, frames rotating at a variable rate (whose Euler force −m  Ω ˙ ×r is not a gradient), time-varying magnetic fields (whose induced electric field is not a gradient), and quasi-velocity or nonholonomic formulations (Sections 4 and 5) require separate treatment.

Consider second-order systems of the form

g ij ( q )  a j =− Γ i,jk v j v k + N ij ( t,q ) v j − ∂ i V( t,q ), (38)

where N ij is an arbitrary array. Its antisymmetric part ℱ ij contains all gyroscopic forces; its symmetric part − R ij contains linear damping ( R positive semi-definite) or anti-damping. The Lagrangian systems

L= 1 2 g ij ( q ) v i v j + λ i ( q ) v i −V( t,q ),  N ij = ℱ ij := ∂ i λ j − ∂ j λ i , (39)

include particles in curvilinear coordinates, charges in magnetic fields, uniformly rotating frames and every reduced system of Section 6; by (16) and (19) only the field strength enters their equations of motion. We seek functions quadratic in the velocities,

I= 1 2 K ij ( t,q ) v i v j + K i ( t,q ) v i +k( t,q ), (40)

which include linear integrals ( K ij =0 ). Indices are raised with g ij , ∇ is the covariant derivative of g ij (in Cartesian coordinates simply ∂ ), and round brackets denote symmetrization over the enclosed indices.

Result 15 (Gauge-free determining system). Along solutions of (38), D t I= C 3 + C 2 + C 1 + C 0 , with

C 3 = 1 2 ∇ (l K ij) v l v i v j , (41)

C 2 =( 1 2 ∂ t K ij + ∇ i K j + K i m N mj )  v i v j , (42)

C 1 =( ∂ t K i + ∂ i k− K i m   ∂ m V+ K m N mi ) v i , (43)

C 0 = ∂ t k− K m   ∂ m V. (44)

Hence I is a first integral if and only if each coefficient vanishes:

∇ (l K ij) =0,  1 2 ∂ t K ij + ∇ (i K j) + K (i m N | m |j) =0,

∂ i k= K i m ∂ m V− K m N mi − ∂ t K i ,  ∂ t k= K m ∂ m V, (45)

and, if K ij , K i and k do not depend on t , I is a Lyapunov function for an equilibrium on a region about it where I is positive definite relative to the equilibrium and C 3 + C 2 + C 1 + C 0 ≤0 ; if they depend on t , the bounds uniform in time of item (d) below are required as well.

Proof. Compute D t I , insert (38) for a j , and collect powers of v . The cubic part combines 1 2 ∂ l K ij with the Christoffel terms into 1 2 ∇ (l K ij) (inertial correction); the quadratic part combines ∂ t K ij , ∂ i K j , its Christoffel terms and the contraction of K ij with N (gyroscopic and dissipative correction); the linear and constant parts give (43) and (44). For a first integral each order must vanish separately, since the initial velocity is arbitrary. □

For time-independent coefficients, (45) says that K ij is a Killing tensor and, for K ij =0 , that K i is a Killing vector [41] [42]; these depend only on the metric. For N=ℱ the static system is equivalent to the determining equations used in [11] [12], here written without reference to a vector potential. The features that make it a practical tool are the following.

a) Gauge freedom never appears. Only N ij enters, so the system can be solved for fields without a global vector potential (monopoles) and for Coriolis and reduced systems without returning to potentials. For linear integrals, comparison with Noether’s I= ξ i p i −F gives K i = ξ i and k= ξ i λ i −F : the gauge-dependent pieces of Noether’s theorem recombine into the gauge-independent k .

b) The potential enters through an integrability condition. The third equation of (45) asks that the right-hand side be a gradient. On a simply connected region this holds if and only if

∂ j ( K i m ∂ m V− K m N mi − ∂ t K i )= ∂ i ( K j m ∂ m V− K m N mj − ∂ t K j ), (46)

a linear partial differential equation for V (and N ) for each admissible K . For static V , N=0 in the plane this is the classical Bertrand-Darboux equation [2] [42]; (46) extends it to magnetic, Coriolis, reduced, time-dependent and damped systems within the class (38). Once (46) holds, k follows by quadrature.

c) The search is finite-dimensional at each step. Killing vectors and tensors of a given metric form finite-dimensional spaces (in Euclidean space they are spanned by products of translation and rotation generators), so the top equation is solved once for the geometry and (46) is then a linear test on the forces.

d) Inequalities are allowed. For damped and controlled systems one does not require D t I=0 but D t I≤0 : the same coefficients C 0 ,⋯, C 3 are then required to form a nonpositive polynomial in v , so that Lyapunov functions are built from the same coefficient equations together with a definiteness condition (for quadratic I , a matrix inequality). These conditions yield the stability conclusions of the autonomous Example 12 only when the coefficients of I do not depend on t . If K ij , K i or k depend on t , pointwise positivity of I and D t I≤0 are not sufficient: with x=( q− q * ,v ) and an equilibrium q * that is an equilibrium for all t , uniform stability requires bounds W 1 ( x )≤I( t,x )≤ W 2 ( x ) by time-independent functions positive definite about x=0 , and uniform asymptotic or exponential stability requires in addition a bound D t I≤− W 3 ( x ) with W 3 time independent and positive definite [43].

Example 8 (Runge-Lenz vector by quadrature). For V=−κ/r in Cartesian coordinates ( g ij =m δ ij , N=0 ) take the Killing tensor K ij = m 2 [ 2( c⋅r ) δ ij − c i x j − c j x i ] for a constant vector c , and K i =0 . Then K i m ∂ m V=mκ [ ( c⋅r ) x i − c i r 2 ]/ r 3 , which is the gradient of k=−mκ c⋅r/r . The integral is I=c⋅[ mv×( r×mv )−mκr/r ] , the Runge-Lenz vector [1] [44], found here without any guessing beyond the choice of Killing tensor.

Example 9 (Poincaré vector of a magnetic monopole, without a vector potential). For a charge e in the field B=gr/ r 3 , N ij = ℱ ij =e ϵ ijk B k , and no vector potential exists on all of space with the origin removed. Take the rotational Killing vector K i =m ( c×r ) i and V=0 . The determining system gives ∂ i k=− ( c×r ) m ℱ mi , which integrates to k=−eg c⋅r/r , and the conserved quantity is

J=r×mv−eg  r r , (47)

the Poincaré vector [45] [46]. Noether’s theorem would need a vector potential with a string singularity and a compensating gauge term; the determining system needs neither.

Example 10 (Euler’s two-centre problem: a hidden integral). A unit mass moves in the plane under V=− κ 1 / r 1 − κ 2 / r 2 , with fixed centres at ( ±d,0 ) , r 1,2 = ( x∓d ) 2 + y 2 . Energy is the only obvious integral; there is no continuous point symmetry. Take the Killing tensor of the plane defined by 1 2 K ij v i v j = ( x v y −y v x ) 2 + d 2 v x 2 (rotation squared plus d 2 times translation quared), K i =0 . For this K , condition (46) becomes

xy( V yy − V xx )+( x 2 − y 2 − d 2 ) V xy +3x V y −3y V x =0, (48)

which the two-centre potential satisfies identically; the quadrature then gives k=2dx( κ 2 / r 2 − κ 1 / r 1 ) . The hidden integral

I= ( x v y −y v x ) 2 + d 2 v x 2 +2dx( κ 2 r 2 − κ 1 r 1 ) (49)

makes the problem integrable (Euler; separable in elliptic coordinates [2] [47]). Equation (48) is also a classification tool: it is linear in V , so any superposition of its solutions retains a quadratic integral of the same type. For instance, an

isotropic harmonic term 1 2 ϖ 2 ( x 2 + y 2 ) satisfies (48) and may be added to the two-centre potential without destroying integrability.

Example 11 (Ermakov-Lewis invariant of a driven oscillator). For q ¨ =−ϖ ( t ) 2 q (unit mass, V= 1 2 ϖ ( t ) 2 q 2 , N=0 ), energy is not conserved. In one dimension every K 11 independent of q is Killing; take K 11 =2ρ ( t ) 2 . The quadratic condition gives K 1 =−2ρ ρ ˙  q ; the linear condition gives k=( ρ 2 ϖ 2 + ρ ˙ 2 +ρ ρ ¨ )  q 2 ; the constant condition holds if and only if ρ 3 ( ρ ¨ + ϖ 2 ρ ) is constant. Normalizing this constant to 1 (possible by rescaling ρ whenever it is positive) gives the Ermakov-Pinney equation ρ ¨ + ϖ 2 ρ= ρ −3 , and the result is the invariant

I= ( ρ q ˙ − ρ ˙ q ) 2 + q 2 / ρ 2 (50)

of Ermakov [48] and of Lewis and Riesenfeld [49], the standard tool for parametrically excited systems. It is obtained here by the same three steps as the Runge-Lenz vector.

Example 12 (A strict Lyapunov function by determining equations). For the damped oscillator q ¨ =−ζ q ˙ − ω 0 2 q ( ζ, ω 0 >0 ), the energy gives only D t E=−ζ v 2 , which is not strictly negative and so does not by itself give an exponential decay rate. Take the ansatz K 11 =1 , K 1 =εq and choose k from the linear condition to remove the mixed term qv : k= 1 2 ( ω 0 2 +εζ )  q 2 . Then (42)-(44) give

I= 1 2 q ˙ 2 +εq q ˙ + 1 2 ( ω 0 2 +εζ ) q 2 ,  D t I=−( ζ−ε ) q ˙ 2 −ε ω 0 2 q 2 , (51)

which is negative definite for 0<ε<ζ , while I is positive definite for ε 2 < ω 0 2 +εζ . This is the classical strict Lyapunov function used in control design [43], obtained here from the determining equations: the only choice is the trial term K 1 =εq , and k and D t I then follow. The same procedure applies unchanged to multi-degree-of-freedom systems with gyroscopic and damping matrices.

Remark. Higher-degree ansätze give the same structure: the top-degree condition is a Killing-tensor equation (pure inertial correction), each lower degree couples the previous coefficients to N and to ∂V , and the lowest degree is a gradient condition settled by the Poincaré lemma. Explicit time dependence also covers integrals such as Galilean boost charges.

11. Phase Space: Corrections as Poisson Brackets

Under (H5) we use ( q i , p i ) and the Poisson bracket [50]

{ f,g }:= ∂f ∂ q i ∂g ∂ p i − ∂f ∂ p i ∂g ∂ q i ,  D t f= ∂f ∂t +{ f,H } (H6).(52)

The convective correction on phase space is the bracket with H : { q i ,H } and { p i ,H } are the Velocity and Force entries of Table 2, and D t H= ∂ t H because { H,H }=0 . The divergence of the Hamiltonian flow, ∂ q i ∂ p i H− ∂ p i ∂ q i H , vanishes by symmetry of mixed partials: Liouville’s theorem.

11.1. What the Bracket Measures

Each g generates a family of canonical transformations with rate X g f:={ f,g } . The Jacobi identity { f,{ g,k } }+cyclic=0 is again symmetry of mixed partials (all remaining terms are differences of mixed second derivatives), and is equivalent to X g X k − X k X g =− X { g,k } : the bracket of two generators generates the two-route correction between their transformations. A quantity I is conserved iff ∂ t I+{ I,H }=0 , the phase-space form of Result 15, and the bracket of two integrals is an integral (Poisson’s theorem). When n independent integrals are mutually in involution ( { I a , I b }=0 : all two-route corrections between their flows vanish), the flows commute and the system is integrable by quadratures in the sense of Liouville and Arnold [39]; for Example 10, H and I are such a pair.

11.2. Field Strength and Anholonomy in the Bracket

For (39), introduce the mechanical momentum κ i := g ij v j = p i − λ i .

Result 16 (Magnetic bracket). In the variables ( q,κ ) , { q i , q j }=0 , { q i , κ j }= δ j i , { κ i , κ j }= ℱ ij , and the Hamiltonian H κ = 1 2 g ij κ i κ j +V does not contain λ .

Proof. { κ i , κ j }=−{ p i , λ j }−{ λ i , p j }= ∂ i λ j − ∂ j λ i . □

Inertial corrections sit in H κ , gyroscopic ones in the bracket. The Jacobi identity of this bracket reduces to ∂ i ℱ jk + ∂ j ℱ ki + ∂ k ℱ ij =0 ( ∇⋅B=0 in three dimensions): Jacobi is Bianchi, and if ℱ comes from a λ it is symmetry of mixed partials one level up. For a monopole it fails at the origin, and the bracket is consistent only with the origin removed [51].

Anholonomy has the same phase-space form. For a time-independent frame and quasi-momenta P α := B α i p i , a direct calculation gives

{ P β , P δ }=− γ   βδ α P α , (53)

so for the rigid body ( γ=ϵ ) one obtains the body angular momentum bracket { P 1 , P 2 }=− P 3 and cyclic: the Lie-Poisson structure underlying Euler’s equations [25] [52]. Field strength, anholonomy and reduction all appear as noncommuting momenta. Table 4 classifies all the corrections met so far and shows where each of them lives on phase space.

Table 4. Classification of corrections and where each lives on phase space. All classes except the constitutive one are two-route corrections; constitutive terms are independent physical input (Section 4.3(e)).

Class

Origin

Failed

Examples

Phase-space form

Inertial

g ij , T 0 depend on ( t,q )

(H1), (H2)

Christoffel terms, centrifugal force

in H κ , via g ij and V

Gyroscopic

velocity-linear part of L not a gradient, Equation (19)

(H2) or (H4)

Coriolis, Euler, Lorentz forces

{ κ i , κ j }= ℱ ij ; Jacobi ⇔ Bianchi

Transport

frame moves, γ   β0 α ≠0 , Equation (13)

(H2)

rotating-frame derivative (22)

as gyroscopic

Anholonomy

velocity variables not time derivatives, Equation (12)

(H8)

Euler’s rigid-body equations; nonholonomic terms, Equation (23)

{ P β , P δ }=− γ   βδ α P α

Reduction

cyclic coordinate eliminated, Equation (30)

—

gyroscopic terms, effective potentials

as gyroscopic, with charge c

Constitutive

force not from a potential; mass flux

(H3), (H4)

friction, damping, actuation, rockets

not in the canonical bracket of the physical variables (Liouville); see Section 11.3

Convective

D t − ∂ t

(always)

Hamilton’s equations from Hamilton-Jacobi

bracket with H

Energy

h−E=−( T 1 +2 T 0 )

(H7)

Jacobi integral

—

11.3. Central Charges, and Why Friction Does Not Fit the Canonical Bracket

For point symmetries ξ , η with gauge terms F ξ , F η , the charges I ξ = ξ i p i − F ξ satisfy

{ I ξ , I η }=− [ ξ,η ] i p i + ξ i ∂ i F η − η i ∂ i F ξ , (54)

with [ ξ,η ] i = ξ j ∂ j η i − η j ∂ j ξ i . A constant extra term is a central charge. For magnetic translations, { I 1 , I 2 }=−eB⋅( c 1 × c 2 ) (minus e times the flux through the parallelogram of the two translations); for a Galilean boost and a translation of a free particle, { I ξ , I η }=−mc⋅ c ′ : the mass is the central charge of the Galilei algebra [53].

In the physical variables, constitutive corrections cannot be placed in the canonical Poisson bracket: the damped oscillator has phase-space flow of divergence −ζ in the variables ( q,mv ) , whereas every flow that is Hamiltonian with respect to the canonical bracket preserves the canonical phase-space volume and is therefore divergence free in these variables. The argument is restricted to these variables, this bracket and this volume. Alternative variables, structures or enlarged descriptions require separate consideration: the Caldirola-Kanai description restores a Hamiltonian flow by changing the bracket to the time-dependent { q,mv }= e −ζt ; Bateman’s dual system doubles the degrees of freedom [54]; and metriplectic [55] [56] and port-Hamiltonian [57] structures supplement a Poisson bracket with a symmetric dissipative bracket or a resistive structure. The determining system of Result 15, which works directly with the equations of motion, does not need a bracket at all.

12. The Method as a Procedure

The results combine into the following procedure for a given system.

1) Ingredients. Write T , U and any nonconservative Q nc ; split T= T 2 + T 1 + T 0 ; collect all velocity-linear terms into ( λ 0 , λ i ) . Choose velocity variables (10): coordinate velocities, body velocities, or inertial velocities resolved in a moving frame. For nonholonomic constraints, choose them so that the constraints read ω c =0 .

2) Assumptions. Record (H1)-(H8) used at each step.

3) Corrections. Compute the frame commutators (13) and write the master equation (15); read off inertial, gyroscopic, transport and anholonomy terms with Table 3. Impose constraints after differentiation; the constraint correction is (23).

4) Reduce. Eliminate cyclic coordinates with (30); the result is again of the form (39).

5) Integrals and stability. Use the energy balance and (37); then solve the determining system (45) degree by degree, testing the forces with the compatibility condition (46) and obtaining k by quadrature. For damped or controlled systems require D t I≤0 instead, with bounds uniform in time if I depends on t (Section 10.3(d)). Check involution with Poisson brackets.

6) Lagrangian test, if only equations of motion are given: (32)-(34), with a multiplier if necessary.

Every step is partial differentiation, an application of D t , or a linear system of partial differential equations, so the procedure is directly implementable in computer algebra; all results and examples in this paper were checked symbolically in this way. It doubles as an audit of an existing derivation: an equation used beyond its assumptions produces a nonzero correction, and Table 1 and Table 4 name the missing term. Figure 3 condenses the procedure into a decision chart that shows which corrections a given problem needs.

13. Quick Reference

This section collects, without derivation, what is needed to apply the method. Table 5 fixes notation, Table 6 lists the master formulas with their assumptions, and Table 7 maps common types of problem to the steps of Section 12.

[Common errors and the terms they lose]

  • ∂T/ ∂ q i set to zero outside (H1)-(H2): lost inertial correction (centrifugal, Christoffel terms), Equation (16), Example 1, Section 1.1.

  • D t replaced by ∂ t : lost convective correction; in Hamilton-Jacobi theory a spurious force (Example 7).

  • p i identified with π i or m v i : lost gyroscopic term; p i − π i = λ i for velocity-linear terms not contained in T (Result 6).

  • h identified with E outside (H7): wrong energy integral; h−E=−( T 1 +2 T 0 ) (Result 13).

  • Nonholonomic constraints substituted before differentiating: lost γ   ad c P c ω d (Result 7).

  • Body or frame velocities treated as coordinate velocities: lost anholonomy and transport terms γ   βμ α P α ω μ (Result 3).

  • Coriolis matrix C not built from Christoffel symbols: loss of the skew-symmetry of M ˙ −2C used in control (Result 4).

  • Gauge term F dropped in Noether’s theorem: wrong conserved quantity (pseudo-momentum, boost charges); use instead the gauge-free system (45).

Figure 3. Decision chart: which corrections a problem needs. Work down the left column; every “yes” adds the term on the right. All answers are read off from the master equation (15).

Table 5. Notation.

Symbol

Meaning

q i , v i , a i

coordinates, velocities, accelerations (independent until evaluated on a motion)

D t ; ∂ i

total time derivative (4); ∂/ ∂ q i

ℰ i ( f )

Euler-Lagrange expression D t ( ∂f/ ∂ v i )− ∂f/ ∂ q i

g ij , b i , T 0

kinetic coefficients, T= 1 2 g ij v i v j + b i v i + T 0

Γ i,jk ; ∇

Christoffel symbols of g ij ; covariant derivative

λ i , λ 0 ; ℱ ij

velocity-linear part of L ; field strength ∂ i λ j − ∂ j λ i

N ij

coefficient of all velocity-linear forces in (38) (gyroscopic and dissipative)

p i ; π i ; κ i

canonical ∂L/ ∂ v i ; kinetic ∂T/ ∂ v i ; mechanical g ij v j momentum

h ; E

energy function v i p i −L ; total energy T+U

ω α = A i α v i + A 0 α

velocity variables (quasi-velocities, generalized speeds)

e α , e 0

frame vector fields (11); B= A −1

γ   βδ α ; γ   β0 α

anholonomy; transport coefficients (12)

L * ; P α

Lagrangian in velocity variables; momenta ∂ L * / ∂ ω α

ω c , ω a

constrained ( ω c =0 ) and free velocity variables

K ij , K i ,k

coefficients of a trial integral (40)

{ f,g }

Poisson bracket (52)

Table 6. Master formulas. “Assumes” lists the hypotheses of Section 3.2 that the formula needs beyond smoothness.

Purpose

Formula

Assumes

Where

Master equation

P ˙ β − e β L * + γ   βδ α P α ω δ + γ   β0 α P α = Q β * , [ e β , e μ ]= γ   βμ α e α

(H3)

(15)

Any coordinates

g ij a j + Γ i,jk v j v k = Q i − ∂ t g ij v j + β ij v j − ∂ t b i + ∂ i T 0

(H3)

(16)

Robot form

M q ¨ +C q ˙ +∇U=τ , C ij = Γ i,jk v k , M ˙ −2C antisymmetric

(H2), (H3)

(17)

Velocity-linear terms

ℰ i ( λ j v j + λ 0 )= ∂ t λ i − ∂ i λ 0 − ℱ ij v j

—

(19)

Moving frame

m( ω ˙ +Ω×ω )=F ; equivalently (55)

(H3)

(22)

Nonholonomic shortcut

missing term − γ   ad c P c ω d ; zero if constraints integrable

ideal constraints

(23)

Kane’s method

− F a * = free components of the master equation at ω c =0

ideal constraints

(28)

Cyclic coordinate

R c = 1 2 g ij v i v j +[ λ i +( c−σ ) a i ] v i −V− ( c−σ ) 2 / 2 I χ

form (29)

(30)

Gauge freedom

L~L+ D t F( t,q )

star-shaped region

Res. 9

Lagrangian exists?

Helmholtz conditions

—

(32)-(34)

Energy

D t h= v i Q i nc − ∂ t L ; h−E=−( T 1 +2 T 0 )

(H4) for h−E

Res. 12, (37)

Point symmetry

δ ξ L= D t F⇒I= ξ i p i −F

—

Res. 14

Integrals, Lyapunov

∇ (l K ij) =0 , 1 2 ∂ t K ij + ∇ (i K j) + K (i m N | m |j) =0 , ∂ i k= K i m ∂ m V− K m N mi − ∂ t K i , ∂ t k= K m ∂ m V

form (38)

(45), (46)

Phase space

D t f= ∂ t f+{ f,H } ; { κ i , κ j }= ℱ ij ; { P β , P δ }=− γ   βδ α P α

(H5)

Sec. 11

Table 7. Guide from problem type to method. “Corrections” are the terms that must appear in the equations of motion; “Integrals” are the conserved quantities (or Lyapunov functions) to look for first.

Problem

Variables

Corrections

Integrals

See

Particle in curvilinear coordinates

q i , v i

inertial (Christoffel, centrifugal)

h=E ; Killing vectors of g

Ex. 1, App. A.1

Robot arm, linkage

joint angles

inertial; C from Christoffel symbols

energy; passivity

Res. 4, App. A.4

Rotating or accelerating frame

frame Cartesian, or frame-resolved inertial velocity

gyroscopic and inertial, or one transport term

Jacobi integral h≠E

Res. 6, Sec. 4.3(c)

Charge in electromagnetic field

Cartesian

gyroscopic (Lorentz), only via E , B

h=T+eϕ ; determining system with ℱ

Ex. 2, 9

Rigid body

body angular velocities

anholonomy ( γ=ϵ )

energy, | P | 2 (free body)

Ex. 3, App. A.3

Rolling, skating, vehicles

generalized speeds with ω c =0

anholonomy; constraint-substitution term

energy (static constraints)

Res. 7, Ex. 4

Tops, gyrostats, central forces

coordinates with cyclic ones

reduction: gyroscopic term, V eff

cyclic momenta; reduced system (39)

Res. 8, Ex. 5

Is the system integrable?

reduced coordinates

—

Killing tensors, test (46), involution

Ex. 8, 10, App. A.5

Driven, parametric

q , v , t

time-dependent V

time-dependent determining system

Ex. 11

Damping, control

any

constitutive Q nc

energy balance; Lyapunov via D t I≤0

Ex. 12

Equations given, L unknown

q , v , a

—

Helmholtz test with multiplier

Res. 10, Ex. 6

Separation of variables

( q,p )

convective

complete integral, Jacobi’s theorem

Sec. 9

14. Discussion and Conclusions

The symmetry of mixed partial derivatives, written as three commutation rules and applied to operations that carry their assumptions, is, together with Newton’s second law and the force law, enough to derive Lagrange’s equations in moving coordinates, the Hamel and Kane equations, reduced equations of Routh type, the Helmholtz conditions, Hamilton’s equations, Jacobi’s theorem and Noether’s theorem. Hamilton’s principle explains why physical motions satisfy (9) but is not needed to derive them.

The organizing results are the commutator table (Table 1) and the master equation (Result 3). The table turns “what can go wrong” in a derivation built from the operations of Section 2.2 into a fixed list; the master equation turns “which terms belong in this equation” into writing L * in the chosen velocity variables and computing the frame commutators [ e β , e μ ] . Besides the commutator table, two further tools follow. First, the constraint-substitution correction (23) gives, for nonholonomic systems, the exact term lost by a common shortcut, together with a Frobenius criterion for when the shortcut is safe; it also explains why Kane’s method is immune to the error. Second, the determining system (45) finds first integrals without guessing symmetries and without choosing a gauge, accepts, within the class (38) with a time-independent kinetic metric, explicit time dependence and linear dissipative forces, and yields Lyapunov functions from the same coefficient equations; its compatibility condition (46) generalizes the Bertrand-Darboux equation. In addition, Routh reduction appears as a transfer of a cyclic coordinate into a gyroscopic field, so reduced systems inherit every tool for magnetic-type systems.

Relation to existing work. Each ingredient has antecedents, and the comparison below states what the present formulation adds to each.

Moving frames. Hamel’s equations for rheonomic, affine quasi-velocities ω α = A i α v i + A 0 α , including the terms produced by the explicit time dependence and the offset A 0 α , are treated comprehensively by Papastavridis [8]; the theory of quasi-velocities in arbitrary configuration-dependent frames, with and without nonholonomic constraints, is developed by Bloch, Marsden and Zenkov [58], and the geometry of nonholonomic corrections by Bloch and co-workers [9] [10]. Result 3 does not add new terms to these equations. What it adds is a presentation in which the rheonomic terms are the commutator coefficients γ   β0 α of the frame fields on extended configuration space, so that anholonomy and transport follow from the single formula (13), and the use of this form to place rotating-frame, rigid-body and vehicle equations in one commutator table. The substitution correction (23) likewise restates the classical Voronets-Chaplygin-Hamel terms [6] as one explicit product of constraint momentum and anholonomy, with the Frobenius test attached.

Integrals and Lyapunov functions. Determining equations for quadratic integrals with magnetic fields go back to [11] and its successors [12] [13], and for static systems (45) is equivalent to them. Time-dependent integrals have been sought by direct ansätze since Lewis and Leach [59], in a gauge-invariant formulation of time-dependent symmetry mappings by Katzin and Levine [60], and, for potentials of the form ω( t )V( q ) on a general kinetic metric, with the Killing-tensor condition as the top-degree equation, by Mitsopoulos and Tsamparlis [61]; polynomial Lyapunov functions are constructed algorithmically by sum-of-squares programming [62]. Killing tensors and the Bertrand-Darboux equation are classical [41] [42]. What (45) adds is a single linear system, written only in terms of the force coefficients N ij and the potential V , in which the gyroscopic, Coriolis, reduced, time-dependent and linearly damped cases of the class (38) are treated together, so that first integrals and Lyapunov candidates come from the same coefficient equations and the compatibility condition (46) extends the Bertrand-Darboux equation to all of them. Its scope is that stated at the start of Section 10.3.

Overall, what is new is the reduction of these ingredients to one mechanism and one equation, and their organization as a checkable procedure.

Limitations. The method finds integrals within a chosen polynomial degree; the absence of an integral of degree two does not exclude integrals of higher degree or non-polynomial ones, for which singularity (Painlevé-type) analysis and related methods are needed [42]. For nonholonomic systems the equations are exact, but conservation of quantities other than energy is not guaranteed by symmetry alone [10]. The determining system assumes a time-independent kinetic metric and forces of the form (38), that is, gradient forces plus forces linear in the velocity (Section 10.3), and time-dependent Lyapunov candidates need bounds uniform in time. Dissipative systems are outside the canonical Poisson framework in their physical variables (Section 11.3), although not outside the determining system; alternative variables, structures or enlarged descriptions require separate consideration.

Extensions. Natural next steps are determining systems for nonholonomic systems, where (23) supplies the extra terms; field theory, where the total derivatives D μ obey the analogous commutation rules and yield the field-theoretic Euler operator and null Lagrangians by the same arguments [26] [27]; and numerical integration, where the leading error of a splitting method is the commutator of the vector fields being split [63], a two-route correction in discrete time. In thermodynamics, the Maxwell relations are the same symmetry of mixed partials applied to thermodynamic potentials [64].

For practical use, the method is condensed into Figure 3, Section 13 and Appendix A: a reader can go from the type of problem (Table 7) to the master formulas (Table 6) and take the kinetic data from Appendix A.

[The paper at a glance]

  • One identity (Result 1), the symmetry of mixed partials, generates every structural correction in the paper; constitutive forces enter as independent physical input (Section 4.3(e)).

  • One master equation (Result 3), valid in any moving frame, with or without constraints, contains every standard equation of motion as a special case (Table 3).

  • One commutator table (Table 1) lists the structural corrections produced by the operations of Section 2.2 and names the physical term each produces.

  • One determining system (Result 15) finds conserved quantities by linear algebra and quadrature, and Lyapunov functions from the same coefficients, without guessing symmetries or choosing a gauge, for systems with a time-independent kinetic metric.

  • Ready to use: a six-step procedure (Section 12), a decision chart (Figure 3), master-formula tables (Section 13) and a catalogue of standard cases (Appendix A).

Data Availability

No new data were generated or analyzed in this study. All results can be reproduced from the equations provided in the paper.

Appendix A. Catalogue of Standard Cases

The entries below are ready to insert into step 1 of the procedure. All were checked symbolically.

A.1. Common Coordinate Systems

For a particle of mass m ( b i = T 0 =0 ), the general Equation (16) gives:

Plane polar ( r,θ ) , T= 1 2 m( r ˙ 2 + r 2 θ ˙ 2 ) :

m( r ¨ −r θ ˙ 2 )= Q r , m( r 2 θ ¨ +2r r ˙ θ ˙ )= Q θ .

Cylindrical ( R,ϕ,z ) , T= 1 2 m( R ˙ 2 + R 2 ϕ ˙ 2 + z ˙ 2 ) :

m( R ¨ −R ϕ ˙ 2 )= Q R , m( R 2 ϕ ¨ +2R R ˙ ϕ ˙ )= Q ϕ , m z ¨ = Q z .

Spherical ( r,θ,ϕ ) , T= 1 2 m( r ˙ 2 + r 2 θ ˙ 2 + r 2 sin 2 θ  ϕ ˙ 2 ) :

m( r ¨ −r θ ˙ 2 −r sin 2 θ  ϕ ˙ 2 )= Q r , m( r 2 θ ¨ +2r r ˙ θ ˙ − r 2 sinθcosθ  ϕ ˙ 2 )= Q θ ,

m  d dt ( r 2 sin 2 θ  ϕ ˙ )= Q ϕ .

Here Q i =F⋅ ∂r/ ∂ q i (for example Q θ =r F θ in polar coordinates, with F θ the physical component). All velocity-quadratic terms are inertial corrections; their removal is the error of Example 1.

A.2. General Moving Frame

Let the inertial position be R 0 ( t )+R( t )ρ , where R( t ) is a rotation, ρ are Cartesian coordinates in the moving frame, Ω is the frame’s angular velocity and a 0 := R T R ¨ 0 the acceleration of its origin, both in frame components.

Coordinate-velocity route. g ij =m δ ij , b=m( Ω×ρ+ R T R ˙ 0 ) , T 0 = 1 2 m | Ω×ρ+ R T R ˙ 0 | 2 , and (16) gives [47]

m ρ ¨ =F−m a 0 −2m Ω× ρ ˙ −m Ω×( Ω×ρ )−m  Ω ˙ ×ρ. (55)

The translational part of b is independent of ρ and has no curl, so it produces no Coriolis-type term; through ∂ t b and ∇ T 0 it produces exactly the term −m a 0 .

Transport route. With ω= ρ ˙ +Ω×ρ+ R T R ˙ 0 , γ   β0 α = ϵ αβk Ω k and the master equation is (22). Expanding ω ˙ , with d dt ( R T R ˙ 0 )= a 0 −Ω× R T R ˙ 0 , reproduces (55) term by term.

For R ˙ 0 =0 and constant Ω , the Jacobi integral is h= 1 2 m | ρ ˙ | 2 − 1 2 m | Ω×ρ | 2 +U .

A.3. Quasi-Velocity Frames

Planar rigid body. With q=( x,y,θ ) and velocities resolved in the body, u= x ˙ cosθ+ y ˙ sinθ , w=− x ˙ sinθ+ y ˙ cosθ , Ω= θ ˙ , the nonzero anholonomy coefficients are γ   wΩ u =− γ   Ωw u =1 and γ   uΩ w =− γ   Ωu w =−1 . For any T * ( u,w,Ω ) independent of q , (15) reads

P ˙ u −Ω P w = Q u * ,  P ˙ w +Ω P u = Q w * ,  P ˙ Ω +u P w −w P u = Q Ω * , (56)

which covers sleighs, skates, wheeled and towed vehicles; a knife edge or non-slipping wheel at the reference point imposes w=0 .

Rigid body in space. With Euler angles ( ϕ,θ,ψ ) in the z - x - z convention, the body angular velocities are

ω 1 = ϕ ˙ sinθsinψ+ θ ˙ cosψ,  ω 2 = ϕ ˙ sinθcosψ− θ ˙ sinψ,  ω 3 = ϕ ˙ cosθ+ ψ ˙ ,

the anholonomy coefficients are γ   βδ α = ϵ αβδ , and (15) is P ˙ +ω×P=M in body components, with M the torque (including potential torques − e β U ). For principal axes, P=( I 1 ω 1 , I 2 ω 2 , I 3 ω 3 ) , giving Euler’s equations.

A.4. Two-Link Planar Arm

For links of masses m 1 , m 2 , length l 1 of the first link, distances l c1 , l c2 from the joints to the link mass centres, central moments of inertia I 1 , I 2 , and relative joint angles ( θ 1 , θ 2 ) :

M 11 = m 1 l c1 2 + m 2 ( l 1 2 + l c2 2 +2 l 1 l c2 cos θ 2 )+ I 1 + I 2 ,

M 12 = M 21 = m 2 ( l c2 2 + l 1 l c2 cos θ 2 )+ I 2 ,  M 22 = m 2 l c2 2 + I 2 ,

and, with η:=− m 2 l 1 l c2 sin θ 2 , the Christoffel-based Coriolis matrix of (17) is

C=( η  θ ˙ 2 η ( θ ˙ 1 + θ ˙ 2 ) −η  θ ˙ 1 0 ),

for which M ˙ −2C is antisymmetric [18].

A.5. Killing Tensors of the Plane and the Bertrand-Darboux Equation

For a unit mass in the Euclidean plane, every quadratic Killing tensor has the form

1 2 K ij v i v j =s L z 2 + μ 1 L z v x + μ 2 L z v y + ν 11 v x 2 + ν 12 v x v y + ν 22 v y 2 , L z :=x v y −y v x , (57)

with six constants. For N=0 and static V , the compatibility condition (46) becomes

( 2sxy− μ 1 x+ μ 2 y− ν 12 )( V xx − V yy ) − 2[ s( x 2 − y 2 )+ μ 1 y+ μ 2 x− ν 11 + ν 22 ] V xy + 3( 2sy− μ 1 ) V x −3( 2sx+ μ 2 ) V y =0. (58)

Equation (48) is the case s=1 , ν 11 = d 2 , all other constants zero. Apart from the trivial case K ij ∝ g ij , which reproduces the energy, the Killing tensor can be brought by a Euclidean motion to one of four normal forms, and the potentials satisfying (58) are exactly those separable in Cartesian, polar, parabolic or elliptic coordinates [2] [42]. For a magnetic or Coriolis field in the plane, N 12 =− N 21 =B( x,y ) , the term − K m N mi must be added before testing compatibility, and the quadratic condition imposes the additional coupling between K i , K ij and B .

Appendix B. Dictionary to Differential Geometry

The method is written in components so that it can be used with multivariable calculus alone. For readers who prefer intrinsic language, Table B1 lists the corresponding geometric objects.

Table B1. Geometric meaning of the objects used in the paper.

In this paper

Geometric object

( t,q,v,a ) independent; D t

jet coordinates; total derivative (contact vector field) on the second jet bundle

Rules (5)

commutators of the total derivative with vertical and horizontal coordinate derivatives

g ij ; inertial corrections

kinetic metric; Levi-Civita connection (Christoffel symbols)

ℱ ij ; gyroscopic corrections

closed two-form dλ (magnetic form); Lorentz force

e α , e 0 ; γ   βμ α

moving frame on extended configuration space; its structure functions (anholonomy object)

γ   ad c on allowed directions

curvature of the nonholonomic (Ehresmann) connection [9]

Reduced field strength in (30)

curvature of the mechanical connection [24]

K ij , K i

Killing tensor, Killing vector of g

Commutation of Hamiltonian flows

Lie algebra of Hamiltonian vector fields; Jacobi identity

Conflicts of Interest

The author declares no conflicts of interest regarding the publication of this paper.

References

[1] Goldstein, H., Poole, C. and Safko, J. (2002) Classical Mechanics. 3rd Edition, Addison Wesley.
[2] Whittaker, E.T. (1937) A Treatise on the Analytical Dynamics of Particles and Rigid Bodies. 4th Edition, Cambridge University Press.
[3] José, J.V. and Saletan, E.J. (1998) Classical Dynamics: A Contemporary Approach. Cambridge University Press.[CrossRef]
[4] Rudin, W. (1976) Principles of Mathematical Analysis. 3rd Edition, McGraw-Hill.
[5] Lindelöf, E. (1895) Sur le mouvement d’un corps de révolution roulant sur un plan horizontal. Acta Societatis Scientiarum Fennicae, 20, 1-18.
[6] Neimark, Ju.I. and Fufaev, N.A. (1972) Dynamics of Nonholonomic Systems. Translations of Mathematical Monographs, Vol. 33, American Mathematical Society.
[7] Hamel, G. (1904) Die Lagrange-Eulerschen Gleichungen der Mechanik. Zeitschrift für Mathematik und Physik, 50, 1-57.
[8] Papastavridis, J.G. (2002) Analytical Mechanics: A Comprehensive Treatise on the Dynamics of Constrained Systems; for Engineers, Physicists, and Mathematicians. Oxford University Press.
[9] Bloch, A.M., Krishnaprasad, P.S., Marsden, J.E. and Murray, R.M. (1996) Nonholonomic Mechanical Systems with Symmetry. Archive for Rational Mechanics and Analysis, 136, 21-99.[CrossRef]
[10] Bloch, A.M. (2003) Nonholonomic Mechanics and Control. Springer.
[11] Dorizzi, B., Grammaticos, B., Ramani, A. and Winternitz, P. (1985) Integrable Hamiltonian Systems with Velocity-Dependent Potentials. Journal of Mathematical Physics, 26, 3070-3079.[CrossRef]
[12] McSween, E. and Winternitz, P. (2000) Integrable and Superintegrable Hamiltonian Systems in Magnetic Fields. Journal of Mathematical Physics, 41, 2957-2967.[CrossRef]
[13] Pucacco, G. and Rosquist, K. (2005) Integrable Hamiltonian Systems with Vector Potentials. Journal of Mathematical Physics, 46, Article 012701.[CrossRef]
[14] Spivak, M. (1965) Calculus on Manifolds. W.A. Benjamin.
[15] Lanczos, C. (1970) The Variational Principles of Mechanics. 4th Edition, University of Toronto Press.
[16] Gelfand, I.M. and Fomin, S.V. (1963) Calculus of Variations. Prentice-Hall.
[17] Greenwood, D.T. (2003) Advanced Dynamics. Cambridge University Press.
[18] Spong, M.W., Hutchinson, S. and Vidyasagar, M. (2006) Robot Modeling and Control. Wiley.
[19] Jackson, J.D. (1999) Classical Electrodynamics. 3rd Edition, Wiley.
[20] Strutt, J.W. (1877) The Theory of Sound. Vol. 1, Macmillan.
[21] Chaplygin, S.A. (2008) On the Theory of Motion of Nonholonomic Systems. The Reducing-Multiplier Theorem. Regular and Chaotic Dynamics, 13, 369-376.[CrossRef]
[22] Kane, T.R. and Levinson, D.A. (1985) Dynamics: Theory and Applications. McGraw-Hill.
[23] Routh, E.J. (1877) A Treatise on the Stability of a Given State of Motion, Particularly Steady Motion. Macmillan.
[24] Marsden, J.E., Ratiu, T.S. and Scheurle, J. (2000) Reduction Theory and the Lagrange-Routh Equations. Journal of Mathematical Physics, 41, 3379-3429.[CrossRef]
[25] Marsden, J.E. and Ratiu, T.S. (1999) Introduction to Mechanics and Symmetry: A Basic Exposition of Classical Mechanical Systems. 2nd Edition, Springer.
[26] Olver, P.J. (1993) Applications of Lie Groups to Differential Equations. 2nd Edition, Springer.
[27] Anderson, I. and Thompson, G. (1992) The Inverse Problem of the Calculus of Variations for Ordinary Differential Equations. Memoirs of the American Mathematical Society, 98, 1-107.[CrossRef]
[28] Aharonov, Y. and Bohm, D. (1959) Significance of Electromagnetic Potentials in the Quantum Theory. Physical Review, 115, 485-491.[CrossRef]
[29] Douglas, J. (1941) Solution of the Inverse Problem of the Calculus of Variations. Transactions of the American Mathematical Society, 50, 71-128.[CrossRef]
[30] von Helmholtz, H. (1887) Ueber die physikalische Bedeutung des Princips der kleinsten Wirkung. Journal für die Reine und Angewandte Mathematik, 1887, 137-166.[CrossRef]
[31] Santilli, R.M. (1978) Foundations of Theoretical Mechanics I: The Inverse Problem in Newtonian Mechanics. Springer.
[32] Sarlet, W. (1982) The Helmholtz Conditions Revisited. A New Approach to the Inverse Problem of Lagrangian Dynamics. Journal of Physics A: Mathematical and General, 15, 1503-1517.[CrossRef]
[33] Caldirola, P. (1941) Forze Non Conservative Nella Meccanica Quantistica. Il Nuovo Cimento, 18, 393-400.[CrossRef]
[34] Kanai, E. (1948) On the Quantization of the Dissipative Systems. Progress of Theoretical Physics, 3, 440-442.[CrossRef]
[35] Dirac, P.A.M. (1964) Lectures on Quantum Mechanics. Belfer Graduate School of Science, Yeshiva University.
[36] Henneaux, M. and Teitelboim, C. (1992) Quantization of Gauge Systems. Princeton University Press.
[37] Courant, R. and Hilbert, D. (1962) Methods of Mathematical Physics. Vol. II, Interscience.
[38] Evans, L.C. (2010) Partial Differential Equations. 2nd Edition, American Mathematical Society.
[39] Arnold, V.I. (1989) Mathematical Methods of Classical Mechanics. 2nd Edition, Springer.
[40] Noether, E. (1918) Invariante Variationsprobleme. Nachrichten von der Gesellschaft der Wissenschaften zu Göttingen, Mathematisch-Physikalische Klasse, 1918, 235-257.
[41] Eisenhart, L.P. (1926) Riemannian Geometry. Princeton University Press.
[42] Hietarinta, J. (1987) Direct Methods for the Search of the Second Invariant. Physics Reports, 147, 87-154.[CrossRef]
[43] Khalil, H.K. (2002) Nonlinear Systems. 3rd Edition, Prentice Hall.
[44] Goldstein, H. (1975) Prehistory of the ‘‘Runge-Lenz’’ Vector. American Journal of Physics, 43, 737-738.[CrossRef]
[45] Poincaré, H. (1896) Remarques sur une expérience de M. Birkeland. Comptes Rendus de l’Académie des Sciences, 123, 530-533.
[46] Jackiw, R. (1980) Dynamical Symmetry of the Magnetic Monopole. Annals of Physics, 129, 183-200.[CrossRef]
[47] Landau, L.D. and Lifshitz, E.M. (1976) Mechanics. 3rd Edition, Pergamon Press.
[48] Ermakov, P. (2008) Second-Order Differential Equations: Conditions of Complete Integrability. Applicable Analysis and Discrete Mathematics, 2, 123-145.[CrossRef]
[49] Lewis, H.R. and Riesenfeld, W.B. (1969) An Exact Quantum Theory of the Time-Dependent Harmonic Oscillator and of a Charged Particle in a Time-Dependent Electromagnetic Field. Journal of Mathematical Physics, 10, 1458-1473.[CrossRef]
[50] Poisson, S.D. (1809) Sur la variation des constantes arbitraires dans les questions de mécanique. Journal de l’École Polytechnique, 8, 266-344.
[51] Jackiw, R. (1985) Three-Cocycle in Mathematics and Physics. Physical Review Letters, 54, 159-162.[CrossRef] [PubMed]
[52] Poincaré, H. (1901) Sur une forme nouvelle des équations de la mécanique. Comptes Rendus de l’Académie des Sciences, 132, 369-371.
[53] Bargmann, V. (1954) On Unitary Ray Representations of Continuous Groups. The Annals of Mathematics, 59, 1-46.[CrossRef]
[54] Bateman, H. (1931) On Dissipative Systems and Related Variational Principles. Physical Review, 38, 815-819.[CrossRef]
[55] Morrison, P.J. (1986) A Paradigm for Joined Hamiltonian and Dissipative Systems. Physica D: Nonlinear Phenomena, 18, 410-419.[CrossRef]
[56] Grmela, M. and Öttinger, H.C. (1997) Dynamics and Thermodynamics of Complex Fluids. I. Development of a General Formalism. Physical Review E, 56, 6620-6632.[CrossRef]
[57] van der Schaft, A. and Jeltsema, D. (2014) Port-Hamiltonian Systems Theory: An Introductory Overview. Foundations and Trends® in Systems and Control, 1, 173-378.[CrossRef]
[58] Bloch, A.M., Marsden, J.E. and Zenkov, D.V. (2009) Quasivelocities and Symmetries in Non-Holonomic Systems. Dynamical Systems, 24, 187-222.[CrossRef]
[59] Lewis, H.R. and Leach, P.G.L. (1982) A Direct Approach to Finding Exact Invariants for One-Dimensional Time-Dependent Classical Hamiltonians. Journal of Mathematical Physics, 23, 2371-2374.[CrossRef]
[60] Katzin, G.H. and Levine, J. (1976) A Gauge Invariant Formulation of Time-Dependent Dynamical Symmetry Mappings and Associated Constants of Motion for Lagrangian Particle Mechanics. I. Journal of Mathematical Physics, 17, 1345-1350.[CrossRef]
[61] Mitsopoulos, A. and Tsamparlis, M. (2021) Quadratic First Integrals of Time-Dependent Dynamical Systems of the Form . Mathematics, 9, Article 1503.[CrossRef]
[62] Papachristodoulou, A. and Prajna, S. (2002) On the Construction of Lyapunov Functions Using the Sum of Squares Decomposition. Proceedings of the 41st IEEE Conference on Decision and Control, Las Vegas, 10-13 December 2002, 3482-3487.[CrossRef]
[63] Hairer, E., Lubich, C. and Wanner, G. (2006) Geometric Numerical Integration. 2nd Edition, Springer.
[64] Callen, H.B. (1985) Thermodynamics and an Introduction to Thermostatistics. 2nd Edition, Wiley.

Copyright © 2026 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.