So far the constraints in Stewart's notes have been simple relations between coordinates, removed by choosing fewer coordinates. Section 1.4 (notes pp. 16–21) sorts constraints into kinds, introduces virtual displacements and d'Alembert's principle, and uses them to bring forces that do not come from a potential, above all friction, into the Lagrangian method. This page follows the notes in order, in its own words, with its own worked example.
Holonomic and non-holonomic constraints#
A constraint that is a relation among the coordinates, possibly changing with time,
In words
f( q one, and so on, q sub N, t) equals 0
is holonomic. The particle in a cone had one, . Every other kind is non-holonomic (notes p. 16). Two examples:
- A mass sliding on the outside of a sphere of radius is held by an inequality, : it may leave the surface.
- A body rolling without slipping. The point of contact is momentarily at rest, so the constraint is a condition on velocities.
Sometimes a velocity condition can be integrated. For a disk of radius rolling straight down an incline, the distance travelled and the angle turned obey , which integrates to , a holonomic constraint. A harder case is a disk standing upright and rolling on a horizontal plane, steering freely (notes pp. 16–17). Its coordinates are : the point of contact , the heading of the disk in the plane, and the angle it has turned about its own axle. (The disk is assumed never to tip over.) Rolling without slipping means the centre moves at in the direction the disk faces, so
In words
d x minus a sine theta d phi equals 0, d y plus a cos theta d phi equals 0
which come from and .
Semi-holonomic constraints#
Constraints of the general linear form
In words
the sum over j of a sub j (q) d q sub j plus a sub t (q) d t equals 0
are not holonomic in general; following Goldstein, the notes call them semi-holonomic. A holonomic constraint can always be written this way, by taking its differential:
In words
d f equals the sum over j of partial f over partial q sub j, times d q sub j plus partial f over partial t, times d t equals 0
so then and . Mixed partial derivatives do not depend on their order, so such coefficients must satisfy
In words
partial a sub j over partial q sub i equals partial a sub i over partial q sub j, partial a sub t over partial q sub i equals partial a sub i over partial t
If a semi-holonomic constraint passes these tests, it is secretly holonomic. In mathematical language, a holonomic constraint is an exact differential form , and the form in eq. (1.61) need not be exact.
Passing the test after multiplying by some function (an integrating factor) would do too. The vertical disk shows that this can fail (notes p. 18). Take its first condition times : the coefficients are , , . The test requires , so for some independent of . (The notes drop the factor from the first term of this condition.) But the test requires , which this violates unless . No integrating factor exists, and the constraint is truly non-holonomic. Physically: by steering, the disk can reach any position with any heading and any , so no relation among the four coordinates holds.
If instead the disk is made to roll along a fixed line, say along with , the conditions become and . These integrate to , , : a set of holonomic constraints.
Virtual displacements and d'Alembert's principle#
A virtual displacement of particle (notes p. 18) is
- infinitesimal,
- consistent with the constraints, and
- made at a fixed time, so that a constraint that changes with time is frozen while it is made.
For example, take a bead on a straight wire along the axis that is itself carried along at speed , . A virtual displacement of the bead is always along , since the wire does not move during it. A real displacement in time also has a part along .
For many constraints the constraint force is perpendicular to every allowed , so its virtual work vanishes, by analogy with the work . More generally the constraints do no net virtual work, (notes p. 19); this holds for surfaces, for rolling and for similar cases. Writing Newton's law as , with the other forces, the constraint forces drop out:
In words
the sum over i of the quantity p i dot minus vector capital F i, all times delta vector r sub i equals 0
This is d'Alembert's principle. It could serve instead of Hamilton's principle as the starting point of mechanics.
Into generalized coordinates#
To use generalized coordinates, write . At fixed time, (summed over ). The force term becomes
In words
vector capital F i dot delta vector r sub i equals vector capital F i dot partial vector r sub i over partial q sub j, times delta q sub j is defined as capital Q sub j delta q sub j
which defines the generalized forces
In words
capital Q sub j is defined as vector capital F i dot partial vector r sub i over partial q sub j
(summed over ). A generalized force need not be a force: for an angle it is a torque. The momentum term takes more work. Two facts help: the cancellation of dots, , and the fact that a time derivative and a derivative of can be taken in either order, . Moving the time derivative off by the product rule and then using both facts,
In words
the sum over i of p i dot times delta vector r sub i equals the sum over i,j of the quantity d over d t ( m sub i vector v sub i dot partial vector v sub i over partial q sub j dot ) minus m sub i vector v sub i dot partial vector v sub i over partial q sub j, delta q sub j equals the sum over j of the quantity d over d t ( partial capital T over partial q sub j dot ) minus partial capital T over partial q sub j, delta q sub j
with . D'Alembert's principle becomes
In words
the sum over j of the quantity d over d t ( partial capital T over partial q sub j dot ) minus partial capital T over partial q sub j minus capital Q sub j, delta q sub j equals 0
which, as we will see, contains the Euler–Lagrange equations as a special case.
Suppose for now that all constraints are holonomic (other kinds wait for Section 1.5). Then we can choose coordinates that satisfy the constraints automatically, their virtual displacements are independent, and each bracket must vanish on its own:
In words
d over d t ( partial capital T over partial q sub j dot ) minus partial capital T over partial q sub j minus capital Q sub j equals 0
Three special cases#
- Conservative forces, with . Then
In words
capital Q sub j equals minus ( del sub i capital V ) times partial vector r sub i over partial q sub j equals minus partial capital V over partial q sub j
and with , eq. (1.69) is exactly the Euler–Lagrange equation. (In eq. (1.70) the notes drop the in the numerator of .)
-
Velocity-dependent potentials. If for some , as for the magnetic part of the Lorentz force, the Euler–Lagrange equations with come out again.
-
Everything else. If, besides forces of either kind above, there are generalized forces that come from no potential, they stay on the right:
In words
d over d t ( partial L over partial q sub j dot ) minus partial L over partial q sub j equals capital R sub j
Friction and the dissipation function#
Friction is the main example of such forces (notes p. 20). The usual models:
- Static friction: , with the normal force.
- Sliding friction: , a force of fixed size opposite to the motion (and zero without motion).
- Rolling friction: , of the same form with its own coefficient.
- Fluid friction at low speed: .
All the moving ones have the form (no sum on ). Their generalized forces (notes p. 21) are
In words
capital R sub j equals minus the sum over i of h sub i vector v sub i over v sub i times partial vector r sub i over partial q sub j equals minus the sum over i of h sub i vector v sub i over v sub i times partial vector v sub i over partial q sub j dot
(the notes write in the middle, a typo for ). Since , each term is , which is the derivative of . Hence
In words
capital R sub j equals minus partial script capital F over partial q sub j dot
In words
script capital F equals the sum over i of the integral from 0 to v sub i of d v prime h sub i ( v prime )
, the dissipation function, is a single scalar like , which makes it easy to carry into any coordinates.
A sphere sinking through a viscous fluid (notes p. 21). Let a sphere of radius fall vertically with height . The notes take and , where is the mass minus the mass of the displaced fluid, which accounts for buoyancy by Archimedes' principle. (Strictly, buoyancy reduces only the weight, while the sphere's inertia is its full mass plus some fluid dragged along; the simplification changes how quickly the motion settles, not the final speed.) The drag of a viscous fluid of viscosity is proportional to the speed, , so , and gives
In words
m prime y double dot plus m prime g equals minus 6 pi eta a y dot
The drag is Stokes' law, derived from the fluid equations much later in the course. The equation is linear: add a particular solution, the constant velocity , to the solution of the homogeneous equation , which is , with fixed by the starting velocity. One more integration gives .
Sliding friction on two masses (notes p. 21). For two masses on a table joined by a spring (a Problem Set 1 system), sliding friction has , so
In words
script capital F equals mu f g of the quantity m one v one plus m two v two, equals mu f g of the quantity m one the square root of x one dot squared plus y one dot squared, end of root, plus m two the square root of x two dot squared plus y two dot squared, end of root
Rewriting it in coordinates that suit the frictionless problem (such as the centre of mass and the separation) and taking adds the friction to those equations of motion. (The notes leave the details to the lecture.)
A steel ball in syrup
A steel ball of radius mm and density is released from rest in a syrup of density and viscosity Pa s. Using the equation above, find its terminal speed and how quickly it gets there.
Masses
The volume is , so kg, the displaced syrup has mass kg, and kg.
Terminal speed
The drag coefficient is kg/s. Setting , the speed is m/s, about 3.8 cm/s downwards.
Time scale
The homogeneous solution decays with the time constant ms, so after a few hundredths of a second the ball falls at its terminal speed. The slow start leaves it behind a ball that had moved at terminal speed from the beginning by only mm.
Is Stokes drag right here?
The linear drag law needs slow flow. The Reynolds number, the syrup's density times the speed times the diameter divided by the viscosity, is , well below 1, so it is. (The Reynolds number is introduced in Section 6.7 of the notes.)
Summary#
- Holonomic constraints are relations ; inequalities and velocity conditions such as rolling are non-holonomic.
- Semi-holonomic constraints are holonomic only if they are exact (or can be made exact by a factor); the steerable rolling disk is not, rolling along a line is.
- Virtual displacements are taken at fixed time; constraint forces do no net virtual work, which gives d'Alembert's principle .
- In generalized coordinates: , with ; forces from a potential, even velocity-dependent, give the Euler–Lagrange equations, and the rest appear as .
- Friction gives with the dissipation function ; Stokes drag on a falling sphere is the standard example.