The canonical generalized inversion dynamical equations of motion for ideally constrained discrete mechanical systems are introduced in the framework of Kane’s method. The canonical equations of motion employ the acceleration form of constraints and the Moore-Penrose generalized inversion-based Greville formula for general solutions of linear systems of algebraic equations. Moreover, the canonical equations of motion are explicit and nonminimal (full order) in the acceleration variables, and their derivation is made without appealing to the principle of virtual work or to Lagrange multipliers. The geometry of constrained motion is revealed by the canonical equations of motion in a clear and intuitive manner by partitioning the canonical accelerations’ column matrix into two portions: a portion that drives the mechanical system to abide by the constraints and a portion that generates the momentum balance dynamics of the mechanical system. Some geometrical perspectives of the canonical equations of motion are illustrated via vectorial geometric visualization, which leads to verifying the Gauss’ principle of least constraints and its Udwadia-Kalaba interpretation.
- canonical equations of motion
- discrete mechanical systems
- Kane’s method
- Gauss’ principle of least constraints
- cononical generalized speeds
- Greville formula
Deriving mathematical models for dynamical systems is in the core of the discipline of analytical dynamics, and it is the step that precedes dynamical system’s analysis, design, and control synthesis. For discrete mechanical systems, i.e., those composed of particles and rigid bodies, the mathematical models are in the forms of differential equations or differential/algebraic equations that are derived by using fundamental laws of motion or energy principles. Because many mechanical systems nowadays are multi-bodied with numerous degrees of freedom and large numbers of
It has been a general trend for over two centuries to employ d’Alembert’s
Another paradigm shift in the subject took place when Gibbs  and Appell  independently derived their equations of motion. For the first time, formulating the dynamical equations involved neither invoking d’Alembert’s principle nor augmenting undetermined multipliers. Because d’Alembert’s principle was to many analytical dynamics practitioners, “an ill-defined, nebulous, and hence objectionable principle,”  the Gibbs-Appell model was widely accepted within the analytical dynamics community. Moreover, the absence of undetermined multipliers from the Gibbs-Appell equations contributed to maintaining simplicity and practicality of the equations for large constrained mechanical systems. Another feature of the Gibbs-Appell approach was initiating the concept of
One feature that is associated with the Gibbs-Appell’s approach is that it is based on the differential
A key developments in the arena of analytical dynamics is the Kane’s method for modeling constrained discrete mechanical systems [11, 12, 13]. Kane’s method adopts a vector approach that inspired useful geometric features of the derived equations of motion . The
The standard Kane’s equations of motion for nonholonomic systems are minimal in generalized speeds, i.e., their number is equal to the number of degrees of freedom of the dynamical system, and only the independent portion of generalized speeds and their time derivatives appear in the equations. Nevertheless, information about dependent generalized speeds can be practically important, e.g., for the purpose of obtaining stability information about a dependent dynamics or when it desired to target a dependent dynamics with a control system design by using state space control methodologies.
On the other hand, generalized inversion and the Greville formula for general solutions of linear systems of algebraic equations were introduced to the subject of analytical dynamics by Udwadia and Kalaba [15, 16] as tools for deriving equations of constrained motion for discrete mechanical systems. The success that the formula met in modeling ideally constrained motion is due to its geometrical structure that captures orthogonality of ideal constraint forces on active and inertia forces, which is the essence of the principle of virtual work.
Inspired by the Udwadia-Kalaba equations of motion and the Greville formula, this chapter introduces a new form of Kane’s equations of motion. The introduced equations of motion employ the acceleration form of constraints, and therefore holonomic and nonholonomic constraints are augmented within the momentum balance formulation in a unified manner and irrespective of being linear or nonlinear in generalized coordinates and generalized speeds. The equations of motion are nonminimal, i.e., no reduction of generalized speed’s space dimensionality takes place from the number of generalized coordinates to the number of degrees of freedom. Furthermore, the new equations of motion are explicit, i.e., are separated in the generalized acceleration variables, and only one generalized acceleration variable appears in each equation.
The main feature of the derived equations of motion is the explicit algebraic and geometric partitioning of the generalized acceleration vector at every instant of time into two portions: one portion drives the mechanical system to abide by the constraint dynamics, and the other portion generates the momentum balance of the mechanical system as to follow Newton-Euler’s laws of motion.
2. Kane’s equations of motion for holonomic systems
Consider a set of particles and rigid bodies that form a
where is a column matrix containing the generalized coordinates; is a column matrix containing the generalized speeds, , , ; and exists for all and all [12, 13]. Kane’s dynamical equations of motion for are given by [12, 13]
where and are the holonomic generalized active force and the holonomic generalized inertia force on the system, respectively, and is a column matrix containing the
3. Kane’s equations of motion for nonholonomic systems
where are the generalized speeds of the
The system dynamics of changes from that given by (2) accordingly. Let the generalized speed column matrix be partitioned as
where and are the nonholonomic generalized active force and the nonholonomic generalized inertia force on , respectively. The relationships between holonomic generalized active forces on and nonholonomic generalized active forces on are given by [12, 13]
where is given by
where is given by
Notice that (17) is obtained by multiplying both sides of (4) by . Therefore, the unique holonomic generalized acceleration vector that solves the fully determined system given by (4) solves the underdetermined system given by (17) also, among an infinite number of generalized acceleration vectors that satisfy (17), each of which preserves a constrained momentum balance dynamics of the mechanical system.
4. Canonical generalized speeds
Choosing the set of generalized speeds is a crucial step in formulating Kane’s dynamical Eqs. (2) and (8) because the extent of how complex these equations appear is affected by this choice. For every choice of nonholonomic generalized speeds , we define the
where is the column matrix containing and is the square root matrix of . With this choice of generalized speeds, (13) becomes
where . The time derivative of (18) is
where is the element-wise time derivative of along the trajectory solutions of the kinematical differential Eqs. (6). Therefore, (17) becomes
and can be simplified further to the following form:
where . We view the nonholonomic mechanical system dynamics as being composed of two parts: a constraint dynamics that is modeled by (19) and a momentum balance dynamics that is modeled by (22). Scaling velocity variables and constraint matrices by square roots of the inertia matrices for the purpose of characterizing constrained motion is implicit in Gauss’ principle of least constraints  as will be shown later in this paper. Moreover, deriving explicit equations of motion for constrained mechanical systems by utilizing this type of scaling is first due to Udwadia and Kalaba. [15, 16] The arguments of the functions are omitted in the remaining sections for brevity, unless necessary to clarify concepts.
5. Generalized accelerations from the acceleration form of constraints
Time differentiating the constraint dynamics given by (19) yields 
where is given by
where and are the element-wise time derivatives of and along the trajectory solutions of the kinematical differential Eqs. (6). The general solution of the above-written acceleration form of constraint equations for is given by the Greville formula as [18, 19, 20]
is the projection matrix on the nullspace of and is an arbitrary vector as for satisfying the acceleration form given by (25) but is yet to be determined to obtain the unique natural generalized acceleration. Because is of full rank, it follows that retains the full row rank of and hence that is given by the closed form expression:
In (25), the following holds
where and refer to the range space and the nullspace, respectively. The term in (25) is the minimum norm solution of (23) for among infinitely many solutions that are parameterized by .
6. Generalized accelerations from the momentum balance dynamics
Let be given by
Then the momentum balance Eq. (22) takes the following compact form:
where retains the full row rank of because is of full row rank. Hence, another expression for the general solution of is obtained by utilizing the Greville formula to solve (30) and is given by
where is given by the closed form expression:
and is an arbitrary vector as for satisfying the momentum balance dynamics given by (30), but its unique value that solves for the natural generalized acceleration vector is yet to be determined, and
The term in (31) is the minimum norm solution of (30) for among infinitely many solutions that are parameterized by .
7. Canonical generalized inversion Kane’s equations of motion
Since and are full row rank matrices and their numbers of rows and sum up to the full space dimension and since
it follows that the row spaces of and are orthogonal complements, i.e.,
Nevertheless, since 
then it follows from (36) that
Since the only part in the expression of given by (25) that is in is the second term , and since the ony part in the equivalent expression of given by (31) that is in is the first term , it follows from (38) that
Substituting (39) in (25) yields the canonical generalized inversion form of Kane’s equations for nonholonomic systems:
The same result is obtained by using the fact:
which implies by using (36) that
Since the only part in the expression of given by (25) that is in is the first term , and since the only part in the equivalent expression of given by (31) that is in is the second term , it follows from (42) that
8. Geometric interpretation of the canonical generalized inversion form
Adopting the canonical set of generalized speeds in deriving the dynamical equations for a mechanical system reveals the geometry of its constrained motion. Figure 1 depicts a geometrical visualization of the dimensional Euclidian space at an arbitrary time instant . The vertical and the horizontal axes resemble the orthogonally complements dimensional and dimensional subspaces and , respectively.
In viewing the canonical generalized acceleration given by (40) as the geometrical vector shown in Figure 1, it is shown to be composed of two components that are orthogonal to each other: The vertical component resides in , and it enforces the constraint dynamics given by (23), and the horizontal component resides in , and it generates the momentum balance dynamics given by (30).
Moreover, the vertical component of is the shortest in length “minimum norm” solution among infinitely many solutions of (23) that are parameterized by according to (25). These solutions can also be represented by arbitrary horizontal deviation vectors: as
and are shown to solve (23) by direct substitution and noticing that and . Two of these solutions are plotted (in dotted red) in Figure 1 for arbitrary vectors and in , in addition to the natural generalized acceleration vector that is obtained by setting .
Similarly, the horizontal component of is the shortest solution among infinitely many solutions of (30) that are parameterized by according to (31). These solutions can also be represented by arbitrary vertical deviation vectors: as
and are shown to solve (30) by direct substitution and noticing that and . Two of these solutions are plotted (in dotted blue) in Figure 1 for arbitrary vectors and in , in addition to the natural generalized acceleration vector that is obtained by setting . Notice that the canonical generalized acceleration vector is the only solution that solves (45, 46) simultaneously and is obtained by setting and .
Now consider a general deviation vector that is composed of arbitrary vertical and horizontal deviation components from as shown in Figure 2. The vertical component abides by (46) but violates (45), and the horizontal component abides by (45) but violates (46). Hence:
The deviated canonical generalized acceleration vector is obtained by summing (40) and (47) as
and is shown in Figure 2 in dotted blue. On the other hand, the canonical holonomic generalized acceleration vector in terms of the canonical generalized speeds is obtained from (4) and (20) as
where and solves (4). Decomposing the expression of along and yields
Let us now specify the deviated generalized acceleration vector to be as shown in Figure 3. Equating the two expressions (48) and (52) and solving for and yield
Substituting and in (47) yields
which corresponds to the vertical solid red vector in Fig. (3). Notice that is the shortest among all deviation vectors that end up at (two of which are shown in dotted red) by deviating from generalized acceleration vectors that abide by the constraint dynamics given by (23) (two of which are shown in dotted green), i.e.,
and denotes the Euclidean norm of given by . Moreover, can be expressed in terms of the original set of generalized speeds as
where is the difference between holonomic and nonholonomic generalized speeds. Therefore:
where and satisfies
Nevertheless, (59) implies that
which in terms of the square Euclidean norm implies that
The chapter introduces the canonical generalized inversion dynamical equations of motion for nonholonomic mechanical systems in the framework of Kane’s method. The introduced equations of motion use the Greville formula and utilize its geometric structure to produce a full order set of dynamical equations for the nonholonomic system. Moreover, the acceleration form of constraint equations is adopted in a similar manner as in the classical Gibbs-Appell, Udwadia-Kalaba, and Bajodah-Hodges-Chen formulations.
The philosophy on which the present formulation of the dynamical equations of motion is based views the constrained system dynamics of the mechanical system as being composed of a constraint dynamics and a momentum balance dynamics that is unaltered by augmenting the constraints. Inverting both dynamics by means of two Greville formulae and invoking the geometric relations between the resulting two expressions yield the unique natural canonical generalized acceleration vector.
Because the momentum balance dynamics and the acceleration form of constraint dynamics are linear in generalized accelerations, only linear geometric and algebraic mathematical tools are needed to analyze constrained motion of discrete mechanical systems. Also, the present linear analysis is valid in despite of dependencies among the constraint equations and changes in rank that the constraint matrix may experience because the matrices and are always of full row ranks and their and rows span two orthogonally complement row spaces. Another advantage of maintaining full row ranks of and is that their generalized inverses have explicit and closed form expressions, which alleviate the need for employing numerical methods for computing generalized inverses.