Chapter 8 · Classical Mechanics

8.1 Generalised Coordinates and Lagrange’s Equations

Describe a constrained system by as many numbers as it has freedoms, let D'Alembert's principle discard the forces of constraint, and obtain the equations of motion from one scalar function $L=T-V$: $\dfrac{d}{dt}\dfrac{\partial L}{\partial\dot q_j}-\dfrac{\partial L}{\partial q_j}=0$.

Newton's second law $m\ddot{\mathbf r}=\mathbf F$ is complete in principle and awkward in practice. A bead sliding on a spinning hoop, a pendulum hanging from a pendulum, a mass on a string over a pulley: in each case the forces that keep the system on its track — the normal reaction of the wire, the tension of the rod, the pull of the string — are unknown until the motion is known, and they enter Newton's equations as extra unknowns that must be eliminated by hand. Lagrange's idea (in his Mécanique analytique of 1788, a book famous for containing not a single figure) was to choose coordinates in which the constraints are satisfied automatically, and to write the dynamics so that the workless constraint forces never appear. The result is a recipe of startling economy: write the kinetic energy $T$ and the potential energy $V$ in any convenient coordinates $q_1,\dots,q_n$, form $L=T-V$, and the equations of motion are $\frac{d}{dt}\frac{\partial L}{\partial\dot q_j}=\frac{\partial L}{\partial q_j}$ — the same form in Cartesian, polar, angular or any other coordinates.

Lagrange's equations are also the Euler–Lagrange equations of the action functional $\int L\,dt$ (§6.1); we return to that variational point of view in §8.2. In this section we derive them from Newton's laws through virtual work and D'Alembert's principle, so that every hypothesis is visible: holonomic constraints, ideal (workless) constraints, and forces derived from a potential. We then exploit the structure of $L$: a coordinate that does not appear in $L$ hands us a conserved momentum, and a Lagrangian without explicit time dependence hands us the energy integral. CSIR NET asks for exactly these things — the number of degrees of freedom, the type of a constraint, the Lagrangian or equation of motion of a standard system, a conserved quantity, an equilibrium and its stability — in Part B, and asks which statements about constraints, conservation laws and equivalent Lagrangians are true in Part C.

Constraints, Degrees of Freedom and Generalised Coordinates

Consider $N$ particles with masses $m_i$ and position vectors $\mathbf r_i\in\mathbb R^3$, $i=1,\dots,N$. Unrestricted, the system needs $3N$ numbers to fix its configuration. Constraints are restrictions on the possible positions or velocities, imposed by rods, strings, surfaces, wires, hinges and rolling contacts.

📘 Definition 8.1 — Types of constraints
  • A constraint is holonomic if it can be written as an equation between the coordinates and possibly time, $$f(\mathbf r_1,\dots,\mathbf r_N,t)=0 .$$ Every other constraint is non-holonomic: an inequality ($|\mathbf r|\ge a$, a gas molecule in a box) or a relation between velocities that cannot be integrated to a relation between coordinates (a coin rolling on a table).
  • A constraint is scleronomic (rigid) if it does not involve time explicitly, and rheonomic (flowing) if it does: a bead on a wire rotating at a prescribed rate, or a pendulum whose support is driven, obeys a rheonomic constraint.
  • A constraint given as a linear relation between differentials, $\sum_k a_k(\mathbf x,t)\,dx_k+a_t(\mathbf x,t)\,dt=0$, is called a Pfaffian constraint. It is holonomic exactly when it is integrable: some factor $\mu\ne0$ makes the left side the differential $dF$ of a function, so that the constraint is $F(\mathbf x,t)=\text{const}$.

The two classifications are independent: a particle on a fixed sphere $|\mathbf r|=a$ is holonomic and scleronomic; on a sphere whose radius grows, $|\mathbf r|=a+ct$, it is holonomic and rheonomic; a disc rolling on a table is non-holonomic and scleronomic.

📘 Definition 8.2 — Degrees of freedom and generalised coordinates

Suppose the $N$ particles are subject to $k$ independent holonomic constraints $f_1=\dots=f_k=0$ (independent means that the gradients of $f_1,\dots,f_k$ with respect to the $3N$ coordinates are linearly independent). The number $n=3N-k$ is the number of degrees of freedom. Generalised coordinates are $n$ real parameters $q_1,\dots,q_n$ such that

$$\mathbf r_i=\mathbf r_i(q_1,\dots,q_n,t),\qquad i=1,\dots,N,$$

with $\mathbf r_i$ of class $C^2$, every choice of $q$ (in an open set) gives a configuration satisfying all the constraints, every nearby allowed configuration arises from exactly one $q$, and the $3N\times n$ Jacobian matrix $\big(\partial\mathbf r_i/\partial q_j\big)$ has rank $n$. The derivatives $\dot q_j$ are the generalised velocities, and the $n$-dimensional space of the $q$'s is the configuration space.

For a non-holonomic system with Pfaffian constraints, the number of generalised coordinates (needed to fix the configuration) exceeds the number of independent velocities (the degrees of freedom of the motion) by the number of non-integrable constraints.

Generalised coordinates need not be lengths, need not have the same units, and need not be Cartesian: angles, arc lengths, the distance of a bead along a wire, the amount of string unwound from a pulley are all typical. By the implicit function theorem (Unit 1, multivariable calculus), $k$ independent holonomic constraints can always be solved locally for $k$ of the $3N$ coordinates in terms of the other $3N-k$, so generalised coordinates always exist locally; finding convenient ones is the art.

