Physic Labs

Analytical mechanics

Generalized coordinates and degrees of freedom

Generalized coordinates describe a system's configuration after constraints are accounted for; the number of independent coordinates is its number of degrees of freedom.

A simple pendulum does not need three independent Cartesian coordinates: the inextensible string and fixed pivot restrict the bob to an arc. Its angle θ\theta suffices. A suitable coordinate builds the constraint into the description.

fa(q1,…,qn,t)=0,Nddl=3N−rf_a(q_1,\ldots,q_n,t)=0, \qquad N_{\rm ddl}=3N-r

Definition: Degrees of freedom

For NN particles in three dimensions subject to rr independent holonomic constraints, there are 3N−r3N-r degrees of freedom. Generalized coordinates qiq_i are any independent variables sufficient to specify the configuration; they may be angles, lengths, or other quantities with different units.

Compare the generalized angle with the bob's position on its circular path; drag to change the configuration.

Holonomic constraints

A holonomic constraint is an equation among coordinates, possibly involving time; for a planar pendulum, x2+y2=l2x^2+y^2=l^2. One equation constrains two Cartesian coordinates, leaving one independent coordinate. A velocity constraint that cannot generally be integrated is nonholonomic.

x=lsin⁡θ,y=−lcos⁡θx=l\sin\theta, \qquad y=-l\cos\theta

Replacing x,yx,y by one angle automatically enforces the fixed string length. In many-body systems, generalized coordinates may also be joint angles, distances, or collective variables; they need not be geometric lengths measured in metres.

Example: Degrees of freedom of two particles joined by a rod

Two particles move in a plane and are joined by a rigid rod of fixed length. How many degrees of freedom does the system have?

Solution

There are 2N=42N=4 Cartesian coordinates and one independent distance constraint, leaving 4−1=34-1=3 degrees of freedom.

Quick check

View the allowed configurations as points on a configuration manifold. If holonomic constraints are fa(x,t)=0f_a(\mathbf x,t)=0, the Jacobian ∂fa/∂xi\partial f_a/\partial x_i identifies independent constraints locally; its rank determines the manifold’s local dimension. For a time-dependent constraint, the allowed configuration set itself moves, so admissible velocities must obey ∑i(∂fa/∂xi)x˙i+∂fa/∂t=0\sum_i(\partial f_a/\partial x_i)\dot x_i+\partial f_a/\partial t=0. Angles, arc lengths, and Cartesian coordinates are all valid choices when they specify the configuration independently.

Two free particles in space have six coordinates; fixing their separation imposes one independent constraint, leaving five degrees of freedom. Choosing center-of-mass coordinates together with suitable angular and relative coordinates can make that constraint explicit.

How many degrees of freedom does a particle constrained to a smooth planar curve have?

Must a generalized coordinate be measured in metres?

References

  1. Herbert Goldstein, Charles Poole, John Safko (2002). Classical Mechanics