2.1.2Analytical Mechanics

Generalized coordinates — choosing them, degrees of freedom

1,924 words9 min readdifficulty · medium6 backlinks

WHAT is a generalized coordinate?


HOW to count degrees of freedom — derive the formula

WHY this works: Start with the most wasteful description and subtract the redundancy.

  1. Start unconstrained. NN point particles in 3D need 3N3N Cartesian numbers to locate them all. That's the raw configuration space.

  2. Each holonomic constraint is one equation. An equation f()=0f(\dots)=0 lets you solve for one variable in terms of the others — so it kills exactly one independent number.

  3. Subtract. If there are kk independent holonomic constraints:

n=3Nk\boxed{\,n = 3N - k\,}

WHY 66 for a rigid body? A rigid body has infinitely many particles but the rigidity constraints (rirj=|\mathbf r_i - \mathbf r_j|= const) pin all but 6 numbers: 3 to say where the body is, 3 to say how it's oriented.

Figure — Generalized coordinates — choosing them, degrees of freedom

HOW to choose good generalized coordinates

Checklist:

  • Does each qq change the configuration? (independence)
  • Does fixing all qq's fix every particle? (completeness)
  • Do natural symmetries (angles, distances along a track) eliminate constraints? (convenience)

Worked Examples


Common Mistakes


Flashcards

What is a generalized coordinate?
An independent variable that helps fully specify a system's configuration; need not be a length (can be angle, ratio, charge, etc.).
Define degrees of freedom.
The minimal number of independent generalized coordinates needed to specify configuration; for holonomic systems n=3Nkn = 3N - k.
What is a holonomic constraint?
One expressible as an equation f(r1,,rN,t)=0f(\mathbf r_1,\dots,\mathbf r_N,t)=0 among coordinates and time.
How many DOF does each independent holonomic constraint remove?
Exactly one.
DOF of a free rigid body?
6 (3 translation + 3 rotation).
DOF of a simple pendulum in a plane?
1 (the angle θ\theta).
Why is θ\theta a good coordinate for a pendulum?
Because x=sinθ, y=cosθx=\ell\sin\theta,\ y=-\ell\cos\theta automatically satisfies the length constraint, eliminating it.
Why does a rigid diatomic molecule have 5 DOF, not 6?
The bond-length constraint removes 1; rotation about the bond axis is invisible for point atoms, leaving 3 translation + 2 orientation angles.
Is a time-dependent (rheonomic) constraint holonomic?
Yes — it's still an equation f(r,t)=0f(\mathbf r,t)=0 and removes one DOF; tt is a parameter, not a coordinate.
Why is pure rolling tricky for counting DOF?
It's typically non-holonomic (a velocity constraint that can't be integrated to a position equation), so n=3Nkn=3N-k may not apply.

Recall Feynman: explain to a 12-year-old

Imagine a toy train on a circular track. The train is sitting in a big room, so you could describe it with how far left, how far forward, how high it is — three numbers. But that's silly! The train can only go around the loop, so really one number — "how far along the track" — tells you everything. That single number is its generalized coordinate, and "one" is its degrees of freedom. Whenever something is stuck on a path or surface, you can throw away the useless numbers and keep only the ones that actually change. Counting how many you keep = counting degrees of freedom.


Connections

Concept Map

often

strip redundancy

each removes one

raw config space 3N

number needed equals

subtract k

counted by

specify via

rigidity constraints

good choice makes

e.g. angle theta

Newtonian 3N Cartesian coords

Redundant description

Generalized coordinates q1..qn

Holonomic constraint f=0

Degrees of freedom n

n = 3N - k

Particle positions ri of q,t

Rigid body

6 DOF: 3 translation + 3 rotation

Constraints vanish by construction

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, Newton ki duniya mein har particle ko locate karne ke liye uske x,y,zx, y, z chahiye — yaani NN particles ke liye 3N3N numbers. Lekin asli zindagi mein cheezein "stuck" hoti hain. Jaise pendulum ka bob — woh sirf ek arc pe ghoom sakta hai, to use describe karne ke liye sirf ek number, angle θ\theta, kaafi hai. Yahi θ\theta hai generalized coordinate, aur "kitne aise minimal numbers chahiye" — woh hai degrees of freedom (DOF).

Formula simple hai: n=3Nkn = 3N - k. 3N3N matlab raw numbers, kk matlab kitne independent holonomic constraints (woh restrictions jinhe equation f(r,t)=0f(\mathbf r, t)=0 ki tarah likh sako). Har ek constraint ek number ko kha jaata hai, kyunki uss equation se aap ek variable ko baaki ke terms mein solve kar sakte ho. Pendulum: 2N=22N=2, length constraint k=1k=1, to n=1n=1. Easy.

Generalized coordinate length hona zaroori nahi — angle, ratio, charge, kuch bhi chal sakta hai. Trick yeh hai ki aisi coordinate choose karo jo constraint ko automatically satisfy kar de. Pendulum mein θ\theta choose karne se x2+y2=2x^2+y^2=\ell^2 apne aap satisfy ho jaata hai — constraint gayab! Yahi smart choosing hai.

Ek warning: rolling without slipping jaise constraints non-holonomic hote hain — unhe position equation mein nahi likh sakte, sirf velocity ko restrict karte hain. Aise cases mein seedha n=3Nkn=3N-k mat lagao. Aur time-dependent constraint (jaise rotating wire) bhi holonomic hi hota hai — tt ek parameter hai, coordinate nahi, isliye woh bhi ek DOF kam karta hai. Bas yeh basics solid ho jaaye to Lagrangian mechanics ka poora rasta khul jaata hai.

Go deeper — visual, from zero

Test yourself — Analytical Mechanics

Connections