📐 Theorem 8.1 — When is a Pfaffian constraint holonomic? (three variables)
Let $\mathbf A=(A_1,A_2,A_3)$ be a $C^1$ vector field with no zeros on an open set $U\subseteq\mathbb R^3$, and consider the constraint $\mathbf A\cdot d\mathbf x=A_1\,dx+A_2\,dy+A_3\,dz=0$. If the constraint is integrable on $U$ (that is, $\mu\mathbf A=\nabla F$ for some $C^1$ functions $\mu\ne0$ and $F$), then $$\mathbf A\cdot(\nabla\times\mathbf A)=0\quad\text{on }U .$$ Conversely, if $\mathbf A\cdot(\nabla\times\mathbf A)=0$ on $U$ then the constraint is integrable near every point of $U$ (Frobenius' theorem). Every Pfaffian constraint in two variables, $A_1\,dx+A_2\,dy=0$, is integrable near every point where $\mathbf A\ne0$.

Proof. Suppose $\mu\mathbf A=\nabla F$. Then $\mathbf A=\mu^{-1}\nabla F$ and, by the product rule for the curl and $\nabla\times\nabla F=0$, $$\nabla\times\mathbf A=\nabla(\mu^{-1})\times\nabla F .$$ Therefore $\mathbf A\cdot(\nabla\times\mathbf A)=\mu^{-1}\,\nabla F\cdot\big(\nabla(\mu^{-1})\times\nabla F\big)=0$, because a scalar triple product with a repeated vector vanishes. The converse is the three-dimensional case of Frobenius' integrability theorem, which we quote. In two variables the constraint says $dy/dx=-A_1/A_2$ (or $dx/dy=-A_2/A_1$), a first-order ODE; by the existence theorem of §1.1 its solution curves fill a neighbourhood, they are the level curves of some $C^1$ function $F$ with $\nabla F\ne0$, and then $\nabla F$ is parallel to $\mathbf A$, i.e. $\nabla F=\mu\mathbf A$ — this is the integrating factor of §1.1. ∎

When the constraint involves time, $\sum a_k\,dq_k+a_t\,dt=0$, treat $t$ as one more variable; the same criterion applies in the enlarged space. The rolling coin is the standard non-integrable example: a disc of radius $a$ rolling upright without slipping on a horizontal plane has configuration $(x,y,\theta,\varphi)$ — the contact point, the heading angle and the angle of rotation — and the rolling conditions $$\dot x=a\dot\varphi\cos\theta,\qquad \dot y=a\dot\varphi\sin\theta$$ relate velocities only. They cannot be integrated: by rolling along a suitable closed loop the coin can return to the same contact point and heading with any rotation angle $\varphi$ we like, so no relation $F(x,y,\theta,\varphi)=0$ holds. The coin needs four coordinates but has only two independent velocities ($\dot\theta$ and $\dot\varphi$). By contrast, a cylinder rolling along a straight line obeys $\dot x=a\dot\varphi$, which integrates to $x=a\varphi+c$: a holonomic constraint.

📐 Theorem 8.2 — Kinetic energy in generalised coordinates
Let $\mathbf r_i=\mathbf r_i(q,t)$ be generalised coordinates as in Definition 8.2. Then $T=\tfrac12\sum_i m_i|\dot{\mathbf r}_i|^2=T_2+T_1+T_0$, where $$T_2=\tfrac12\sum_{j,k=1}^{n}a_{jk}(q,t)\,\dot q_j\dot q_k,\qquad T_1=\sum_{j=1}^n b_j(q,t)\,\dot q_j,\qquad T_0=\tfrac12\sum_i m_i\left|\frac{\partial\mathbf r_i}{\partial t}\right|^2,$$ $$a_{jk}=\sum_i m_i\,\frac{\partial\mathbf r_i}{\partial q_j}\cdot\frac{\partial\mathbf r_i}{\partial q_k},\qquad b_j=\sum_i m_i\,\frac{\partial\mathbf r_i}{\partial q_j}\cdot\frac{\partial\mathbf r_i}{\partial t}.$$ The matrix $(a_{jk})$ is symmetric and positive definite. If the coordinates are scleronomic ($\partial\mathbf r_i/\partial t=0$), then $T_1=T_0=0$ and $T$ is a positive definite quadratic form in the generalised velocities.

Proof. By the chain rule $\dot{\mathbf r}_i=\sum_j\frac{\partial\mathbf r_i}{\partial q_j}\dot q_j+\frac{\partial\mathbf r_i}{\partial t}$. Squaring and summing with weights $\tfrac12m_i$ gives the three groups of terms: products of two velocity terms ($T_2$), cross terms between a velocity term and $\partial\mathbf r_i/\partial t$ (twice $\tfrac12$, giving $T_1$), and the square of $\partial\mathbf r_i/\partial t$ ($T_0$). Symmetry of $a_{jk}$ is clear. For $\xi\in\mathbb R^n$, $$\sum_{j,k}a_{jk}\xi_j\xi_k=\sum_i m_i\Big|\sum_j\xi_j\frac{\partial\mathbf r_i}{\partial q_j}\Big|^2\ge0,$$ with equality only if $\sum_j\xi_j\,\partial\mathbf r_i/\partial q_j=0$ for every $i$, i.e. only if $\xi$ is in the kernel of the Jacobian $\big(\partial\mathbf r_i/\partial q_j\big)$. That Jacobian has rank $n$, so its kernel is $\{0\}$: the form is positive definite. ∎

Two familiar cases: a particle in plane polar coordinates has $T=\tfrac12m(\dot r^2+r^2\dot\theta^2)$, so $(a_{jk})=\mathrm{diag}(m,mr^2)$, positive definite for $r\gt0$ (at $r=0$ the polar coordinates fail to be generalised coordinates — the rank drops). A bead at distance $r$ along a straight wire turning in a horizontal plane at constant angular speed $\omega$ about one of its points has $\mathbf r=r(\cos\omega t,\sin\omega t,0)$ and $$T=\tfrac12m\dot r^2+\tfrac12m\omega^2r^2,\qquad T_2=\tfrac12m\dot r^2,\quad T_1=0,\quad T_0=\tfrac12m\omega^2r^2 .$$

✏️ Example 1 — Counting degrees of freedom, classifying constraints
For each system, find the number of degrees of freedom, choose generalised coordinates and classify the constraints: (a) a particle on the surface of a fixed sphere; (b) a dumbbell — two particles joined by a light rigid rod — moving freely in space; (c) a free rigid body; (d) a bead on a straight wire that is made to rotate in a horizontal plane at constant angular velocity $\omega$ about one of its points; (e) a disc rolling upright without slipping on a horizontal plane; (f) a particle moving inside a closed box.
(a) One holonomic scleronomic constraint $x^2+y^2+z^2=a^2$: $n=3-1=2$, coordinates the polar and azimuthal angles $(\theta,\varphi)$.
(b) $3\cdot2=6$ coordinates, one constraint $|\mathbf r_1-\mathbf r_2|=\ell$ (holonomic, scleronomic): $n=5$. Coordinates: the centre of mass $(X,Y,Z)$ and the two angles $(\theta,\varphi)$ giving the direction of the rod.
(c) A rigid body is fixed once three non-collinear points $P_1,P_2,P_3$ are fixed: $9$ coordinates and $3$ distance constraints $|P_iP_j|=\text{const}$, so $n=6$ (three for a reference point, three angles — the Eulerian angles of §8.3). Further particles of the body add three coordinates and three distance constraints each, so they change nothing.
(d) The bead is at $r(\cos\omega t,\sin\omega t,0)$: two constraints $z=0$ and $y\cos\omega t-x\sin\omega t=0$, the second containing $t$. Holonomic, rheonomic, $n=1$, coordinate $r$.
(e) Configuration $(x,y,\theta,\varphi)$ — four coordinates — but the two rolling conditions $\dot x=a\dot\varphi\cos\theta$, $\dot y=a\dot\varphi\sin\theta$ are non-integrable (see the discussion after Theorem 8.1). Non-holonomic, scleronomic; two independent velocities.
(f) $0\le x\le a$, $0\le y\le b$, $0\le z\le c$: inequalities, so non-holonomic. While the particle is inside, it moves freely with $3$ degrees of freedom; the walls act only at impacts.
✏️ Example 2 — Holonomic or not?
Decide which of the following Pfaffian constraints in $(x,y,z)$ are holonomic; for those that are, find the integrated constraint. (a) $dz-y\,dx=0$; (b) $(y+z)\,dx+(z+x)\,dy+(x+y)\,dz=0$; (c) $y\,dx+z\,dy+x\,dz=0$; (d) $y\,dx-x\,dy=0$.
(a) No $\mathbf A=(-y,0,1)$, $\nabla\times\mathbf A=(0,0,1)$, $\mathbf A\cdot(\nabla\times\mathbf A)=1\ne0$. By Theorem 8.1 no integrating factor exists on any open set.
(b) Yes The left side is exactly $d(xy+yz+zx)$ (here $\nabla\times\mathbf A=0$). The constraint is $xy+yz+zx=c$.
(c) No $\mathbf A=(y,z,x)$, $\nabla\times\mathbf A=(-1,-1,-1)$ and $\mathbf A\cdot(\nabla\times\mathbf A)=-(x+y+z)$, which is non-zero on every open set. (It vanishes on the plane $x+y+z=0$, but integrability on an open set needs the identity on that set.)
(d) Yes $\mathbf A=(y,-x,0)$, $\nabla\times\mathbf A=(0,0,-2)$, triple product $0$. The integrating factor $1/y^2$ gives $\dfrac{y\,dx-x\,dy}{y^2}=d\!\left(\dfrac{x}{y}\right)$, so (where $y\ne0$) the constraint is $x=cy$: the particle stays on a fixed plane through the $z$-axis.
Lesson Exactness ($\nabla\times\mathbf A=0$) is sufficient but not necessary for a constraint to be holonomic — (d) needs an integrating factor. The test is the triple product.

Virtual Work and D'Alembert's Principle

The constraint forces are the obstacle in Newton's equations. The key observation is that, for most constraints met in practice, they do no work in any displacement that is compatible with the constraints as they stand at a frozen instant.

📘 Definition 8.3 — Virtual displacements and ideal constraints

A virtual displacement of a holonomic system at time $t$ is an infinitesimal change of configuration consistent with the constraints at that fixed time:

$$\delta\mathbf r_i=\sum_{j=1}^n\frac{\partial\mathbf r_i}{\partial q_j}\,\delta q_j\qquad(\delta t=0),$$

with $\delta q_1,\dots,\delta q_n$ arbitrary. (An actual displacement in time $dt$ is $d\mathbf r_i=\sum_j\frac{\partial\mathbf r_i}{\partial q_j}dq_j+\frac{\partial\mathbf r_i}{\partial t}dt$; the two agree only for scleronomic constraints.) Write the total force on particle $i$ as $\mathbf F_i+\mathbf R_i$, the applied force plus the constraint force. The constraints are ideal (workless) if

$$\sum_{i=1}^N\mathbf R_i\cdot\delta\mathbf r_i=0\quad\text{for every virtual displacement.}$$

Smooth surfaces and wires (the reaction is normal to every virtual displacement, even when the surface moves), light inextensible strings and rigid rods (internal forces are equal, opposite and along the line joining the particles, and the virtual displacements keep that distance fixed), and rolling without slipping (the contact point has zero virtual velocity) are ideal. Sliding friction is not.

📘 Definition 8.4 — Generalised forces
The generalised force corresponding to $q_j$ is $$Q_j=\sum_{i=1}^N\mathbf F_i\cdot\frac{\partial\mathbf r_i}{\partial q_j},\qquad\text{so that}\qquad \sum_i\mathbf F_i\cdot\delta\mathbf r_i=\sum_j Q_j\,\delta q_j .$$ If the applied forces are conservative, $\mathbf F_i=-\nabla_iV(\mathbf r_1,\dots,\mathbf r_N)$, then $Q_j=-\partial V/\partial q_j$ (chain rule), where $V$ is expressed in the $q$'s. $Q_j$ is a force when $q_j$ is a length and a torque when $q_j$ is an angle; in every case $Q_j\,\delta q_j$ is a work.
📐 Theorem 8.3 — Principle of virtual work
Let a system with holonomic, scleronomic, ideal constraints be at rest in the configuration $q^0$ at some instant. It remains at rest (the configuration is an equilibrium) if and only if the applied forces do no work in every virtual displacement from $q^0$: $$\sum_i\mathbf F_i\cdot\delta\mathbf r_i=0\ \text{ for all }\delta q\quad\Longleftrightarrow\quad Q_j(q^0)=0\ \ (j=1,\dots,n).$$ For conservative forces the equilibria are exactly the critical points of $V(q)$.

Proof. If the system stays at rest, every $\ddot{\mathbf r}_i=0$, so $\mathbf F_i+\mathbf R_i=0$ and $\sum\mathbf F_i\cdot\delta\mathbf r_i=-\sum\mathbf R_i\cdot\delta\mathbf r_i=0$. The equivalence with $Q_j=0$ is Definition 8.4 with the $\delta q_j$ independent. Conversely, if all $Q_j(q^0)=0$, then the constant path $q(t)\equiv q^0$ satisfies Lagrange's equations (Theorem 8.6 below; with scleronomic constraints and $\dot q=0$ every term involving $T$ vanishes), and by the uniqueness theorem for the initial value problem (§1.1, applied to Lagrange's equations in normal form — possible because $(a_{jk})$ is invertible, Theorem 8.2) it is the only motion starting at rest at $q^0$. ∎

A quick illustration. A uniform ladder $AB$ of length $2\ell$ and weight $W$ stands with $A$ on a smooth floor and $B$ against a smooth wall, making an angle $\alpha$ with the floor; a horizontal string pulls $A$ towards the wall with tension $S$. With the single coordinate $\alpha$, the foot is at distance $x=2\ell\cos\alpha$ from the wall and the centre at height $\ell\sin\alpha$. In a virtual change $\delta\alpha$ the string does work $-S\,\delta x=2\ell S\sin\alpha\,\delta\alpha$ and gravity does $-W\,\delta(\ell\sin\alpha)=-W\ell\cos\alpha\,\delta\alpha$; the smooth wall and floor do none. Setting the sum to zero, $S=\tfrac12W\cot\alpha$ — obtained without ever computing the two reactions.

📐 Theorem 8.4 — D'Alembert's principle
For a system of particles with ideal constraints, the actual motion satisfies, at every instant, $$\sum_{i=1}^N\left(\mathbf F_i-m_i\ddot{\mathbf r}_i\right)\cdot\delta\mathbf r_i=0\quad\text{for every virtual displacement }\delta\mathbf r_i .$$

Proof. Newton's law for particle $i$ is $m_i\ddot{\mathbf r}_i=\mathbf F_i+\mathbf R_i$, so $\sum(\mathbf F_i-m_i\ddot{\mathbf r}_i)\cdot\delta\mathbf r_i=-\sum\mathbf R_i\cdot\delta\mathbf r_i$, which vanishes by the definition of ideal constraints. ∎

D'Alembert's principle is "virtual work for dynamics": the reversed effective forces $-m_i\ddot{\mathbf r}_i$ are added to the applied forces and the system is treated as if in equilibrium. Its content lies in the hypothesis — the physical statement that the constraints are workless — and its power is that the unknown $\mathbf R_i$ have disappeared.

Lagrange's Equations

D'Alembert's principle still uses Cartesian vectors. To express it in generalised coordinates we need two identities about the functions $\mathbf r_i(q,t)$ and their time derivatives $\dot{\mathbf r}_i(q,\dot q,t)=\sum_j\frac{\partial\mathbf r_i}{\partial q_j}\dot q_j+\frac{\partial\mathbf r_i}{\partial t}$, in which $q$ and $\dot q$ are treated as independent variables.

📐 Theorem 8.5 (Lemma) — "Cancellation of the dots" and interchange of $d/dt$ and $\partial/\partial q$
If $\mathbf r_i(q,t)$ is of class $C^2$, then $$\text{(a)}\ \ \frac{\partial\dot{\mathbf r}_i}{\partial\dot q_j}=\frac{\partial\mathbf r_i}{\partial q_j},\qquad\qquad \text{(b)}\ \ \frac{d}{dt}\left(\frac{\partial\mathbf r_i}{\partial q_j}\right)=\frac{\partial\dot{\mathbf r}_i}{\partial q_j}.$$

