In analytical mechanics, generalized coordinates are a set of parameters used to represent the configuration of a system in a configuration space. These parameters must uniquely define the configuration of the system relative to a reference configuration. The generalized velocities are the time derivatives of the generalized coordinates of the system. The adjective "generalized" distinguishes these parameters from the traditional use of the term "coordinate" to refer to Cartesian coordinates. An example of a generalized coordinate would be to describe the position of a pendulum using the angle of the pendulum relative to vertical, rather than by the x and y position of the pendulum. Although there may be many possible choices for generalized coordinates for a physical system, they are generally selected to simplify calculations, such as the solution of the equations of motion for the system. If the coordinates are independent of one another, the number of independent generalized coordinates is defined by the number of degrees of freedom of the system. Generalized coordinates are paired with generalized momenta to provide canonical coordinates on phase space.
Constraints and degrees of freedom
Generalized coordinates are usually selected to provide the minimum number of independent coordinates that define the configuration of a system, which simplifies the formulation of Lagrange's equations of motion. However, it can also occur that a useful set of generalized coordinates may be dependent, which means that they are related by one or more constraint equations.
Holonomic constraints
For a system of N particles in 3D real coordinate space, the position vector of each particle can be written as a 3-tuple in Cartesian coordinates:
r 1 = ( x 1 , y 1 , z 1 ) , r 2 = ( x 2 , y 2 , z 2 ) , ⋮ r N = ( x N , y N , z N ) {\displaystyle {\begin{aligned}&\mathbf {r} _{1}=(x_{1},y_{1},z_{1}),\\&\mathbf {r} _{2}=(x_{2},y_{2},z_{2}),\\&\qquad \qquad \vdots \\&\mathbf {r} _{N}=(x_{N},y_{N},z_{N})\end{aligned}}}
Any of the position vectors can be denoted rk where k = 1, 2, …, N labels the particles. A holonomic constraint is a constraint equation of the form for particle k
f ( r k , t ) = 0 {\displaystyle f(\mathbf {r} _{k},t)=0}
which connects all the 3 spatial coordinates of that particle together, so they are not independent. The constraint may change with time, so time t will appear explicitly in the constraint equations. At any instant of time, any one coordinate will be determined from the other coordinates, e.g. if xk and zk are given, then so is yk. One constraint equation counts as one constraint. If there are C constraints, each has an equation, so there will be C constraint equations. There is not necessarily one constraint equation for each particle, and if there are no constraints on the system then there are no constraint equations. So far, the configuration of the system is defined by 3N quantities, but C coordinates can be eliminated, one coordinate from each constraint equation. The number of independent coordinates is n = 3N − C. (In D dimensions, the original configuration would need ND coordinates, and the reduction by constraints means n = ND − C). It is ideal to use the minimum number of coordinates needed to define the configuration of the entire system, while taking advantage of the constraints on the system. These quantities are known as generalized coordinates in this context, denoted qj(t). It is convenient to collect them into an n-tuple
q ( t ) = ( q 1 ( t ) , q 2 ( t ) , … , q n ( t ) ) {\displaystyle \mathbf {q} (t)=(q_{1}(t),\ q_{2}(t),\ \ldots ,\ q_{n}(t))}
… excerpt ends here. Continue reading the full article.






