2.1.6 · D4Analytical Mechanics

Exercises — Applying E-L equations to various systems

3,505 words16 min readBack to topic

Level 1 — Recognition

Problem 1.1 (L1)

For a free particle of mass moving in one straight line with position , write , , and . What is the equation of motion?

Recall Solution 1.1

Step 1 — DOF: one straight line ⇒ 1 DOF, coordinate . Step 2 — : speed is , so . Step 3 — : nothing pushes it ⇒ . Step 4 — : . Derivatives: (this is ordinary momentum!), and (no appears in ). Step 5 — E–L: . What it means: no force ⇒ no acceleration ⇒ constant velocity. This is Newton's first law falling out of the recipe.

Problem 1.2 (L1)

A vertical spring holds a mass ; let be the stretch from natural length measured downward (so positive = mass has dropped), spring constant , gravity pointing down. Identify which term below is and which is , then just write (do not solve yet):

Recall Solution 1.2

Coordinate/sign convention: is measured downward from the natural length, so increasing means the mass has descended. contains (a velocity) ⇒ it is . depends only on position ⇒ it is . Its two pieces:

  • spring stored energy (always positive, grows with stretch);
  • gravitational potential , because is measured downward and with height . So dropping (larger ) lowers , matching the minus sign.

Level 2 — Application

Problem 2.1 (L2)

Simple pendulum, rod length , . Find the small-oscillation angular frequency and period .

Recall Solution 2.1

Full E–L derivation on this page (so nothing is deferred): measure from the downward vertical.

  • Step 2 — : the bob moves on a circle of radius , so its arc-speed is and .
  • Step 3 — : its height above the lowest point is , so .
  • Step 4 — , with and .
  • Step 5 — E–L: .

For small , , giving — the SHM form . Read off: . Period .

Problem 2.2 (L2)

A block of mass on a frictionless incline of angle starts from rest. Derive its acceleration from the Lagrangian, then find its speed after sliding along the slope. Take .

Recall Solution 2.2

Do not skip the recipe — build the EOM first.

  • Step 1 — DOF: the block is stuck to the slope surface ⇒ 1 DOF, coordinate = distance travelled along the incline.
  • Step 2 — : the block's speed along the slope is , so .
  • Step 3 — : sliding a distance down the slope lowers the height by , so .
  • Step 4 — , with and .
  • Step 5 — E–L: . (The normal force never appeared — choosing along the slope absorbed the constraint.)

Now plug numbers: (constant). Since is constant and it starts from rest, gives . Sanity check: height dropped ; energy conservation . Same number ✔.

Problem 2.3 (L2)

Atwood machine with , , . Derive the acceleration from the Lagrangian, then evaluate of (downward positive).

Recall Solution 2.3

Build the EOM from the recipe (no memorized formula).

  • Step 1 — DOF: the inextensible string ties the two masses together: if descends by , then rises by . So one coordinate = descent of fixes everything ⇒ 1 DOF. The string tension is absorbed by this choice.
  • Step 2 — : both masses move at speed , so .
  • Step 3 — : drops by (loses PE: ); rises by (gains PE: ). So .
  • Step 4 — , with and .
  • Step 5 — E–L: .

Plug numbers: Positive ⇒ heavier descends, as expected.


Level 3 — Analysis

Problem 3.1 (L3)

A bead of mass slides on a frictionless horizontal wire that rotates about a vertical axis through one end at constant angular rate . Let be the bead's distance from the axis. There is no gravity along the wire (horizontal). Derive the EOM for and describe the motion.

Figure — Applying E-L equations to various systems

Figure s01 (read this before the solution): the white line is the wire, pinned at the white dot origin (the rotation axis) and drawn on the horizontal plane. The yellow dot is the bead at distance from the axis. The red arrow points outward along the wire (the bead sliding out); the blue arrow points perpendicular to the wire (carried sideways by the spin); the small green arc shows the wire's rotation sense. The bead's true velocity is the diagonal of the red and blue arrows.

Recall Solution 3.1

Coordinate/sign convention: work in the horizontal plane. Put the origin on the rotation axis; the wire lies along a rotating radial direction. Let be distance from the axis (positive outward along the wire, the red arrow) and the wire's angle in the plane. Step 1 — DOF: the wire forces the angle to be (not free!), so only is a free coordinate ⇒ 1 DOF, . Step 2 — : in plane polar coordinates — the two velocity pieces are the red arrow (, radial) and the blue arrow (, tangential). But is fixed by the constraint, so Step 3 — : horizontal, frictionless ⇒ . Step 4 — . , . Step 5 — E–L: . What it means: note the plus sign. This is not oscillation ( would be) but runaway growth: . The bead is flung outward exponentially. The term is exactly the centrifugal effect, appearing automatically because we plugged the constraint into .

Problem 3.2 (L3)

A particle moves in a plane under a central potential (depends only on distance from the centre), using polar coordinates . First show from the Lagrangian that the quantity is conserved and explain what it is. Then: a planet at (closest approach) has . What is when it is at (farther out)?

Recall Solution 3.2

