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:
𝐫1=(x1,y1,z1),𝐫2=(x2,y2,z2),⋮𝐫N=(xN,yN,zN) 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(𝐫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
𝐪(t)=(q1(t), q2(t), …, qn(t)) which is a point in the configuration space of the system. They are all independent of one other, and each is a function of time. Geometrically they can be lengths along straight lines, or arc lengths along curves, or angles; not necessarily Cartesian coordinates or other standard orthogonal coordinates. There is one for each degree of freedom, so the number of generalized coordinates equals the number of degrees of freedom, n. A degree of freedom corresponds to one quantity that changes the configuration of the system, for example the angle of a pendulum, or the arc length traversed by a bead along a wire. If it is possible to find from the constraints as many independent variables as there are degrees of freedom, these can be used as generalized coordinates. The position vector rk of particle k is a function of all the n generalized coordinates (and, through them, of time),
𝐫k=𝐫k(𝐪(t)), and the generalized coordinates can be thought of as parameters associated with the constraint. The corresponding time derivatives of q are the generalized velocities,
𝐪˙=d𝐪dt=(q˙1(t), q˙2(t), …, q˙n(t)) (each dot over a quantity indicates one time derivative). The velocity vector vk is the total derivative of rk with respect to time
𝐯k=𝐫˙k=d𝐫kdt=∑j=1n∂𝐫k∂qjq˙j. and so generally depends on the generalized velocities and coordinates. Since we are free to specify the initial values of the generalized coordinates and velocities separately, the generalized coordinates qj and velocities dqj/dt can be treated as independent variables.
Non-holonomic constraints A mechanical system can involve constraints on both the generalized coordinates and their derivatives. Constraints of this type are known as non-holonomic. First-order non-holonomic constraints have the form
g(𝐪,𝐪˙,t)=0, An example of such a constraint is a rolling wheel or knife-edge that constrains the direction of the velocity vector. Non-holonomic constraints can also involve next-order derivatives such as generalized accelerations.
Physical quantities in generalized coordinates
Kinetic energy The total kinetic energy of the system is the energy of the system's motion, defined as
T=12∑k=1Nmk𝐫˙k⋅𝐫˙k, in which · is the dot product. The kinetic energy is a function only of the velocities vk, not the coordinates rk themselves. By contrast an important observation is
𝐫˙k⋅𝐫˙k=∑i,j=1n(∂𝐫k∂qi⋅∂𝐫k∂qj)q˙iq˙j, which illustrates the kinetic energy is in general a function of the generalized velocities, coordinates, and time if the constraints also vary with time, so T = T(q, dq/dt, t). In the case the constraints on the particles are time-independent, then all partial derivatives with respect to time are zero, and the kinetic energy is a homogeneous function of degree 2 in the generalized velocities. Still for the time-independent case, this expression is equivalent to taking the line element squared of the trajectory for particle k,
… excerpt ends here. Continue reading the full article.





