Derivations of the equations of motion
Optional deeper understanding — not required by the official syllabus.
Status of these derivations
Optional deeper understanding — not required by the official syllabus. The syllabus excludes full derivations of Lagrange's and Hamilton's equations. Their statements, meanings, assumptions, and applications are taught in the main chapters. This appendix supplies the derivations for readers who want to follow the logical connection from D’Alembert's principle.
The conservation-law proofs, kinetic-energy identities, central-force proofs, Binet equation, Kepler laws, and Runge–Lenz proofs in the main course remain part of the relevant core development. The optional status here does not extend to those results.
Lagrange’s equations
Assume constant-mass particles in an inertial frame, smooth ideal holonomic constraints, independent generalized coordinates, and conservative forces described by a velocity-independent potential . Keep any remaining applied generalized forces as .
D’Alembert's principle is
At fixed time, . The conservative-force contribution is
by the chain rule. The remaining contribution is by its virtual-work definition. The kinetic-energy identity proved in Chapter 10 gives
Therefore
The variations are independent, so every bracket is zero. Rearranging and using yields
With this is Lagrange's equation. The minus sign between energies follows from the conservative force being the negative gradient of . The derivation also identifies its limit: independent virtual variations were used, so arbitrary non-holonomic velocity constraints cannot be eliminated by the same naive substitution.
Hamilton’s equations
Assume a regular Lagrangian so that can be inverted for . Define . Take its differential before collecting variables:
The coefficients cancel because . Thus
Since the independent arguments of are , comparison with gives
Lagrange's equation is . Substituting the second identity gives
For these are the canonical Hamilton equations. The same differential calculation also proves the correspondence of cyclic coordinates and the opposite explicit-time derivatives of and . All derivatives are evaluated at the corresponding state, but the variables held fixed differ between the two descriptions.