Deriving the conserved quantity on this page (nothing deferred):

  • Step 2 — : in polar coordinates the velocity has a radial part and a tangential part , so .
  • Step 3 — , independent of .
  • Step 4 — . Notice does not appear in — only does. Such a coordinate is called cyclic (ignorable) (see 2.1.07-Cyclic-coordinates-and-conservation-laws).
  • E–L: , so , meaning is constant in time. Computing it: This conserved is the particle's angular momentum about the centre: mass radius tangential speed . (The general principle "a symmetry gives a conserved quantity" is Noethers-theorem: here rotational symmetry of conserves angular momentum.)

Now the numbers. Conservation means , so What it means: four times the radius-squared ⇒ four times slower sweep. This is Kepler's "equal areas in equal times" hiding inside the cyclic coordinate.


Level 4 — Synthesis

Problem 4.1 (L4)

A pendulum of length and mass hangs from a support that is driven to move horizontally with prescribed position (given function). Let be the rod angle from vertical. Derive the EOM for .

Figure — Applying E-L equations to various systems

Figure s02 (read this before the solution): fixed lab axes, to the right, up, origin at the support's starting point. The green square is the support, sliding along the white horizontal rail; the green arrow is its prescribed velocity. The white rod hangs down to the yellow bob; the red arc is the rod's angle measured from the dashed blue downward vertical. The bob's coordinates read off the picture: , .

Recall Solution 4.1

Coordinate/sign convention: fixed lab axes with origin at the support's starting point; points right, points up (as in figure s02). The support sits at and is measured from the downward vertical (positive = bob swung to the right). A note on being given: because is a prescribed function of time, the Lagrangian depends on time explicitly (through and ). This is a rheonomic (time-dependent) situation, but the Euler–Lagrange equation still holds unchanged for the one free coordinate — Hamilton's principle never required to be time-independent. Step 1 — DOF: the support motion is given (not free), so only is free ⇒ 1 DOF. Step 2 — : the bob's position (read off figure s02): , . Velocities: , . Speed squared: (The cross terms collapse the pieces.) So . Step 3 — : height is . Step 4 — Derivatives (treat as independent variables): Time-derivative of the momentum: Step 5 — E–L (subtract ): the terms cancel, leaving Divide by : What it means: if the support is still () we recover the ordinary pendulum. The extra is a pseudo-forcing from the accelerating support — driving the pendulum sideways feels like an extra horizontal gravity.


Level 5 — Mastery

Problem 5.1 (L5)

A pendulum of length , bob mass , hangs from a cart of mass that slides freely on a frictionless horizontal table (position ). Both (cart position) and (pendulum angle) are free (2 DOF). Derive both equations of motion.

Figure — Applying E-L equations to various systems

Figure s03 (read this before the solution): fixed lab axes, right, up. The blue box is the cart (mass ) rolling on the white rail; the white rod hangs to the yellow bob (mass ); the red arc is the rod angle from the dashed downward vertical. The yellow arrow shows the bob swinging right while the green arrow shows the cart recoiling left — the two motions share their horizontal momentum.

Recall Solution 5.1

Coordinate/sign convention: fixed lab axes with origin at the cart's starting point; points right, points up (figure s03). The cart's top-attachment point is at (cart stays on the table, height fixed) and is measured from the downward vertical. Unlike Problem 4.1, here is a free coordinate, not a prescribed function. Step 1 — DOF: cart free () + pendulum free () ⇒ 2 DOF, coordinates . Step 2 — : cart: . Bob position: , ; velocities give (same binomial expansion as Problem 4.1): So Step 3 — : (only the bob has height; cart stays level). Step 4 —

-equation — note does not appear in (only ), so is a cyclic coordinate: E–L ⇒ this generalized momentum is conserved: — the total horizontal momentum (cart + bob) is conserved, because nothing pushes the system sideways. This is 2.1.07-Cyclic-coordinates-and-conservation-laws in action. Differentiating this conserved quantity once in time gives the cart's EOM:

-equation — now do the full E–L on : Subtract from the time-derivative; the two terms cancel: Divide by : Consistency check: if the cart cannot move, , and the -equation becomes , i.e. — the fixed pendulum. ✔ The two boxed equations (cart + bob) are the complete pair of equations of motion for this 2-DOF system.

Problem 5.2 (L5)

In Problem 5.1, the cart+bob system starts at rest. Later, the bob swings so that at the instant (bob at the bottom), with , , . Find the cart velocity at that instant.

Recall Solution 5.2

Use the conserved horizontal momentum found in Problem 5.1. It was at the start (system at rest) and stays : At , : The minus sign shows the cart recoils opposite to the bob's swing — Newton's third law, obtained without ever writing a force.


Active recall

Recall Rapid checklist
  • How do you spot a cyclic coordinate? ::: it appears in only as , never as .
  • Sign test: means? ::: exponential runaway, not oscillation.
  • Why does the cross term matter? ::: it couples drive and swing; dropping it kills the interaction.
  • Movable-support pendulum EOM? ::: .
  • Rotating-wire bead EOM? ::: (exponential fling-out).

Related: Constraints-and-degrees-of-freedom · 2.1.05-Deriving-the-Euler-Lagrange-equation · 2.1.08-Generalized-momenta-and-the-Hamiltonian