2.1.5 · D3Analytical Mechanics

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

2,226 words10 min readBack to topic

Before we touch numbers, one reminder of what the symbols mean, so nothing is used unearned:

Recall The three quantities you must be able to read off any problem
  • ::: the kinetic energy, — "how much motion energy the system has." Depends on the generalized velocities (and sometimes ).
  • ::: the potential energy — stored energy that depends on where things are, the only.
  • ::: the generalized force on coordinate — every applied (non-constraint) force, projected onto the direction that changing moves the system. When forces come from a potential, .

Here is any generalized coordinate (see Constraints and generalized coordinates): a number that pins down the configuration while automatically respecting the constraints (an angle, a distance, an arc-length). A dot means — rate of change in time.


The scenario matrix

Cell What it stress-tests Example
A — trivial / sanity , straight line, recover Newton Ex 1
B — sign of restoring force changes sign across equilibrium Ex 2 (spring)
C kinetic energy itself depends on position Ex 3 (pendulum, full)
D — coupled coordinates () two brackets, cross terms Ex 4 (2D polar orbit)
E — velocity-dependent / time-dependent driven / rotating constraint, "fictitious" terms Ex 5 (bead on rotating wire, general )
F — limiting / degenerate input , , small-angle limit Ex 6 (small-angle pendulum)
G — real-world word problem translate prose → coordinates → EL Ex 7 (block sliding on a wedge, both free)
H — exam twist non-obvious coordinate, an ignorable (cyclic) coordinate Ex 8 (Atwood-on-a-cone / conserved momentum)

Every worked example below is tagged with its cell(s).


Ex 1 — Cell A · the sanity check

Forecast: guess the answer before reading — what does a particle with no force do? Write it down.

  1. Write . , , so . Why this step? Every EL problem begins by naming the energies; nothing else can be computed until they exist.
  2. Momentum slot. . Why this step? EL needs — the "generalized momentum" — as its first ingredient.
  3. Time-derivative. .
  4. Position slot. (nothing depends on ). Why this step? has no in it, so is cyclic — a preview of conservation (Ex 8).
  5. Assemble EL: .

Verify: means constant velocity — Newton's first law. Units: , a force, balancing . ✓


Ex 2 — Cell B · sign of the restoring force

Forecast: which direction does the force point when ? When ? Guess the sign pattern.

  1. Energies. , . So . Why this step? Spring potential is the archetype of "position energy" — see Generalized forces and potentials.
  2. Momentum slot & derivative. .
  3. Position slot. . Why this step? This is , the generalized force. Its sign is the whole point: for it is negative (pulls back to ); for it is positive (pushes back to ). Restoring in both signs.
  4. EL: .
  5. Read the frequency. , so .

Verify: plug the guessed solution : , and indeed . ✓ Units of : . ✓


Ex 3 — Cell C · when

The pendulum's danger is that the mapping makes velocity depend on , so itself carries . Look at the figure: the bob traces a circle, and the velocity vector is always tangent.

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

Forecast: will gravity's torque be or ? Guess.

  1. Position → velocity. , so , and . Why this step? We must express in the chosen coordinate; the collapse is why is the natural choice.
  2. Energies. , . .
  3. Momentum slot. .
  4. Position slot. . Why this step? This is the ""-style term (here it lives in ), the restoring torque — and it is , not .
  5. EL: .

Verify: the unknown tension in the rod never appeared — exactly the D'Alembert payoff. Dimensionally has units , matching . ✓


Ex 4 — Cell D · coupled coordinates ()

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

