<<

Explicit Equations of Motion for Mechanical Systems With Nonideal Constraints Firdaus Udwadia, Robert Kalaba

To cite this version: Firdaus Udwadia, Robert Kalaba. Explicit Equations of Motion for Mechanical Systems With Nonideal Constraints. Journal of Applied , American Society of Mechanical Engi- neers, 2001, 68 (3), pp.462 - 462. .

HAL Id: hal-01399770 https://hal.archives-ouvertes.fr/hal-01399770 Submitted on 20 Nov 2016

HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destin´eeau d´epˆotet `ala diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publi´esou non, lished or not. The documents may come from ´emanant des ´etablissements d’enseignement et de teaching and research institutions in France or recherche fran¸caisou ´etrangers,des laboratoires abroad, or from public or private research centers. publics ou priv´es.

Distributed under a Creative Commons Attribution 4.0 International License F. E. Udwadia Explicit Equations of Motion Professor of Civil Engineering, Aerospace and Mechanical Engineering, for Mechanical Systems With and Mathematics R. E. Kalaba Nonideal Constraints Professor of Biomedical Engineering, Electrical Engineering, and economics

University of Southern California, Los Angeles, CA

Abstract Since its inception about 200 years ago, has been based upon the Principle of D’Alembert. There are, however, many physical situations where this con- fining principle is not suitable, and the constraint forces do work. To date, such situations are excluded from general Lagrangian formulations. This paper releases Lagrangian mechanics from this confinement, by generalizing D’Alembert’s principle, and presents the explicit equations of motion for constrained mechanical systems in which the con-straints are nonideal. These equations D’Alembert’s principle, and each of these mathematical formal- lead to a simple and new fundamental view of Lagrangian isms is equivalent to the other. Despite the continuous and vigor- mechanics. They provide a geometrical understanding of ous attention that this problem has received, the inclusion of situ- constrained motion, and they highlight the simplicity with which ations where the physically generated forces of constraint in a Nature seems to operate. mechanical system do not satisfy D’Alembert’s principle has so far evaded Lagrangian dynamics. Yet, such forces of constraint are among those quite commonly found in nature. As stated by Goldstein ͓͑9͔,p.17͒, ‘‘This ͓total work done by forces of con- 1 Introduction straint equal to zero͔ is no longer true if sliding is present, One of the central problems in classical mechanics is the deter- and we must exclude such systems from our ͓Lagrangian͔ formu- mination of the equations of motion for constrained systems. The lation’’ ͓͑9͔͒. And Pars in his treatise ͓͑5͔͒ on analytical dynamics importance of the problem stems from the fact that what makes a ͑1979, p. 14͒ writes, ‘‘There are in fact systems for which the ͓ ͔ set of point and rigid bodies, a ‘‘system,’’ is the presence principle enunciated D’Alembert’s principle . . . does not hold. of constraints. When physical constraints are imposed on an un- But such systems will not be considered in this book.’’ constrained set of particles, forces of constraint are engendered In this paper we obtain the equations of motion for constrained which ensure the satisfaction of the constraints. The equations of systems where the forces of constraint indeed do not satisfy motion developed to date for such constrained systems are based D’Alembert’s principle, and the sum total of the work done by on a principle first enunciated by D’Alembert, and later elaborated them under virtual displacements no longer need be zero. by Lagrange ͓1͔ in his Mechanique Analytique which dates back The outline of the paper is as follows. In Section 2.1 we gen- to 1787. Today the principle is referred to as D’Alembert’s prin- eralize D’Alembert’s Principle to include constraint forces that do ciple, and it is the centerpiece of classical analytical dynamics. It work. This leads us to a deeper understanding of the specification states, simply, that the total work done by the forces of constraint of constraints in mechanical systems. This we discuss in Section under virtual displacements is always zero. Constraints for which 2.2. Section 3 deals with the mathematical statement of the prob- D’Alembert’s principle is applicable are referred to as ideal lem of constrained motion. Section 4 states and verifies the ex- constraints. plicit equation of motion for constrained systems with nonideal Since its initial formulation by Lagrange more than 200 years equality constraints. This equation leads to a new and fundamental principle of Lagrangian mechanics. The proof we give here is ago, the problem of constrained motion has been vigorously and ͓͑ ͔͒ continuously worked on by numerous scientists including Volt- simpler than the one given in 10 , and it yields an important erra, Boltzmann, Hamel, Whittaker, and Synge, to name a few. In geometrical interpretation that we discuss later. Section 5 gives an 1829, Gauss ͓2͔ provided a new general principle for the motion example of a nonholonomically constrained system for which the of constrained mechanical systems in what is today referred to as constraints are nonideal. We show here the ease of applicability of Gauss’s Principle. About 100 years after Lagrange, Gibbs ͓3͔ and the explicit equation of motion obtained in the previous section Appell ͓4͔ independently discovered what are known today as the and point out the insights it provides into understanding con- Gibbs-Appell equations of motion ͓͑3,4͔͒. Pars ͓͑5͔,p.202͒ refers strained motion where the constraint forces do work. Lastly, Sec- to the Gibbs-Appell equations as ͓͑5͔͒ ‘‘... probably the most tion 6 deals with the geometry of constrained motion and exhibits comprehensive equations of motion so far discovered.’’ Dirac, the simplicity and aesthetics with which Nature seems to operate. because of his interest in constrained systems that arise in quan- tum mechanics, in a series of papers from 1951 to 1969 developed an approach for determining the Lagrange multipliers for con- strained Hamiltonian systems ͓͑6͔͒. More recently, Udwadia and 2 Generalization of D’Alembert’s Principle, Con- Kalaba ͓7͔ presented a simple, explicit, set of equations, appli- straint Forces That Do Work, and Their Specification cable to general mechanical systems, with holonomic and non- holonomic constraints ͓͑7,8͔͒. 2.1 Generalized D’Alembert’s Principle. Consider an un- However, all these alternative descriptions of the motion of constrained system of particles, each particle having a constant constrained systems discovered so far, as well as the numerous . By ‘‘unconstrained’’ we mean that the number of general- articles that have subsequently dealt with them, rely on ized coordinates, n, used to describe the configuration of the sys-

1 tem at any time, t, equals the number of degrees-of-freedom of the ample, sliding frictional forces͒ are in fact commonplace, and system. The Lagrangian equation of motion for such a system can have to date defied ͓͑5,9͔͒ inclusion in a simple way within the be written in the form general framework of analytical mechanics. The main reason for M͑q,t͒q¨ ϭQ͑q,q˙ ,t͒, q͑0͒ϭq , q˙ ͑0͒ϭq˙ (1) this difficulty is that three obstacles need to be simultaneously 0 0 surmounted. Firstly, we require the specification of such con- where q(t) is the n-vector ͑i.e., n by 1 vector͒ of generalized straint forces to be general enough so that they encompass prob- coordinates, M is an n by n symmetric, positive-definite matrix, Q lems of practical utility. Secondly, this specification must, in order is the ‘‘known’’ n-vector of impressed forces, and the dots refer to to comply with physical observations, yield the of differentiation with respect to time. By ‘‘known,’’ we shall mean the constrained system uniquely when using the accepted math- that Q is a known function of its arguments. The , a, ware of analytical dynamics that has been developed over the last of the unconstrained system at any time t is then given by the 250 years. And lastly, when the constraint forces do no work, we Ϫ relation a(q,q˙ ,t)ϭM 1(q,t)Q(q,q˙ ,t). must obtain the usual formalisms/equations that have thus far We shall assume that this system is subjected to a set of m been obtained ͑e.g., by Lagrange, Gibbs, Appell, and Gauss͒, and ϭhϩs consistent equality constraints of the form are known to be of practical value. Clearly, the work done by such a constraint force under virtual ␸͑q,t͒ϭ0 (2) displacements v at each instant of time needs to be known, and and must therefore be specified using some known n-vector C(q,q˙ ,t), as vTC. Such an additional specification calls for a generalization ␺͑ ˙ ͒ϭ q,q,t 0, (3) of D’Alembert’s principle. We make this generalization in the where ␸ is an h-vector and ␺ an s-vector. Furthermore, we shall following manner: assume that the initial conditions q0 and q˙ 0 satisfy these con- For any virtual displacement v at time t, the constraint force straint equations at time tϭ0. Assuming that Eqs. ͑2͒ and ͑3͒ are n-vector Qc at time t does a prescribed amount of work given by sufficiently smooth, we differentiate Eq. ͑2͒ twice with respect to time, and Eq. ͑3͒ once with respect to time, to obtain the equation vTQc͑t͒ϭvTC͑q,q˙ ,t͒. (6) ͑ ˙ ͒ ¨ ϭ ͑ ˙ ͒ A q,q,t q b q,q,t , (4) Here C(q,q˙ ,t) is a known n-vector ͑i.e., a known function of q, q˙ , where the matrix A is m by n, and b is a suitably defined m-vector and t͒ that needs to be specified and depends on the physics of the that results from carrying out the differentiations. situation, as discussed in the example below. The work done by This set of constraint equations includes among others, the the constraint force in a virtual displacement may thus be positive, usual holonomic, nonholonomic, scleronomic, rheonomic, cata- negative, or zero. static, and acatastatic varieties of constraints; combinations of Relation ͑6͒ constitutes a new principle. This principle requires such constraints may also be permitted in Eq. ͑4͒. It is important a description of the nature of the nonideal constraint force at time to note that Eq. ͑4͒, together with the initial conditions, is equiva- t through a specification of the work it does during a virtual dis- lent to Eqs. ͑2͒ and ͑3͒. placement at that time. It generalizes D’Alembert’s principle, and Consider now any instant of time t. When the equality con- when Cϵ0, it reduces to it. In what follows we shall often refer to straints ͑Eqs. ͑2͒ and ͑3͒͒ are imposed at that instant of time on the the constraint force n-vector, Qc, as the constraint force. unconstrained system, the motion of the unconstrained system is, 2.2 Specification of Constraints. The equations of motion in general, altered from what it would have been ͑at that instant of provide a mathematical model for describing the motion of any time͒ in the absence of these constraints. We view this alteration given physical mechanical system. The constraints specify the in the motion of the unconstrained system as being caused by an conditions that the generalized displacements and/or velocities additional set of forces, called the ‘‘forces of constraint,’’ acting must satisfy at each instant of time as the motion of the system on the system at that instant of time. The equation of motion of ensues under the action of the impressed forces. However, the the constrained system can then be expressed as equations that state these conditions ͑Eqs. ͑2͒ and ͑3͒͒ do not ͒ ϭ ͒ϩ c ͒ ͒ϭ ͒ϭ M͑q,t q¨ Q͑q,q˙ ,t Q ͑q,q˙ ,t , q͑0 q0 ,q˙ ͑0 q˙ 0 (5) completely specify the influence of these constraints on the motion ͑ ͒ c of the mechanical system. For short, we shall say that Eqs. 2 and where the additional ‘‘constraint force’’ n-vector, Q (q,q˙ ,t), ͑3͒ do not completely specify the constraints on the mechanical ͑ ͒ ͑ ͒ arises by virtue of the constraints 2 and 3 imposed on the system. This is what the generalized D’Alembert’s principle tells ͑ ͒ unconstrained system, which is described by Eq. 1 . Our aim is to us. c determine Q explicitly at time t in terms of the known quantities There is a second part to the specification of the constraints, and M, Q, A, b, and information about the nonideal nature of the this deals with the nature of the forces that are created by virtue constraint force, at time t. The latter comes from looking at the of the presence of the constraints. For this, the mechanician who physics of the system. is modeling a specific mechanical system needs to study the sys- A virtual displacement ͓͑8͔͒ at time t is any nonzero n-vector v tem, possibly through experimentation, or otherwise. It is this in- such that A(q,q˙ ,t)vϭ0. When the constraint force n-vector does formation regarding the nonideal nature of the force of constraint no work under virtual displacements v, we have vTQcϭ0. This is that is encapsulated in the vector C(q,q˙ ,t). also referred to as D’Alembert’s principle, and it is the basis that For example, consider a rigid block that is confined to move on underlies all the different formalisms ͓͑1–8͔͒ hereto developed of a horizontal surface zϭ0. The specification of this relation ͑i.e., the equations of motion for mechanical systems subjected to the zϭ0) does not constitute a complete specification of the con- constraints described by Eqs. ͑2͒ and ͑3͒. straint. For, the presence of this constraint creates a constraint As demonstrated elsewhere ͓͑7,8͔͒, one formalism that yields force, and this force influences the motion of the block. So to an explicit equation describing the motion of such a constrained adequately model the motion of the block on the surface, one system that abides by D’Alembert’s principle is given by Mq¨ needs to prescribe the nature of this constraint force. Such a pre- ϩ ϭQϩM 1/2B (bϪAa)ϭQϩQc, where the m by n matrix B scription is situation-specific and must be specified by the mecha- ϭAMϪ1/2, and Bϩ stands for the Moore-Penrose generalized in- nician either by experimentation with the system, by observation, verse ͓͑11͔͒ of the matrix B. by analogy with other systems ͑s͒he has experience with, or by The central question that arises now is how to incorporate into some other means. For example, if the mechanician finds that the the equation of motion, constraints that do do work under virtual surfaces in contact are rough ͑s͒he may want to perform some displacements, thereby bringing such constraints within the La- experiments to understand the nature of the forces created by the grangian framework. Such nonideal constraint forces ͑for ex- presence of this constraint. For a specific setup, ͑s͒he may find

2 that the work done by the constraint force under virtual displace- We require to find the n-vector Qc(q,q˙ ,t) such that ments is proportional to the speed of the block, or perhaps to the ϭ ϩ c ϭ square of its speed. Thus, depending on the situation at hand, C 1 M(q,t)q¨ Q(q,q˙ ,t) Q (q,q˙ ,t), with q(0) q0 , q˙ (0) ˙ ˙ ϭq˙ , and Q a known function of q, q˙ , and t; ͑S1͒ Ϫ ͓ qx ͔ Ϫ ͉ ˙ ͉͓ qx ͔ 0 would then be specified as a0 q˙ or a0 q q˙ respectively, ␸ ϭ ␺ ϭ ␸ ϭ ␾˙ ϭ y y 2 (q,t) 0, (q,q˙ ,t) 0, with (q0,0) 0; (q0,t) 0, and ␺ ϭ ͑ ͒ where a0 may be a suitable constant whose value would also need (q0 ,q˙ 0,0) 0; and, S2 to be prescribed ͑perhaps by performing more experiments͒. If, 3 for all vectors v such that A(q,q˙ ,t)vϭ0, we require further, the roughness of the surface changes from location to vTQc(t)ϭvTC(q,q˙ ,t), where the n-vector C(q,q˙ ,t)isa location, additional experimentation may be warranted, and a fur- known function of its arguments. It specifies the nature of ther refinement may be required in specifying the vector C. Or, in the constraint forces. ͑S3͒ some other situation, C may perhaps be modeled as ͑ ͒ Ϫa Qc(q,q˙ ,t) ͑see Eq. ͑11͒ below͒. We remind the reader that item S2 above is equivalent to Eq. 0 i ͑ ͒ ͑ ͒ The invocation of D’Alembert’s principle when modeling a me- 4 , and item S3 is our generalized D’Alembert’s principle as chanical system is then clear. D’Alembert’s principle specifies the stated in Section 2. nature of the constraint forces by simply setting Cϵ0. It points to Next we shall provide the explicit equation of motion that the genius of Lagrange, for this specification accomplishes the emerges from the above mathematical statement, and furthermore following three things simultaneously. show that the accelerations provided by it are unique. From here on, for clarity, we shall suppress the arguments of the various 1 It provides a condition that enables the accelerations of the quantities. constrained system to be uniquely determined, something desir- able when dealing with mechanical systems. 4 Equation of Motion for Constrained System With 2 It specifies the nature of the constraint force through the ad hoc specification of Cϵ0. This allows the mechanician to model Nonideal Constraints a given mechanical system without having to explicitly provide Result 1. An equation of motion of the constrained mechani- ͑ further information beyond that contained in the constraint Eqs. cal system that satisfies conditions ͑S1͒–͑S3͒ given in the previ- ͑ ͒ ͑ ͒͒ 2 and/or 3 on the nature of the constraint forces that are ous section is explicitly given by created by the presence of the constraints. Most importantly, it ϩ ϩ Ϫ therefore obviates the need for situation-specific experimentation, Mq¨ ϭQϩQcϭQϩM 1/2B ͑bϪAa͒ϩM 1/2͕IϪB B͖M 1/2C. observation, etc., that would have been otherwise necessary to (7) specify C when modeling a specific mechanical system. Proof. We shall prove that the constraint force n-vector, Qc, given ϵ ͑ 3 This specification of C 0 works well or at least sufficiently by Eq. ͑7͒ satisfies ͑S1͒–͑S3͒. ͒ well in many practical situations. This is perhaps the most re- ͑S1͒ The form of Eq. ͑7͒ shows that ͑S1͒ is satisfied. markable attribute of D’Alembert’s principle, and it points to the ͑S2͒ Using q¨ from Eq. ͑7͒ in Eq. ͑4͒ gives genius of Lagrange. Aq¨ ϭAaϩBBϩ͑bϪAa͒ϩB͑IϪBϩB͒M Ϫ1/2C All this becomes quite obvious, especially when modeling the problem of sliding friction where we immediately recognize that ϭAaϩBBϩbϪBBϩBM1/2a the equation that describes the motion of the block on a horizontal ϭ ϩ ϩ Ϫ 1/2 ϭ ϩ surface must depend not only of the constraint equation, zϭ0, but Aa BB b BM a BB b, (8) indeed also on the nature of the constraint force engendered by where we have used the relations aϭM Ϫ1Q, BBϩBϭB, and B this constraint. And the latter depends on the physics of the spe- ϭAMϪ1/2. Equation ͑4͒ can be expressed as B(M 1/2q¨ )ϭb, and cific situation—the materials in contact, the surface roughnesses, being consistent, implies ͓͑8͔͒ that BBϩbϭb. Using this in the etc., and, of course, the intended use that the mechanician wants right-hand side in ͑11͒ proves that the acceleration q¨ satisfies Eq. to put the model to. ͑4͒. Hence ͑S2͒ is satisfied. But in analytical dynamics, we may have got so used to invok- ͑S3͒ As seen from ͑7͒, the constraint force, Qc, is given by ing D’Alembert’s principle, which obviates the explicit need to cϭ cϩ c ϭ 1/2 ϩ͑ Ϫ ͒ϩ 1/2͕ Ϫ ϩ ͖ Ϫ1/2 specify the nature of the constraint force for any given mechanical Q Qi Qni M B b Aa M I B B M C. system by implicitly taking Cϵ0, that it is tempting to think that (9) such a specification may be wholly unnecessary, even in general. ϭ Ϫ1/2 ϭ Ϫ1/2␮ ͑ ͒ One perhaps may then get the impression that the equations that Since B AM , after setting v M , S3 is equivalent to specify the constraints ͑Eqs. ͑2͒ and/or ͑3͒͒ are all that is neces- proving that sary for properly posing the problem of constrained motion. This ͕␮͉B␮ϭ0,␮Þ0͖͖⇒␮TM Ϫ1/2Qcϭ␮TM Ϫ1/2C. (10) indeed is not so. Specification of the nature of the constraint ϩ ϩ T ϩ forces is always necessary. The generalized D’Alembert’s prin- But B␮ϭ0 implies ␮ B ϭ0, and this ͓͑8͔͒ implies ␮ B ϭ0. T Ϫ1/2 c T ϩ T ciple stated in Section 2.1 reminds us that, D’Alembert’s principle By Eq. ͑9͒ we then have ␮ M Q ϭ␮ B (bϪAa)ϩ␮ ͕I ϩ Ϫ Ϫ provides, in fact, one particular specification for the nature of the ϪB B͖M 1/2Cϭ␮TM 1/2C, which is the required result ͑S3͒.ᮀ constraint force. As in the case of sliding friction, C may not be Result 2. The equation of motion for the constrained system zero, and its explicit specification is necessary, in general. Such a given by ͑7͒ is unique. specification, as mentioned before, is situation-specific and relies Proof. Assume there exists another set of solution vectors q¨ on the discernment and discretion of the mechanician who is mod- ϩ ¨ cϩ ͑ ͒ ͑ ͒ eling the system. e and Q R such that S1 – S3 are also satisfied. We must ϩ ϭ ϩ cϩ ͑ ͒ ϭ Having explained what we mean by ‘‘specification of con- then have M(q¨ e¨ ) Q Q R, and by 5 , Me¨ R. Similarly, ϩ ϭ ͑ ͒ ϭ straints’’ for a given, constrained mechanical system at hand, we A(q¨ e¨ ) b, and by Eq. 4 , Ae¨ 0. So the n-vector e¨ qualifies as now need to explicitly determine its equation of motion. We start a virtual displacement. Also, for all virtual displacements v,we T cϩ ϭ T T ϭ T ϭ T by providing a statement of the problem of constrained motion. must have v (Q R) v C, so that v R 0. Thus e¨ R e¨ Me¨ ϭ0, and hence e¨ ϭ0 because M is positive definite. Since R ϭ ¨ ϭ ᮀ 3 General Statement of the Problem of Constrained Me 0, uniqueness follows. Thus Eq. ͑7͒ gives the unique equation of motion describing the Motion With Constraints That Do Work acceleration of a constrained mechanical system where the con- In the notation that we have thus far developed, the problem of straints are nonideal and the constraint forces do an amount of constrained motion can now be mathematically stated as follows. work ͑under the virtual displacement, v) given by vTC(q,q˙ ,t),

3 ϭϪ T T ͉ ͉ with the n-vector C being known. We explain the salient features v (a0u u)(u/ u ), where u is the velocity of the particle and of Eqs. ͑7͒ and ͑9͒ in the following series of remarks. ͉ ͉ϭϩͱ T Remark 1. The equation of motion, ͑7͒, for the constrained u u u. Such a specification of the nature of the constraint system does not contain any ‘‘multipliers’’ that need to be solved force is left to the discretion of the mechanician who is modeling for, as found in Lagrange’s equations that describe constrained the system, and it would depend on the physics of any particular situation ͑see Section 2.2͒. What is the equation of motion of this motion with ideal constraints. ᮀ ͑ ͒ nonholonomically constrained system in which the constraints Remark 2. No elimination of coordinates or velocities is done; create nonideal forces of constraint? therefore, no set of coordinates ͑or velocities͒ is singled out for Using Eq. ͑7͒ we can write down an explicit equation for the special treatment, as in the Gibbs-Appell approach that is appli- motion of the particle as follows. cable for ideal constraints. The equation of motion is stated in the Differentiating the constraint equation y˙ ϭz2x˙ , we get same coordinates as those describing the unconstrained system. This makes it simple to directly assess the influence that the pres- Aϭ͓Ϫz2 10͔, (13) ence of the constraints have on the accelerations of the uncon- strained system. The next remarks deal with this. ᮀ with Remark 3. The total constraint force n-vector, Qc, is given by cϭ cϩ c bϭ2x˙ z˙z. (14) Q Qi Qni , and it is seen to be made up of two additive con- tributions. The first member on the right-hand side of Eq. ͑9͒ We note that it is the existence of the constraint y˙ ϭz2x˙ that given by creates the force of constraint. This force of constraint is nonideal. cϭ 1/2 ϩ͑ Ϫ ͒ Qi M B b Aa (11) It does work under virtual displacements; its magnitude is propor- tional to the square of the speed of the particle, and it opposes the is the constraint force that would have been engendered were all particle’s motion. It is not an ‘‘impressed force’’ on the particle. It ϵ the constraints ideal, and C 0. This contribution is ever present, would disappear in the absence of the constraint. no matter whether the constraints are ideal or not. Since MϭI , BϭA. By Eq. ͑11͒ we then obtain The second member on the right-hand side of Eq. ͑9͒ given by 3 ͑ ϩ 2 Ϫ ͒ c ϭ 1/2͕ Ϫ ϩ ͖ Ϫ1/2 2zx˙ z˙ z f x f y Qni M I B B M C (12) Qcϭ͓Ϫz2 10͔T , (15) i ͑1ϩz4͒ gives the additional contribution to the constraint force due to the presence of nonideal constraints where the constraint forces do and, by Eq. ͑12͒, work under virtual displacements. This breakdown of the total constraint force n-vector explicitly shows the way in which x˙ ϩz2y˙ ͑x˙ 2ϩy˙ 2ϩz˙ 2͒1/2 knowledge of the virtual work done by nonideal constraints enters Qc ϭϪa ͫ z2x˙ ϩz4y˙ ͬ . (16) ᮀ ni 0 ͑ ϩ 4͒ the equation of motion of the constrained system. ˙͑ ϩ 4͒ 1 z c z 1 z Remark 4. The contribution, Qi , to total force of constraint, Qc, does no work under virtual displacements. For, as in the proof The equation of motion of the nonholonomically constrained T cϭ T 1/2 ϩ Ϫ ϭ␮T ϩ Ϫ ϭ of Result 1, v Qi v M B (b Aa) B (b Aa) 0, for system with nonideal constraints then becomes all ␮ such that B␮ϭ0. Hence, at each instant of time vTQc x¨ f Ϫz2 ϭvTQc ϭvTC. ᮀ x ͑ ˙ ˙ϩ 2 Ϫ ͒ ni c c 2zxz z f x f y ͫ y¨ ͬ ϭQϩQ ϩQ ϭͫ f yͬ ϩ ͫ 1 ͬ ˙ Remark 5. The force C(q,q,t) provides a mathematical speci- i ni ͑1ϩz4͒ fication of the nonideal nature of the constraints by informing us z¨ f z 0 c of the work done by the constraint force n-vector, Q , under vir- x˙ ϩz2y˙ ͑x˙ 2ϩy˙ 2ϩz˙ 2͒1/2 tual displacements, v. Its specification depends on the physics of 2 ϩ 4 c Ϫa ͫ z x˙ z y˙ ͬ . (17) any given particular situation. It engenders a contribution, Q ,to 0 ͑ ϩ 4͒ ni ˙͑ ϩ 4͒ 1 z the total constraint force, Qc, but in general, this contribution is z 1 z c Þ ͑ ͒ such that, Qni C. As seen from Eq. 12 , only at those instants of The last member on the right-hand side of Eq. ͑17͒ exposes ex- Ϫ time when M 1/2C lies in the null space of the matrix B, does plicitly the contribution that the nonideal character of this non- c ϭ c Qni C. holonomic constraint provides to the total constraint force, Q . Furthermore, at those instants of time when M Ϫ1/2C is such that The second member on the right informs us of the constraint force T c ϭ Ϫ1/2 it lies in the range space of B , then Qni 0. For then, M C the particle would be subjected to, were the nonholonomic con- can be expressed as BTw for some suitable vector w, and by Eq. straint y˙ ϭz2x˙ ideal. As stated in Remark 5, in this example ͑ ͒ Ϫ1/2 c ϭ Ϫ ϩ T ϭ͓ TϪ ϩ T T͔ Qc ÞC. 12 we have, M Qni (I B B)B w B (B B) B w ni ϩ ϭ ͑ ͒ ϭ͓BTϪBT(BT) BT͔wϭ0. Here, in the second and third equali- Note that when a0 0, the third member on the right of Eq. 17 ties we use the properties of the Moore-Penrose inverse ͓͑8͔͒. ᮀ disappears, and we get the correct equation of motion that is valid Remark 6. When the constraints are ideal, Cϵ0, and the equa- for ideal constraints. Then, our equation becomes equivalent to tion of motion given by Eq. ͑7͒ reverts to one that is well known Lagrange’s equation with multipliers and the Gibbs-Appell equa- ͓͑8͔͒, and has been shown to be equivalent to the usual Lagrange tion, both of which are valid only for ideal constraints. equations with multipliers, and to the Gibbs-Appell equations, In Ref. ͓͑10͔͒ we handle the sliding friction problem of a bead each of which is valid only for ideal constraints. ᮀ running down a wire. As expected, Eq. ͑7͒ indeed yields the proper equations of motion, which in this case are easy to verify 5 Example using Newtonian mechanics. Holonomically constrained systems where the constraint forces We illustrate the power of our result by considering a particle are nonideal, as in sliding friction, may at times be handled by the of unit mass moving in an inertial Cartesian frame subjected to a Newtonian approach. However, to the best of our knowledge there set of impressed forces f x(x,y,z,t), f y(x,y,z,t), f z(x,y,z,t) act- is no way to date to obtain the equations of motion for nonholo- ing in the x, y, and z-directions, respectively. The particle is sub- nomically constrained systems where the constraint forces are jected to the nonholonomic, constraint y˙ ϭz2x˙ . The presence of nonideal. Thus, seemingly simple problems like the one consid- this nonideal constraint creates a force of constraint. For the ered in this section have so far been beyond the compass of the specific system at hand, we assume that this force of constraint Lagrangian formulation ͑see Refs. ͓5͔ and ͓9͔ for a more exten- does work under virtual displacements given by vTQc sive discussion͒.

4 6 The Geometry of Constrained Motion The geometrical simplicity of the equation of motion ͑7͒ devel- oped herein can perhaps be best captured by using the ‘‘scaled’’ ϭ 1/2 ϭ 1/2 ϭ Ϫ1/2 cϭ Ϫ1/2 c accelerations q¨ s M q¨ , as M a M Q, q¨ s M Q and ϭ 1/2 Ϫ1 ϭ Ϫ1/2 ͑ ͒ cs M (M C) M C. The equation of motion 5 of the constrained system can then be written in terms of these scaled accelerations as ͑ ͒ϭ ͑ ͒ϩ c͑ ͒ q¨ s t as t q¨ s t , (18) and the problem of finding the equation of motion of the con- strained system then reduces, as pointed out by Gauss ͓2͔,to ⌬ ϵ c ϭ Ϫ finding the deviation q¨ s q¨ s (t) q¨ s(t) as(t) of the scaled ac- celeration of the constrained system, q¨ s(t), from its known, un- Fig. 1 The geometry of constrained motion is depicted using ͑ ͒ N R T ¨ N constrained, scaled acceleration, as(t). Equation 7 , then takes on projections on „B… and „B …. The projection of qs on „B… ¿ ¨ Ä ¿ the simple form is the same as that of „as cs… because Nqs N„as cs…. The vector B¿b is orthogonal to this projection. ϭ Ϫ ϩ ͒ ϩ ͒ϩ ϩ q¨ s ͑I B B ͑as cs B b, (19) ⌬ from which we can explicitly obtain the deviation, q¨ s ,as operate. It generalizes the results obtained in Ref. ͓͑12͔͒ to include ⌬ ϭ ϩ͑ Ϫ ͒ϩ͑ Ϫ ϩ ͒ q¨ s B b Bas I B B cs . (20) systems in which nonideal forces of constraint exist. ϩ ϩ It should come as no surprise that the vectors a and c enter Let us denote Nϭ(IϪB B), and TϭB B. To understand the s s Eq. ͑19͒ in the same way. Though their genesis is vastly different, first member on the right-hand side of Eq. ͑20͒, we note that the they come, after all, from forces that act on the system. Notice, extent to which the acceleration a of the unconstrained system ϩ however, that the sum (as cs) does not enter directly. The matrix does not satisfy the constraint Eq. ͑4͒ is given by ϩ Nϭ(IϪB B) is a projection on the null space of B, and hence it ϭ Ϫ ϭ Ϫ e b Aa b Bas . (21) is the sum’s projection on this space that enters the equation of motion. Equations ͑19͒ and ͑20͒ can now be rewritten as ϭ ϩ ͒ϩ ϩ q¨ s N͑as cs B b (22) Conclusions and We summarize the contribution in this paper as follows. ⌬q¨ ϭBϩbϪTa ϩNc ϭBϩeϩNc . (23) 1 To date, Largangian mechanics has been built upon the Prin- s s s s ciple of D’Alembert. This principle restricts Lagrangian mechan- ⌬ ͑ ͒ Noting the definition of q¨ s , Eq. 23 can be expressed alter- ics to situations where the work done by the forces of constraint natively as under virtual displacements is zero. In this paper we relax this restriction and thereby release Lagrangian mechanics from this Ϫ ϭ͑ Ϫ1/2 ϩ͒ ϩ͑ Ϫ1/2 Ϫ1/2͒ q¨ a M B e M NM C. (24) confinement. This form of our result leads to the following new fundamental 2 We have generalized D’Alembert’s principle to include situ- principle of Lagrangian mechanics: ations in which the constraints are not ideal, and the forces of constraint may do positive, negative, or zero work under virtual The motion of a discrete mechanical system subjected to con- displacements. The generalized principle reduces to the usual straints that are nonideal evolves, at each instant of time, in D’Alembert’s principle when the constraints are ideal. such a way that the deviation of its accelerations from those 3 The generalized D’Alembert’s principle highlights the fact it would have at that instant if there were no constraints on that the description of the motion of a constrained mechanical it, is made up of two components. The first component is system requires more than just a statement of the equations of proportional to the extent to which the accelerations corre- constraint, i.e., Eqs. ͑2͒ and/or ͑3͒.Italways also requires a speci- sponding to the unconstrained motion, at that instant, do not fication of the nature of the forces of constraint that the con- satisfy the constraints; the matrix of proportionality is straints engender. This is done in terms of the work done by the Ϫ1/2 ϩ M B , and the measure of the dissatisfaction of the con- forces of constraint under virtual displacements, through a pre- straints is provided by the vector e. The second component is scription of the n-vector C(q,q˙ ,t). D’Alembert’s principle is thus proportional to the vector C that specifies the work done by seen as one particular way of specifying the nature of the forces the constraint forces under virtual displacements, at that in- of constraint, for it prescribes the vector C(q,q˙ ,t) to be identi- Ϫ Ϫ stant, and the matrix of proportionality is (M 1/2NM 1/2). cally zero. In general, one has to rely on the discretion of the mechanician to specify the vector C(q,q˙ ,t) upon examination of Now the operator N, being symmetric and idempotent, is an the specific system whose motion needs to be modeled. When orthogonal projection operator on the null space of B, and the D’Alembert’s principle is invoked while dealing with a given con- vector Bϩb belongs to the range space of BT. Furthermore, the ͑ ͒ strained mechanical system—and this is most often the case in two right-hand members of Eq. 22 constitute two n-vectors that analytical dynamics, to date—the burden of this specification are orthogonal to each other, because ‘‘seems’’ lifted from the shoulders of the mechanician, for the NTBϩϭ͑IϪBϩB͒TBϩϭ͑IϪBϩB͒BϩϭBϩϪBϩBBϩϭ0, principle simply sets C(q,q˙ ,t) to the zero vector. However, the (23) conscientious mechanism needs to examine if, and how well, the ͑ ͒ ϩ ϩ ϩ forces of constraint in the given physical system being modeled since B BB ϭB . Equation ͑22͒ thus informs us that the scaled exhibit the behavior subsumed by this principle. acceleration of the constrained system is simply the sum of two 4 The framework of Lagragian mechanics is used to show that orthogonal vectors, one belonging to the null space of B—denoted this generalized D’Alembert’s principle provides just the right ex- N(B), and the other belonging to the range space of BT—denoted tent of information to yield the accelerations of the constrained R(BT). Figure 1 depicts relations ͑22͒ and ͑23͒ pictorially, and system uniquely, as demanded by practical observation. In the reveals the geometrical elegance with which Nature appears to situation that the constraints are ideal, these accelerations agree

5 with those determined using formalisms developed by Lagrange, 7 We have provided an insight into the geometry of con- Gibbs, and Appell, each of these being applicable only to the case strained motion revealing the simplicity and elegance with which of ideal constraints. Nature seems to operate. 5 We have presented here the general, explicit, equations of References motion for mechanical systems with nonideal, equality, con- ͓1͔ Lagrange, J L , 1787, Mecanique Analytique, Mme Ve Courcier, Paris straints. They lead to a new and fundamental understanding of ͓2͔ Gauss, C F , 1829, ‘‘Uber Ein Neues Allgemeines Grundgesetz der constrained motion. To the best of our knowledge, these equations Mechanik,’’ J Reine Ang Math ,, 4, pp 232–235 ͓3͔ Gibbs, J W , 1879, ‘‘On the Fundamental Formulae of Dynamics,’’ Am J are arguably the simplest and most comprehensive so far discov- Math , 2, pp 49–64 ered. They will aid in understanding the dynamics of mechanical ͓4͔ Appell, P , 1899, ‘‘Sur une Forme Generale des Equations de la Dynamique,’’ C R Acad Sci , Paris,, 129, pp 459–460 systems in various fields such as , robotics, and ͓5͔ Pars, L A , 1979, A treatise on Analytical Dynamics, Oxbow Press, Woo- multibody dynamics, where such nonideal constraints abound. dridge, CT, p 202 6 Our equations show that the constraint force n-vector is made ͓6͔ Dirac, P A M , 1964, Lectures in Quantum Mechanics, Yeshiva University, New York cϭ cϩ c up of two additive contributions: Q Qi Qni . Explicit expres- ͓7͔ Udwadia, F E , and Kalaba, R E , 1992, ‘‘A New Perspective on Constrained sions for each of these contributions are given in this paper. The Motion,’’ Proc R Soc London, Ser A, 439, pp 407–410 ͓ ͔ c 8 Udwadia, F E , and Kalaba, R E , 1996, Analytical Dynamics: A New Ap- contribution Qi always exists whether or not the constraints are proach, Cambridge University Press, Cambridge, UK ideal, and it is dictated by the kinematic nature of the constraints. ͓9͔ Goldstein, H , 1981, Classical Mechanics, Addison-Wesley, Reading, MA ͓ ͔ c 10 Udwadia, F E , and Kalaba, R E , 2000, ‘‘Non-ideal Constraints and Lagrang- The contribution Qni arises from a specification by the mechani- ian Dynamics,’’ J Aerosp Eng ,, 13, pp 17–22 cian of the nonideal nature of the constraints that may be involved ͓11͔ Penrose, R , 1955, ‘‘A Generalized Inverse of Matrices,’’ Proc Cambridge Philos Soc , 51, pp 406–413 in any particular situation; it prevails when the constraint forces ͓12͔ Udwadia, F E , and Kalaba, R E , 1995, ‘‘The Geometry of Constrained do work under virtual displacements. Motion,’’ Z Angew Math Mech , 75, pp 637–640

6