Generalized coordinates


The generalized coordinates of a system are a set of variables that describe the position of the system. A specific set of values of these coordinates is called a configuration. In mechanical systems, a configuration is easily interpreted as the literal position in space, but as the name suggests, these coordinates are more general. Instead, they represent position in the space of possible configurations, known as the configuration space.

Generalized coordinates are denoted with q(q1,,qN)\mathbf{q}\equiv(q_{1},\ldots,q_{N}). Their time derivatives, q˙(q˙1,,q˙N)\dot{\mathbf{q}}\equiv(\dot{q}_{1},\ldots,\dot{q}_{N}), are known as generalized velocities. They are simply the total derivative in time of the coordinates:

q˙=dqdt=i=1Nqqi(q1(t),,qN(t)) q˙i(t)\dot{\mathbf{q}}=\frac{d\mathbf{q}}{dt}=\sum_{i=1}^{N} \frac{ \partial \mathbf{q} }{ \partial q_{i} } (q_{1}(t),\ldots,q_{N}(t))\ \dot{q}_{i}(t)

Notably, the velocity q˙\dot{\mathbf{q}} may also explicitly depend on time like q˙(q1(t),,qN(t),t)\dot{\mathbf{q}}(q_{1}(t),\ldots,q_{N}(t),t) as opposed to only implicitly like q˙(q1(t),,qN(t))\dot{\mathbf{q}}(q_{1}(t),\ldots,q_{N}(t)). In such as case, an additional time derivative q/t\partial \mathbf{q}/ \partial t appears on top of the sum above.

If a Lagrangian or Hamiltonian is given, it is also possible to define the linear momenta of these coordinates, which are known as conjugate momenta.

It is perhaps more fruitful to explain by example. Consider a singular free particle. Its coordinates in three dimensions are described by the vector r=(x,y,z)\mathbf{r}=(x,y,z). In this simple case, these coordinates are the generalized coordinates. Since there are no constraints, the configuration space, which we'll call QQ, is Q=R3Q=\mathbb{R}^{3}. Say now we have two free particles. The positions of the particles are r1=(x1,y1,z1)\mathbf{r}_{1}=(x_{1},y_{1},z_{1}) and r2=(x2,y2,z2)\mathbf{r}_{2}=(x_{2},y_{2},z_{2}), but the generalized coordinates are q=(x1,x2,y1,y2,z1,z2)\mathbf{q}=(x_{1},x_{2},y_{1},y_{2},z_{1},z_{2}). This is because the generalized coordinates describes the system as a whole. The configuration space is now Q=R6Q=\mathbb{R}^{6}.

Say now we have a simple pendulum. The point mass is constrained to swing at a fixed distance RR from the joint, which means that most of R3\mathbb{R}^{3} is now inaccessible to it. The coordinates of the point mass are still r=(x,y,z)\mathbf{r}=(x,y,z), but the configuration space is much smaller: it is the circle of radius RR centered at the joint, a two dimensional space. Notice that one constraint reduced the dimension of QQ by one: this is the value of constraints. They can delete variables from a problem, making it considerably easier to solve. In this case, despite being in 3D, we only need two variables to solve the system. The coordinates that are necessary to define QQ are called free coordinates, whereas any remaining ones are constrained or cyclical coordinates. The number of free coordinates is called the degrees of freedom of the system and is also the dimension of QQ.