Abstract
As a universal principle in analytical mechanics, Gauss principle is characterized by its extremal property, which differs from other differential variational principles. Because of its universality and extreme properties, the Gauss principle is not only theoretically important, but also has great practical value, such as in robot dynamics, multi-body systems, approximate solutions to dynamics equations, etc. In this paper, the arbitrary-order Gauss principle is proposed and its application in nonholonomic mechanics is studied. Firstly, the concept of the space spanned by arbitrary-order derivative of acceleration is proposed, and Gauss principle of mechanical system with two-sided ideal constraints is established in this space. By defining the generalized compulsion function, it is proved that in the arbitrary-order derivative space of acceleration this function yields a stationary value along the path of real motion. Secondly, three kinds of arbitrary-order Gauss principles in generalized coordinates are derived. Thirdly, by constructing the generalized compulsion function of nonholonomic systems, the arbitrary-order Gauss principles are extended to nonholonomic systems, and Appell equations, Lagrange equations and Nielsen equations are derived.
Similar content being viewed by others
Introduction
Gauss principle, also known as the principle of least compulsion, was proposed by German mathematician Gauss CF in 1829. It is a universal principle in analytical mechanics1,2,3. Gauss principle is characterized by its extremal property, whereas neither d’Alembert-Lagrange’s principle nor Jourdain’s principle has extremality1. The advantage of Gauss principle is that it not only has a simple analytical expression, but also can be used to construct equations of motion for both holonomic and nonholonomic systems. It is this property that makes Gauss principle particularly useful in the field of dynamics modeling and approximate calculation of complex systems. Examples include multi-body system dynamics4,5,6,7,8, robot dynamics9,10, hybrid dynamics11, and elastic rod dynamics12, etc. Literature13 provides a good overview of the origin and development of the Gauss principle. The articles14,15,16,17,18,19,20 deal with the Gauss principle and its application in mechanical systems. Although the Gauss principle is complete when dealing with constrained mechanical systems involving first-order derivatives1, for systems with higher-order derivatives or higher-order constraints, the Gauss principle and its stationary value problem are still an open subject.
A higher-order derivative system refers to one whose Lagrangian function contains the higher-order derivatives of generalized coordinates with respect to time. The study of such systems can be traced back to the research of Ostrogradsky and Jacobi. The monograph21 presents generalized classical mechanics and field theory, in which the Lagrangian function contains higher-order derivatives. The study of higher-order derivative systems is not merely a simple extension in mathematics, but also has practical needs and physical significance. There are numerous related studies in this area, such as those listed in references22,23,24,25,26,27,28,29,30,31,32, etc. However, as far as the author is aware, the research on the Gauss principle involving systems of higher-order derivatives or higher-order constraints is still relatively rare.
Recently, by differentiating the d’Alembert principle with respect to time and introducing the generalized Gaussian variation in the jerky space, we established the generalized Gauss principle for the variable-acceleration dynamics33. Unlike33, in reference34, we derived the Gauss principle of variable-mass mechanics by taking the dot product of the Meshchersky equation with the Gaussian variation, and extended it to higher-order linear nonholonomic constraint systems.
In this paper, following the idea of reference34, we obtain the arbitrary-order Gauss principle by multiplying the d’Alembert principle by the \(m - \textrm{th}\) order Gaussian variation, and discuss its extremum properties. We also present the Appell form, Lagrange form and Nielsen form of the Gauss principle in generalized coordinates, derive the corresponding dynamical equations, and finally extend the results to higher-order nonlinear nonholonomic mechanical systems.
Gauss principle of arbitrary order
Dealing with a mechanical system composed of N particles. The d’Alembert principle is
where \({m_i}\) is mass, \({{{{\varvec{r}}}}_i}\) is the position vector, \({{{{\varvec{F}}}}_i}\) is the active force and \({{{{\varvec{N}}}}_i}\) is the constraint reaction.
Take the scalar product of Eq. (1) with \({\delta _{\mathrm{{Gm}}}}\mathop {{{{{\varvec{r}}}}_i}}\limits ^{\left( {m + 2} \right) }\), sum it over i, and assume that the constraints are ideal, then we have
where \({\delta _{\mathrm{{Gm}}}}\left( \cdot \right)\) represents the variation in the sense of Gauss in the space spanned by \(m - \textrm{th}\) order derivative of acceleration, which is called the \(m - \textrm{th}\) Gaussian variation, and its variation rule is as follows
When \(m = 0\), \({\delta _{\mathrm{{Gm}}}}\left( \cdot \right)\) reduces to the classical Gaussian variation. In the space spanned by the \(m - \textrm{th}\) order derivative of acceleration, the ideal constraints must satisfy the condition
Formula (2) is called the arbitrary-order Gauss principle, and is reduced to the classical Gauss principle when \(m = 0\).
Define the generalized compulsion function as
Formula (5) can be expanded as
where the symbol “ \({\cdots }\)” refers to the terms independent of \(\mathop {{{{{\varvec{r}}}}_i}}\limits ^{\left( {m + 2} \right) }\).
Calculating the \(m - \textrm{th}\) Gaussian variation, we get
Thus formula (2) becomes
Let \(\mathop {{{{{\varvec{r}}}}_i}}\limits ^{\left( {m + 2} \right) }\) be the acceleration of real motion of a particle in the space of \(m - \textrm{th}\) order derivative of acceleration, and \(\mathop {{{{{\varvec{r}}}}_i}}\limits ^{\left( {m + 2} \right) } + {\delta _{\mathrm{{Gm}}}}\mathop {{{{{\varvec{r}}}}_i}}\limits ^{\left( {m + 2} \right) }\) be the acceleration of the possible motion permitted by constraints, then the difference between their generalized compulsion functions \(\Delta {Z_{\mathrm{{wm}}}}\) is calculated as follows: when \(m = 0\), there is
when \(m \ge 1\), there is
For a mechanical system with two-sided ideal constraints, principle (8) shows that, for the real motion, the \(m - \mathrm{{th}}\) order derivative of acceleration makes the generalized compulsion function \({Z_{\mathrm{{wm}}}}\) yield a stationary value in the sense of the \(m - \mathrm{{th}}\) Gaussian variation.
When \(m = 0\), then principle (8) reduces to the classical Gauss least compulsion principle
Generalized coordinate representation of the arbitrary-order Gauss principle
Assume that \({{{{\varvec{r}}}}_i} = {{{{\varvec{r}}}}_i}\left( {{q_s},t} \right)\), then \(\left( {m + 2} \right)\) order derivative of \({{{{\varvec{r}}}}_i}\) with respect to time t reads
where \({q_s}\left( {s = 1,2, \cdots ,n} \right)\) are generalized coordinates, then
Introduce the acceleration energy, i.e.,
Take m order derivative of time t, \(m \ge 1\), and we get
Then the generalized compulsion function (6) can be expressed as
From Eqs. (14) and (15), we can get
By substituting formula (16) into principle (8) and using Eqs. (13) and (17), we get
Equation (18) is the Appell form of the arbitrary-order Gauss principle with generalized coordinates. Where \({Q_s} = \sum \limits _{i = 1}^N {{{{{\varvec{F}}}}_i} \cdot \frac{{\partial {{{{\varvec{r}}}}_i}}}{{\partial {q_s}}}}\) is the generalized force.
From formula (17), principle (18) can also be written as
It is easy to prove35
where \(T = \sum \limits _{i = 1}^N {\frac{1}{2}{m_i}{{{\dot{{{\varvec{r}}}}}}_i} \cdot {{{\dot{{{\varvec{r}}}}}}_i}}\) is kinetic energy, then principle (8) can also be expressed in Lagrange form
and Nielsen form
If the system is holonomic, then \({\delta _{\mathrm{{Gm}}}}\mathop {{q_s}}\limits ^{\left( {m + 2} \right) }\) is independent of each other and arbitrary, so by principle (18), it follows
Equation (23) are Appell equations. By principle (21), we obtain
Equation (24) are Lagrange equations. By principle (22), we obtain
Equation (25) are Nielsen equations.
Applications to nonholonomic mechanics
Suppose that the system is subjected to g ideal \(\left( {m + 2} \right)\) order nonholonomic constraints
In the space spanned by the \(m - \mathrm{{th}}\) order derivative of acceleration, the restriction condition which is applied on the virtual displacements \({\delta _{\mathrm{{Gm}}}}\mathop {{q_s}}\limits ^{\left( {m + 2} \right) }\) is
Construct the function
where \({\lambda _\beta } = {\lambda _\beta }\left( {{q_s},{{\dot{q}}_s}, \cdots ,\mathop {{q_s}}\limits ^{\left( {m + 1} \right) },t} \right)\) is the constraint multiplier. By using Eq. (16), Eq. (28) becomes
Formula (29) can be called the arbitrary-order generalized compulsion function of nonholonomic systems.
Calculating the \(m - \textrm{th}\) Gaussian variation of Eq. (29) and noting that \({\delta _{\mathrm{{Gm}}}}{\lambda _\beta } = 0\), we get
Substituting Eqs. (2) and (27) into Eq. (30), we get
Equation (31) is the arbitrary-order Gauss principle for nonholonomic systems.
Principle (31) can be expressed in Appell form
Lagrange form
and Nielsen form
From principles (32)–(34), according to the Lagrange multiplier method, we obtain Appell’s equations for higher order nonholonomic systems, that is
Lagrange’s equations (also known as Routh equations)
and Nielsen’s equations
Example
Let a particle with mass M move in the plane, the nonpotential generalized force on it is
The nonholonomic constraint is
and acceleration energy is
From Eq. (29), the generalized compulsion function is
By calculating the Gaussian variation of Eq. (41) and setting it equal to zero, we get
From Eq. (42), using Lagrange multiplier method, we can get
The motion of the system can be solved by combining Eqs. (43) and (39).
Now let’s verify the correctness of the results. The kinetic energy of the system is
Utilizing the Routh equations of higher-order nonholonomic mechanics, namely35
Substituting Eqs. (44), (38), and (39) into Eq. (45), we obtain
By comparing Eqs. (43) and (46), it can be seen that they are consistent.
Conclusions
Gauss principle is one of the universal differential variational principles in analytical mechanics1. The classical Gauss principle is limited to comparing real motion in acceleration space with all possible motions that conform to the constraints. In this paper, the concept of the \(m - \textrm{th}\) order derivative space of acceleration was proposed, the arbitrary-order Gauss principle was established. The arbitrary-order generalized compulsion function was constructed, and it was proved that for real motion, the variation of this function is equal to zero. The main innovations are listed below:
-
(1)
We proposed the concept of the space spanned by the \(m - \textrm{th}\) order derivative of acceleration, and based on this, we established the arbitrary-order Gauss principle. When \(m=0\), this result reduces to the classical Gauss principle.
-
(2)
We constructed the generalized compulsion function, and proved that, for a mechanical system with two-sided ideal constraints, the real motion makes the \(m - \textrm{th}\) Gaussian variation of the generalized compulsion function equal to zero in the \(m - \textrm{th}\) order derivative space of acceleration at every instant, compared with all possible motions allowed by the constraint.
-
(3)
We deduced the arbitrary-order Gauss principle in generalized coordinates, and its Appell, Lagrange and Nielsen forms, and derived the arbitrary-order Appell equations, Lagrange equations and Nielsen equations from the principle.
-
(4)
We applied the obtained principle to the nonholonomic system, constructed the generalized compulsion function of the system, and expressed the arbitrary-order Gauss principle of the nonholonomic system as the variation of this function being equal to zero.
The arbitrary-order Gauss principle can be applied to the dynamic modeling and control of multi-body systems, robots, spacecraft, etc. with high-order nonholonomic constraints, as well as to the nonholonomic motion planning and the approximate calculation of nonlinear systems. Therefore, its research is of great significance. The arbitrary-order Gauss principle obtained in this paper is not only an extension of the classical Gauss principle, but also a stationary value principle in the arbitrary-order case, which provides a new idea for dynamics modeling and calculation of higher order nonholonomic systems. However, the physical interpretation of the generalized compulsion function defined by formula (5) still requires further exploration. Furthermore, it is an interesting question to investigate how to construct the arbitrary-order Gauss least compulsion principle that contains higher-order derivatives or higher-order constraints.
Data availability
All data generated or analysed during this study are included in this published article.
References
Mei, F. X., Wu, H. B. & Li, Y. M. A brief history of analytical mechanics (Science Press, Beijing, 2019) (in Chinese).
Udwadia, F. E. & Kalaba, R. E. Analytical dynamics: A new approach (Cambridge University Press, New York, 2008).
Papastavridis, J. G. A panoramic overview of the principles and equations of motion of advanced engineering dynamics. Appl. Mech. Rev. 51(4), 239–265 (1998).
Lilov, L. Dynamic analysis of multi-rigid-body system based on the Gauss principle. Zamm. J. Appl. Math. Mech. 62, 539–545 (1982).
Pfeiffer, F. Numerical aspects of non-smooth multibody dynamics. Comput. Meth. Appl. Mech. Eng. 195, 6891–6908 (2006).
Yao, W. L. et al. Optimization method for dynamics of non-holonomic system based on Gauss’s principle. Acta Math. Sci. 36(5), 1133–1141 (2020).
Yao, W. L., Yang, L. S. & Guo, M. M. Gauss optimization method for the dynamics of unilateral contact of rigid multibody systems. Acta Mech. Sin. 37(3), 494–506 (2021).
Orsino, R. M. M. Extended constraint enforcement formulations for finite-DOF systems based on gauss. Nonlinear Dyn. 101, 2577–2597 (2020).
Kalaba, R. E. & Udwadia, F. E. Equations of motion for nonholonomic, constrained dynamical systems via Gauss’s principle. J. Appl. Mech. 60, 662–668 (1993).
Popov, E. P., Viresakin, A. F. & Senkiewicz, S. L. Operating robot dynamics and algorithm (Science Press, Moscow, 1978) (in Russian).
Zegzhda, S. A., Soltakhanov, S. K. & Yuskov, M. P. Equations of motion for nonholonomic systems and variational principles of mechanics: A new class of control problems (Fismalet Press, Moscow, 2005) (in Russian).
Liu, Y. Z. & Xue, Y. Dynamical model of Cosserat elastic rod based on Gauss principle. Acta Phys. Sin. 64(4), 044601 (2015) (in Chinese).
Mei, F. X., Li, Y. M. & Wu, H. B. On the Gauss principle. J. Dynam. Control 14(4), 301–306 (2016) (in Chinese).
Ivanov, A. P. On the variational formulation of the dynamics of systems with friction. Regul. Chaotic Dyn. 19(1), 100–115 (2014).
Wang, L. S. & Pao, Y. H. Jourdain’s variational equation and Appell’s equation of motion for nonholonomic dynamical systems. Am. J. Phys. 71(1), 72–82 (2003).
Yan, C. C. Hamilton’s principle and Schrodinger’s equation derived from Gauss’ principle of least squares. Found. Phys. Lett. 13(1), 79–87 (2000).
Zegzhda, S. A. & Soltakhanov, S. K. Application of the generalized Gaussian principle to the problem of damping vibrations of mechanical systems. J. Comput. Syst. Sci. Int. 49(2), 186–191 (2010).
Lewis, A. D. The geometry of the Gibbs-Appell equations and Gauss’ principle of least constraint. Rep. Math. Phys. 38(1), 11–28 (1996).
Kalaba, R., Natsuyama, H. & Udwadia, F. An extension of Gauss’s principle of least constraint. Int. J. Gen. Syst. 33(1), 63–69 (2004).
Zhang, Y. & Xia, J. L. Gauss principle of least compulsion for relative motion dynamics and differential equations of motion. Wuhan Univ. J. Nat. Sci. 29(3), 273–283 (2024).
de León, M. & Rodrigues, P. R. Generalized classical mechanics and field theory (Elservier, Amsterdam, 1985).
Li, Z. P. & Jiang, J. H. Symmetries in constrained canonical systems (Science Press, Beijing, 2002).
de León, M. et al. Higher-order contact mechanics. Ann Phys 425, 168396 (2021).
Cràcia, X., Pons, J. M. & Román-Roy, N. Higher-order conditions for singular Lagrangian systems. J. Phys. A: Math. Gen. 25(7), 1981–2004 (1992).
Aldaya, V. & Azcárraga, J. D. Higher-order Hamiltonian formalism in field theory. J. Phys. A: Math. Gen. 13(8), 2545–2551 (1980).
Zhang, Y., Shang, M. & Mei, F. X. Symmetries and conserved quantities for systems of generalized classical mechanics. Chin. Phys. 9(6), 401–407 (2000).
Zhang, Y. Perturbation to symmetries and adiabatic invariants for a system of generalized classical mechanics. Chin. J. Phys. 49(5), 1005–1017 (2011).
Santos, S. P. S., Martins, N. & Torres, D. F. M. Noether currents for higher-order variational problems of Herglotz type with time delay. Discret. Contin. Dyn. Syst. Ser. S 11(1), 91–102 (2018).
Coban, E., Gahramanov, I. & Kosva, D. Variational symmetries of Lagrangian systems with second-order derivatives. Eur. Phys. J. Plus 138, 605 (2023).
Frederico, G. et al. Higher-order Noether’s theorem for isoperimetric variational problems. J. Optimiz. Theory App. 199, 541–568 (2023).
Ganz, A. & Noui, K. Reconsidering the Ostrogradsky theorem: higher-derivatives Lagrangians, ghosts and degeneracy. Class. Quantum. Grav. 38, 075005 (2021).
Zhu, L. & Zhang, Y. Canonical transformations and Poisson theory for secon-order generalized mechanical systems with power-law Lagrangians. AIP Adv. 13(11), 115014 (2023).
Zhang, Y., Song, C. J. & Zhai, X. H. Generalized Gauss principle of least compulsion for variable-acceleration dynamical systems. Chinese J. Theor. Appl. Mech. 55(5), 1174–1180 (2023) (in Chinese).
Zhang, Y. & Chen, X. Y. The generalized Gauss principle for mechanical system with variable mass and its generalization to higher order nonholonomic systems. Chinese J. Theor. Appl. Mech. 54(10), 2883–2891 (2022) (in Chinese).
Mei, F. X. & Wu, H. B. Dynamics of constrained mechanical systems (Beijing Institute of Technology Press, Beijing, 2009).
Acknowledgements
This work was supported by the National Natural Science Foundation of China (No. 12272248).
Author information
Authors and Affiliations
Contributions
Yi Zhang wrote the main manuscript text. All author reviewed the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Zhang, Y. A generalization of Gauss principle to the space spanned by arbitrary-order derivative of acceleration and its application to nonholonomic mechanics. Sci Rep 15, 26547 (2025). https://doi.org/10.1038/s41598-025-11824-y
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41598-025-11824-y


