2.1.2 · D4Analytical Mechanics

Exercises — Generalized coordinates — choosing them, degrees of freedom

2,481 words11 min readBack to topic

Before we start, one picture to fix the whole idea in your mind — the "throw away the useless numbers" story.

Figure — Generalized coordinates — choosing them, degrees of freedom

The room needs 3 numbers, but the bead on the wire only ever moves along one — that surviving number is its generalized coordinate.


Level 1 — Recognition

Goal: identify , , and read off directly.

Recall Solution 1.1

WHAT we have: one particle, , three-dimensional, no constraint so . Apply the formula: . Coordinates: the Cartesian triple works. So does spherical — any complete independent triple. Answer: .

Recall Solution 1.2

WHAT: , raw count . The constraints: forcing the bead onto a line in 3D means it must satisfy two equations at once (a line = intersection of two planes / two coordinate relations). So . Apply: . Coordinate: the arc-length measured along the wire. Answer: . This is exactly the toy-train / bead picture in the figure above.


Level 2 — Application

Goal: build the constraint equations yourself, then count and choose coordinates.

Recall Solution 2.1

Raw: , . Constraint: the surface is one equation, , so . Apply: . Natural coordinates: the two spherical angles — polar and azimuthal. WHY these? With locked at , any automatically lands on the sphere, so the constraint vanishes by construction — exactly the pendulum trick, one dimension up. Answer: .

Recall Solution 2.2

Raw: , . Constraint: rod length fixed, , so . Apply: . Coordinates: as in 2.1 — this is literally a bead on a sphere of radius . Answer: . Contrast with the planar pendulum (): removing the "stay in a plane" restriction hands you one more freedom.


Level 3 — Analysis

Goal: handle multi-particle systems, independence of constraints, and the rigid-body shortcut.

Recall Solution 3.1

Way A — brute force. , so . Rods: , , . Are these independent? Yes — three rods fixing three distinct distances among three non-collinear points independently pin the shape. So . Way B — rigid-body shortcut. Three rigidly connected points form a rigid body. A free rigid body has (3 translation + 3 rotation). ✔ Answer: , both ways agree. This is why a rigid body counts as 6 no matter how many particles — extra particles bring extra rigidity constraints that exactly cancel them.

Recall Solution 3.2

Raw: , . Naive constraint count: a rigid tetrahedron has edges, tempting you to write and get . Here the number happens to work out — but watch out for the general pattern. The independence check: for a rigid body you can never remove more than freedoms, because 6 must survive. So the maximum number of independent distance constraints is . For 4 points that's exactly 6, so all edges are independent. For 5 points, possible distances but only can be independent — the 10th is forced by the others. Answer: . Lesson: always cap independent rigid constraints at .


Level 4 — Synthesis

Goal: combine constraints of different types — planar restrictions, driven (time-dependent) constraints, and coordinate choice for decoupling.

Recall Solution 4.1

Raw: , . Constraints: put the wire along the -axis. Each bead must satisfy and . That's constraints per bead 2 beads . (All independent: they pin four distinct numbers .) Apply: . Smart coordinates: center of mass and separation . WHY? The spring's potential energy depends only on (through its stretch), so choosing makes one coordinate carry all the interaction and leaves free — the equations decouple. Answer: .

Recall Solution 4.2

Raw (planar): , . Constraint: the wire's angle is forced to be , so the bead obeys . This is a rheonomic (time-dependent) but still holonomic constraint — it is an equation . So . Apply: . The single coordinate is , the distance along the wire. Position: Note depends explicitly on — that's the fingerprint of a driven constraint. Answer: ; time is a parameter, not a coordinate, so it does not add freedom.

Figure — Generalized coordinates — choosing them, degrees of freedom

Level 5 — Mastery

Goal: distinguish holonomic from non-holonomic, and reason about DOF when the formula can fail.

Recall Solution 5.1

(a) Configuration coordinates: (where the contact point is) and (how much it has spun). So the configuration space is 2-dimensional — you genuinely need both numbers to describe a state, e.g. after a slip and recovery. (b) Rolling constraint: with radius , "no slip" means the contact-point speed matches the rim speed: This links velocities. But for a straight-line roll it can be integrated: , which is a genuine position equation . So this particular constraint IS holonomic (integrable). It removes one DOF: . (c) Instantaneous freedom: because the constraint integrates, once you know you know — truly 1 degree of freedom. Answer: configuration is 2D but the integrable rolling constraint reduces it to .

Recall Solution 5.2

(a) Rolling constraints (no sideways slip, and rim speed = ground speed): (b) Holonomic? No. These couple through the variable heading , and they cannot be integrated into equations . They are non-holonomic (velocity) constraints. The configuration space stays 4-dimensional: you can maneuver the coin (roll forward, turn, roll back, turn back) and end up at the same spot with a different spin — so all four numbers are genuinely reachable independently. (c) Why fails: the formula assumes each constraint kills one configuration coordinate. Non-holonomic constraints restrict only velocities at each instant (here, 2 of them: you can't slip sideways, can't slip forward-back). They cut the instantaneous directions of motion from 4 to , without shrinking the reachable configuration space, which stays 4D. So "position DOF" but "velocity DOF" — two different counts, and the naive subtraction describes neither the config space correctly. Answer: config space is 4-dimensional; 2 non-holonomic constraints; does not apply.


Recall Quick self-check ladder (cover the right side)

Free particle in 3D → DOF? ::: 3 Bead on a fixed straight wire in 3D → DOF? ::: 1 (a curve removes 2) Mass on a fixed sphere surface → DOF? ::: 2 (a surface removes 1) Spherical pendulum → DOF? ::: 2 Rigid triangle (3 rods) free in 3D → DOF? ::: 6 Two beads + spring on one 3D wire → DOF? ::: 2 Rheonomic (rotating) wire bead → DOF? ::: 1 ( is a parameter) Coin rolling straight (integrable) → DOF? ::: 1 (holonomic) Coin steering on a floor → config space dimension? ::: 4 (constraints are non-holonomic)


Connections

  • Generalized coordinates — choosing them, degrees of freedom (index 2.1.2)
  • Constraints — holonomic vs non-holonomic
  • Configuration space and phase space
  • Rigid body kinematics — Euler angles
  • Principle of virtual work and d'Alembert's principle
  • Lagrangian mechanics — the Lagrangian L = T - V
  • Euler–Lagrange equations