Lagrangian Mechanics: From the Principle of Least Action to the Euler-Lagrange Equations
Prerequisite:Planetary Motion and Central Forces: From Conservation of Angular Momentum to Kepler's Three Laws
0. Key points
Section titled “0. Key points”- The equations of motion of mechanics do not come from a balance of forces at each instant. They come from the condition that a single number attached to the path as a whole — the action — be stationary. This is Hamilton’s principle.
- The necessary and sufficient condition for the action to be stationary is the Euler–Lagrange equations, obtained from the fundamental lemma of the calculus of variations (Lemma 3.3).
- If in Cartesian coordinates we take (kinetic energy minus potential energy), the Euler–Lagrange equations are precisely Newton’s equations of motion (Theorem 4.2). The two are restatements of the same content.
- The real power of the Lagrangian formulation lies in its covariance. The equations do not change shape under an arbitrary change of coordinates (Theorem 5.2). Polar coordinates, angular variables and constrained systems can therefore be treated mechanically, without our having to discover centrifugal terms or tensions for ourselves.
- If a coordinate is absent from the Lagrangian (a cyclic coordinate), the conjugate generalized momentum is conserved (Proposition 6.2). If the Lagrangian does not depend explicitly on time, the energy function is conserved (Proposition 6.4). This is the entrance to the general principle that symmetries generate conservation laws.
1. Motivation: what is inconvenient about the Newtonian formulation
Section titled “1. Motivation: what is inconvenient about the Newtonian formulation”Newton’s equation of motion is correct, and in principle universal. Indeed, as we saw in Foundations of Newtonian mechanics, once the forces are given, the motion of point masses is completely determined by second-order ordinary differential equations (uniqueness of the solution of the initial value problem(Proposition 4.1)[Foundations of Newtonian Mechanics]). Nevertheless there were three clear reasons why mechanics from the eighteenth century onwards looked for another formulation.
First, constraint forces get in the way. Write a point mass hung on a string of length (a simple pendulum) in Cartesian coordinates . With the tension of the string as an unknown function we obtain the system
There are three unknown functions and three equations, so it can be solved. But the only thing we really want to know is one swing angle, and we are forced to drag along a tension we have no interest in. Worse, is “whatever force is needed at each moment to keep the string from stretching”; it is not a function given in advance. A quantity whose value we can determine only after solving the motion sits inside the equations.
If instead we set and compute, then, as we shall see later, only the single equation
survives, and disappears completely. If we could build the constraint in from the start, not as an “extra force” but as “there are fewer usable coordinates”, matters ought to become far simpler.
Second, the equations change shape when the coordinates change. The concise form is peculiar to Cartesian coordinates. In plane polar coordinates the components of the acceleration are
so that a centrifugal term and a Coriolis term appear. They arise because the basis vectors themselves vary in time; the derivation is not hard, but it has to be redone from scratch for every coordinate system. To handle spherical, cylindrical, oblique and rotating coordinates systematically, we need a framework in which the equations of motion come out by the same procedure in any coordinates.
Third, it does not connect to anything outside mechanics. In geometrical optics Fermat’s principle (1662) was already known: light chooses, among the paths joining two points, one whose transit time is stationary. “Compare whole paths as candidates, and the one that makes a certain quantity stationary is realized” is a manner of speaking utterly unlike the local language of an equation of motion. Maupertuis (1744) and Euler (1744) noticed that this language works in mechanics as well, and Lagrange developed the machinery of the variational calculus in his Mécanique analytique (1788). Hamilton (1834–35) put it into its present form — fix the times and positions at both ends and make stationary — and Jacobi gave it the name “Hamilton’s principle”. This formulation carries over unchanged to electromagnetic fields, continuous media, relativity and even the path integral of quantum mechanics. The Newtonian formulation has no such generality.
In this article we first organize constraints and generalized coordinates (§2), derive the Euler–Lagrange equations from the stationarity of the action (§3), check that is equivalent to Newton’s equations (§4), prove covariance — the heart of the matter — and put it to work on examples (§5), and finally look at the relation with conservation laws (§6).
flowchart TD A["Hamilton's principle<br/>the action S is stationary"] --> B["variation δS = 0<br/>(fundamental lemma of the calculus of variations)"] B --> C["Euler-Lagrange equations"] C --> D["Cartesian coordinates and L = T - U<br/>→ Newton's equations of motion"] C --> E["arbitrary generalized coordinates<br/>→ the form does not change (covariance)"] C --> F["cyclic coordinates, time translation<br/>→ conserved quantities"]
2. Preliminaries: constraints, generalized coordinates, configuration space
Section titled “2. Preliminaries: constraints, generalized coordinates, configuration space”Definition 2.1(Holonomic constraints and generalized coordinates)
Let be the positions of point masses. A constraint that can be written, by means of finitely many functions , in the form
is called a holonomic constraint. If, moreover, the set of all configurations satisfying these constraints can be expressed by parameters as
with the of class and, at each instant, one-to-one, then are called generalized coordinates of the system and its number of degrees of freedom. The case in which does not depend explicitly on is called scleronomic (time-independent), and the case in which it does, rheonomic (time-dependent).
Generalized coordinates need not have the dimension of length. They may be angles, or areas, or the sum of two angles. They mean nothing more than “a set of independent variables necessary and sufficient to specify a configuration uniquely”. The region in which the quantities range is called the configuration space, and the motion of the system is represented by a single curve in it.
Example 2.2(Counting degrees of freedom)
- Simple pendulum in a plane: , one constraint (two if we include ). Degrees of freedom . The generalized coordinate is the swing angle .
- Double pendulum in a plane: , constraints from the two string lengths. Degrees of freedom . The generalized coordinates are the two swing angles .
- Two weights over a fixed pulley (Atwood’s machine): the sum of the heights of the weights is constant, so . It suffices to take the height of one of them as the coordinate.
- A rigid body in space: as a consequence of the constraint that all distances between constituent points be constant, (3 for the centre of mass, 3 for the orientation).
A constraint of the form , involving velocities and not integrable into a relation among positions alone, is called a nonholonomic constraint. A ball rolling without slipping, or a skate that does not slide sideways, are examples. In this article we treat holonomic constraints only. For nonholonomic systems, applying Hamilton’s principle directly produces the wrong equations, so take care; the correct treatment goes through d’Alembert’s principle, touched on in the Appendix.
We also assume that the constraints are “smooth”, that is, that the constraint forces do no work on displacements compatible with the constraints. The tension of a string does no work on displacements perpendicular to the string, and the normal reaction of a smooth surface does no work on displacements along the surface. This assumption (ideal constraints) is the reason the constraint forces will later drop out of the equations.
3. The action functional and the Euler-Lagrange equations
Section titled “3. The action functional and the Euler-Lagrange equations”Definition 3.1(The Lagrangian and the action functional)
A function of a point of configuration space, a velocity and the time is called a Lagrangian. Fix a time interval and the endpoint values . On the set of all curves satisfying these conditions, the functional
is called the action functional, and its value the action.
is not a function assigning a number to a number; it is a map assigning one number to one curve. Searching for “the curve minimizing ” should be thought of as the infinite-dimensional version of the school problem “find the minimizing ”. Even in the infinite-dimensional version, at an extremum a condition corresponding to “the first derivative vanishes” holds. The next definition states it precisely.
Definition 3.2(Variation and stationary paths)
Take a curve and a function vanishing at both endpoints (that is, ). For a real number put ; then satisfies the same endpoint conditions. The quantity
is called the first variation of . If for every such , then is called a stationary path of .
The tool that translates the stationarity condition into a differential equation is the following lemma. It says “if an integral always vanishes then the integrand vanishes” — a statement that looks obvious but does require proof.
Lemma 3.3(Fundamental lemma of the calculus of variations)
Let be continuous. If
holds for every function with , then throughout .
Proof(Lemma 3.3)
We prove the contrapositive. Suppose for some ; without loss of generality (if , replace by , and note that also follows from the hypothesis).
Since is continuous, for there is such that and imply , and hence
If is an endpoint we may shrink so that the interval is contained in (if , take , and similarly shift the centre in the other cases). Thus we may assume with on .
Take as comparison function
Then is positive in the interior of and outside , and since vanishes at , the function is on all of . It also satisfies at the endpoints (the same holds when contains an endpoint, because and its derivative vanish at the ends of ).
For this , substituting ,
and therefore
contradicting the hypothesis . Hence vanishes identically.
Theorem 3.4(The Euler-Lagrange equations)
Let be a Lagrangian and a curve. A necessary and sufficient condition for to be a stationary path of the action with fixed endpoints is that
hold on . This system of equations is called the Euler–Lagrange equations.
Proof(Theorem 3.4)
Let be an arbitrary function with , and put .
Step 1: interchanging differentiation and integration. The integrand is in , because is and are . Its derivative is continuous on the compact set , hence uniformly continuous and bounded there, so differentiation and integration may be interchanged. By the chain rule,
Here all partial derivatives are evaluated at .
Step 2: integration by parts. Since is and is , the function is , and we may integrate by parts (integration by parts(Theorem 6.2)[積分の基本定理と定積分]):
Here we use the fixed-endpoint condition , which kills the first term. This is why Hamilton’s principle fixes the endpoints. Hence
Step 3: sufficiency. If the Euler–Lagrange equations hold, the parenthesis above vanishes for every and every , so ; that is, is a stationary path.
Step 4: necessity. Conversely, suppose is a stationary path. Fix one and restrict to those whose components other than vanish identically. Then for every (hence ) function vanishing at both endpoints,
holds, and is continuous. The comparison function used in the proof of Lemma 3.3 is in fact only ; but running the same argument with produces a comparison function, and since the conclusion is unchanged. Hence , that is, the -th Euler–Lagrange equation holds. As was arbitrary, all of them hold.
Hamilton’s principle is often called the “principle of least action”, but the correct word is stationary, not least. Let us check this on the one-dimensional harmonic oscillator . The second variation is
(since is quadratic in , the terms of order come out directly). Put and take . Then and , so the second variation equals
If (a time longer than half a period) this is negative, and the true motion admits perturbations that increase the action. So it is a saddle point, not a minimum. The name “least action” is therefore historical; the correct statement is .
4. Hamilton’s principle and the Lagrangian
Section titled “4. Hamilton’s principle and the Lagrangian L=T−UL = T - UL=T−U”So far has been “some function”. To put physics in, we must specify what is. That is the content of the following principle.
Axiom 4.1(Hamilton's principle)
Consider a system of point masses subject to ideal holonomic constraints, whose forces derive from a potential . Choose generalized coordinates , express the kinetic energy and the potential energy as functions of , and put
Then the motion actually followed by a system that is in the configuration at time and in the configuration at time is the one that, among all paths satisfying these endpoint conditions, makes the action stationary.
Why a difference, one may ask — rather than the energy ? The honest answer is “because that choice yields the correct equations of motion”, and the next theorem is exactly that statement. A physical reading is available too: to make the action small one wants both to keep the kinetic energy small (move slowly) and to linger where the potential is high, and the stationarity condition for is the compromise between these two demands.
Theorem 4.2(Equivalence with Newton's equations)
Consider an unconstrained system of point masses (, with the Cartesian coordinates taken as generalized coordinates). Let the masses be , let the potential be a function, and put
Then for a curve the following are equivalent.
- It satisfies the Euler–Lagrange equations for .
- It satisfies for every (Newton’s equations of motion).
Proof(Theorem 4.2)
We compute for the -th component of .
Since does not depend on the velocities,
Hence . On the other hand does not depend on the positions, so
Substituting these into the equations of Theorem 3.4, the Euler–Lagrange equations become
which, as and range over their values, is precisely Newton’s equation . Each equivalence is an identity componentwise, so both implications hold.
Thus Hamilton’s principle has, at least for unconstrained systems under conservative forces, the same content as Newton’s laws (the second law (the law of motion)(Axiom 3.3)[Foundations of Newtonian Mechanics]). We have not introduced new physics; we have acquired another way of writing the same physics. The value appears beyond this point — when constraints are present, and when the coordinates are not Cartesian.
Example 4.3(Atwood's machine)
A massless string passes over a fixed pulley of negligible mass and size, with weights of masses hanging from its ends. The total length of the string is constant, so if denotes the height of one weight (measured downwards from the pulley), the other is at , and there is one degree of freedom. Since the string is inextensible the speeds are common, both equal to , and therefore
Dropping the constant term,
Since and , the Euler–Lagrange equation is
In the Newtonian formulation we would have had to write down the two equations and with the string tension as an unknown, and then eliminate . In the Lagrangian formulation never appears in the first place. This is no accident: under the assumption of ideal constraints, constraint forces make no contribution to the action (see the Appendix).
The Lagrangian is not unique. The following property will be essential later, when we treat Noether’s theorem.
Proposition 4.4(The ambiguity by a total derivative)
Let be a function and put
Then the Euler–Lagrange equations for coincide exactly with those for . Moreover, for a nonzero constant , the Euler–Lagrange equations for also coincide with those for .
Proof(Proposition 4.4)
The Euler–Lagrange operator is linear in , so it suffices to show that for .
is of first degree in , and the coefficients do not depend on , so
On the other hand, differentiating partially with respect to ,
Since is , the order of the second partial derivatives may be interchanged (Schwarz's theorem(Theorem 7.1)[多変数関数の微分と偏微分]), so the two right-hand sides agree. Hence .
As for , we have , and since , .
5. Why it handles generalized coordinates so well: covariance
Section titled “5. Why it handles generalized coordinates so well: covariance”Here is the heart of the Lagrangian formulation. Newton’s equations changed shape under a change of coordinates; the Euler–Lagrange equations do not. We first isolate a technical identity that will be used twice in the proof.
Lemma 5.1(Cancellation of dots and interchange of derivatives)
Let be functions, and define the velocity along them by
(so that is regarded as a function of ). Then
where denotes the total derivative along .
Proof(Lemma 5.1)
(i) In the expression for , the quantities and are functions of alone and do not depend on . Hence is a first-degree polynomial in , and partial differentiation with respect to leaves its coefficient .
(ii) Compute the left-hand side. Differentiating partially with respect to (holding the fixed as independent variables),
Now compute the right-hand side. Since is a function of , the chain rule gives
Since is , Schwarz’s theorem says the second partial derivatives do not depend on the order, and the two expressions agree.
Theorem 5.2(Covariance of the Euler-Lagrange equations)
Let be a point transformation whose Jacobian matrix is invertible at each instant. For a Lagrangian define
Then, for a curve and the corresponding ,
holds. In particular, satisfies the Euler–Lagrange equations for if and only if satisfies the Euler–Lagrange equations for .
Proof(Theorem 5.2)
Throughout, the partial derivatives of are evaluated at .
Step 1: . By the chain rule,
Step 2: . Since does not depend on , only the terms passing through survive, and part (i) of Lemma 5.1 gives
Step 3: the time derivative. By the product rule,
Step 4: taking the difference. Subtract Step 3 from Step 1. By part (ii) of Lemma 5.1, the second term of Step 1 and the second term of Step 3 are equal and cancel, leaving
Step 5: the equivalence. This says that the vector is obtained from by multiplication with the transpose of the Jacobian matrix. By hypothesis is invertible, hence so is , and
Therefore ” for all ” and ” for all ” are equivalent.
The practical meaning of this theorem is simple. It is enough to write down the kinetic and potential energies in whatever coordinates one likes. Centrifugal and Coriolis forces come out automatically once the differentiations are performed. Let us verify this in turn.
Example 5.3(Central-force motion in plane polar coordinates)
Let a point mass move in a plane under a central-force potential . From and ,
Hence
The Euler–Lagrange equation for follows from and :
The first term on the right is the centrifugal force. Note that it appeared merely from computing , with no differentiation of vectors.
For we have and , so
That is, is constant. This is nothing but the angular momentum about the origin, so conservation of angular momentum (conservation of angular momentum under a central force(Theorem 3.1)[Planetary Motion and Central Forces]) has come out in one line. Substituting it into the equation for to eliminate gives
which agrees with the equation obtained using the effective potential in Planetary motion and central forces (reduction to a one-dimensional radial problem(Proposition 4.2)[Planetary Motion and Central Forces]). There the derivation used vector analysis; here we merely wrote down and and differentiated partially.
Example 5.4(The simple pendulum: the constraint force disappears)
Let us return to the simple pendulum of §1. With and ( positive upwards, the pivot at the origin) we have , so
Since and ,
The tension appeared nowhere. That is because the constraint of constant string length was fully used up at the outset, in the form “the configuration is described by alone”.
If is needed, it can be recovered after solving by returning to the Newtonian formulation. The equation of motion along the string (the centripetal direction) gives , that is, . The Lagrangian formulation only “removes” constraint forces; it does not “lose” them.
Example 5.5(A bead on a hoop forced to rotate about a vertical axis)
Let a hoop (a circular wire) of radius be forced by an external device to rotate at constant angular velocity , with one of its diameters kept coincident with the vertical axis. A bead of mass slides smoothly on the hoop. The position of the bead is determined by the single angle measured from the lowest point of the hoop, so there is one degree of freedom. However, the relation to Cartesian coordinates,
depends explicitly on time (a rheonomic constraint). Computing the velocity,
Expanding , the cross terms cancel because the contributions have opposite signs, leaving
and adding ,
Therefore
From and , the Euler–Lagrange equation is
The equilibria ( and ) are together with the satisfying . The latter exists only when . So while the rotation is slow the bead stays at the lowest point, but once exceeds the critical value the lowest point becomes unstable and the bead moves to a new equilibrium lifted to the side. This bifurcation emerged without introducing any fictitious force (centrifugal force) of the rotating frame.
6. Cyclic coordinates, the energy function, and conservation laws
Section titled “6. Cyclic coordinates, the energy function, and conservation laws”Definition 6.1(Generalized momenta and cyclic coordinates)
For a Lagrangian , the quantity
is called the generalized momentum conjugate to the coordinate . If for some the Lagrangian does not depend explicitly on (that is, ), then is called a cyclic coordinate.
A generalized momentum need not be a momentum. In Example 5.3 the momentum conjugate to was , that is, an angular momentum. If is an angle then is an angular momentum; if it is a length, an ordinary momentum. The dimensions vary with the dimension of .
Proposition 6.2(The conserved quantity attached to a cyclic coordinate)
If is a cyclic coordinate, then along every solution of the Euler–Lagrange equations is a constant independent of time.
Proof(Proposition 6.2)
By Theorem 3.4, along a solution
(the last equality being the definition of a cyclic coordinate). Hence is constant.
Definition 6.3(The energy function)
For a Lagrangian , the quantity
is called the energy function (Jacobi’s integral).
Proposition 6.4(Conservation of the energy function)
If does not depend explicitly on time (), then is constant along every solution of the Euler–Lagrange equations. In general, along a solution, .
Proof(Proposition 6.4)
Differentiate with respect to time along a solution . By the product rule,
On the other hand, the total derivative of along the solution is, by the chain rule,
Taking the difference, the terms containing cancel and
The parenthesis vanishes along a solution by Theorem 3.4, so . In particular, if then .
Corollary 6.5(When the energy function is the mechanical energy)
Suppose the constraints are scleronomic ( contains no explicit ) and that depends explicitly neither on the velocities nor on the time. Then , and this quantity is conserved.
Proof(Corollary 6.5)
Since does not depend explicitly on , we have , so
so that is a homogeneous quadratic form in . Consequently
(which amounts to verifying Euler's theorem on homogeneous functions(Lemma 5.5)[対称性と保存則] by direct computation). Since does not depend on , we have , and
Moreover neither nor contains explicitly, hence neither does , and by Proposition 6.4 the quantity is conserved.
Example 6.6(What is conserved is h, not T + U)
Return to the rotating hoop of Example 5.5. Since contains no explicit , Proposition 6.4 tells us that is conserved. Computing it explicitly, with ,
The mechanical energy, on the other hand, is
which differs from in the sign of the term. The two do not agree, and it is that is conserved. That is not conserved is physically obvious as well, since the external device that keeps the hoop rotating at constant angular velocity does work on the bead. This is a concrete instance of the conclusion of Corollary 6.5 breaking down once the “scleronomic” hypothesis is dropped.
7. Exercises
Section titled “7. Exercises”Exercise 7.1Easy
A point mass slides down a smooth incline of angle . Taking as coordinate the distance measured down along the incline, construct the Lagrangian and find the equation of motion. What happens to the normal reaction?
Solution
The speed along the incline is , so . The height drops by from the reference level, so and therefore
Since and , the Euler–Lagrange equation is
The normal reaction does not appear in the equation. The constraint of not leaving the incline was used up in the form “the configuration is determined by alone”, exactly as with the tension in Example 5.4. If its value is needed, the Newtonian equation in the direction normal to the incline (where the acceleration is ) gives .
Exercise 7.2Standard
A bead of mass slides along a smooth parabola (, with vertically upwards) fixed in a vertical plane. Let be the acceleration due to gravity.
- Taking as the generalized coordinate, write down the Lagrangian and derive the equation of motion.
- Find the angular frequency of small oscillations about the origin.
Solution
1. From the constraint we get , so
Hence
Compute the partial derivatives.
Substituting into Theorem 3.4 and rearranging,
2. When and are small, dropping the terms and of second order and higher leaves
so the angular frequency is . Let us check this. The radius of curvature of at the origin is , which agrees with the pendulum formula .
Exercise 7.3Standard
In a horizontal plane, a straight smooth rod through the origin is forced to rotate at constant angular velocity . A bead of mass is threaded on the rod. Take the distance from the origin as the generalized coordinate.
- Find the Lagrangian and the equation of motion, and write down the general solution.
- Find the energy function , show that it is conserved, and show that is not.
Solution
1. The position is , . Setting and in the computation of Example 5.3 gives . Since the motion is in a horizontal plane the gravitational potential is constant, and we may take . Hence
Since and ,
This is an equation of hyperbolic rather than trigonometric type, with general solution
( being constants fixed by the initial conditions). If then grows exponentially. The bead is flung outwards along the rod, in accordance with everyday intuition.
2. The energy function is
Since contains no explicit , Proposition 6.4 gives that is conserved. We can also check it directly: using the equation of motion ,
On the other hand becomes, along the solution (with ), equal to , which grows and so is not conserved. The reason is that the device keeping the rod rotating at constant angular velocity does work on the bead. Because the constraint depends explicitly on time (it is rheonomic), Corollary 6.5 does not apply, and we are in the same situation as in Example 6.6.
Exercise 7.4Hard
Consider a double pendulum in a vertical plane. A light rod of length joins the pivot to a point mass , and a light rod of length joins that mass to a point mass . Let be the angles measured from the downward vertical. Construct the Lagrangian and derive the two equations of motion.
Solution
The positions are
Differentiate and compute the squared speeds. From and we get . Next,
so that, using the addition formula ,
Therefore
The equation for . We abbreviate .
Taking the difference, the terms quadratic in are
Dividing throughout by ,
The equation for . Similarly,
(note that ). The terms of the difference quadratic in are
so that, dividing throughout by ,
Checks. Letting , the first equation becomes , which agrees with the equation of the simple pendulum (Example 5.4). In the small-oscillation limit ( and small, , , and the terms negligible as second order) we obtain the linear system
to which the theory of normal modes applies. Compared with solving the problem in the Newtonian formulation, with the tensions in the two rods among the unknowns, this is far more mechanical.
References
Section titled “References”- L. D. Landau and E. M. Lifshitz, Mechanics, 3rd revised ed. — Chapter I, “The equations of motion”. The classic standard reference for a development starting from the principle of least action.
- H. Goldstein, C. Poole, J. Safko, Classical Mechanics, 3rd ed., Addison-Wesley, 2002 — Chapter 1, “Survey of the Elementary Principles”, and Chapter 2, “Variational Principles and Lagrange’s Equations”. The derivation from d’Alembert’s principle and the derivation from a variational principle are placed side by side.
- V. I. Arnold, Mathematical Methods of Classical Mechanics, 2nd ed., Springer, 1989 — Part II, “Lagrangian Mechanics”. Covariance and configuration space are treated rigorously in the language of manifolds.
- I. M. Gelfand, S. V. Fomin, Calculus of Variations, Dover, 2000 — Chapter 1. The mathematical treatment of the fundamental lemma of the calculus of variations and of the Euler–Lagrange equations.
- Yamamoto Yoshitaka and Nakamura Kōichi, Kaiseki Rikigaku I (Analytical Mechanics I), Asakura Shoten, 1998 (in Japanese) — Chapters 1 and 2. Careful treatment of constraints, the principle of virtual work, and generalized coordinates.
- J.-L. Lagrange, Mécanique analytique, Paris, 1788 — the primary source.
Appendix: Derivation from d’Alembert’s principle
Section titled “Appendix: Derivation from d’Alembert’s principle”Why another derivation is needed. Hamilton’s principle is beautiful, but it is laid down as an axiom, handed down from above. Lagrange himself started not from a variational principle but from the principle of virtual work, a generalization of the balance of forces. Following that route makes clear why the constraint forces disappear. It is also the correct starting point when nonholonomic constraints are to be treated.
Virtual displacements and d’Alembert’s principle. Moving the configuration infinitesimally, with the time held fixed and within the range allowed by the constraints at that instant, is called a virtual displacement . When the constraints are ideal (the constraint forces do no work on virtual displacements), . Multiplying Newton’s equation (where is the applied force) by and summing, the constraint-force term drops out and we obtain
This is d’Alembert’s principle. The constraint forces disappear at this one step, and here too lies the reason why tensions and normal reactions never appear in the Lagrangian formulation.
Rewriting in generalized coordinates. With , a virtual displacement is a displacement at fixed time, so (no term enters). Since the may be chosen independently, d’Alembert’s principle can be written, for each , as
The quantity is called a generalized force.
Expressing the acceleration term through the kinetic energy. Here Lemma 5.1 comes into play. For we have (i) and (ii) (simply read in the lemma as , and as ). By the product rule we split
and substituting (i) and (ii) this becomes
where , the last equality being the chain rule (with either or ).
Conclusion. Altogether, d’Alembert’s principle in generalized coordinates reads
If moreover the forces derive from a potential , that is , then since does not depend on we have , and putting gives
These are the same equations as in Theorem 3.4. In other words, the Euler–Lagrange equations can be derived from Newton’s laws and the assumption of ideal constraints alone, without adopting a variational principle as an axiom. Hamilton’s principle may then be placed as a rereading of these equations as the statement that the action is stationary.
Report an error in this article ・Operated by: Mugen Giken LLC ・Pricing ・Terms ・Legal notice
© 2026 夢現技研合同会社 ・Feeding the text to an LLM is welcome. Code samples are MIT licensed.