Proof. (a) $\dot{\mathbf r}_i$ is affine in $\dot q$ with coefficient $\partial\mathbf r_i/\partial q_j$ in front of $\dot q_j$. (b) Along a motion, the chain rule gives $$\frac{d}{dt}\frac{\partial\mathbf r_i}{\partial q_j}=\sum_k\frac{\partial^2\mathbf r_i}{\partial q_k\,\partial q_j}\dot q_k+\frac{\partial^2\mathbf r_i}{\partial t\,\partial q_j},$$ while differentiating the formula for $\dot{\mathbf r}_i$ with respect to $q_j$ (holding $\dot q$ fixed) gives $$\frac{\partial\dot{\mathbf r}_i}{\partial q_j}=\sum_k\frac{\partial^2\mathbf r_i}{\partial q_j\,\partial q_k}\dot q_k+\frac{\partial^2\mathbf r_i}{\partial q_j\,\partial t}.$$ The mixed partial derivatives are equal because $\mathbf r_i$ is $C^2$ (Schwarz's theorem). ∎

📐 Theorem 8.6 — Lagrange's equations

Let a system of $N$ particles have $n$ degrees of freedom, holonomic ideal constraints and $C^2$ generalised coordinates $q_1,\dots,q_n$. Then along every motion

$$\frac{d}{dt}\frac{\partial T}{\partial\dot q_j}-\frac{\partial T}{\partial q_j}=Q_j,\qquad j=1,\dots,n .$$

If moreover the applied forces derive from a potential $V(q,t)$, then with the Lagrangian $L(q,\dot q,t)=T-V$,

$$\frac{d}{dt}\frac{\partial L}{\partial\dot q_j}-\frac{\partial L}{\partial q_j}=0,\qquad j=1,\dots,n .$$

Proof. Insert $\delta\mathbf r_i=\sum_j\frac{\partial\mathbf r_i}{\partial q_j}\delta q_j$ into D'Alembert's principle. The applied forces contribute $\sum_jQ_j\,\delta q_j$ (Definition 8.4). For the inertial term, using the product rule and then both parts of Theorem 8.5,

$$\sum_i m_i\ddot{\mathbf r}_i\cdot\frac{\partial\mathbf r_i}{\partial q_j}=\frac{d}{dt}\Big(\sum_i m_i\dot{\mathbf r}_i\cdot\frac{\partial\mathbf r_i}{\partial q_j}\Big)-\sum_i m_i\dot{\mathbf r}_i\cdot\frac{d}{dt}\frac{\partial\mathbf r_i}{\partial q_j}$$ $$=\frac{d}{dt}\Big(\sum_i m_i\dot{\mathbf r}_i\cdot\frac{\partial\dot{\mathbf r}_i}{\partial\dot q_j}\Big)-\sum_i m_i\dot{\mathbf r}_i\cdot\frac{\partial\dot{\mathbf r}_i}{\partial q_j}=\frac{d}{dt}\frac{\partial T}{\partial\dot q_j}-\frac{\partial T}{\partial q_j},$$

because $\partial T/\partial\dot q_j=\sum_im_i\dot{\mathbf r}_i\cdot\partial\dot{\mathbf r}_i/\partial\dot q_j$ and similarly for $\partial T/\partial q_j$. D'Alembert's principle therefore reads

$$\sum_{j=1}^n\Big(Q_j-\frac{d}{dt}\frac{\partial T}{\partial\dot q_j}+\frac{\partial T}{\partial q_j}\Big)\delta q_j=0 .$$

Since the constraints are holonomic, the $\delta q_j$ are independent and arbitrary; choosing $\delta q$ to be each coordinate vector in turn shows that every bracket vanishes. In the conservative case $Q_j=-\partial V/\partial q_j$, and since $V$ does not depend on $\dot q$, $\partial T/\partial\dot q_j=\partial L/\partial\dot q_j$; moving $-\partial V/\partial q_j$ to the left gives the second form. ∎

Two remarks complete the picture. If some forces are conservative and others are not, put the first into $L$ and keep the rest on the right: $\frac{d}{dt}\frac{\partial L}{\partial\dot q_j}-\frac{\partial L}{\partial q_j}=Q_j'$. And the second form still holds for a velocity-dependent potential $U(q,\dot q,t)$ whenever $Q_j=\frac{d}{dt}\frac{\partial U}{\partial\dot q_j}-\frac{\partial U}{\partial q_j}$; the important case is a charge $e$ in electromagnetic potentials $\phi,\mathbf A$, for which $L=\tfrac12m|\dot{\mathbf r}|^2-e\phi+e\,\dot{\mathbf r}\cdot\mathbf A$ reproduces the Lorentz force $e(\mathbf E+\dot{\mathbf r}\times\mathbf B)$ (Exercise II.9).

📐 Theorem 8.7 — Freedom in the Lagrangian; invariance under change of coordinates
(a) If $F(q,t)$ is any $C^2$ function and $c\ne0$ a constant, then $L$ and $L'=cL+\dfrac{dF}{dt}$, where $\dfrac{dF}{dt}=\sum_j\dfrac{\partial F}{\partial q_j}\dot q_j+\dfrac{\partial F}{\partial t}$, have the same Lagrange equations. (b) Lagrange's equations are form-invariant under a change of generalised coordinates $q=q(Q,t)$ with invertible Jacobian: the new equations are $\frac{d}{dt}\frac{\partial\tilde L}{\partial\dot Q_k}-\frac{\partial\tilde L}{\partial Q_k}=0$ with $\tilde L(Q,\dot Q,t)=L\big(q(Q,t),\dot q(Q,\dot Q,t),t\big)$.

Proof. (a) Linearity of the Lagrange expression $\mathcal E_j(L)=\frac{d}{dt}\frac{\partial L}{\partial\dot q_j}-\frac{\partial L}{\partial q_j}$ reduces the claim to $\mathcal E_j(dF/dt)=0$. Now $\frac{\partial}{\partial\dot q_j}\frac{dF}{dt}=\frac{\partial F}{\partial q_j}$, so $\frac{d}{dt}\frac{\partial}{\partial\dot q_j}\frac{dF}{dt}=\frac{d}{dt}\frac{\partial F}{\partial q_j}$; and $\frac{\partial}{\partial q_j}\frac{dF}{dt}=\frac{d}{dt}\frac{\partial F}{\partial q_j}$ by the same interchange of mixed partials as in Theorem 8.5(b). The difference is zero. (b) This is Theorem 8.5 again, now applied to the map $Q\mapsto q$: exactly the computation in the proof of Theorem 8.6 shows $\mathcal E_k^{Q}(\tilde L)=\sum_j\frac{\partial q_j}{\partial Q_k}\,\mathcal E_j^{q}(L)$, and the matrix $\big(\partial q_j/\partial Q_k\big)$ is invertible, so one set of equations holds iff the other does. (Alternatively, both sets are the Euler–Lagrange equations of the same action integral — §8.2.) ∎

Part (a) is a favourite of Part C. The converse is false in general: two Lagrangians can produce equivalent equations without being related as in (a) — for one free particle, $L=\dot q^2$ and $L=\dot q^4$ both force $\ddot q=0$ (the second gives $12\dot q^2\ddot q=0$), and $L=e^{\gamma t}\big(\tfrac12\dot q^2-\tfrac12\omega^2q^2\big)$ gives the damped equation $\ddot q+\gamma\dot q+\omega^2q=0$ (Exercise III.7).

📐 Theorem 8.8 — Lagrange's equations with multipliers
Suppose that, in addition to the holonomic constraints built into the coordinates $q_1,\dots,q_n$, the system obeys $m\lt n$ independent ideal Pfaffian constraints $\sum_{j}a_{lj}(q,t)\,\dot q_j+a_{lt}(q,t)=0$, $l=1,\dots,m$ (holonomic or not). Then there are functions $\lambda_1(t),\dots,\lambda_m(t)$ such that $$\frac{d}{dt}\frac{\partial L}{\partial\dot q_j}-\frac{\partial L}{\partial q_j}=\sum_{l=1}^m\lambda_l\,a_{lj},\qquad j=1,\dots,n .$$ The $n+m$ equations (these and the constraints) determine $q_1,\dots,q_n,\lambda_1,\dots,\lambda_m$; the term $\sum_l\lambda_la_{lj}$ is the generalised constraint force.

Proof (sketch). Now the virtual displacements are restricted to the subspace $K=\{\delta q:\sum_ja_{lj}\delta q_j=0,\ l=1,\dots,m\}$. The computation in the proof of Theorem 8.6 shows that the vector $\mathcal E=(\mathcal E_1(L),\dots,\mathcal E_n(L))$ satisfies $\mathcal E\cdot\delta q=0$ for all $\delta q\in K$. By linear algebra, a linear functional vanishing on the common kernel of the functionals $a_l=(a_{l1},\dots,a_{ln})$ is a linear combination of them: $\mathcal E=\sum_l\lambda_la_l$. ∎

Multipliers are also the way to compute a constraint force for a holonomic constraint: keep a redundant coordinate and impose the constraint with a multiplier. For a pendulum written in polar coordinates $(r,\theta)$ with the constraint $\dot r=0$, the $r$-equation $m\ddot r-mr\dot\theta^2-mg\cos\theta=\lambda$ with $r=\ell$ gives $\lambda=-(m\ell\dot\theta^2+mg\cos\theta)$: minus the string tension.

🧭 Problem-solving strategy — writing down Lagrange's equations
  1. Count and choose. Count the degrees of freedom $n=3N-k$ (a rigid body counts 6, a rigid body with a fixed point 3, a rigid body in plane motion 3). Pick $n$ coordinates that make the constraints automatic — angles for rods and hoops, distance along a wire, length of string paid out.
  2. Write positions, then velocities. Express the Cartesian position of every mass (and the angular velocity of every rigid body) in terms of $q$ and $t$; differentiate. Mistakes are almost always made here, not in the Lagrange equations — moving supports and rotating wires contribute $\partial\mathbf r/\partial t$ terms.
  3. Form $T$ and $V$. $T=\tfrac12\sum m_i|\dot{\mathbf r}_i|^2$ (plus $\tfrac12I\omega^2$ for rotating bodies); $V$ from gravity ($mgz$), springs ($\tfrac12k(\text{extension})^2$), central potentials. Then $L=T-V$.
  4. Differentiate mechanically. For each $j$ compute $\partial L/\partial\dot q_j$, its total time derivative, and $\partial L/\partial q_j$. Before solving, harvest the free first integrals: a coordinate absent from $L$ (cyclic) gives a conserved momentum; no explicit $t$ gives the energy integral (Theorems 8.9 and 8.11).
  5. Check. Units; the limit of a known case (pulley mass $\to0$, rotation $\to0$); equilibrium positions from $\partial V_{\text{eff}}/\partial q=0$.
✏️ Example 3 — The Atwood machine with a massive pulley
Masses $m_1\gt m_2$ hang from the ends of a light inextensible string that passes over a pulley of radius $a$ and moment of inertia $I$ about its fixed horizontal axle; the string does not slip. Find the acceleration of the masses by Lagrange's equations. Evaluate it, and the two tensions, for $m_1=3\ \text{kg}$, $m_2=2\ \text{kg}$, a uniform disc pulley of mass $2\ \text{kg}$ and $g=9.8\ \text{m s}^{-2}$.
Coordinate One degree of freedom. Let $x$ be the depth of $m_1$ below the axle; then $m_2$ is at depth $\ell-x$ (fixed string length $\ell$ apart from the part on the pulley) and the pulley turns through $\varphi$ with $a\dot\varphi=\dot x$ (no slip).
Lagrangian Measuring $V$ with $z$ downward positive, $V=-m_1gx-m_2g(\ell-x)$ and $$T=\tfrac12(m_1+m_2)\dot x^2+\tfrac12I\dot\varphi^2=\tfrac12\Big(m_1+m_2+\frac{I}{a^2}\Big)\dot x^2 .$$ So $L=\tfrac12M\dot x^2+(m_1-m_2)gx+\text{const}$ with $M=m_1+m_2+I/a^2$.
Equation $\dfrac{d}{dt}(M\dot x)-(m_1-m_2)g=0$, so $$\ddot x=\frac{(m_1-m_2)\,g}{m_1+m_2+I/a^2}.$$ The pulley's inertia acts like an extra mass $I/a^2$ that must be accelerated but feels no gravity along the motion.
Numbers Uniform disc: $I=\tfrac12(2)a^2$, so $I/a^2=1\ \text{kg}$ and $\ddot x=\dfrac{(3-2)(9.8)}{6}=1.63\ \text{m s}^{-2}$. Newton's law for each mass then gives the tensions (which Lagrange's method never needed): $T_1=m_1(g-\ddot x)=24.5\ \text{N}$, $T_2=m_2(g+\ddot x)=22.9\ \text{N}$. The difference $T_1-T_2=1.63\ \text{N}=(I/a^2)\ddot x$ is what accelerates the pulley.
Check $I\to0$ gives the textbook $\ddot x=\frac{m_1-m_2}{m_1+m_2}g$ and $T_1=T_2$.
✏️ Example 4 — A bead on a rotating hoop
A bead of mass $m$ slides without friction on a circular hoop of radius $a$ that is made to rotate with constant angular velocity $\omega$ about its vertical diameter. Let $\theta$ be the angle of the bead from the lowest point of the hoop. Find the equation of motion, all equilibrium positions (relative to the hoop) and their stability, and the frequency of small oscillations about each stable equilibrium.
Position With $z$ vertically up from the centre, the bead is at $\mathbf r=a(\sin\theta\cos\omega t,\ \sin\theta\sin\omega t,\ -\cos\theta)$: one degree of freedom, a rheonomic constraint.
Lagrangian $|\dot{\mathbf r}|^2=a^2\dot\theta^2+a^2\omega^2\sin^2\theta$ (meridian speed plus the speed $\omega\cdot a\sin\theta$ of being carried round), $V=-mga\cos\theta$: $$L=\tfrac12ma^2\big(\dot\theta^2+\omega^2\sin^2\theta\big)+mga\cos\theta .$$
Equation $\dfrac{d}{dt}(ma^2\dot\theta)-ma^2\omega^2\sin\theta\cos\theta+mga\sin\theta=0$, i.e. $$\ddot\theta=\sin\theta\left(\omega^2\cos\theta-\frac ga\right).$$
Equilibria $\ddot\theta=0$ at rest when $\sin\theta=0$ ($\theta=0$ bottom, $\theta=\pi$ top) or $\cos\theta=\dfrac{g}{a\omega^2}$, which has solutions $\pm\theta_*$ only if $\omega^2\gt g/a$. Write $\omega_c=\sqrt{g/a}$.
Stability Put $f(\theta)=\sin\theta(\omega^2\cos\theta-g/a)$ and linearise $\ddot\theta=f(\theta)$ about an equilibrium $\theta_e$: $\ddot u=f'(\theta_e)u$, stable iff $f'(\theta_e)\lt0$, with frequency $\sqrt{-f'(\theta_e)}$. Here $f'(0)=\omega^2-g/a$, $f'(\pi)=\omega^2+g/a\gt0$ and, using $\cos\theta_*=g/(a\omega^2)$, $$f'(\theta_*)=\omega^2\cos^2\theta_*-\omega^2\sin^2\theta_*-\tfrac ga\cos\theta_*$$ $$=-\omega^2\sin^2\theta_*.$$
Answer The top is always unstable. For $\omega\lt\omega_c$ the bottom is the only stable equilibrium, with small-oscillation frequency $\sqrt{g/a-\omega^2}$. For $\omega\gt\omega_c$ the bottom becomes unstable and the bead settles at $\theta=\pm\theta_*$, $\cos\theta_*=g/(a\omega^2)$, oscillating there with frequency $\omega\sin\theta_*=\omega\sqrt{1-g^2/(a^2\omega^4)}$. This exchange of stability at $\omega=\omega_c$ is a pitchfork bifurcation.
Remark The equilibria are the critical points of the effective potential $U(\theta)=-\tfrac12ma^2\omega^2\sin^2\theta-mga\cos\theta$, because $L=\tfrac12ma^2\dot\theta^2-U(\theta)$. Note that $U$ is not the potential energy: the centrifugal term came from the kinetic energy $T_0$.
Interactive 1 — The Bead on the Spinning Hoop: a Pitchfork and an Energy That Is Not Conserved

Units with $g/a=1$, so the critical rate is $\omega_c=1$. Left: the hoop seen from the side as it spins, and the bead. Right: the effective potential $U(\theta)=-\tfrac12\omega^2\sin^2\theta-\cos\theta$ (per $ma^2$) with the bead's position, and the level of the conserved quantity $h=\tfrac12\dot\theta^2+U(\theta)$ (dashed). Drag $\omega$ through $1$ and watch the bottom of the well split into two. Compare the two energy readouts: $h$ stays fixed, while the mechanical energy $T+V$ changes — the motor turning the hoop does work on the bead.

1.60
ω / ω_c—
stable equilibria—
small-oscillation frequency—
h (Jacobi integral)—
T + V—
✏️ Example 5 — The double pendulum
A light rod of length $\ell_1$ hangs from a fixed pivot and carries a mass $m_1$; from $m_1$ hangs a second light rod of length $\ell_2$ carrying $m_2$; the motion is in a vertical plane. Using the angles $\theta_1,\theta_2$ of the rods from the downward vertical, find the Lagrangian, the equations of motion and their linearisation about the equilibrium $\theta_1=\theta_2=0$.
Positions Two particles in a plane ($4$ coordinates), two rod constraints: $n=2$. With $y$ up, $$\mathbf r_1=\ell_1(\sin\theta_1,-\cos\theta_1),$$ $$\mathbf r_2=\mathbf r_1+\ell_2(\sin\theta_2,-\cos\theta_2).$$
Kinetic energy $|\dot{\mathbf r}_1|^2=\ell_1^2\dot\theta_1^2$ and $|\dot{\mathbf r}_2|^2=\ell_1^2\dot\theta_1^2+\ell_2^2\dot\theta_2^2+2\ell_1\ell_2\dot\theta_1\dot\theta_2\cos(\theta_1-\theta_2)$ (the two velocity vectors are perpendicular to their rods, at angle $\theta_1-\theta_2$ to each other). Hence $$L=\tfrac12(m_1+m_2)\ell_1^2\dot\theta_1^2+\tfrac12m_2\ell_2^2\dot\theta_2^2+m_2\ell_1\ell_2\dot\theta_1\dot\theta_2\cos(\theta_1-\theta_2)$$ $$\qquad+(m_1+m_2)g\ell_1\cos\theta_1+m_2g\ell_2\cos\theta_2 .$$
Equations Differentiating (the $\cos(\theta_1-\theta_2)$ factor contributes to both $\partial L/\partial\theta_j$ and $\frac{d}{dt}\partial L/\partial\dot\theta_j$), and dividing by $\ell_1$ and $\ell_2$: $$(m_1+m_2)\ell_1\ddot\theta_1+m_2\ell_2\ddot\theta_2\cos(\theta_1-\theta_2)+m_2\ell_2\dot\theta_2^2\sin(\theta_1-\theta_2)+(m_1+m_2)g\sin\theta_1=0,$$ $$\ell_2\ddot\theta_2+\ell_1\ddot\theta_1\cos(\theta_1-\theta_2)-\ell_1\dot\theta_1^2\sin(\theta_1-\theta_2)+g\sin\theta_2=0 .$$
Linearised Keeping first-order terms ($\sin\theta\approx\theta$, $\cos\approx1$, products of small quantities dropped): $$(m_1+m_2)\ell_1\ddot\theta_1+m_2\ell_2\ddot\theta_2+(m_1+m_2)g\theta_1=0,\qquad \ell_1\ddot\theta_1+\ell_2\ddot\theta_2+g\theta_2=0 .$$ Seeking $\theta_j=A_je^{i\Omega t}$ leads to the frequency equation of the two normal modes — the subject of §8.4. Large swings, by contrast, are chaotic (see the teaser of the chapter introduction).
Check $m_2\to0$: the first equation becomes the simple pendulum $\ell_1\ddot\theta_1+g\sin\theta_1=0$, as it must.

Cyclic Coordinates, Conservation Laws and the Energy Integral

Lagrange's equations are second-order ODEs, and the best thing one can do with them before solving is to find first integrals: functions of $(q,\dot q,t)$ that stay constant along every motion. Each first integral lowers the order of the problem by one. Two of them come almost free from the shape of $L$.

📘 Definition 8.5 — Generalised momenta; cyclic coordinates
The generalised momentum conjugate to $q_j$ is $p_j=\dfrac{\partial L}{\partial\dot q_j}$. A coordinate $q_j$ that does not appear in $L$ (although $\dot q_j$ may) is called cyclic or ignorable.

For a particle in Cartesian coordinates $p_x=m\dot x$ is the linear momentum; for an angle $\theta$ the conjugate momentum is an angular momentum ($p_\theta=mr^2\dot\theta$ in polar coordinates); in a magnetic field $p_x=m\dot x+eA_x$ is not the mechanical momentum at all.

📐 Theorem 8.9 — Cyclic coordinates give conserved momenta
If $q_j$ is cyclic, then $p_j=\partial L/\partial\dot q_j$ is constant along every motion.

Proof. Lagrange's equation for $q_j$ is $\dfrac{dp_j}{dt}=\dfrac{\partial L}{\partial q_j}=0$. ∎

Whether a coordinate is cyclic depends on the coordinates chosen: for a central potential $V(r)$, the polar angle $\theta$ is cyclic in $L=\tfrac12m(\dot r^2+r^2\dot\theta^2)-V(r)$, while neither $x$ nor $y$ is cyclic in Cartesian coordinates — yet the conserved quantity, angular momentum, is the same. The next theorem explains conservation laws without reference to a particular coordinate.

📐 Theorem 8.10 — Symmetries give conservation laws (Noether's theorem, point-symmetry form)
Let $K(q)=(K_1(q),\dots,K_n(q))$ be a $C^1$ vector field on configuration space and suppose that $L$ is invariant to first order under the infinitesimal transformation $q\mapsto q+\varepsilon K(q)$ (and the induced $\dot q\mapsto\dot q+\varepsilon\,\frac{d}{dt}K(q)$), that is $$\sum_j\frac{\partial L}{\partial q_j}K_j(q)+\sum_j\frac{\partial L}{\partial\dot q_j}\sum_k\frac{\partial K_j}{\partial q_k}\dot q_k=0\quad\text{identically}.$$ Then $I=\sum_jp_jK_j(q)$ is constant along every motion. In particular: if $L$ is unchanged when the whole system is translated in a direction $\mathbf n$, the component $\mathbf P\cdot\mathbf n$ of the total linear momentum is conserved; if $L$ is unchanged when the whole system is rotated about an axis $\mathbf n$, the component $\mathbf J\cdot\mathbf n$ of the total angular momentum is conserved.

Proof. Along a motion, using $\dot p_j=\partial L/\partial q_j$ (Lagrange's equations), $$\frac{dI}{dt}=\sum_j\dot p_jK_j+\sum_jp_j\sum_k\frac{\partial K_j}{\partial q_k}\dot q_k=\sum_j\frac{\partial L}{\partial q_j}K_j+\sum_j\frac{\partial L}{\partial\dot q_j}\sum_k\frac{\partial K_j}{\partial q_k}\dot q_k=0 .$$ For a translation of all particles by $\varepsilon\mathbf n$ in Cartesian coordinates, $K$ assigns $\mathbf n$ to every particle and $I=\sum_i m_i\dot{\mathbf r}_i\cdot\mathbf n$. For an infinitesimal rotation $\mathbf r_i\mapsto\mathbf r_i+\varepsilon\,\mathbf n\times\mathbf r_i$, $I=\sum_i m_i\dot{\mathbf r}_i\cdot(\mathbf n\times\mathbf r_i)=\mathbf n\cdot\sum_i\mathbf r_i\times m_i\dot{\mathbf r}_i$. ∎

If $q_j$ is cyclic, the translation $q_j\mapsto q_j+\varepsilon$ (that is, $K=e_j$) is a symmetry, and Theorem 8.10 returns Theorem 8.9. Conversely, near any point where $K\ne0$ one can choose coordinates in which the flow of $K$ is a translation of a single coordinate (straightening the flow, as in the theory of first integrals of §3.1), and in those coordinates that coordinate is cyclic — which is why one chooses polar coordinates for central forces.

📘 Definition 8.6 — Jacobi's energy function
For a Lagrangian $L(q,\dot q,t)$ the energy function (Jacobi's integral when it is conserved) is $$h(q,\dot q,t)=\sum_{j=1}^n\dot q_j\frac{\partial L}{\partial\dot q_j}-L .$$
📐 Theorem 8.11 — The energy integral

(a) Along every solution of Lagrange's equations $\dfrac{dh}{dt}=-\dfrac{\partial L}{\partial t}$. Hence if $L$ does not contain $t$ explicitly, $h$ is a constant of the motion.

(b) If $L=T-V$ with $T=T_2+T_1+T_0$ as in Theorem 8.2 and $V=V(q,t)$, then $h=T_2-T_0+V$.

(c) In particular, if the constraints are scleronomic and $V=V(q)$, then $h=T+V=E$ and the total mechanical energy is conserved.

Proof. (a) By the chain rule along a motion, $$\frac{dL}{dt}=\sum_j\frac{\partial L}{\partial q_j}\dot q_j+\sum_j\frac{\partial L}{\partial\dot q_j}\ddot q_j+\frac{\partial L}{\partial t},$$ so $$\frac{dh}{dt}=\sum_j\ddot q_j\frac{\partial L}{\partial\dot q_j}+\sum_j\dot q_j\frac{d}{dt}\frac{\partial L}{\partial\dot q_j}-\frac{dL}{dt}=\sum_j\dot q_j\Big(\frac{d}{dt}\frac{\partial L}{\partial\dot q_j}-\frac{\partial L}{\partial q_j}\Big)-\frac{\partial L}{\partial t}=-\frac{\partial L}{\partial t}.$$ (b) $T_k$ is homogeneous of degree $k$ in $\dot q$, so by Euler's theorem on homogeneous functions $\sum_j\dot q_j\,\partial T_k/\partial\dot q_j=kT_k$. Since $V$ does not involve $\dot q$, $\sum_j\dot q_j\,\partial L/\partial\dot q_j=2T_2+T_1$, and $h=2T_2+T_1-(T_2+T_1+T_0-V)=T_2-T_0+V$. (c) Scleronomic coordinates give $T_1=T_0=0$ (Theorem 8.2), so $h=T+V$, and $L$ has no explicit $t$. ∎

The two conditions in (c) — "no explicit time in $L$" (which makes $h$ conserved) and "scleronomic, velocity-independent potential" (which makes $h$ equal to the energy) — are logically independent, and CSIR Part C exploits exactly this. For the rotating hoop of Example 4, $L$ has no explicit $t$, so $$h=\tfrac12ma^2\dot\theta^2-\tfrac12ma^2\omega^2\sin^2\theta-mga\cos\theta$$ is conserved; but the energy $$E=T+V=\tfrac12ma^2\dot\theta^2+\tfrac12ma^2\omega^2\sin^2\theta-mga\cos\theta$$ equals $h+ma^2\omega^2\sin^2\theta$, which changes whenever $\theta$ does. The difference is the work done by the motor that keeps $\omega$ constant (the hoop pushes the bead sideways when it moves up or down). With additional non-potential generalised forces $Q_j'$, the computation in (a) gives $\dfrac{dh}{dt}=\sum_jQ_j'\dot q_j-\dfrac{\partial L}{\partial t}$; for linear friction $Q_j'=-c_j\dot q_j$ this is the rate of dissipation $-\sum c_j\dot q_j^2\le0$.

✏️ Example 6 — Central forces: angular momentum, the effective potential and Binet's equation
A particle of mass $m$ moves in a plane under a central potential $V(r)$. (a) Use polar coordinates to find two first integrals. (b) Reduce the motion to one-dimensional motion in an effective potential. (c) With $u=1/r$, derive Binet's equation for the orbit $r(\theta)$, and show that the conic orbits $r=\dfrac{p}{1+e\cos\theta}$ require an inverse-square force.
(a) $L=\tfrac12m(\dot r^2+r^2\dot\theta^2)-V(r)$. The angle is cyclic, so $p_\theta=mr^2\dot\theta=\ell$ is constant (angular momentum; equivalently the areal velocity $\tfrac12r^2\dot\theta=\ell/2m$ is constant — Kepler's second law, valid for every central force). $L$ has no explicit $t$ and the coordinates are scleronomic, so $E=\tfrac12m(\dot r^2+r^2\dot\theta^2)+V(r)$ is constant.
(b) The $r$-equation is $m\ddot r-mr\dot\theta^2+V'(r)=0$. Substituting $\dot\theta=\ell/(mr^2)$, $$m\ddot r=-\frac{d}{dr}V_{\text{eff}}(r),\qquad V_{\text{eff}}(r)=V(r)+\frac{\ell^2}{2mr^2},$$ and the energy becomes $E=\tfrac12m\dot r^2+V_{\text{eff}}(r)$. The radial motion is confined to $\{r:V_{\text{eff}}(r)\le E\}$; turning points are roots of $V_{\text{eff}}(r)=E$; circular orbits sit at critical points of $V_{\text{eff}}$, stable at minima. The term $\ell^2/2mr^2$ is the centrifugal barrier: for $\ell\ne0$ and $V$ less singular than $-1/r^2$, the particle cannot reach $r=0$.
(c) Binet Use $\theta$ as the independent variable: $\dfrac{d}{dt}=\dfrac{\ell u^2}{m}\dfrac{d}{d\theta}$. Then $\dot r=-\dfrac{\ell}{m}\dfrac{du}{d\theta}$ and $\ddot r=-\dfrac{\ell^2u^2}{m^2}\dfrac{d^2u}{d\theta^2}$. With $F(r)=-V'(r)$ the radial force (positive outward), the radial equation $m\ddot r-mr\dot\theta^2=F$ becomes $$\frac{d^2u}{d\theta^2}+u=-\frac{m}{\ell^2u^2}\,F\!\left(\frac1u\right).$$
Conics For $u=(1+e\cos\theta)/p$, $u''+u=1/p$, so $F=-\dfrac{\ell^2u^2}{mp}=-\dfrac{\ell^2}{mp}\cdot\dfrac1{r^2}$: an attractive inverse-square force, with $k=\ell^2/(mp)$ if $F=-k/r^2$. Conversely, for $F=-k/r^2$ Binet's equation is $u''+u=mk/\ell^2$, whose general solution $u=\frac{mk}{\ell^2}\big(1+e\cos(\theta-\theta_0)\big)$ is a conic with focus at the centre.
Interactive 2 — Central Forces: Conserved pθ, the Effective Potential and Closed versus Precessing Orbits

A particle ($m=1$) starts at $r=1$ with tangential speed $v_t$ and radial speed $v_r$. Left: the orbit. Right: the effective potential $V_{\text{eff}}(r)=V(r)+\ell^2/2r^2$ with the energy level $E$; the radial motion is trapped between the turning points where the line meets the curve. The readout $p_\theta=x\dot y-y\dot x$ is recomputed from the numerical solution at every step — it does not change. Compare the angle between successive closest approaches: $360^\circ$ for $-1/r$, $180^\circ$ for $\tfrac12r^2$, and something else for the perturbed potential, whose orbits never close.

0.800.15
p_θ (conserved)—
energy E—
turning points r_min, r_max—
angle between pericentres—
✏️ Example 7 — Prove or disprove
Let $L_0=\tfrac12\dot q^2-\tfrac12q^2$, whose Lagrange equation is $\ddot q+q=0$. Decide which of the following statements are true. (a) $L_1=L_0+q^2\dot q$ gives the same equation. (b) $L_2=L_0+tq\dot q$ gives the same equation. (c) If $L$ does not depend explicitly on $t$, then $T+V$ is conserved. (d) If a system has a cyclic coordinate in one set of generalised coordinates, it has one in every set.
(a) True $q^2\dot q=\dfrac{d}{dt}\Big(\dfrac{q^3}{3}\Big)$ is a total derivative of a function of $q$; Theorem 8.7(a) applies. Directly: $\frac{d}{dt}(q^2)-2q\dot q=0$.
(b) False $\dfrac{\partial}{\partial\dot q}(tq\dot q)=tq$, whose time derivative is $q+t\dot q$, and $\dfrac{\partial}{\partial q}(tq\dot q)=t\dot q$; the extra contribution to the Lagrange expression is $q+t\dot q-t\dot q=q$, and the equation becomes $\ddot q+2q=0$. Indeed $tq\dot q=\frac{d}{dt}\big(\tfrac12tq^2\big)-\tfrac12q^2$: a total derivative plus a genuine potential term.
(c) False The bead on the rotating hoop (Example 4): $L$ has no explicit $t$, so $h$ is conserved, but $T+V=h+ma^2\omega^2\sin^2\theta$ is not (Theorem 8.11 and the discussion after it). The statement becomes true when the constraints are scleronomic and $V$ is velocity-independent.
(d) False For a free particle in the plane, $L=\tfrac12m(\dot x^2+\dot y^2)$ has two cyclic coordinates; in polar coordinates $L=\tfrac12m(\dot r^2+r^2\dot\theta^2)$ only $\theta$ is cyclic; and in the coordinates $(a,b)$ with $x=ab$, $y=a/b$ ($a,b\gt0$), $$L=\tfrac12m\Big[(b\dot a+a\dot b)^2+\Big(\frac{\dot a}{b}-\frac{a\dot b}{b^2}\Big)^2\Big]$$ contains both $a$ and $b$, so no coordinate is cyclic. Being cyclic is a property of the coordinates, not of the system; a symmetry guarantees only that some coordinates exist in which a coordinate is cyclic (remark after Theorem 8.10).
⚠️ Counterexamples and pitfalls
  1. Rheonomic is not non-holonomic. A bead on a rotating wire has a time-dependent but holonomic constraint ($n=1$). Non-holonomic means an inequality or a non-integrable velocity relation.
  2. A velocity constraint may still be holonomic. $\dot x=a\dot\varphi$ (rolling on a line) and $y\,dx-x\,dy=0$ integrate to coordinate relations; the rolling coin and $dz-y\,dx=0$ do not (Theorem 8.1).
  3. Exactness is not the test. $y\,dx-x\,dy$ is not exact, yet the constraint is holonomic (integrating factor $1/y^2$). Use $\mathbf A\cdot(\nabla\times\mathbf A)=0$.
  4. Virtual work of a moving constraint is zero; actual work need not be. The wire of a rotating bead does no work in a virtual displacement (along the wire, time frozen) but does positive work in the actual motion: the kinetic energy of the bead grows.
  5. Sliding friction is not ideal. D'Alembert's principle, and hence Lagrange's equations in the form $\mathcal E_j(L)=0$, fail for it; friction must be added as a non-potential force $Q_j'$.
  6. "No explicit $t$ in $L$" gives $h$, not $T+V$. For the rotating hoop $h=T_2-T_0+V$ is conserved and $T+V$ is not. Conversely, a spring with time-dependent stiffness $k(t)$ in fixed coordinates has $h=T+V$ but $h$ is not conserved.
  7. The effective potential is not the potential energy. Centrifugal terms $-\tfrac12ma^2\omega^2\sin^2\theta$ (rotating hoop) or $+\ell^2/2mr^2$ (central force) come from the kinetic energy.
  8. Equivalent Lagrangians. $cL+dF(q,t)/dt$ gives the same equations, but $L+tq\dot q$ does not ($tq\dot q$ is a total derivative plus $-\tfrac12q^2$); and different Lagrangians can give the same equations without being related this way ($\dot q^2$ and $\dot q^4$).
  9. Generalised momentum is not always $m\times$velocity. In a magnetic field $p=m\dot{\mathbf r}+e\mathbf A$; for an angle it is an angular momentum; for the hoop $p_\theta=ma^2\dot\theta$ is only the meridian part of the angular momentum.
  10. Circular orbits need not be stable. In $V=-k/r^n$ circular orbits exist at every radius but are stable only for $n\lt2$ (Exercise IV.6); at $n=2$ the effective potential has no minimum at all.
  11. Kepler's second law holds for every central force. Constancy of $r^2\dot\theta$ is conservation of $p_\theta$; only the first and third laws are special to the inverse square.

Exercises

I
Constraints, degrees of freedom and virtual work.
  • 1 Find the number of degrees of freedom of: (a) two particles joined by a light rigid rod and constrained to move in a fixed plane; (b) a rigid body free to turn about a fixed point; (c) three particles with all three mutual distances fixed, one of them constrained to a fixed plane; (d) a rigid body moving parallel to a fixed plane (plane motion).
  • 2 Classify (holonomic or not; scleronomic or rheonomic): (a) a particle on the surface of a sphere of radius $a+ct$ centred at the origin; (b) a particle constrained to stay outside the sphere $|\mathbf r|=a$; (c) a pendulum whose length is shortened at a constant rate $\ell=\ell_0-vt$; (d) a sphere rolling without slipping on a fixed rough plane.
  • 3 Decide which constraints are holonomic and integrate those that are: (a) $z\,dx+x\,dy=0$; (b) $2xz\,dx+2yz\,dy-(x^2+y^2)\,dz=0$.
  • 4 Write $T$ for a particle in spherical polar coordinates $(r,\theta,\varphi)$, identify the matrix $(a_{jk})$, and find where it fails to be positive definite.
  • 5 A particle moves in a plane; describe it by coordinates $(X,Y)$ in a frame rotating with constant angular velocity $\omega$ about the origin ($x=X\cos\omega t-Y\sin\omega t$, $y=X\sin\omega t+Y\cos\omega t$). Find $T_2$, $T_1$ and $T_0$.
  • 6 Use virtual work to find the tension $S$ in the horizontal string that holds the ladder of the text (length $2\ell$, weight $W$, smooth wall and floor) at angle $\alpha=60^\circ$ to the floor, for $W=300\ \text{N}$.
  • 7 A rhombus $ABCD$ of four equal light rods, smoothly jointed, hangs from $A$; a weight $W$ hangs from $C$, and a light rod $BD$ keeps the angle $BAD$ equal to $2\alpha$. Use virtual work to show that the rod $BD$ is in compression with thrust $W\tan\alpha$.
  • 8 Explain why the reaction of a moving smooth surface still satisfies $\sum\mathbf R\cdot\delta\mathbf r=0$, and give an example in which the same reaction does non-zero actual work.
1 (a) $2\cdot2-1=3$ (centre of mass in the plane and the angle of the rod). (b) $3$ (three angles). (c) The three particles form a rigid triangle ($9-3=6$); one particle on a plane removes one more: $5$. (d) $3$: two coordinates of a reference point in the plane and one angle.
2 (a) holonomic, rheonomic ($x^2+y^2+z^2=(a+ct)^2$). (b) non-holonomic (inequality $|\mathbf r|\ge a$), scleronomic. (c) holonomic, rheonomic ($x^2+y^2=(\ell_0-vt)^2$ in the plane of motion). (d) non-holonomic, scleronomic: rolling relates the velocity of the centre to the angular velocity, and these relations do not integrate (the sphere can return to the same point with any orientation).
3 (a) $\mathbf A=(z,x,0)$, $\nabla\times\mathbf A=(0,1,1)$, $\mathbf A\cdot\nabla\times\mathbf A=x\ne0$: non-holonomic. (b) $\nabla\times\mathbf A=(-4y,4x,0)$ and $\mathbf A\cdot\nabla\times\mathbf A=-8xyz+8xyz=0$: holonomic. Dividing by $z^2$: $\dfrac{2x\,dx+2y\,dy}{z}-\dfrac{(x^2+y^2)\,dz}{z^2}=d\Big(\dfrac{x^2+y^2}{z}\Big)$, so the constraint is $x^2+y^2=cz$ — the particle stays on a paraboloid of revolution.
4 $|\dot{\mathbf r}|^2=\dot r^2+r^2\dot\theta^2+r^2\sin^2\theta\,\dot\varphi^2$, so $T=\tfrac12m(\dot r^2+r^2\dot\theta^2+r^2\sin^2\theta\,\dot\varphi^2)$ and $(a_{jk})=m\,\mathrm{diag}(1,r^2,r^2\sin^2\theta)$. It is singular where $r=0$ or $\sin\theta=0$ (the polar axis), exactly where the spherical coordinates stop being generalised coordinates.
5 $\dot x^2+\dot y^2=(\dot X-\omega Y)^2+(\dot Y+\omega X)^2$, so $T_2=\tfrac12m(\dot X^2+\dot Y^2)$, $T_1=m\omega(X\dot Y-Y\dot X)$, $T_0=\tfrac12m\omega^2(X^2+Y^2)$. ($T_1$ produces the Coriolis force, $T_0$ the centrifugal force.)
6 $S=\tfrac12W\cot\alpha$ $=150\cot60^\circ$ $=150/\sqrt3\approx86.6\ \text{N}$.
7 Let each rod have length $a$. By symmetry $AC$ is vertical, $C$ is at depth $2a\cos\alpha$ below $A$, and $BD=2a\sin\alpha$. Remove the rod $BD$ and replace it by its thrust $S$, pushing $B$ and $D$ apart. In a virtual change $\delta\alpha$ the weight does work $W\,\delta(2a\cos\alpha)=-2aW\sin\alpha\,\delta\alpha$, the thrust does $S\,\delta(BD)=2aS\cos\alpha\,\delta\alpha$, and the smooth joints and the fixed support at $A$ do none. The sum vanishes: $S=W\tan\alpha\gt0$, so $BD$ is indeed pushed (compression). A string $BD$ could not hold the frame: the weight tends to close the rhombus, i.e. to shorten $BD$.
8 A virtual displacement is taken with time frozen, so it is tangent to the surface in its current position; a normal reaction is perpendicular to it. In the actual motion the surface moves, the displacement has a normal component, and the reaction can do work: a ball resting on a floor of a lift that accelerates upward gains kinetic and potential energy from the floor's reaction.
II
Lagrange's equations.
  • 1 A simple pendulum (length $\ell$, mass $m$) hangs from a support that moves horizontally as $x_s=A\cos\Omega t$. Show that $\ell\ddot\theta+g\sin\theta=A\Omega^2\cos\Omega t\cos\theta$.
  • 2 The same pendulum hangs from a support moving vertically as $y_s=A\cos\Omega t$. Show that $\ell\ddot\theta+\big(g-A\Omega^2\cos\Omega t\big)\sin\theta=0$, so that the support acts like a periodically modulated gravity.
  • 3 A mass $m$ hangs from a spring (stiffness $k$, natural length $\ell_0$) whose other end is fixed, and swings in a vertical plane (spring pendulum). Write $L$ in polar coordinates $(r,\theta)$ and derive both equations of motion.
  • 4 A particle slides on the smooth inside of a right circular cone with vertical axis and vertex downward, semi-vertical angle $\alpha$. Using the distance $\rho$ from the axis and the azimuth $\varphi$, find $L$, the conserved momentum, and the angular velocity of a horizontal circular motion at distance $\rho_0$ from the axis.
  • 5 A double Atwood machine: over a fixed pulley passes a string carrying $m_1=4m$ on one side and a light pulley on the other; over the light pulley passes a string carrying $m_2=m$ and $m_3=3m$. All pulleys are light and smooth. Find the accelerations of the three masses.
  • 6 A bead is released from rest (relative to the wire) at distance $r_0$ from $O$ on a smooth straight horizontal wire that rotates about a vertical axis through $O$ with constant angular velocity $\omega$. Find $r(t)$ and the rate at which the wire does work on the bead.
  • 7 A smooth straight wire through $O$ makes a fixed angle $\alpha$ with the upward vertical and rotates about the vertical through $O$ at constant $\omega$. Find the equation of motion of a bead on it, the position of relative equilibrium, and decide its stability.
  • 8 Use Binet's equation to find the central force under which a particle can describe (a) the cardioid $r=a(1+\cos\theta)$; (b) the equiangular spiral $r=ae^{c\theta}$.
  • 9 Show that $L=\tfrac12m(\dot x^2+\dot y^2+\dot z^2)+e\,\dot{\mathbf r}\cdot\mathbf A$ with $\mathbf A=\tfrac12B(-y,x,0)$ gives the motion of a charge in the uniform field $\mathbf B=B\mathbf k$, and find the angular frequency of the circular motion.
1 $x=A\cos\Omega t+\ell\sin\theta$, $y=-\ell\cos\theta$. $$T=\tfrac12m\big(\ell^2\dot\theta^2-2A\Omega\ell\sin\Omega t\cos\theta\,\dot\theta+A^2\Omega^2\sin^2\Omega t\big),$$ $V=-mg\ell\cos\theta$. The $\theta$-equation is $$m\ell^2\ddot\theta-mA\Omega\ell\tfrac{d}{dt}(\sin\Omega t\cos\theta)-mA\Omega\ell\sin\Omega t\sin\theta\,\dot\theta+mg\ell\sin\theta=0;$$ the $\dot\theta$ terms cancel, leaving $\ell\ddot\theta-A\Omega^2\cos\Omega t\cos\theta+g\sin\theta=0$.
2 $x=\ell\sin\theta$, $y=A\cos\Omega t-\ell\cos\theta$. The same computation gives $\ell\ddot\theta=(A\Omega^2\cos\Omega t-g)\sin\theta$. (For fast small vibrations the inverted position can become stable — Kapitza's pendulum, a Mathieu equation after linearisation.)
3 $L=\tfrac12m(\dot r^2+r^2\dot\theta^2)+mgr\cos\theta-\tfrac12k(r-\ell_0)^2$. $r$: $m\ddot r-mr\dot\theta^2-mg\cos\theta+k(r-\ell_0)=0$. $\theta$: $\dfrac{d}{dt}(mr^2\dot\theta)+mgr\sin\theta=0$, i.e. $r\ddot\theta+2\dot r\dot\theta+g\sin\theta=0$.
4 On the cone $z=\rho\cot\alpha$, so $\dot z=\dot\rho\cot\alpha$ and $T=\tfrac12m\big(\dot\rho^2/\sin^2\alpha+\rho^2\dot\varphi^2\big)$, $V=mg\rho\cot\alpha$. $\varphi$ is cyclic: $p_\varphi=m\rho^2\dot\varphi$ is conserved. The $\rho$-equation $\dfrac{m\ddot\rho}{\sin^2\alpha}-m\rho\dot\varphi^2+mg\cot\alpha=0$ with $\ddot\rho=0$ gives $\dot\varphi^2=\dfrac{g\cot\alpha}{\rho_0}$.
5 Let $x$ be the depth of $m_1$ and $y$ the depth of $m_2$ below the movable pulley; depths: $m_1$: $x$; pulley: $c-x$; $m_2$: $c-x+y$; $m_3$: $c-x+(c'-y)$. $$L=\tfrac12\big(m_1\dot x^2+m_2(\dot y-\dot x)^2+m_3(\dot x+\dot y)^2\big)$$ $$\quad+g\big(m_1x+m_2(y-x)-m_3(x+y)\big)+\text{const}.$$ Solving the two equations: $$\ddot x=g\,\frac{m_1m_2+m_1m_3-4m_2m_3}{m_1m_2+m_1m_3+4m_2m_3}=\frac g7,$$ $$\ddot y=\frac{2gm_1(m_2-m_3)}{m_1m_2+m_1m_3+4m_2m_3}=-\frac{4g}{7}.$$ So $m_1$ descends with acceleration $g/7$; the depth of $m_2$ has second derivative $\ddot y-\ddot x=-\tfrac57g$ ($m_2$ rises with $5g/7$); the depth of $m_3$ has second derivative $-\ddot x-\ddot y=\tfrac37g$ ($m_3$ descends with $3g/7$). Check with tensions: the lower string has $T'=m_3(g-\tfrac37g)=\tfrac{12}7mg$, and then $m_2$: $mg-T'=-\tfrac57mg$ ✓; the upper string has $T=2T'=\tfrac{24}7mg$, and $m_1(g-\tfrac g7)=\tfrac{24}{7}mg$ ✓.
6 $L=\tfrac12m(\dot r^2+\omega^2r^2)$ gives $\ddot r=\omega^2r$, so $r=r_0\cosh\omega t$. The only horizontal force is the wire's reaction $N$ perpendicular to the wire; its power equals $\dfrac{dT}{dt}$ with $T=\tfrac12m(\dot r^2+\omega^2r^2)=\tfrac12m\omega^2r_0^2\cosh2\omega t$, so the power is $m\omega^3r_0^2\sinh2\omega t$ (the reaction $N=2m\omega\dot r$ times the transverse speed $\omega r$).
7 With $r$ the distance from $O$ along the wire, the bead is at height $r\cos\alpha$ and distance $r\sin\alpha$ from the axis: $L=\tfrac12m(\dot r^2+\omega^2r^2\sin^2\alpha)-mgr\cos\alpha$, so $\ddot r=\omega^2\sin^2\alpha\,r-g\cos\alpha$. Relative equilibrium at $r_0=\dfrac{g\cos\alpha}{\omega^2\sin^2\alpha}$. Linearising, $\ddot u=\omega^2\sin^2\alpha\,u$: exponential growth, so the equilibrium is unstable.
8 (a) $u=\dfrac{1}{a(1+\cos\theta)}$ gives $u''+u=3au^2$, so $F=-\dfrac{\ell^2u^2}{m}(3au^2)=-\dfrac{3a\ell^2}{m\,r^4}$: attraction varying as $r^{-4}$. (b) $u=a^{-1}e^{-c\theta}$ gives $u''+u=(1+c^2)u$, so $F=-\dfrac{(1+c^2)\ell^2}{m\,r^3}$: inverse-cube attraction.
9 $e\dot{\mathbf r}\cdot\mathbf A=\tfrac12eB(x\dot y-y\dot x)$. $x$-equation: $\dfrac{d}{dt}\big(m\dot x-\tfrac12eBy\big)-\tfrac12eB\dot y=0$, i.e. $m\ddot x=eB\dot y$; similarly $m\ddot y=-eB\dot x$, $m\ddot z=0$. These are the components of $m\ddot{\mathbf r}=e\dot{\mathbf r}\times\mathbf B$. With $w=x+iy$: $\ddot w=-i\frac{eB}{m}\dot w$, so the velocity rotates with the cyclotron frequency $\omega_c=eB/m$.
III
Cyclic coordinates, conservation laws and energy.
  • 1 For a particle in a central potential $V(r)$ in spherical coordinates, which coordinates are cyclic and what are the conserved momenta? Find a third conserved quantity.
  • 2 $L=\tfrac12m(\dot x_1^2+\dot x_2^2)-V(x_1-x_2)$. Find a conserved momentum by changing to the coordinates $X=\tfrac12(x_1+x_2)$, $\xi=x_1-x_2$, and confirm it with Theorem 8.10.
  • 3 Show by Theorem 8.10 that for $L=\tfrac12m(\dot x^2+\dot y^2)-V(x^2+y^2)$ the quantity $m(x\dot y-y\dot x)$ is conserved.
  • 4 For the bead on the rotating horizontal wire (II.6) compute $h$ and verify that it is conserved while $T$ is not.
  • 5 For the rotating hoop, compute $\dfrac{dE}{dt}$ where $E=T+V$, and verify that it equals $ma^2\omega^2\frac{d}{dt}\sin^2\theta$.
  • 6 $L=\tfrac12m\dot x^2-\tfrac12k(t)x^2$. Is $h$ conserved? Is $h=T+V$?
  • 7 Show that $L=e^{\gamma t}\big(\tfrac12m\dot q^2-\tfrac12kq^2\big)$ gives the damped oscillator $m\ddot q+m\gamma\dot q+kq=0$. Is the corresponding $h$ conserved?
  • 8 In the field $V=-k/r$ show that circular orbits are stable, and find the period of small radial oscillations about a circular orbit of radius $r_0$; compare with the orbital period.
1 $L=\tfrac12m(\dot r^2+r^2\dot\theta^2+r^2\sin^2\theta\dot\varphi^2)-V(r)$: only $\varphi$ is cyclic, $p_\varphi=mr^2\sin^2\theta\,\dot\varphi$ ($=J_z$). The energy $E=T+V$ is conserved (Theorem 8.11). Rotational symmetry about every axis (Theorem 8.10) gives all of $\mathbf J$; in particular $|\mathbf J|^2=p_\theta^2+p_\varphi^2/\sin^2\theta$ with $p_\theta=mr^2\dot\theta$ is conserved, although $\theta$ is not cyclic.
2 $x_1=X+\xi/2$, $x_2=X-\xi/2$: $L=m\dot X^2+\tfrac14m\dot\xi^2-V(\xi)$, so $X$ is cyclic and $p_X=2m\dot X=m(\dot x_1+\dot x_2)$ — the total momentum — is conserved. In Theorem 8.10 take $K=(1,1)$: $\frac{\partial L}{\partial x_1}+\frac{\partial L}{\partial x_2}=-V'+V'=0$, and $I=p_1+p_2$.
3 Take $K(x,y)=(-y,x)$ (infinitesimal rotation). $\sum\frac{\partial L}{\partial q_j}K_j=-V'\cdot(2x)(-y)-V'\cdot(2y)x=0$, and $\sum_jp_j\sum_k\frac{\partial K_j}{\partial q_k}\dot q_k=m\dot x(-\dot y)+m\dot y\dot x=0$; the invariance holds and $I=m\dot x(-y)+m\dot y\,x=m(x\dot y-y\dot x)$.
4 $h=\dot r\,m\dot r-L=\tfrac12m(\dot r^2-\omega^2r^2)$. With $r=r_0\cosh\omega t$: $h=\tfrac12m\omega^2r_0^2(\sinh^2\omega t-\cosh^2\omega t)$ $=-\tfrac12m\omega^2r_0^2$, constant; $T=\tfrac12m\omega^2r_0^2\cosh2\omega t$ grows.
5 $E=h+ma^2\omega^2\sin^2\theta$ with $h$ constant, so $\dfrac{dE}{dt}=ma^2\omega^2\dfrac{d}{dt}\sin^2\theta=2ma^2\omega^2\sin\theta\cos\theta\,\dot\theta$. (Direct check: differentiate $E$ and use the equation of motion.)
6 $h=\tfrac12m\dot x^2+\tfrac12k(t)x^2=T+V$, but $\dfrac{dh}{dt}=-\dfrac{\partial L}{\partial t}=\tfrac12\dot k(t)x^2\ne0$ in general: $h$ equals the energy and is not conserved.
7 $\dfrac{d}{dt}(e^{\gamma t}m\dot q)+e^{\gamma t}kq=e^{\gamma t}(m\ddot q+m\gamma\dot q+kq)=0$. Here $h=e^{\gamma t}\big(\tfrac12m\dot q^2+\tfrac12kq^2\big)$ and $\dfrac{dh}{dt}=-\dfrac{\partial L}{\partial t}=-\gamma L\ne0$: not conserved. (A conserved quantity exists — the equation is linear — but it is not $h$.)
8 $V_{\text{eff}}=-\dfrac kr+\dfrac{\ell^2}{2mr^2}$ has a single minimum at $r_0=\ell^2/(mk)$ with $V_{\text{eff}}''(r_0)=-\dfrac{2k}{r_0^3}+\dfrac{3\ell^2}{mr_0^4}=\dfrac{k}{r_0^3}\gt0$: stable. Radial oscillation frequency $\sqrt{V_{\text{eff}}''/m}=\sqrt{k/(mr_0^3)}$, equal to the orbital angular velocity $\dot\theta=\ell/(mr_0^2)=\sqrt{k/(mr_0^3)}$. The two periods coincide — the radial oscillation completes exactly one cycle per revolution, which is why the nearly circular orbits close (as ellipses).
IV
Proofs and challenges.
  • 1 Prove that if $T=\tfrac12\sum a_{jk}(q)\dot q_j\dot q_k$ with $(a_{jk})$ positive definite and $V=V(q)$, Lagrange's equations can be written in the normal form $\ddot q=\Phi(q,\dot q)$, so that the initial value problem with given $q(0),\dot q(0)$ has a unique local solution when $a_{jk},V$ are $C^2$.
  • 2 Let $L(q,\dot q,t)$ (one degree of freedom, $C^2$) have Lagrange expression $\frac{d}{dt}\frac{\partial L}{\partial\dot q}-\frac{\partial L}{\partial q}$ identically zero, for all functions $q(t)$. Prove that $L=a(q,t)\dot q+b(q,t)$ with $\partial a/\partial t=\partial b/\partial q$, and deduce that $L=dF/dt$ for some $F(q,t)$.
  • 3 Prove that the motion of a particle in a central field lies in a fixed plane through the centre.
  • 4 Give an example of a scleronomic system with $V=V(q,t)$ for which $h=T+V$ but $h$ is not conserved, and one with a rheonomic constraint for which $h$ is conserved but $h\ne T+V$.
  • 5 Show that, in a central field, a pericentre and the next apocentre are separated by the apsidal angle $\displaystyle\Delta\theta=\int_{r_{\min}}^{r_{\max}}\frac{\ell\,dr}{r^2\sqrt{2m\big(E-V_{\text{eff}}(r)\big)}}$, and evaluate it for $V=-k/r$.
  • 6 Prove that a circular orbit of radius $r_0$ under an attractive central force $F(r)\lt0$ is stable if $3F(r_0)+r_0F'(r_0)\lt0$ and unstable if $3F(r_0)+r_0F'(r_0)\gt0$. Deduce that for $F=-kr^{\nu}$ circular orbits are stable iff $\nu\gt-3$.
1 $\partial L/\partial\dot q_j=\sum_ka_{jk}\dot q_k$, so the equations read $$\sum_ka_{jk}\ddot q_k=-\sum_{k,l}\frac{\partial a_{jk}}{\partial q_l}\dot q_l\dot q_k+\frac12\sum_{k,l}\frac{\partial a_{kl}}{\partial q_j}\dot q_k\dot q_l-\frac{\partial V}{\partial q_j}.$$ A positive definite matrix is invertible, so $\ddot q=A(q)^{-1}(\cdots)=\Phi(q,\dot q)$ with $\Phi$ of class $C^1$. As a first-order system for $(q,\dot q)$ the right side is $C^1$, hence locally Lipschitz, and Picard–Lindelöf (§1.1, §1.3) gives local existence and uniqueness.
2 Expanding, $\frac{d}{dt}\frac{\partial L}{\partial\dot q}=L_{\dot q\dot q}\ddot q+L_{\dot qq}\dot q+L_{\dot qt}$. The expression is zero for every $q(t)$; since $\ddot q$ can be chosen independently of $(q,\dot q,t)$ at any instant, $L_{\dot q\dot q}=0$, so $L=a(q,t)\dot q+b(q,t)$. Then the expression equals $a_q\dot q+a_t-a_q\dot q-b_q=a_t-b_q$, which must vanish. The 1-form $b\,dt+a\,dq$ in the $(t,q)$-plane is therefore closed, hence (on a simply connected domain) exact: $a=F_q$, $b=F_t$, and $L=F_q\dot q+F_t=dF/dt$.
3 $\mathbf J=\mathbf r\times m\dot{\mathbf r}$ satisfies $\dot{\mathbf J}=\mathbf r\times\mathbf F=0$ for a central force (rotational symmetry, Theorem 8.10). If $\mathbf J\ne0$, both $\mathbf r$ and $\dot{\mathbf r}$ stay perpendicular to the fixed vector $\mathbf J$, so $\mathbf r(t)$ lies in the plane through $O$ normal to $\mathbf J$. If $\mathbf J=0$, $\mathbf r$ and $\dot{\mathbf r}$ are parallel and the motion is along a fixed line through $O$.
4 First: a particle on a fixed line attached to a spring whose stiffness is varied, $L=\tfrac12m\dot x^2-\tfrac12k(t)x^2$ (III.6). Second: the rotating hoop or rotating wire ($h=T_2-T_0+V$ conserved, $T+V$ not).
5 From $E=\tfrac12m\dot r^2+V_{\text{eff}}$, $\dot r=\sqrt{2(E-V_{\text{eff}})/m}$ between the turning points, and $$\frac{d\theta}{dr}=\frac{\dot\theta}{\dot r}=\frac{\ell/(mr^2)}{\sqrt{2(E-V_{\text{eff}})/m}}=\frac{\ell}{r^2\sqrt{2m(E-V_{\text{eff}})}}$$; integrate. For $V=-k/r$ substitute $u=1/r$: $\Delta\theta=\displaystyle\int_{u_{\min}}^{u_{\max}}\frac{\ell\,du}{\sqrt{2mE+2mku-\ell^2u^2}}$, the integral of $1/\sqrt{(u_{\max}-u)(u-u_{\min})}$ (after factoring $\ell$), which equals $\pi$: pericentre and apocentre are opposite, and the orbit closes after one revolution.
6 With $V'=-F$, the circular orbit has $\ell^2/(mr_0^3)=-F(r_0)$, and $$V_{\text{eff}}''(r_0)=-F'(r_0)+\frac{3\ell^2}{mr_0^4}=-F'(r_0)-\frac{3F(r_0)}{r_0}$$ $$=-\frac{3F(r_0)+r_0F'(r_0)}{r_0}.$$ A strict minimum ($V_{\text{eff}}''\gt0$) is stable (energy argument: $\tfrac12m\dot r^2+V_{\text{eff}}$ is conserved); a strict maximum is unstable. For $F=-kr^\nu$: $3F+rF'=-k(3+\nu)r^\nu\lt0\iff\nu\gt-3$.
🎯 Exam corner CSIR Part BCSIR Part CGATE MA

E1. CSIR Part B GATE MA A bead slides on a smooth circular hoop of radius $a$ that rotates with constant angular velocity $\omega$ about its vertical diameter, where $\omega^2=2g/a$. The angle $\theta$ (measured from the lowest point) of a stable position of relative equilibrium of the bead is (A) $0$; (B) $\pi/6$; (C) $\pi/3$; (D) $\pi/2$.

Idea Equilibria of $\ddot\theta=\sin\theta(\omega^2\cos\theta-g/a)$; since $\omega^2\gt g/a$ the bottom is unstable and the off-axis equilibria $\cos\theta_*=g/(a\omega^2)$ are stable (Example 4).
Compute $\cos\theta_*=\dfrac{g}{a\cdot2g/a}=\tfrac12$. (A) is an equilibrium but unstable ($f'(0)=\omega^2-g/a\gt0$); (B), (D) are not equilibria.
Answer (C) $\theta=\pi/3$.

E2. CSIR Part B Three particles move in space so that all three mutual distances stay fixed, and in addition one of the particles is constrained to move on a fixed smooth sphere. The number of degrees of freedom is (A) $4$; (B) $5$; (C) $6$; (D) $8$.

Count $9$ coordinates, $3$ distance constraints, $1$ sphere constraint, all independent (the triangle can be moved off the sphere, so the last constraint is not a consequence of the others): $9-4=5$.
Answer (B). ((C) forgets the sphere; (D) counts only one distance constraint.)

E3. CSIR Part B For $L=\tfrac12m(\dot x^2+\dot y^2)+\alpha(x\dot y-y\dot x)-\tfrac12k(x^2+y^2)$, with constants $\alpha,k\gt0$, which quantity is conserved? (In polar coordinates $x=r\cos\theta$, $y=r\sin\theta$.) (A) $mr^2\dot\theta$; (B) $mr^2\dot\theta+\alpha r^2$; (C) $mr^2\dot\theta+2\alpha r^2$; (D) $\tfrac12m\dot r^2+\tfrac12kr^2$.

Idea $x\dot y-y\dot x=r^2\dot\theta$, so $L=\tfrac12m(\dot r^2+r^2\dot\theta^2)+\alpha r^2\dot\theta-\tfrac12kr^2$, in which $\theta$ is cyclic.
Compute $p_\theta=\partial L/\partial\dot\theta=mr^2\dot\theta+\alpha r^2$. (A) is not conserved: $\frac{d}{dt}(mr^2\dot\theta)=-\frac{d}{dt}(\alpha r^2)\ne0$ when $r$ varies. (D) is not conserved: it is $h$ minus the non-constant $\tfrac12mr^2\dot\theta^2$.
Answer (B).

E4. CSIR Part C A bead can slide on a smooth straight horizontal wire that rotates with constant angular velocity $\omega$ about a vertical axis through a point $O$ of the wire. It is released from rest relative to the wire at distance $r_0$ from $O$. Which of the following are true? (A) $r(t)=r_0\cosh\omega t$. (B) The kinetic energy of the bead is conserved. (C) $\dot r^2-\omega^2r^2$ is constant. (D) The reaction of the wire does no work on the bead.

(A) True $L=\tfrac12m(\dot r^2+\omega^2r^2)$ gives $\ddot r=\omega^2r$, $r(0)=r_0$, $\dot r(0)=0$.
(B) False $T=\tfrac12m\omega^2r_0^2\cosh2\omega t$ increases.
(C) True $L$ has no explicit $t$, so $h=\tfrac12m(\dot r^2-\omega^2r^2)$ is conserved (Theorem 8.11); its value is $-\tfrac12m\omega^2r_0^2$.
(D) False The reaction does no virtual work, but it does actual work at the rate $dT/dt=m\omega^3r_0^2\sinh2\omega t\gt0$ for $t\gt0$.
Answer (A) and (C).

E5. CSIR Part C Which of the following Lagrangians lead to the equation of motion $\ddot q+q=0$? (A) $\tfrac12\dot q^2-\tfrac12q^2+3q^2\dot q$; (B) $\tfrac12q^2-\tfrac12\dot q^2$; (C) $\tfrac12\dot q^2-\tfrac12q^2+t\dot q$; (D) $\tfrac12(\dot q+q)^2-q^2$.

(A) Yes $3q^2\dot q=\frac{d}{dt}(q^3)$ (Theorem 8.7(a)).
(B) Yes It is $-L_0$; a non-zero constant multiple gives the same equation ($-\ddot q-q=0$).
(C) No $\frac{d}{dt}\frac{\partial}{\partial\dot q}(t\dot q)=1$ and $\frac{\partial}{\partial q}(t\dot q)=0$, so the equation is $\ddot q+q+1=0$. ($t\dot q=\frac{d}{dt}(tq)-q$ hides a linear potential.)
(D) Yes Expanding, $\tfrac12\dot q^2+q\dot q-\tfrac12q^2$, and $q\dot q=\frac{d}{dt}(\tfrac12q^2)$.
Answer (A), (B) and (D).

E6. CSIR Part C A particle moves in the central potential $V(r)=-k/r^n$ with $k\gt0$, $n\gt0$. Which of the following are true? (A) For every $r_0\gt0$ there is a circular orbit of radius $r_0$. (B) Circular orbits are stable if and only if $n\lt2$. (C) For $n=2$ circular orbits are stable. (D) The areal velocity $\tfrac12r^2\dot\theta$ is constant only for $n=1$.

(A) True A circular orbit needs $\ell^2/(mr_0^3)=V'(r_0)=nk/r_0^{n+1}\gt0$; choose $\ell^2=mnk\,r_0^{2-n}$.
(B) True $F=-nkr^{-(n+1)}$, so $3F+rF'=nk(n-2)r^{-(n+1)}$, negative iff $n\lt2$ (Exercise IV.6; for $n\gt2$ it is positive and the orbit is unstable).
(C) False For $n=2$, $V_{\text{eff}}=\big(\tfrac{\ell^2}{2m}-k\big)r^{-2}$ is monotone: the circular orbit exists only when $\ell^2=2mk$, and then every radius is a neutral equilibrium — a perturbation that changes $\ell$ sends the particle spiralling in or out.
(D) False $r^2\dot\theta=\ell/m$ for every central force ($\theta$ is cyclic).
Answer (A) and (B).
🧑‍🏫 For the teacher

Suggested plan — 3 lectures × 60 min.

  1. Constraints and coordinates. Definitions 8.1–8.2 with Example 1 done as a quick-fire class poll; the rolling coin and Theorem 8.1 with Example 2 (students compute the triple products). Theorem 8.2: draw the decomposition $T_2+T_1+T_0$ for the rotating wire. End with the ladder by virtual work (Theorem 8.3) — let students first try it with Newton's laws and count the unknowns.
  2. From D'Alembert to Lagrange. Definitions 8.3–8.4, Theorem 8.4, the lemma 8.5 and the full proof of Theorem 8.6 on the board (this proof is worth writing out completely once). Examples 3 and 5; project Interactive 1 and do Example 4 live while the class predicts what happens at $\omega=\omega_c$.
  3. First integrals. Theorems 8.9–8.11 with proofs; Example 6 with Interactive 2 (ask: why does the perturbed orbit not close, although $p_\theta$ and $E$ are conserved?). Theorem 8.7 and Example 7. Finish with Exam-corner E4 and E5.

Discussion questions. (1) The hoop's reaction does no virtual work but changes the bead's energy. Where exactly does the energy come from, and which term of $T$ records it? (2) Why can we not obtain Lagrange's equations for a rolling coin by substituting the rolling conditions into $L$? (3) If two Lagrangians give the same equations, must they differ by $cL+dF/dt$?

Misconceptions to watch for. Confusing rheonomic with non-holonomic; using actual instead of virtual displacements when checking that a constraint is workless; forgetting the $\partial\mathbf r/\partial t$ terms of a moving support; equating "no explicit $t$" with "energy conserved"; calling $\ell^2/2mr^2$ a potential energy; substituting a conserved momentum into $L$ before differentiating (this gives the wrong sign of the centrifugal term — see the Routhian in §8.2).

Suggested homework. I(1, 3, 5, 6), II(1, 3, 4, 6, 8), III(1, 2, 4, 6, 8), IV(2, 6); Exam corner E2, E3, E6.

🔬 Research–Teaching NexusResearch-tutored · optional, about 60 minutes

Research question. How does the bead on a spinning hoop "choose" its new equilibrium as the rotation rate crosses $\omega_c=\sqrt{g/a}$, and what universal law governs the angle and the oscillation frequency near the threshold?

Why it matters. The same pitchfork bifurcation controls James Watt's centrifugal governor (Scotland, 1788), which regulated steam engines by letting flyballs rise as the speed increased; it is the simplest mechanical model of a phase transition (Landau's theory of symmetry breaking), and a close cousin of the instabilities studied in rotating machinery, MEMS gyroscopes and centrifuges today.

What to do.

  1. Write $\omega=\omega_c(1+\delta)$. Using $\cos\theta_*=g/(a\omega^2)$, compute $\theta_*$ for $\delta=0.01,0.02,0.05,0.1,0.2$ and plot $\log\theta_*$ against $\log\delta$. Estimate the slope and compare with the prediction $\theta_*\approx2\sqrt\delta$ obtained by expanding the cosine.
  2. Compute the small-oscillation frequency about the stable equilibrium on both sides of the threshold, $\sqrt{\omega_c^2-\omega^2}$ for $\omega\lt\omega_c$ and $\omega\sin\theta_*$ for $\omega\gt\omega_c$, and plot it against $\omega$. What happens at $\omega_c$ ("critical slowing down")?
  3. Use Interactive 1 (or a few lines of RK4) to release the bead at $\theta=0.01$ with $\delta=0.05$, and measure the time it takes to leave the neighbourhood of the bottom. Relate it to the growth rate $\sqrt{\omega^2-\omega_c^2}$.
  4. Add a small imperfection — a hoop axis tilted by a small angle, or a little friction — and describe how the symmetric pitchfork becomes an "imperfect" one in which one side is preferred.

Tools: Python or a spreadsheet; Interactive 1 for qualitative checks.

Hand in: A one-page report with the log–log plot and slope, the frequency graph, and two sentences on the imperfect case.

Going further. Read about the stability analysis of Watt's governor by J. C. Maxwell (1868, "On governors") and I. A. Vyshnegradsky (1877), often regarded as the birth of control theory.

Instructor note: with $g/a=1$, $\theta_*=0.1988$ for $\delta=0.01$ (prediction $0.2000$), $0.4346$ for $\delta=0.05$ ($0.4472$) and $0.5980$ for $\delta=0.1$ ($0.6325$): the slope tends to $\tfrac12$. The frequency $\omega\sin\theta_*$ is $0.1995$, $0.4421$, $0.6193$ for these $\delta$, and tends to $0$ at threshold from both sides — the hallmark of a pitchfork. The escape time from $\theta=0.01$ is about $\log(\theta_{\text{exit}}/0.01)/\sqrt{\omega^2-\omega_c^2}$.

🧪 Self-check quiz

0/5 correct

Q1. A particle is constrained to the surface of a sphere whose radius increases uniformly with time. The constraint is

Q2. The number of degrees of freedom of a rigid body that can only turn about a fixed point is

Q3. If the coordinate $q_k$ does not appear in the Lagrangian, then

Q4. If $L(q,\dot q)$ has no explicit time dependence, the quantity that is always conserved is

Q5. Which Lagrangian gives the same equation of motion as $L=\tfrac12\dot q^2-\tfrac12q^2$?