2.1.5 · D4Analytical Mechanics

Exercises — Derivation of Euler-Lagrange equations from D'Alembert's principle

2,782 words13 min readBack to topic

Level 1 — Recognition

Goal: identify , write and , and turn the crank once.

L1.1 — Free fall in a straight line

Recall Solution

Pick the pieces. Only one coordinate, . The velocity is , so the kinetic energy is Gravity pulls down; potential energy grows with height: Turn the crank. The two ingredients of the Euler-Lagrange machine: Subtract: The acceleration is downward — exactly Newton. ✓

L1.2 — Horizontal spring

Recall Solution

Euler-Lagrange: Simple harmonic motion with . ✓


Level 2 — Application

Goal: choose a curvilinear coordinate so a constraint force disappears, then apply the machine.

L2.1 — Pendulum with a twist: find the small-oscillation period

Recall Solution

With , the speed is , so EL: Small angles: , so . That is SHM with

L2.2 — Bead on a vertical circular hoop

Figure — Derivation of Euler-Lagrange equations from D'Alembert's principle
Recall Solution

Position (angle from bottom): (bottom is ). This is identical in form to the pendulum with — the hoop provides the same rigid constraint the rod did, and the normal force points along the radius, perpendicular to the allowed (tangential) motion, so it does no virtual work and never appears. Same physics, new geometry. ✓


Level 3 — Analysis

Goal: systems where , coupled coordinates, or moving constraints.

L3.1 — Bead on a rotating wire (forced constraint)

Recall Solution

The bead's velocity has a radial part and a tangential part (from the wire spinning). These are perpendicular, so Here depends on , so — this is the whole point. EL (): . The positive sign means the bead flies outward — the centrifugal effect emerged automatically from . Solution : exponential escape. ✓

L3.2 — Atwood machine

Recall Solution

If descends by , then rises by (string is inextensible — the constraint). Both move at speed : Heights: at , at . So EL: The tension never appeared — it is the internal constraint force, killed by choosing the single coordinate . ✓

L3.3 — Double coordinate: block on a cart

Recall Solution

Equation for : Equation for : Newton's third law is visible: the two forces are equal and opposite. ✓


Level 4 — Synthesis

Goal: combine ideas — moving constraints, generalized forces, and the raw () form.

L4.1 — Pendulum with a vertically driven pivot

Recall Solution

Bob position (pivot at height ): Velocities: , . The and pieces depend only on time, not on or , so they drop out of the EL derivatives. Keep the relevant parts: Subtract; the terms cancel: With : The drive acts like a time-varying effective gravity . (This is the seed of the famous inverted-pendulum stabilization.) ✓

L4.2 — Charged bead with a non-conservative driving force

Recall Solution

No potential, so use . Integrate once (): Integrate again (): The bead drifts (the term) while wiggling — a net secular motion from an oscillating force. ✓


Level 5 — Mastery

Goal: build a result, or handle a case the standard machine can't reach without extension.

Recall Solution

is cyclic means does not contain itself (only ). Indeed . The Euler-Lagrange equation is then So the angular momentum is conserved — a symmetry (rotational invariance of ) yielding a conservation law, exactly Noether's theorem in miniature. Radial equation: Eliminate : The first term is the centrifugal barrier, the second the spring pull. ✓

L5.2 — Non-holonomic case with a Lagrange multiplier (know when the machine breaks)

Figure — Derivation of Euler-Lagrange equations from D'Alembert's principle
Recall Solution

The constraint is non-holonomic (it involves velocities); the are not independent, so we append multiplier terms. The modified equations are , where come from the constraint . equation: . equation: Constraint (differentiated): . Substitute into the equation: . Combine with : On level ground with no driving, the friction (constraint) force is zero and the hoop rolls at constant speed — friction is only needed when something tries to change the rolling. The multiplier is that friction force. See Lagrange multipliers for non-holonomic constraints. ✓


Recall Self-test: match the tool to the situation

Constraint force wanted explicitly, non-holonomic ::: Lagrange multiplier (raw form with ) Force is , holonomic ::: standard Euler-Lagrange Explicit time-dependent driving force, no potential ::: raw form with generalized force has no (only ) ::: cyclic coordinate, conserved