Forecast: two coordinates → two EL equations. Which of them will have a "" term appear from nowhere?

  1. Velocity in polar. (radial part + tangential part). Why this step? See Kinetic energy in generalized coordinates — the term is what couples the two coordinates.
  2. Energies. , .
  3. -equation. ; . EL: . Why this step? The came from — the centripetal term, born of geometry not of any real force.
  4. -equation. ; . EL: . Why this step? is cyclic (absent from ), so its momentum is conserved.
  5. Conserved quantity. angular momentum. (This is Noether's theorem in miniature: rotational symmetry → conserved angular momentum.)

Verify: a free particle moves in a straight line; in polar coordinates a straight line indeed has const (equal-areas / Kepler's 2nd law) and . Check the special case : then , pure radial straight-line motion. ✓


Ex 5 — Cell E · time/velocity structure in (rotating constraint)

Forecast: with no applied force, will the bead sit still, or fly outward? Guess.

  1. Constraint kills . The wire forces , so is not a coordinate — only is free. Why this step? A moving (time-dependent) constraint reduces the freedom; enters as a fixed number.
  2. Energies. , .
  3. Momentum slot. .
  4. Position slot. . Why this step? This is the term the parent note flagged: kinetic energy depends on position, so produces a real dynamical push.
  5. EL: .

Verify: solution (for release from rest at ) gives . ✓ The bead accelerates outward — the "centrifugal" effect, produced with no constraint force in sight. Degenerate check: , a free bead on a fixed wire. ✓


Ex 6 — Cell F · limiting / degenerate input

Forecast: near the bottom, does the pendulum look like a spring (Ex 2)? Guess the period.

  1. Small-angle expansion. For , (leading term of the series). Why this step? We test the EL result in a degenerate corner of input space, where geometry linearizes.
  2. Reduced equation. — identical form to Ex 2's .
  3. Frequency & period. , so . Numeric: .
  4. limit. : an infinitely long pendulum feels no restoring pull — locally the arc looks flat, motion becomes uniform. Consistent with Ex 1 (free motion). ✓

Verify: period formula gives for a 1 m pendulum (the classic "seconds pendulum" is m). Units: . ✓


Ex 7 — Cell G · real-world word problem (block on a free wedge)

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

Forecast: as the block slides down-right, which way does the wedge recoil? Momentum says…?

  1. Coordinates → positions. Wedge horizontal position . Block position: . Why this step? Two moving objects, two free coordinates ; the incline constraint is baked into these formulas so the normal force disappears.
  2. Velocities. .
  3. Energies. , and .
  4. -equation (cyclic — absent from ): . Why this step? Horizontal momentum of the whole system is conserved (floor is frictionless). Differentiate: .
  5. -equation. , and . EL: .
  6. Solve the pair. From (4): . Substitute: And (negative: wedge recoils opposite to the block's horizontal motion — matches the momentum forecast).

Verify — two limits.

  • (immovable wedge): , the textbook block-on-fixed-incline result, and . ✓
  • : (free fall) and . ✓ Numeric check with : ; . (See VERIFY.)

Ex 8 — Cell H · exam twist (cyclic coordinate → conservation)

Forecast: which of is cyclic? What does its conservation buy you?

  1. Energies. , . .
  2. is cyclic. since neither 's -independence nor mentions . Why this step? A missing coordinate signals a conserved momentum — this is the variational shadow of Noether.
  3. Conserved momentum. (constant angular momentum).
  4. -equation. .
  5. Eliminate . Use : Why this step? One conserved quantity turns a 2-D problem into a 1-D one with an effective potential .

Verify — recover Ex 4. Set : . With , the right side is , i.e. — exactly Ex 4. ✓ Numeric spot-check (): , and . ✓


Recall

Recall Which cell needs which move?

Cyclic coordinate (absent from ) ::: its generalized momentum is conserved (Ex 4, 8). ::: kinetic energy depends on position → "fictitious" (centrifugal/centripetal) terms appear (Ex 3, 4, 5). Restoring force sign check ::: must point back to equilibrium for both signs of (Ex 2). Two free bodies ::: two coordinates → two EL equations, solve simultaneously (Ex 7). Immovable / infinite limit ::: send a mass or length to and confirm the textbook special case (Ex 6, 7).