In classical mechanics, holonomic constraints are relations between the position variables (and possibly time) that can be expressed in the following form: f(u1,u2,u3,…,un,t)=0 where {u1,u2,u3,…,un} are n generalized coordinates that describe the system (in unconstrained configuration space) and f is a continuous function. For example, the motion of a particle constrained to lie on the surface of a sphere is subject to a holonomic constraint, but if the particle is able to fall off the sphere under the influence of gravity, the constraint becomes non-holonomic. For the first case, the holonomic constraint may be given by the equation r2−a2=0 where r is the distance from the centre of a sphere of radius a, whereas the second non-holonomic case may be given by r2−a2≥0 Velocity-dependent constraints (also called semi-holonomic constraints) such as f(u1,u2,…,un,u˙1,u˙2,…,u˙n,t)=0 are not usually holonomic.
Holonomic system In classical mechanics a system may be defined as holonomic if all constraints of the system are holonomic. For a constraint to be holonomic it must be expressible as a function: f(u1, u2, u3, …, un, t)=0, i.e. a holonomic constraint depends only on the coordinates uj and maybe time t. It does not depend on the velocities or any higher-order derivative with respect to t. A constraint that cannot be expressed in the form shown above is a nonholonomic constraint.
Introduction As described above, a holonomic system is (simply speaking) a system in which one can deduce the state of a system by knowing only the change of positions of the components of the system over time, but not needing to know the velocity or in what order the components moved relative to each other. In contrast, a nonholonomic system is often a system where the velocities of the components over time must be known to be able to determine the change of state of the system, or a system where a moving part is not able to be bound to a constraint surface, real or imaginary. Examples of holonomic systems are gantry cranes, pendulums, and robotic arms. Examples of nonholonomic systems are Segways, unicycles, and automobiles.
Terminology The configuration space 𝐮 lists the displacement of the components of the system, one for each degree of freedom. A system that can be described using a configuration space is called scleronomic. 𝐮=[u1u2…un]T The event space is identical to the configuration space except for the addition of a variable t to represent the change in the system over time (if needed to describe the system). A system that must be described using an event space, instead of only a configuration space, is called rheonomic. Many systems can be described either scleronomically or rheonomically. For example, the total allowable motion of a pendulum can be described with a scleronomic constraint, but the motion over time of a pendulum must be described with a rheonomic constraint. 𝐮=[u1u2…unt]T The state space 𝐪 is the configuration space, plus terms describing the velocity of each term in the configuration space. 𝐪=[𝐮𝐮˙]=[u1…unu˙1…u˙n]T The state-time space adds time t. 𝐪=[𝐮𝐮˙]=[u1…untu˙1…u˙n]T
Examples
Gantry crane
As shown on the right, a gantry crane is an overhead crane that is able to move its hook in 3 axes as indicated by the arrows. Intuitively, we can deduce that the crane should be a holonomic system as, for a given movement of its components, it doesn't matter what order or velocity the components move: as long as the total displacement of each component from a given starting condition is the same, all parts and the system as a whole will end up in the same state. Mathematically we can prove this as such: We can define the configuration space of the system as: 𝐮=[xyz] We can say that the deflection of each component of the crane from its "zero" position are B, G, and O, for the blue, green, and orange components, respectively. The orientation and placement of the coordinate system does not matter in whether a system is holonomic, but in this example the components happen to move parallel to its axes. If the origin of the coordinate system is at the back-bottom-left of the crane, then we can write the position constraint equation as: (x−B)+(y−G)+(z−(h−O))=0 Where h is the height of the crane. Optionally, we may simplify to the standard form where all constants are placed after the variables: x+y+z−(B+G+h−O)=0 Because we have derived a constraint equation in holonomic form (specifically, our constraint equation has the form f(x,y,z)=0 where {x,y,z}∈𝐮), we can see that this system must be holonomic.
Pendulum
As shown on the right, a simple pendulum is a system composed of a weight and a string. The string is attached at the top end to a pivot and at the bottom end to a weight. Being inextensible, the string's length is a constant. This system is holonomic because it obeys the holonomic constraint x2+y2−L2=0, where (x, y) is the position of the weight and L is length of the string.
Rigid body The particles of a rigid body obey the holonomic constraint (𝐫i−𝐫j)2−Lij2=0, where 𝐫i, 𝐫j are respectively the positions of particles Pi and Pj, and Lij is the distance between them. If a given system is holonomic, rigidly attaching additional parts to components of the system in question cannot make it non-holonomic, assuming that the degrees of freedom are not reduced (in other words, assuming the configuration space is unchanged).
Pfaffian form
Consider the following differential form of a constraint: ∑j Aijduj+Aidt=0 where Aij,Ai are the coefficients of the differentials duj,dt for the ith constraint equation. This form is called the Pfaffian form or the differential form. If the differential form is integrable, i.e., if there is a function fi(u1, u2, u3, …, un, t)=0 satisfying the equality dfi=∑j Aijduj+Aidt=0 then this constraint is a holonomic constraint; otherwise, it is nonholonomic. Therefore, all holonomic and some nonholonomic constraints can be expressed using the differential form. Examples of nonholonomic constraints that cannot be expressed this way are those that are dependent on generalized velocities. With a constraint equation in Pfaffian form, whether the constraint is holonomic or nonholonomic depends on whether the Pfaffian form is integrable. See Universal test for holonomic constraints below for a description of a test to verify the integrability (or lack of) of a Pfaffian form constraint.
Universal test for holonomic constraints
… excerpt ends here. Continue reading the full article.

