betaFeedback

WorksPhysics and Astronomy

On the invertibility of saddle-point matrices: exact algebraic conditions and applications to constrained dynamics

Abstract

The solvability of constrained dynamical systems governed by D'Alembert–Lagrange mechanics relies directly on the invertibility of the coefficient matrix describing the underlying saddle-point structure, which couples system inertia with kinematic constraints. Standard formulations often rely on overly restrictive sufficient assumptions, such as global positive definiteness or semi-definiteness of the mass matrix, frequently combined with generalized inverses to handle singular mass distributions. In this work, we establish the purely necessary and sufficient algebraic conditions for matrix invertibility: the kinematic independence of the constraints and a kernel intersection condition between the allowed directions of motion and the induced inertial forces. We provide a physical interpretation of this requirement, demonstrating that it eliminates non-zero admissible motions whose generated inertial forces are entirely absorbed by constraint reactions. Furthermore, by completely avoiding generalized inverses, this formulation offers a unified and coordinate-free framework capable of handling massless components and indefinite inertia structures within a computationally robust setting.

Introduction

A KKT system (standing for Karush-Kuhn-Tucker, [9, 10]) is a block linear system with a specific saddle-point structure that arises in many areas of applied mathematics, particularly in constrained optimization, multibody robotics, mechanics of constrained systems, continuum mechanics (e.g., incompressible fluids), biomechanics, and finite element methods. For a comprehensive analysis of KKT optimality conditions and numerical optimization, classic reference texts include Nocedal and Wright [15] and Boyd and Vandenberghe [4]. Furthermore, from a numerical linear algebra perspective, the seminal survey by Benzi, Golub, and Liesen [2] (and the literature cited therein) serves as a cornerstone reference for the algebraic structure, properties, and numerical solution of saddle-point problems.

In this paper, the standard matrix form of the KKT system is given by

\begin{pmatrix} \mathbb{O} & A \\ A^{T} & W \end{pmatrix} \begin{pmatrix} \lambda\\ x \end{pmatrix} = \begin{pmatrix} \beta\\ \alpha\end{pmatrix}, \tag*{(1)}\end{pmatrix}

where O∈Rm×m\mathbb{O} \in\mathbb{R}^{m \times m} is the zero matrix, A∈Rm×nA \in\mathbb{R}^{m \times n} with m<nm < n, and W∈Rn×nW \in\mathbb{R}^{n \times n}, while x,α∈Rn×1x,\alpha\in\mathbb{R}^{n \times1} and λ,β∈Rm×1\lambda,\beta\in\mathbb{R}^{m \times1} are column vectors. Accordingly, the KKT coefficient matrix is defined as L=(OAATW)∈R(m+n)×(m+n)L = \begin{pmatrix} \mathbb{O} & A \\ A^{T} & W \end{pmatrix} \in\mathbb{R}^{(m+n) \times(m+n)}.

Although it is not possible to assign a single, unique interpretation to the matrices and vectors in (1) given the wide variety of applicable domains, in very general terms matrix AA plays the role of a “constraint matrix” via the restrictions Ax=βAx = \beta. Meanwhile, matrix WW captures the dynamics or core structure of the system under study (e.g., optimization, motion of holonomic or nonholonomic systems) through the equation Wx+ATλ=αWx + A^{T}\lambda= \alpha. In particular, the multiplier vector λ\lambda reveals how the system’s evolution is modified by the imposed constraints relative to the unconstrained setting (λ=0\lambda= 0). For instance, systems of this form arise naturally as the first-order necessary optimality conditions for the quadratic problem ([4, 15])

min⁡12xTWx−αTxsubject toAx=β.\min\frac{1}{2}\mathbf{x}^{T}W\mathbf{x} - \boldsymbol{\alpha}^{T}\mathbf{x} \quad\text{subject to} \quad A\mathbf{x} = \boldsymbol{\beta}.

As extensively detailed in the literature on saddle-point problems [2], the primary hallmark of these block-structured matrices is their inherent indefiniteness: they balance the minimization of an energy functional with respect to the physical coordinates against the maximization enforced by the constraint multipliers.

A well-posed physical system requires the unique determination of both λ\lambda and x\mathbf{x}, for any set of data α\boldsymbol{\alpha} and β\boldsymbol{\beta}. This uniqueness hinges upon the invertibility of the coefficient matrix LL.

The focus of this work is precisely the mathematical investigation into the invertibility of LL, establishing a necessary and sufficient criterion to this end. Although simple and admitting a straightforward geometric interpretation, to the best of our knowledge, the derived conditions do not appear directly in this formal setting in the existing literature.

The proposed algebraic requirement is further explored in relation to specific properties of the system matrices (e.g., symmetry, invertibility, definiteness). Simultaneously, a comparison is drawn with existing criteria (such as positive definiteness of WW, LBB ellipticity, and the Udwadia–Phohomsiri assumption), encompassing both purely sufficient conditions and necessary and sufficient ones.

From a modeling perspective, our main focus is directed towards the case where system (1) governs the motion of a mechanical system subjected to constraints. In classical analytical mechanics, WW corresponds to the system’s “generalized” mass matrix MM. Consequently, standard literature regularly invokes the assumption of strict positive definiteness [11], under which LL is guaranteed to be non-singular provided AA has full row rank. In modern computational mechanics, optimization-based control, and systems with auxiliary coordinates or massless components, WW is frequently only semi-definite or even indefinite. To deal with singular mass matrices, classical frameworks - most notably the fundamental equation of constrained motion by Udwadia and Phohomsiri [18] - rely heavily on the Moore-Penrose pseudoinverse. While mathematically elegant, pseudoinverse-based formulations introduce potential numerical instabilities near rank changes and demand high computational overhead for large-scale systems. Alternatively, in the context of finite element analysis and constrained optimization, existence and uniqueness are often framed around the LBB inf-sup condition [5], which enforces strict positivity of WW restricted to the constraint kernel (ker⁡(A)\ker(A)). While weaker than global positive definiteness, the LBB condition remains a sufficient requirement rather than an exact equivalence.

In addition to proposing a simple and “economical” invertibility criterion for LL, which naturally encompasses existing criteria, we also extend the validity of D’Alembert–Lagrange dynamics to systems with indefinite or highly degenerate inertia structures. Furthermore, we provide a direct physical interpretation of the derived conditions, showing that they mathematically eliminate “ghost” motions - admissible virtual displacements whose resulting inertial forces are completely orthogonal to the subspace of allowed motion and thus physically unobservable.

The physical model

Before detailing the mathematical model, we emphasize that our focus on the saddle-point block structure (1) is specifically motivated by the constrained motion of mechanical systems. We consider systems subject to general kinematic constraints (whether holonomic or non-holonomic, linear or non-linear in the velocities) whose dynamics are governed by Lagrange’s equations of the first kind incorporating constraint multipliers.

Specifically, let us consider a mechanical system described by nn generalized coordinates q=(q1,…,qn)T\mathbf{q} = (q_1,\ldots,q_n)^T and subject to m<nm < n kinematic constraints

Φi(q,q˙,t)=0,i=1,…,m,(2)\Phi_i(\mathbf{q},\dot{\mathbf{q}},t) = 0, \qquad i = 1,\ldots,m, \tag*{(2)}

where q˙=(q˙1,…,q˙n)T\dot{\mathbf{q}} = (\dot{q}_1,\ldots,\dot{q}_n)^T denotes the vector of generalized velocities. The constraint matrix A∈Rm×nA \in\mathbb{R}^{m \times n} is defined as the Jacobian with respect to the velocity variables:

A=(∂Φi∂q˙j)i=1,…,mj=1,…,n=(ai,j(q,q˙,t))i=1,…,mj=1,…,n.(3)A = \left(\frac{\partial\Phi_i}{\partial\dot{q}_j}\right)_{\substack{i=1,\ldots,m\\j=1,\ldots,n}} = \left(a_{i,j}(\mathbf{q},\dot{\mathbf{q}},t)\right)_{\substack{i=1,\ldots,m\\j=1,\ldots,n}}. \tag*{(3)}

We denote the rank of AA by p≤mp \le m. Unless specified otherwise, we assume throughout this work that the constraints are linearly independent, so that AA has full row rank, namely p=mp = m. If T(q,q˙,t)T(\mathbf{q},\dot{\mathbf{q}},t) is the kinetic energy of the system, the equations of motion can be written in the well known Lagrangian form

ddt∂T∂q˙j−∂T∂qj=Fj+FjC,j=1,…,n(4)\frac{d}{dt}\frac{\partial T}{\partial\dot{q}_j} - \frac{\partial T}{\partial q_j} = F_j + F_j^{C}, \qquad j = 1,\ldots,n \tag*{(4)}

where FjF_j are the Lagrangian components of the applied forces, which in the context of our study are assumed to be known functions of (q,q˙,t)(\mathbf{q},\dot{\mathbf{q}},t), and FjCF_j^{C} are the unknown generalized constraint forces due to the presence of conditions (2). In turn, FjF_j can be split into applied forces FjP(q,q˙,t)F_j^{\mathrm{P}}(\mathbf{q},\dot{\mathbf{q}},t) derived from a generalized potential U(q,q˙,t)U(\mathbf{q},\dot{\mathbf{q}},t), namely FjP=∂U∂qj−ddt∂U∂q˙jF_j^{\mathrm{P}} = \frac{\partial U}{\partial q_j} - \frac{d}{dt}\frac{\partial U}{\partial\dot{q}_j} (which includes the standard case of a velocity-independent potential U(q,t)U(\mathbf{q},t)), and non-potential forces FjN(q,q˙,t)F_j^{\mathrm{N}}(\mathbf{q},\dot{\mathbf{q}},t) lacking this property. The equations of motion (4) take the form:

ddt∂L∂q˙j−∂L∂qj=FjN+FjC,j=1,…,n(5)\frac{d}{dt}\frac{\partial\mathcal{L}}{\partial\dot{q}_j} - \frac{\partial\mathcal{L}}{\partial q_j} = F_j^{\mathrm{N}} + F_j^{\mathrm{C}}, \qquad j=1,\ldots,n \tag*{(5)}

where L=T−V\mathcal{L}=T-V, V=−UV=-U, is the Lagrangian of the system.

One viewpoint - widely accepted in the literature and adopted here - transfers the unknown nature of the constraint forces to mm Lagrange multipliers λ1,…,λm\lambda_1,\ldots,\lambda_m, according to the relation (sometimes also referred to as the Chetaev condition):

FjC=∑i=1mλi∂Φi∂q˙j,j=1,…,n,(6)F_j^{\mathrm{C}} = \sum_{i=1}^{m}\lambda_i\frac{\partial\Phi_i}{\partial\dot{q}_j}, \qquad j=1,\ldots,n, \tag*{(6)}

where λi=λi(q,q˙,t)\lambda_i=\lambda_i(\mathbf{q},\dot{\mathbf{q}},t), i=1,…,mi=1,\ldots,m. For a more detailed discussion on formulating the equations of motion for systems subject to constraints of type (2), we refer the reader to [13], [14], [16]. Recalling (3), the equations of motion can therefore be written as

ddt∂L∂q˙j−∂L∂qj=FjN+∑i=1mai,jλi,j=1,…,n.(7)\frac{d}{dt}\frac{\partial\mathcal{L}}{\partial\dot{q}_j}-\frac{\partial\mathcal{L}}{\partial q_j}=F_j^{\mathrm{N}}+\sum_{i=1}^{m}a_{i,j}\lambda_i,\qquad j=1,\ldots,n. \tag*{(7)}

In view of the subsequent topics, it is worth recalling the formalism of linear algebra in order to arrive at assumption (6). This approach defines virtual displacements as the set of nn-vectors v\mathbf{v} satisfying

Av=0,(8)A\mathbf{v}=0, \tag*{(8)}

where AA is the coefficient matrix (3). For any fixed kinematic state (q,q˙)(\mathbf{q},\dot{\mathbf{q}}) and time tt, the vectors v\mathbf{v} form the linear space ker⁡(A)\operatorname{ker}(A) (the kernel of AA) and are orthogonal to the mm row vectors of AA, and hence to the space Im⁡(AT)\operatorname{Im}(A^{T}), where Im⁡(M)\operatorname{Im}(M) denotes the column space of a matrix MM. Since we assume that AA has full rank, dim⁡(Im⁡(AT))=m\dim(\operatorname{Im}(A^{T}))=m and dim⁡(ker⁡(A))=n−m\dim(\operatorname{ker}(A))=n-m, consistently with the relation ker⁡(A)=(Im⁡(AT))⊥\operatorname{ker}(A)=(\operatorname{Im}(A^{T}))^{\perp}. The ideal constraint hypothesis reads

FC⋅v=0∀v∈ker⁡(A),(9)\mathbf{F}^{\mathrm{C}}\cdot\mathbf{v}=0 \qquad\forall\mathbf{v}\in\operatorname{ker}(A), \tag*{(9)}

which implies FC∈(ker⁡(A))⊥=Im⁡(AT)\mathbf{F}^{\mathrm{C}}\in(\operatorname{ker}(A))^{\perp}=\operatorname{Im}(A^{T}). Therefore, FC\mathbf{F}^{\mathrm{C}} must be a linear combination of the rows of AA, yielding relation (6).

The explicit computation of (7) leads to the system

∑r=1nMj,rq¨r−∑i=1mai,jλi=αj,j=1,…,n(10)\sum_{r=1}^{n}M_{j,r}\ddot{q}_r-\sum_{i=1}^{m}a_{i,j}\lambda_i=\alpha_j,\qquad j=1,\ldots,n \tag*{(10)}

where

Mj,r(q,q˙,t)=∂2L∂q˙r∂q˙j(11)M_{j,r}(\mathbf{q},\dot{\mathbf{q}},t)=\frac{\partial^2\mathcal{L}}{\partial\dot{q}_r\partial\dot{q}_j} \tag*{(11)}

and αj(q,q˙,t)=FjN+∂L∂qj−∂2L∂t∂q˙j−∑r=1n∂2L∂qr∂q˙jq˙r\alpha_j(\mathbf{q},\dot{\mathbf{q}},t)=F_j^{\mathrm{N}}+\frac{\partial\mathcal{L}}{\partial q_j}-\frac{\partial^2\mathcal{L}}{\partial t\partial\dot{q}_j}-\sum_{r=1}^{n}\frac{\partial^2\mathcal{L}}{\partial q_r\partial\dot{q}_j}\dot{q}_r.

On the other hand, by differentiating with respect to tt the constraint equations (2) one gets the set

∑j=1nai,jq¨j=βi,i=1,…,m(12)\sum_{j=1}^{n}a_{i,j}\ddot{q}_j=\beta_i,\qquad i=1,\ldots,m \tag*{(12)}

where ai,j(q,q˙,t)a_{i,j}(\mathbf{q},\dot{\mathbf{q}},t) are defined in (3) and βi(q,q˙,t)=−∑j=1n∂Φi∂q˙jq¨j−∂Φi∂t\beta_i(\mathbf{q},\dot{\mathbf{q}},t)=-\sum_{j=1}^{n}\frac{\partial\Phi_i}{\partial\dot{q}_j}\ddot{q}_j-\frac{\partial\Phi_i}{\partial t}.

Remark 1 Clearly, (2) implies (12); however, if we replace the latter conditions with the original constraints (2), the initial compatibility conditions Φi(q(0),q˙(0),0)=0\Phi_i(\mathbf{q}(0),\dot{\mathbf{q}}(0),0)=0, i=1,…,mi=1,\ldots,m must be added to avoid an arbitrary constant in the reverse integration step from (12) to (2).

We can arrange the system of n+mn+m equations (10) and (12) into matrix–vector notation as follows:

Lv=c(13)L\mathbf{v}=\mathbf{c} \tag*{(13)}

where:

  • L(q,q˙,t)L(\mathbf{q},\dot{\mathbf{q}},t) is a square matrix of order m+nm+n structured in block form as

L=(OAATW)(14)L=\begin{pmatrix} \mathbb{O} & A \\ A^{T} & W \end{pmatrix} \tag*{(14)}

with O\mathbb{O} denoting the m×mm \times m zero matrix, W(q,q˙,t)=(Mi,j)i,j=1,…,nW(\mathbf{q},\dot{\mathbf{q}},t)=(M_{i,j})_{i,j=1,\ldots,n} being the n×nn \times n matrix defined in (11), and A(q,q˙,t)=(ai,j)i=1,…,mj=1,…,nA(\mathbf{q},\dot{\mathbf{q}},t)=(a_{i,j})_{\substack{i=1,\ldots,m\\j=1,\ldots,n}} is the m×nm \times n matrix defined in (3);

  • v\mathbf{v} and c(q,q˙,t)\mathbf{c}(\mathbf{q},\dot{\mathbf{q}},t) are column vectors of dimension m+nm+n defined by

v=(−λ1,…,−λm,q¨1,…,q¨n)T,c=(β1,…,βm,α1,…,αn)T.(15)\mathbf{v}=(-\lambda_1,\ldots,-\lambda_m,\ddot{q}_1,\ldots,\ddot{q}_n)^{T}, \qquad\mathbf{c}=(\beta_1,\ldots,\beta_m,\alpha_1,\ldots,\alpha_n)^{T}. \tag*{(15)}

In (14), we recognize the structure of (1), up to the minus sign in front of the multipliers, which is immaterial. Formulating the linear system (w. r. t. λi\lambda_i and q¨j\ddot{q}_j, i=1,…,mi=1,\ldots,m, j=1,…,mj=1,\ldots,m) as in (13) serves a two-fold goal that we aim to investigate in this work: enabling the system to be cast into explicit normal form q¨j=Ψj(q,q˙,t)\ddot{q}_j=\Psi_j(\mathbf{q},\dot{\mathbf{q}},t) for j=1,…,nj=1,\ldots,n (for suitable functions Ψj\Psi_j), and allowing the explicit determination of the multipliers λi\lambda_i, i=1,…,mi=1,\ldots,m, solely as functions of the variables (q,q˙,t)(\mathbf{q},\dot{\mathbf{q}},t).

The invertibility of the matrix LL is the fundamental algebraic condition ensuring the existence and uniqueness of the solution to the dynamical system. Specifically, it guarantees the unique determination of the acceleration vector q¨\ddot{\mathbf{q}} and the Lagrange multipliers λ\boldsymbol{\lambda} (representing the constraint reactions) given the applied forces.

Attention is therefore focused on the invertibility: if LL is invertible, the equivalent relation v=L−1c\mathbf{v}=L^{-1}\mathbf{c} allows both the multipliers and the accelerations to be explicitly expressed as functions of (q,q˙,t)(\mathbf{q},\dot{\mathbf{q}},t). The result presented here provides a necessary and sufficient criterion for the matrix LL to be invertible. We will then compare this result with other conditions (generally sufficient ones) available in the literature.

The main result

We state the main result, which provides necessary and sufficient conditions for the matrix LL defined in (14) to be invertible. Since the investigation is purely algebraic, we can consider generic blocks AA and MM, not necessarily arising from the framework of the motion (11) and (12).

Notations and preliminaries

We briefly recall some standard notations and well-known results from linear algebra.

Given a matrix B∈Rμ×νB \in\mathbb{R}^{\mu\times\nu}, with positive integers μ\mu and ν\nu, we denote by ker⁡(B)\ker(B) the kernel (or null space) of BB, i.e., the vector space

ker⁡(B)={x∈Rν∣Bx=0},\ker(B)=\{x \in\mathbb{R}^{\nu}\mid Bx=0\},

where 00 is the zero vector of Rμ\mathbb{R}^{\mu}. The fundamental relation between the dimension of the kernel dim⁡(ker⁡(B))\dim(\ker(B)) (also referred to as the nullity of BB) and the rank rank⁡(B)\operatorname{rank}(B) is given by the rank-nullity Theorem:

rank⁡(B)+dim⁡(ker⁡(B))=ν.\operatorname{rank}(B)+\dim(\ker(B))=\nu.

Furthermore, we denote by Im⁡(B)\operatorname{Im}(B) the image (or column space) of the matrix BB, namely the vector space spanned by all linear combinations of the columns of $B:

Im⁡(B)={y∈Rμ∣y=Bx for some x∈Rν}.\operatorname{Im}(B)=\{y \in\mathbb{R}^{\mu}\mid y=Bx\text{ for some }x \in\mathbb{R}^{\nu}\}.

Accordingly, Im⁡(BT)\operatorname{Im}(B^{T}) represents the row space of BB. It is a well-known fact that the dimension of the column space coincides with that of the row space and equals the rank of BB:

dim⁡(Im⁡(B))=dim⁡(Im⁡(BT))=rank⁡(B).\dim(\operatorname{Im}(B))=\dim(\operatorname{Im}(B^{T}))=\operatorname{rank}(B).

Following standard convention, span⁡{⋅}\operatorname{span}\{\cdot\} denotes the subspace spanned by the vectors within the curly brackets. Finally, we reiterate a property (in fact, one already used previously) concerning orthogonal complements: denoting by V⊥\mathbb{V}^{\perp} the orthogonal complement of a vector space V\mathbb{V} (i.e., the set of all vectors orthogonal to every vector in V\mathbb{V}), the following identity holds:

(ker⁡(B))⊥=Im⁡(BT)(16)(\ker(B))^{\perp}=\operatorname{Im}(B^{T}) \tag*{(16)}

which yields the orthogonal decomposition Rν=Im⁡(BT)⊕ker⁡(B)\mathbb{R}^{\nu}=\operatorname{Im}(B^{T})\oplus\ker(B) (that is, every ν\nu-vector can be uniquely expressed as the sum of an element of Im⁡(BT)\operatorname{Im}(B^{T}) and an element of ker⁡(B)\ker(B)).

Statement and proof of the main result

Proposition 1 Let LL be a block matrix as defined in (14). The matrix LL is invertible if and only if the following two conditions are simultaneously satisfied:

  1. The matrix AA has full rank mm:

rank⁡(A)=m.(17)\operatorname{rank}(A)=m. \tag*{(17)}
  1. The only vector in the kernel of AA that is mapped by WW into an element of the image of ATA^{T} is the nn-dimensional zero vector, namely

ker⁡(A)∩{x∈Rn∣Wx∈Im⁡(AT)}={0}.(18)\ker(A) \cap\{x \in\mathbb{R}^{n} \mid Wx \in\operatorname{Im}(A^{T})\} = \{0\}. \tag*{(18)}

Proof. It is well known that a square matrix is invertible if and only if the associated homogeneous system has the zero vector as its unique solution. We thus analyze the homogeneous system Lv=0Lv=0, where the latter is the zero vector of Rm+n\mathbb{R}^{m+n}, by decomposing v=(yx)v=\begin{pmatrix}y\\x\end{pmatrix}, with y∈Rmy\in\mathbb{R}^{m} and x∈Rnx\in\mathbb{R}^{n}, to match the block structure (14). This yields

Lv=0⟺{Ax=0,ATy+Wx=0,(19)Lv=0 \quad\Longleftrightarrow\quad \begin{cases} Ax=0,\\ A^{T}y+Wx=0, \end{cases} \tag*{(19)}

where the two zero vectors belong to Rm\mathbb{R}^{m} and Rn\mathbb{R}^{n}, respectively.

We now prove the sufficiency of the conditions. Assuming that conditions (17) and (18) hold, we show that v=0v=0. From the two equations of system (19), we deduce

{Ax=0⟹x∈ker⁡(A),Wx=−ATy⟹Wx∈Im⁡(AT).\begin{cases} Ax=0 \Longrightarrow x\in\ker(A),\\ Wx=-A^{T}y \Longrightarrow Wx\in\operatorname{Im}(A^{T}). \end{cases}

Combining these two results, it follows that xx is a vector in the kernel of AA whose image WxWx belongs to the row space of AA. By condition (18), the only vector in Rn\mathbb{R}^{n} with this property is the zero vector, i.e., x=0x=0. Substituting this into the second equation of system (19) yields ATy=0A^{T}y=0. By virtue of condition (17), ATA^{T} has full column rank mm and is therefore injective, as dim⁡(ker⁡(AT))=m−rank⁡(AT)=0\dim(\ker(A^{T}))=m-\operatorname{rank}(A^{T})=0 by the rank-nullity Theorem. Consequently, we obtain y=0y=0 as well. Thus, the unique solution to Lv=0Lv=0 is the zero vector v=0v=0 in Rm+n\mathbb{R}^{m+n}.

We now address the necessity of the conditions: assuming LL is invertible, we show that both (17) and (18) necessarily hold. We proceed by contraposition: if either condition fails, then LL has a non-trivial kernel. If (17) fails, i.e., rank⁡(A)<m\operatorname{rank}(A)<m, then there exists an mm-dimensional non-zero vector yy such that ATy=0A^{T}y=0. Choosing x=0x=0, the non-zero vector v=(yx)v=\begin{pmatrix}y\\x\end{pmatrix} satisfies Lv=0Lv=0; hence, LL is singular.

If, on the other hand, condition (18) fails, there exists a non-zero vector x≠0x\ne0 belonging to the kernel of AA such that Wx∈Im⁡(AT)Wx\in\operatorname{Im}(A^{T}). By definition, there exists y∈Rmy\in\mathbb{R}^{m} such that Wx=−ATyWx=-A^{T}y, or equivalently ATy+Wx=0A^{T}y+Wx=0. The vector v=(yx)v=\begin{pmatrix}y\\x\end{pmatrix} is non-zero and satisfies Lv=0Lv=0; thus, LL is singular. □

Geometric reading of the invertibility conditions

The first condition (17) is immediate: requiring AA to have full row rank is equivalent to demanding that the mm constraint equations be linearly independent, ruling out redundant constraints or kinematic singularities in the given configuration. If the rank of AA is strictly less than mm, there exist at least two linearly dependent rows in AA. The presence of the m×mm\times m zero block adjacent to AA (see (14)) ensures that this linear dependence transfers directly to the corresponding rows of the augmented matrix LL, which is therefore singular. From the standpoint of the information conveyed by the constraint conditions (2), we see that matrix AA is precisely the one required to have full rank in order for the constraints to be independent: full rank thus ensures that there are no duplicate or redundant conditions in (2).

The second condition (18) has a simple and clear geometric interpretation: there must be no non-zero vectors belonging to the kernel of AA that are mapped by the operator WW into vectors belonging to the orthogonal complement (ker⁡(A))⊥(\ker(A))^\perp. To establish this, relation (16) is taken into account, which here assumes the form Im⁡(AT)=(ker⁡(A))⊥\operatorname{Im}(A^{T})=(\ker(A))^\perp. In other words, a vector in ker⁡(A)\ker(A) cannot be “rotated” by WW into a vector orthogonal to the entire kernel ker⁡(A)\ker(A). Since the condition is both necessary and sufficient - assuming, of course, that (17) holds - it represents a geometric characterization of the problem, serving as the minimal indispensable requirement to ensure that the overall linear system (7) has a trivial kernel. The following example illustrates the situation in a simple case, enabling a clear geometric visualization.

Example 1. Consider the case n=3n = 3 and m=1m = 1, defined by a single constraint matrix A=(a1a2a3)≠0A = (a_1\quad a_2\quad a_3) \ne0 (hence rank⁡(A)=1\operatorname{rank}(A) = 1) and a diagonal matrix W=diag⁡(α1,α2,α3)W = \operatorname{diag}(\alpha_1,\alpha_2,\alpha_3), so that the matrix (14) is

(0a1a2a3a1α100a20α20a300α3)\begin{pmatrix} 0 & a_1 & a_2 & a_3 \\ a_1 & \alpha_1 & 0 & 0 \\ a_2 & 0 & \alpha_2 & 0 \\ a_3 & 0 & 0 & \alpha_3 \end{pmatrix}

In this setting, ker⁡(A)\operatorname{ker}(A) is the two-dimensional plane a1x1+a2x2+a3x3=0a_1x_1 + a_2x_2 + a_3x_3 = 0, whereas Im⁡(AT)=(ker⁡(A))⊥\operatorname{Im}(A^{\mathsf T}) = (\operatorname{ker}(A))^\perp is the one-dimensional subspace spanned by (a1,a2,a3)T(a_1,a_2,a_3)^{\mathsf T}; moreover, the set of vectors WxW\mathbf{x} as x\mathbf{x} varies in R3\mathbb{R}^3 is the subspace of vectors (α1x1,α2x2,α3x3)T(\alpha_1x_1,\alpha_2x_2,\alpha_3x_3)^{\mathsf T}, whose dimension is equal to the number of non-zero αi\alpha_i. The condition x∈ker⁡(A)∩{x∣Wx∈Im⁡(AT)}\mathbf{x} \in\operatorname{ker}(A) \cap\{\mathbf{x} \mid W\mathbf{x} \in\operatorname{Im}(A^{\mathsf T})\} requires finding a vector x=(x1,x2,x3)T\mathbf{x} = (x_1,x_2,x_3)^{\mathsf T} and a scalar multiplier λ∈R\lambda\in\mathbb{R} satisfying the system:

{a1x1+a2x2+a3x3=0,α1x1=−λa1,α2x2=−λa2,α3x3=−λa3.(20)\begin{cases} a_1x_1 + a_2x_2 + a_3x_3 = 0,\\ \alpha_1x_1 = -\lambda a_1,\\ \alpha_2x_2 = -\lambda a_2,\\ \alpha_3x_3 = -\lambda a_3. \tag*{(20)} \end{cases}

We distinguish the following cases:

  • Definite matrix WW (αi>0\alpha_i > 0 or αi<0\alpha_i < 0 for all i=1,2,3i = 1,2,3): Expressing xi=−λaiαix_i = -\lambda\frac{a_i}{\alpha_i} and substituting these expressions into the first equation of (20) yields:

−λ(a12α1+a22α2+a32α3)=0.-\lambda\left(\frac{a_1^2}{\alpha_1} + \frac{a_2^2}{\alpha_2} + \frac{a_3^2}{\alpha_3}\right) = 0.

The term in parentheses is strictly positive or strictly negative, forcing λ=0\lambda= 0 and consequently x=0\mathbf{x} = 0. Thus, the intersection is trivial and the full matrix LL is invertible, as confirmed by the straightforward determinant calculation:

det⁡(L)=−a12α2α3−a22α1α3−a32α1α2=−α1α2α3(a12α1+a22α2+a32α3)(21)\det(L) = -a_1^2\alpha_2\alpha_3 - a_2^2\alpha_1\alpha_3 - a_3^2\alpha_1\alpha_2 = -\alpha_1\alpha_2\alpha_3\left(\frac{a_1^2}{\alpha_1} + \frac{a_2^2}{\alpha_2} + \frac{a_3^2}{\alpha_3}\right) \tag*{(21)}

The geometric interpretation introduced earlier leads to the same conclusion: if WW is definite, no non-zero vector x\mathbf{x} can be orthogonal to WxW\mathbf{x}, since xTWx≠0\mathbf{x}^{\mathsf T}W\mathbf{x} \ne0 for every x≠0\mathbf{x} \ne0. In particular, if x\mathbf{x} lies in the plane ker⁡(A)\operatorname{ker}(A), the mapping WW cannot align it with the vector orthogonal to the plane, i.e., map it into the orthogonal complement (ker⁡(A))⊥(\operatorname{ker}(A))^\perp.

  • Indefinite matrix WW with all αi≠0\alpha_i \ne0: A non-trivial solution x≠0\mathbf{x} \ne0 exists if and only if the coefficients satisfy

∑i=13ai2αi=0.\sum_{i=1}^{3}\frac{a_i^2}{\alpha_i} = 0.

In this scenario, choosing λ=−1\lambda= -1 yields the non-zero vector x=(a1α1,a2α2,a3α3)T\mathbf{x} = \left(\frac{a_1}{\alpha_1},\frac{a_2}{\alpha_2},\frac{a_3}{\alpha_3}\right)^{\mathsf T}, which satisfies x∈ker⁡(A)\mathbf{x} \in\operatorname{ker}(A) and Wx=(a1,a2,a3)T∈(ker⁡(A))⊥W\mathbf{x} = (a_1,a_2,a_3)^{\mathsf T} \in(\operatorname{ker}(A))^\perp, thus belonging to the intersection in (18). By the Proposition, LL cannot be invertible, which is confirmed by the vanishing of the determinant (21).

However, this singularity condition does not necessarily hold for all indefinite matrices; indeed, indefinite matrices WW can still yield an invertible matrix LL, as shown by the simple example a1=1,a2=0,a3=0,α1=α2=1,α3=−1a_1 = 1,a_2 = 0,a_3 = 0,\alpha_1 = \alpha_2 = 1,\alpha_3 = -1, for which det⁡(L)=1\det(L) = 1.

  • Singular matrix WW: In this case, at least one of the αi\alpha_i is zero. From the first expression in (21), it is clear that the determinant may be non-zero or vanish depending on the parameters involved. For instance, taking a2=a3=0a_2 = a_3 = 0 with any a1≠0a_1 \ne0, and α1=0,α2=α3=1\alpha_1 = 0,\alpha_2 = \alpha_3 = 1, the determinant is non-zero and LL is invertible. Conversely, taking a1=0a_1 = 0 with any a22+a32≠0a_2^2 + a_3^2 \ne0, and α1=0\alpha_1 = 0 with arbitrary α2,α3\alpha_2,\alpha_3, we find det⁡(L)=0\det(L) = 0.

The geometric interpretation in terms of ker⁡(A)\operatorname{ker}(A) is straightforward in each of these cases. For instance, in the last scenario with a1=0a_1 = 0 and α1=0\alpha_1 = 0, the plane defining ker⁡(A)\operatorname{ker}(A) is spanned by the vectors (1,0,0)T(1,0,0)^{\mathsf T} and (0,−a3,a2)T(0,-a_3,a_2)^{\mathsf T} (a plane containing the x1x_1-axis) and is orthogonal to (0,a2,a3)T(0,a_2,a_3)^{\mathsf T}, which spans (ker⁡(A))⊥(\operatorname{ker}(A))^\perp. On the other hand, the x1x_1-axis is the kernel of WW; thus, any vector x=(λ,0,0)T\mathbf{x} = (\lambda,0,0)^{\mathsf T} with λ∈R\lambda\in\mathbb{R} satisfies x∈ker⁡(A)\mathbf{x} \in\operatorname{ker}(A) and simultaneously Wx=0∈(ker⁡(A))⊥W\mathbf{x} = \mathbf{0} \in(\operatorname{ker}(A))^\perp. Consequently, the intersection referred to in (18) contains non-zero vectors, consistent with the singularity of the matrix LL.

A physical interpretation relating to the motion of constrained systems

In addition to the geometric reading of the two conditions presented in Proposition 1, we provide here a physical interpretation based on the role played by matrices AA and WW in the context of constrained system dynamics.

The two matrices AA and WW play distinct yet complementary roles: while matrix AA encodes the kinematic restrictions imposed on the system, matrix WW characterizes its intrinsic inertial dynamics (in case (11), defined by the Hessian of the Lagrangian function L\mathcal{L} with respect to velocities). Still in reference to case (11) concerning mechanical system motion, the vector x\mathbf{x} represents the generalized acceleration vector q¨\ddot{\mathbf{q}}. Consequently, the term WxW\mathbf{x} plays the role of the generalized inertial forces associated with acceleration, representing the pure dynamic response of the unconstrained system. While condition (17) asserts the independence of the imposed kinematic constraints, condition (18) governs how the system’s inertia interacts with the motion allowed by the constraints. Recalling (8), we see that the kernel of AA defines the space of admissible motions, representing the directions along which the system can move freely without violating the constraints. Conversely, in light of the rule (16), the set Im⁡(AT)=(ker⁡(A))⊥\operatorname{Im}(A^{T})=(\ker(A))^{\perp} represents the space of constraint reaction forces, which act orthogonally to virtual displacements in agreement with the D’Alembert-Lagrange principle for ideal constraints. The condition Wx∈Im⁡(AT)W\mathbf{x}\in\operatorname{Im}(A^{T}) implies that this vector is orthogonal to the entire space of admissible motions.

Let us examine what would happen if the intersection appearing in (18) were non-trivial. If there existed a non-zero vector x\mathbf{x} in this intersection, there would also exist a multiplier vector λ∈Rm\boldsymbol{\lambda}\in\mathbb{R}^{m} such that Wx=−ATλW\mathbf{x}=-A^{T}\boldsymbol{\lambda} and, simultaneously, Ax=0A\mathbf{x}=0. The vector x\mathbf{x} would represent a kinematically admissible motion whose inertial forces are “invisible” to the effective degrees of freedom. The inertial effect of this motion would be absorbed entirely and exclusively by the constraint reaction forces (Im⁡(AT))(\operatorname{Im}(A^{T})). Consequently, it would be possible to superimpose the vector x\mathbf{x} onto any motion solution without altering the applied external forces, leaving the system unable to “perceive” or uniquely determine this state of motion. In other words, the force WxW\mathbf{x} generated by the motion x\mathbf{x} points entirely in the direction of the constraint reactions −ATλ-A^{T}\boldsymbol{\lambda}. As a result, this force has no usable component along the degrees of freedom spanned by ker⁡(A)\ker(A); it is a force completely “absorbed” and suppressed by the constraints.

Therefore, condition (18) guarantees that no kinematically admissible motions exist that are “dynamically invisible” or completely decoupled from the equations of motion. No “ghost” motions exist, and the dynamics are uniquely determined. Otherwise, the resulting inertial force Wx=−ATλ∈Im⁡(AT)W\mathbf{x}=-A^{T}\boldsymbol{\lambda}\in\operatorname{Im}(A^{T}) would be fully absorbed by the constraint reactions, discharging the system’s inertia entirely onto the constraints and leaving the motion dynamically undetectable along the free directions.

Remark 2. In the standard case of classical Lagrangians, we know that the matrix WW defined via (11) is positive definite—a condition that, as we shall see, implies (18) and is therefore sufficient for the invertibility of LL. As already mentioned in the Introduction, however, there is no shortage of physical examples in which WW lacks this property (such as systems with massless physical components, or in the context of relativity); it is precisely in these settings that our considerations regarding the physical interpretation of the condition apply. More generally, these considerations can be extended to the structure (1), which encompasses various modeling scenarios not necessarily tied to mechanical motion. The block WW represents the energy or dynamics of the system and must be “energetically” active at least along the free directions permitted by the constraints AA.

Further remarks, examples, and comparison with literature

In Example 1 of Paragraph 2.3 we saw how the properties of matrix WW can determine whether condition (18) holds or not. We now wish to explore this aspect more systematically in order to clarify the link between the algebraic properties of WW and the invertibility of LL. At the same time, by placing condition (18) at the center of our analysis, we aim to understand how various other invertibility conditions found in the literature relate to it. The goal of this section is thus twofold:

  • to present a series of remarks, comments, and examples that help to better contextualize condition (18), which characterizes the non-singularity of matrix LL;

  • to compare this condition with those standardly reported in the literature.

An investigation into condition (18)

A necessary condition on the null spaces of AA and WW

We begin by observing that (18) implies that WW acts injectively on ker⁡(A)\ker(A). Indeed, the following result holds.

Corollary 1 Condition (18) implies

ker⁡(W)∩ker⁡(A)={0}.(22)\ker(W)\cap\ker(A)=\{0\}. \tag*{(22)}

Proof. Let x∈ker⁡(W)∩ker⁡(A)\mathbf{x}\in\ker(W)\cap\ker(A). Since x∈ker⁡(W)\mathbf{x}\in\ker(W), we have Wx=0∈Im⁡(AT)W\mathbf{x}=0\in\operatorname{Im}(A^{T}). Combining this with x∈ker⁡(A)\mathbf{x}\in\ker(A), it follows that x\mathbf{x} belongs to the set on the left-hand side of (18). By virtue of (18), we conclude that x=0\mathbf{x}=0. □\square

Since the intersection of the kernel spaces is trivial, the only vector in ker⁡(A)\ker(A) mapped to zero by WW is the zero vector itself. Consequently, the restriction of WW to ker⁡(A)\ker(A) has a trivial kernel, meaning it is an injective mapping. Furthermore, condition (18) prevents a non-zero vector x∈ker⁡(A)\mathbf{x} \in\ker(A) from being mapped by WW into a non-zero vector of Im⁡(AT)\operatorname{Im}(A^{T}).

Remark 3. Condition (22) is necessary for the invertibility of LL, but not sufficient (and thus it is not equivalent to (18)). This is precisely because it cannot prevent the "absorption" of a vector x∈ker⁡(A)\mathbf{x} \in\ker(A) into Im⁡(AT)\operatorname{Im}(A^{T}) after being transformed by WW.

A simple counterexample illustrates this point.

Example 2. For m=1m=1 and n=2n=2, let A=(1  0)A=(1\ \ 0) and W=(0100)W=\begin{pmatrix}0 & 1\\0 & 0\end{pmatrix}. The resulting matrix LL defined in (14),

L=(010101000),L=\begin{pmatrix}0 & 1 & 0\\1 & 0 & 1\\0 & 0 & 0\end{pmatrix},

is clearly singular. Nevertheless, condition (22) holds: indeed, ker⁡(W)=span⁡{(10)}\ker(W)=\operatorname{span}\left\{\begin{pmatrix}1\\0\end{pmatrix}\right\} and ker⁡(A)=span⁡{(01)}\ker(A)=\operatorname{span}\left\{\begin{pmatrix}0\\1\end{pmatrix}\right\}, so that ker⁡(W)∩ker⁡(A)={0}\ker(W)\cap\ker(A)=\{\mathbf{0}\}. On the other hand, we can verify that condition (18) does not hold (which avoids any contradiction with Proposition 2): choosing xˉ=(01)∈ker⁡(A)\bar{\mathbf{x}}=\begin{pmatrix}0\\1\end{pmatrix}\in\ker(A), we compute Wxˉ=(10)W\bar{\mathbf{x}}=\begin{pmatrix}1\\0\end{pmatrix}. Since Im⁡(AT)=span⁡{(10)}\operatorname{Im}(A^{T})=\operatorname{span}\left\{\begin{pmatrix}1\\0\end{pmatrix}\right\}, it follows that Wxˉ∈Im⁡(AT)W\bar{\mathbf{x}}\in\operatorname{Im}(A^{T}). Thus, the set on the left-hand side of (18) contains the non-zero vector xˉ\bar{\mathbf{x}}. We also note that in the non-singular case det⁡W≠0\det W\ne0, condition (22) holds trivially, since ker⁡(W)\ker(W) reduces to the zero vector {0}\{\mathbf{0}\} alone. However, there exist cases where WW is non-singular but the full matrix LL is singular (as we will illustrate shortly), confirming that condition (22) cannot be sufficient for the invertibility of LL.

Remark 4. If there exists a non-zero vector x\mathbf{x} belonging to the intersection ker⁡(W)∩ker⁡(A)\ker(W)\cap\ker(A), then condition (18) automatically fails, since (22) would be necessary for the latter to hold. On the other hand, the failure of (18) is clear, given that Wx=0∈(ker⁡(A))⊥W\mathbf{x}=\mathbf{0}\in(\ker(A))^{\perp}, thus the non-zero vector x\mathbf{x} would belong to the kernel of AA and be mapped by WW into Im⁡(AT)\operatorname{Im}(A^{T}).

The role of matrix WW

We emphasize that the criterion formulated in Proposition 2 does not require WW to be an invertible matrix: whether WW is singular or non-singular is independent of the singularity of the full matrix LL, as illustrated by the following two examples.

Example 3. For n=2n=2 and m=1m=1, choosing A=(1  0)A=(1\ \ 0) and W=(0001)W=\begin{pmatrix}0 & 0\\0 & 1\end{pmatrix}, WW is singular, yet LL is non-singular with det⁡L=−1\det L=-1. On the other hand, the two conditions (17) and (18) are satisfied (as expected, since LL is invertible), as AA has full rank, Im⁡(AT)=span⁡{(10)}\operatorname{Im}(A^{T})=\operatorname{span}\left\{\begin{pmatrix}1\\0\end{pmatrix}\right\}, and Wx=(0c)∉Im⁡(AT)W\mathbf{x}=\begin{pmatrix}0\\c\end{pmatrix}\notin\operatorname{Im}(A^{T}) for every non-zero x=(0c)∈ker⁡(A)\mathbf{x}=\begin{pmatrix}0\\c\end{pmatrix}\in\ker(A). So to speak, the singularity of WW lies outside the kernel of AA in a way that does not introduce a kernel for the full block matrix LL.

Example 4. As a second example, we fix m=2m=2 and n=3n=3 and choose A=(100001)A=\begin{pmatrix}1 & 0 & 0\\0 & 0 & 1\end{pmatrix} and W=(110111010)W=\begin{pmatrix}1 & 1 & 0\\1 & 1 & 1\\0 & 1 & 0\end{pmatrix}. Clearly, AA has full rank equal to 22 and det⁡W=−1\det W=-1, meaning WW is non-singular. However, the full matrix LL is singular, as its second and fifth rows are identical, which can be easily verified. Indeed, in this case condition (18) fails, since ker⁡(A)=span⁡{(001)}\ker(A)=\operatorname{span}\left\{\begin{pmatrix}0\\0\\1\end{pmatrix}\right\}, Im⁡(AT)={(α0β)∈R3 ∣ α,β∈R}\operatorname{Im}(A^{T})=\left\{\left.\begin{pmatrix}\alpha\\0\\\beta\end{pmatrix}\in\mathbb{R}^{3}\ \right|\ \alpha,\beta\in\mathbb{R}\right\}, and {x∈R3∣Wx∈Im⁡(AT)}={(x10x3)∈R3 ∣ x1,x3∈R}\left\{\mathbf{x}\in\mathbb{R}^{3}\mid W\mathbf{x}\in\operatorname{Im}(A^{T})\right\}=\left\{\left.\begin{pmatrix}x_{1}\\0\\x_{3}\end{pmatrix}\in\mathbb{R}^{3}\ \right|\ x_{1},x_{3}\in\mathbb{R}\right\}. Therefore, ker⁡(A)∩{x∈R3∣Wx∈Im⁡(AT)}=ker⁡(A)={(00c) ∣ c∈R}≠{0}\ker(A)\cap\left\{\mathbf{x}\in\mathbb{R}^{3}\mid W\mathbf{x}\in\operatorname{Im}(A^{T})\right\}=\ker(A)=\left\{\left.\begin{pmatrix}0\\0\\c\end{pmatrix}\ \right|\ c\in\mathbb{R}\right\}\ne\{\mathbf{0}\}.

Remark 5. The potential singularity of matrix WW explains why condition (18) cannot be formulated on the image spaces by applying WW to the spaces appearing in (18) to obtain

W(ker⁡(A))∩Im⁡(AT)={0}.(23)W(\ker(A)) \cap\operatorname{Im}(A^{T}) = \{0\}. \tag*{(23)}

If WW is non-singular, (18) and (23) are equivalent. However, if WW is singular, Wx=0W\mathbf{x} = 0 does not imply x=0\mathbf{x} = 0. The transformation WW maps the entire kernel ker⁡(W)\ker(W) to the zero vector 00, thereby hiding, so to speak, the potential presence of non-zero vectors x∈ker⁡(A)∩ker⁡(W)\mathbf{x} \in\ker(A) \cap\ker(W). Condition (23) is therefore necessary, but in general not sufficient, for the invertibility of LL.

For completeness, although not strictly necessary for the scope of our discussion, we can establish a scheme of implications and relationships among the three conditions that emerged: (18) (which, together with (17), is necessary and sufficient for the invertibility of LL), and (22) and (23) (which are only necessary):

(18)⇒(22),(18)⇒(23),(22)⇏(23),(23)⇏(22),(22)∧(23)⇔(18).\begin{aligned} (18) &\Rightarrow(22), && (18) \Rightarrow(23),\\ (22) &\not\Rightarrow(23), && (23) \not\Rightarrow(22),\\ (22) &\land(23) \Leftrightarrow(18). \end{aligned}

For the last statement, we can reason as follows: let x∈ker⁡(A)\mathbf{x} \in\ker(A) be such that Wx∈Im⁡(AT)W\mathbf{x} \in\operatorname{Im}(A^{T}). Then Wx∈W(ker⁡(A))∩Im⁡(AT)={0}W\mathbf{x} \in W(\ker(A)) \cap\operatorname{Im}(A^{T}) = \{0\} (using (23)), which means Wx=0W\mathbf{x} = 0. Consequently, x∈ker⁡(A)∩ker⁡(W)={0}\mathbf{x} \in\ker(A) \cap\ker(W) = \{0\} (using (22)), from which x=0\mathbf{x} = 0.

A comparison with the standard positivity condition on WW

We now clarify how the assumption that the matrix WW has a definite sign (positive or negative) on the entire space Rn\mathbb{R}^{n} or on a subspace thereof affects the invertibility of LL, and we compare this with previous results. We first establish the following result.

Proposition 2. If WW is sign-definite on the subspace ker⁡(A)\ker(A), that is,

xTWx>0orxTWx<0∀x∈ker⁡(A)∖{0},(24)\mathbf{x}^{T}W\mathbf{x} > 0 \quad\text{or} \quad\mathbf{x}^{T}W\mathbf{x} < 0 \quad\forall\mathbf{x} \in\ker(A) \setminus\{0\}, \tag*{(24)}

then condition (18) holds.

Proof. Recall property (16), which yields Im⁡(AT)=(ker⁡(A))⊥\operatorname{Im}(A^{T}) = (\ker(A))^{\perp}; that is, a vector y\mathbf{y} belongs to the image of ATA^{T} if and only if y\mathbf{y} is orthogonal to every vector in the kernel of AA:

y∈Im⁡(AT)⟺yTz=0∀z∈ker⁡(A).(25)\mathbf{y} \in\operatorname{Im}(A^{T}) \Longleftrightarrow\mathbf{y}^{T}\mathbf{z} = 0 \quad\forall\mathbf{z} \in\ker(A). \tag*{(25)}

Let x∈ker⁡(A)\mathbf{x} \in\ker(A) be such that Wx∈Im⁡(AT)W\mathbf{x} \in\operatorname{Im}(A^{T}). By (25), Wx∈(ker⁡(A))⊥W\mathbf{x} \in(\ker(A))^{\perp}, which implies that WxW\mathbf{x} is orthogonal to x\mathbf{x} as well:

xTWx=0.\mathbf{x}^{T}W\mathbf{x} = 0.

Since x∈ker⁡(A)\mathbf{x} \in\ker(A), assumption (24) applies and implies that x=0\mathbf{x} = 0. Therefore, condition (18) holds (the intersection contains only the zero vector). □\square

We emphasize that it is neither required for WW to be symmetric, nor for det⁡(W)≠0\det(W) \ne0, nor for WW to have a definite sign on the whole space Rn\mathbb{R}^{n}. The matrix WW may even be indefinite overall, provided that its restriction to the kernel of AA is definite (positive or negative), while its indefinite component acts on the remaining subspace.

Example 5. For n=3n = 3 and m=1m = 1, let A=(0 0 1)A = (0\ 0\ 1) and

W=(20003000−5),W = \begin{pmatrix} 2 & 0 & 0\\ 0 & 3 & 0\\ 0 & 0 & -5 \end{pmatrix},

which is indefinite on R3\mathbb{R}^{3}. However, we have

ker⁡(A)={x=(ab0) | a,b∈R},\ker(A) = \left\{\mathbf{x} = \begin{pmatrix}a\\b\\0\end{pmatrix} \,\middle|\, a,b \in\mathbb{R}\right\},

and the quadratic form restricted to the kernel satisfies

xTWx∣ker⁡(A)=2a2+3b2>0for all x≠0.\left.\mathbf{x}^{T}W\mathbf{x}\right|_{\ker(A)} = 2a^{2} + 3b^{2} > 0 \quad\text{for all } \mathbf{x} \ne0.

Condition (18) indeed holds, since

Wx∣ker⁡(A)=(2a3b0)andIm⁡(AT)=span⁡{(001)},\left.W\mathbf{x}\right|_{\ker(A)} = \begin{pmatrix}2a\\3b\\0\end{pmatrix} \quad\text{and} \quad \operatorname{Im}(A^{T}) = \operatorname{span}\left\{\begin{pmatrix}0\\0\\1\end{pmatrix}\right\},

which intersect solely at x=0\mathbf{x} = 0.

We also underline that condition (24) is sufficient but not necessary, meaning that the converse implication (18) ⟹\Longrightarrow (24) does not hold in general, as illustrated by the following example.

Example 6. Let A=(0 0 1)A=(0\ 0\ 1) and W=(1000−10000)W=\begin{pmatrix}1&0&0\\0&-1&0\\0&0&0\end{pmatrix}. The subspaces ker⁡(A)\ker(A) and Im⁡(AT)\operatorname{Im}(A^{T}) are the same as in the previous example, while

Wx∣ker⁡(A)=(a−b0)W\mathbf{x}|_{\ker(A)}=\begin{pmatrix}a\\-b\\0\end{pmatrix}

which belongs to Im⁡(AT)\operatorname{Im}(A^{T}) if and only if a=b=0a=b=0; thus, condition (18) holds. However, evaluating the quadratic form on the kernel yields xTWx∣ker⁡(A)=a2−b2\mathbf{x}^{T}W\mathbf{x}|_{\ker(A)}=a^{2}-b^{2}, which vanishes for non-zero vectors as well, such as (1 1 0)T∈ker⁡(A)(1\ 1\ 0)^{T}\in\ker(A).

The following statement, which follows from Proposition 3, provides a direct comparison between the results achieved so far and those related to the standard assumption in the literature (also adopted in [11]) of a positive definite matrix WW:

Corollary 2. If the matrix WW is definite (positive or negative) on the entire space Rn\mathbb{R}^{n}, then assumption (17) alone ensures that the block matrix LL in (14) is invertible.

Proof 1. Clearly, if yTWy≠0\mathbf{y}^{T}W\mathbf{y}\ne0 for all y∈Rn∖{0}\mathbf{y}\in\mathbb{R}^{n}\setminus\{0\}, the same property holds when restricted to the kernel ker⁡(A)\ker(A), and thus (24) holds.

The preceding Corollary serves as the bridge between the sufficient-type results standard in the literature and those arising from our analysis, which address the necessary and sufficient characterization for the invertibility of LL. The fact that a definite sign is not necessary is easily illustrated by a straightforward example.

Example 7. Consider for m=1m=1 and n=2n=2 the matrix

L=(0101α0001)L=\begin{pmatrix}0&1&0\\1&\alpha&0\\0&0&1\end{pmatrix}

where A=(1,0)A=(1,0) and W=(α001)W=\begin{pmatrix}\alpha&0\\0&1\end{pmatrix}. Since det⁡L=−1\det L=-1, the matrix is always invertible for any value of α∈R\alpha\in\mathbb{R}; however, matrix MM is positive definite only for α>0\alpha>0 (for α=0\alpha=0 it is singular, and for α<0\alpha<0 it is indefinite).

The case of symmetric WW

The symmetry property of the matrix WW - which is certainly common, starting from the equations of motion (11) where Mi,j=Mj,iM_{i,j}=M_{j,i} - allows one to refine the invertibility criterion, provided that WW is sign-semidefinite. Indeed, the following result holds.

Lemma 1. Let W∈Rn×nW\in\mathbb{R}^{n\times n} be a symmetric and sign-semidefinite matrix (i.e., W≥0W\ge0 or W≤0W\le0). If

ker⁡(W)∩ker⁡(A)={0},\ker(W)\cap\ker(A)=\{0\},

then

ker⁡(A)∩{x∈Rn∣Wx∈im⁡(AT)}={0}\ker(A)\cap\{\mathbf{x}\in\mathbb{R}^{n}\mid W\mathbf{x}\in\operatorname{im}(A^{T})\}=\{0\}

that is (22) ⇒\Rightarrow (18).

Proof. Let x∈ker⁡(A)∩{x∈Rn∣Wx∈im⁡(AT)}\mathbf{x}\in\ker(A)\cap\{\mathbf{x}\in\mathbb{R}^{n}\mid W\mathbf{x}\in\operatorname{im}(A^{T})\}. By definition, x\mathbf{x} satisfies:

  1. Ax=0A\mathbf{x}=0,

  2. Wx=ATyW\mathbf{x}=A^{T}\mathbf{y} for some vector y∈Rm\mathbf{y}\in\mathbb{R}^{m}.

Multiplying condition (ii) from the left by xT\mathbf{x}^{T} and substituting condition (i), we obtain:

xTWx=xTATy=(Ax)Ty=0Ty=0.(26)\mathbf{x}^{T}W\mathbf{x}=\mathbf{x}^{T}A^{T}\mathbf{y}=(A\mathbf{x})^{T}\mathbf{y}=0^{T}\mathbf{y}=0. \tag*{(26)}

Since WW is symmetric and sign-semidefinite (assuming W≥0W\ge0 without loss of generality; if W≤0W\le0, one considers −W≥0-W\ge0), the vanishing of the quadratic form xTWx=0\mathbf{x}^{T}W\mathbf{x}=0 implies Wx=0W\mathbf{x}=0, meaning that x∈ker⁡(W)\mathbf{x}\in\ker(W). Consequently, x∈ker⁡(W)∩ker⁡(A)\mathbf{x}\in\ker(W)\cap\ker(A). By the hypothesis ker⁡(W)∩ker⁡(A)={0}\ker(W)\cap\ker(A)=\{0\}, it follows that x=0\mathbf{x}=0, which proves (18). □

Note that condition (18) always implies (22), regardless of any structural properties of WW, as previously observed at the end of Paragraph 3.1.2. Therefore, the following statement holds:

Proposition 3 Under the assumption that WW is symmetric and sign-semidefinite, condition (18) and condition (22) are fully equivalent:

ker⁡(A)∩{x∈Rn∣Wx∈im⁡(AT)}={0}⟺ker⁡(W)∩ker⁡(A)={0}(27)\ker(A) \cap\{x \in\mathbb{R}^{n} \mid Wx \in\operatorname{im}(A^{T})\} = \{0\} \Longleftrightarrow\ker(W) \cap\ker(A) = \{0\} \tag*{(27)}

if WW is symmetric and sign-semidefinite.

Remark 6 To appreciate the necessity of the symmetry assumption on WW, consider the unique decomposition of WW into its symmetric and skew-symmetric parts:

W=WS+WA,where WS=W+WT2 and WA=W−WT2.W = W_{S} + W_{A}, \quad\text{where } W_{S} = \frac{W + W^{T}}{2} \text{ and } W_{A} = \frac{W - W^{T}}{2}.

Since xTWAx=0x^{T}W_{A}x = 0 for any vector xx, the quadratic form depends exclusively on the symmetric part, i.e., xTWx=xTWSxx^{T}Wx = x^{T}W_{S}x. In the proof of the Lemma, the condition xTWx=0x^{T}Wx = 0 yields xTWSx=0x^{T}W_{S}x = 0, which implies WSx=0W_{S}x = 0 (under the sign-semidefiniteness of WSW_{S}). However, if WW is not symmetric (so WA≠0W_{A} \ne0), this does not imply WAx=0W_{A}x = 0. Consequently, one obtains

Wx=WSx+WAx=WAx,Wx = W_{S}x + W_{A}x = W_{A}x,

which can be non-zero. If this non-zero vector WAxW_{A}x happens to belong to im⁡(AT)\operatorname{im}(A^{T}), then xx belongs to the subspace in condition (18) without belonging to ker⁡(W)\ker(W), causing the implication (22) ⟹\Longrightarrow (18) to fail.

For a symmetric matrix WW it is equally interesting to note that condition (18) implies (24) (and thus they are equivalent), provided again that WW is sign-semidefinite. Indeed, we have the following:

Lemma 2 Let W∈Rn×nW \in\mathbb{R}^{n \times n} be symmetric and sign-semidefinite. Then condition (18) implies (24).

Proof 2 Assume by contradiction that there exists y∈ker⁡(A)∖{0}y \in\ker(A) \setminus\{0\} such that yTWy=0y^{T}Wy = 0. By a standard property of symmetric sign-semidefinite matrices, yTWy=0y^{T}Wy = 0 implies Wy=0Wy = 0. Since Wy=0=AT0∈im⁡(AT)Wy = 0 = A^{T}0 \in\operatorname{im}(A^{T}), it follows that Wy∈im⁡(AT)Wy \in\operatorname{im}(A^{T}) for a non-zero vector y∈ker⁡(A)y \in\ker(A). This directly contradicts condition (18). We conclude that (24) must hold under the stated assumptions on WW.

An equivalent condition for the invertibility of LL

Assuming (17), we construct a matrix VV whose columns consist of n−mn-m basis vectors for ker⁡(A)\ker(A). We prove the following result.

Proposition 4 Let V∈Rn×(n−m)V \in\mathbb{R}^{n \times(n-m)} be a matrix whose columns form a basis for ker⁡(A)\ker(A). Condition (18) holds if and only if

det⁡(VTWV)≠0.(28)\det(V^{T}WV) \ne0. \tag*{(28)}

Proof. Recall that Im⁡(AT)=(ker⁡(A))⊥\operatorname{Im}(A^{T}) = (\ker(A))^{\perp}. Any vector x∈ker⁡(A)x \in\ker(A) can be uniquely written as x=Vcx = Vc for some c∈Rn−mc \in\mathbb{R}^{n-m}, where x≠0x \ne0 if and only if c≠0c \ne0. Condition (18) fails to hold if and only if there exists x∈ker⁡(A)∖{0}x \in\ker(A) \setminus\{0\} such that Wx∈Im⁡(AT)Wx \in\operatorname{Im}(A^{T}), which is equivalent to Wx⊥ker⁡(A)Wx \perp\ker(A). Expressed in terms of the basis matrix VV, this orthogonality condition translates to VT(Wx)=0V^{T}(Wx) = 0. Substituting x=Vcx = Vc, condition (18) fails if and only if there exists a non-zero vector c∈Rn−mc \in\mathbb{R}^{n-m} such that VTWVc=0V^{T}WV c = 0. The existence of such a vector cc is equivalent to det⁡(VTWV)=0\det(V^{T}WV) = 0, which completes the proof. □

In practical terms, the matrix VTWV∈R(n−m)×(n−m)V^{T}WV \in\mathbb{R}^{(n-m)\times(n-m)} represents the restriction of the bilinear form associated with WW to ker⁡(A)\ker(A) with respect to the basis VV. Consequently, condition (28) states that this restriction is non-degenerate. This directly connects to condition (24): while condition ((24)) is a stronger requirement (implying that the quadratic form has no non-zero isotropic vectors in ker⁡(A)\ker(A)), it guarantees condition (28) as a sufficient, albeit not necessary, condition.

It is further worth noting that the validity of this condition is independent of the choice of the basis matrix VV and that, as in the previous criteria, the invertibility of WW is not required. A trivial example of a singular matrix WW satisfying det⁡(VTWV)≠0\det(V^{T}WV) \ne0 can be constructed for m=1m = 1 and n=2n = 2 with A=(1 0)A = (1\ 0) and W=(0001)W = \begin{pmatrix}0 & 0 \\ 0 & 1\end{pmatrix}, which is evidently singular: we find V=(01)V = \begin{pmatrix}0 \\ 1\end{pmatrix}, yielding det⁡(VTWV)=1\det(V^{T}WV) = 1.

Schur complement and Haynsworth rank formula

Let MM be a block matrix of size (p+n)×(q+n)(p+n) \times(q+n), partitioned as

M=(M11M12M21M22),(29)M=\begin{pmatrix} M_{11} & M_{12} \\ M_{21} & M_{22} \end{pmatrix}, \tag*{(29)}

where M11∈Rp×qM_{11} \in\mathbb{R}^{p \times q}, M12∈Rp×nM_{12} \in\mathbb{R}^{p \times n}, M21∈Rn×qM_{21} \in\mathbb{R}^{n \times q}, and M22∈Rn×nM_{22} \in\mathbb{R}^{n \times n} is a non-singular matrix. The Schur complement of M22M_{22} in MM, denoted by (M/M22)(M/M_{22}), is a matrix of size p×qp \times q defined as (see [20] for a detailed presentation)

(M/M22)=M11−M12M22−1M21.(30)(M/M_{22})=M_{11}-M_{12}M_{22}^{-1}M_{21}. \tag*{(30)}

By virtue of the block LDU (Lower-Diagonal-Upper, see for instance [3, 8]) factorization of MM, the following relations hold:

  • Haynsworth Rank Formula:

rank⁡(M)=rank⁡(M22)+rank⁡(M11−M12M22−1M21).(31)\operatorname{rank}(M)=\operatorname{rank}(M_{22})+\operatorname{rank}\left(M_{11}-M_{12}M_{22}^{-1}M_{21}\right). \tag*{(31)}
  • Schur’s Determinant Formula (for the case p=qp=q, where MM and M11M_{11} are square matrices of size (p+n)×(p+n)(p+n)\times(p+n) and p×pp\times p, respectively):

det⁡(M)=det⁡(M22)⋅det⁡(M11−M12M22−1M21).(32)\det(M)=\det(M_{22})\cdot\det\left(M_{11}-M_{12}M_{22}^{-1}M_{21}\right). \tag*{(32)}

Consequently, assuming p=qp=q and M22M_{22} non-singular, MM is non-singular if and only if its Schur complement (30) is non-singular. For further details and a comprehensive overview of the Schur determinant formula and the Haynsworth rank formula we refer the reader to [7, 20].

Let us apply the result to the matrix LL defined in (14). Assuming that the block WW is non-singular, we can apply Schur’s complement theory to the matrix LL defined in (14) by setting p=q=mp=q=m and (with respect to (29)) M11=OM_{11}=O, M12=AM_{12}=A, M21=ATM_{21}=A^{T}, and M22=WM_{22}=W. The Schur complement of WW in LL is given by

(L/W)=−AW−1AT.(33)(L/W)=-AW^{-1}A^{T}. \tag*{(33)}

Consequently, by virtue of Haynsworth rank formula and Schur’s determinant formula, we obtain from (31) and (3.1.6):

rank⁡(L)=rank⁡(W)+rank⁡(AW−1AT),det⁡(L)=(−1)mdet⁡(W)⋅det⁡(AW−1AT).\operatorname{rank}(L)=\operatorname{rank}(W)+\operatorname{rank}\left(AW^{-1}A^{T}\right),\qquad\det(L)=(-1)^{m}\det(W)\cdot\det\left(AW^{-1}A^{T}\right).

Therefore, provided that WW is non-singular, the full matrix LL is non-singular if and only if the matrix AW−1AT∈Rm×mAW^{-1}A^{T}\in\mathbb{R}^{m\times m} is non-singular. The non-singularity of AW−1ATAW^{-1}A^{T} must therefore be, in cases where WW is invertible, equivalent to the conditions established in Proposition 2; indeed, the following lemma holds:

Lemma 3 Let L∈R(m+n)×(m+n)L\in\mathbb{R}^{(m+n)\times(m+n)} be the matrix defined in (14), with WW non-singular. Then, the Schur complement (33) is non-singular if and only if the two conditions (17) and (18) are simultaneously satisfied.

Proof. Assume that −AW−1AT-AW^{-1}A^{T} is non-singular. By the properties of rank for matrix products, we have m=rank⁡(AW−1AT)≤rank⁡(A)≤mm=\operatorname{rank}(AW^{-1}A^{T})\leq\operatorname{rank}(A)\leq m, which implies rank⁡(A)=m\operatorname{rank}(A)=m. Furthermore, let x∈ker⁡(A)∩{x∈Rn∣Wx∈Im⁡(AT)}x\in\ker(A)\cap\{x\in\mathbb{R}^{n}\mid Wx\in\operatorname{Im}(A^{T})\}. Since Wx∈Im⁡(AT)Wx\in\operatorname{Im}(A^{T}), there exists a vector y∈Rmy\in\mathbb{R}^{m} such that Wx=ATyWx=A^{T}y, which implies x=W−1ATyx=W^{-1}A^{T}y. Applying AA to both sides yields Ax=AW−1ATyAx=AW^{-1}A^{T}y. Because x∈ker⁡(A)x\in\ker(A), we have Ax=0Ax=0, so AW−1ATy=0AW^{-1}A^{T}y=0. Since AW−1ATAW^{-1}A^{T} is non-singular, it follows that y=0y=0. Subsequently y=0y=0 back into the expression for xx, we obtain x=W−1AT0=0x=W^{-1}A^{T}0=0. Thus, the intersection contains only the zero vector and (18) holds.

Conversely, assume that conditions (17) and (18) hold. We must show that ker⁡(AW−1AT)={0}\ker(AW^{-1}A^{T})=\{0\}. Let y∈Rmy\in\mathbb{R}^{m} be such that AW−1ATy=0AW^{-1}A^{T}y=0 and define x=W−1ATy∈Rnx=W^{-1}A^{T}y\in\mathbb{R}^{n}. Applying AA to xx, we have Ax=AW−1ATy=0Ax=AW^{-1}A^{T}y=0, which implies x∈ker⁡(A)x\in\ker(A). Applying WW to xx, we get Wx=W(W−1ATy)=ATyWx=W(W^{-1}A^{T}y)=A^{T}y, which implies Wx∈Im⁡(AT)Wx\in\operatorname{Im}(A^{T}). Therefore, x∈ker⁡(A)∩{x∈Rn∣Wx∈Im⁡(AT)}x\in\ker(A)\cap\{x\in\mathbb{R}^{n}\mid Wx\in\operatorname{Im}(A^{T})\}. By Condition (18), we must have x=0x=0, which means W−1ATy=0W^{-1}A^{T}y=0, and hence ATy=0A^{T}y=0. Since rank⁡(A)=m\operatorname{rank}(A)=m, the matrix AT∈Rn×mA^{T}\in\mathbb{R}^{n\times m} has full column rank mm, so its kernel is trivial. Thus, ATy=0A^{T}y=0 implies y=0y=0. We conclude that ker⁡(AW−1AT)={0}\ker(AW^{-1}A^{T})=\{0\}, which is equivalent to the non-singularity of AW−1ATAW^{-1}A^{T}. □

Remark 7 It is worth emphasizing that the characterization provided by conditions (17) and (18) is considerably more general. While the Schur complement approach yields information exclusively when the block WW is non-singular, the two-condition criterion remains applicable even when WW is singular or even non-square, provided the dimensions match. Thus, it serves as a unified framework for characterizing the non-singularity of LL regardless of the invertibility of WW. Relying solely on the Schur complement to characterize the general invertibility of LL would fail to provide a complete picture, as it overlooks the cases where LL is invertible due to the action of AA, despite WW being singular or rank-deficient.

Relation to classical results

WW positive definite

In classical systems with real, distributed or lumped positive masses, WW is positive definite over the entire space Rn\mathbb{R}^n (xTWx>0x^{T}Wx > 0, ∀x≠0\forall x \ne0). In this scenario, xTWx>0x^{T}Wx > 0 holds a fortiori on ker⁡(A)\operatorname{ker}(A), and the intersection condition is automatically satisfied for any constraint matrix AA.

Requiring AA to have full rank and WW to be positive definite is the most robust and straightforward approach to guarantee the invertibility of LL. This is the assumption adopted, for instance, in [11], where the objective is to ensure that constraint forces can be uniquely determined (via Lagrange multipliers) strictly as functions of positions qq, velocities q˙\dot{q}, and time.

The condition that WW is positive definite involves exclusively the structural and dynamical properties of the system, independently of the imposed system of constraint forces. That is, there is no interplay between the inertial and constraint components of the system that could relax the positive-definiteness assumption while still preserving the invertibility of the system.

On the other hand, for classical mechanical systems with Lagrangian L=T−V\mathcal{L}=T-V, the positive definiteness of the Hessian matrix (11) is automatic provided that the masses are positive and the generalized coordinates are independent, given that T=12q˙TWq˙T=\frac{1}{2}\dot{q}^{T}W\dot{q}. More generally, in the literature - such as in the context of [1, 5], or LBB (Ladyzhenskaya-Babuška-Brezzi) conditions - one often assumes the sufficient condition that WW is strictly positive definite on the space of admissible motions, i. e. xTWx>0x^{T}Wx > 0, ∀x∈ker⁡(A)∖{0}\forall x \in\operatorname{ker}(A)\setminus\{0\} (corresponding to the coercivity condition on the kernel), which falls under the condition previously examined in (24). In the context of the LBB theory for saddle-point problems, the standard stability requirements demand WW to be strictly coercive (positive definite) on ker⁡(A)\operatorname{ker}(A). Condition (24) (xTWx≠0x^{T}Wx \ne0 for all non-zero x∈ker⁡(A)x \in\operatorname{ker}(A)) relaxes this assumption by allowing WW to be definite (either positive or negative) on the kernel.

It is important to emphasize that the algebraic condition derived here, ker⁡(A)∩{x∣Wx∈(ker⁡(A))⊥}={0}\operatorname{ker}(A)\cap\{x\mid Wx\in(\operatorname{ker}(A))^{\perp}\}=\{0\}, is more general and less restrictive: it does not require kinetic energy to be strictly positive along every direction of ker⁡(A)\operatorname{ker}(A) (let alone on the entire space Rn\mathbb{R}^n), but merely dictates that there exist no non-zero admissible motions whose generated inertial forces fall entirely orthogonal to the space of virtual motions.

WW positive semidefinite

Singular mass matrices WW (possessing zero eigenvalues) typically arise in the presence of massless physical components, or when nonholonomic constraints are accommodated by introducing auxiliary variables devoid of inertia. In such situations, the matrix WW is typically positive semidefinite. A criterion of type (24), namely xTWx>0x^{T}Wx > 0, ∀x∈ker⁡(A)∖{0}\forall x\in\operatorname{ker}(A)\setminus\{0\}, no longer holds, as shown by the simple counterexample (n=2n=2, m=1m=1) with A=(1  0)A=(1\ \ 0) and W=(1000)W=\begin{pmatrix}1&0\\0&0\end{pmatrix}.

In [18] the authors consider a dynamical system with a symmetric, positive semidefinite matrix WW and a constraint matrix AA not necessarily of full rank. Here, we focus on the case where the latter has full rank mm, as the main interest of the comparison lies in the properties of WW. Their main result (recast in our notation) states that the matrix LL is invertible if and only if

rank⁡(WA)=n,(34)\operatorname{rank}\begin{pmatrix}W\\A\end{pmatrix}=n, \tag*{(34)}

that is, the (n+m)×n(n+m)\times n matrix obtained by stacking WW above the constraint matrix AA must have full column rank.

The equivalence between the conditions

rank⁡(WA)=n⟺ker⁡(W)∩ker⁡(A)={0}\operatorname{rank}\begin{pmatrix}W\\A\end{pmatrix}=n \Longleftrightarrow\operatorname{ker}(W)\cap\operatorname{ker}(A)=\{0\}

is immediate to verify, and in the latter we recognize condition (22) examined previously. The necessary and sufficient criterion (34) should thus be compared with the results established in § 3.4 (WW symmetric). Specifically:

  • The condition ker⁡(W)∩ker⁡(A)={0}\operatorname{ker}(W)\cap\operatorname{ker}(A)=\{0\} is universally necessary for the invertibility of LL, regardless of any structural properties of WW and AA: indeed, any non-zero vector x∈ker⁡(W)∩ker⁡(A)x\in\operatorname{ker}(W)\cap\operatorname{ker}(A) yields an element (x,0)T∈ker⁡L(x,0)^{T}\in\operatorname{ker}L.

  • The condition ker⁡(W)∩ker⁡(A)={0}\operatorname{ker}(W)\cap\operatorname{ker}(A)=\{0\} is sufficient for the invertibility of LL if WW is symmetric and sign-semidefinite, in line with our analysis summarized in equation (27).

As established in [18], assuming WW to be symmetric and positive semidefinite is what renders ker⁡(W)∩ker⁡(A)={0}\operatorname{ker}(W)\cap\operatorname{ker}(A)=\{0\} a sufficient condition as well (thereby yielding a necessary and sufficient criterion). If WW lacks either symmetry or sign-semidefiniteness, the condition remains necessary but ceases to be sufficient.

We also note that condition (18) (along with AA having full rank) provides an unconditional invertibility criterion for arbitrary matrices, requiring no structural properties such as symmetry or definiteness.

The condition det⁡(VTWV)≠0\det(V^{T}WV) \ne0

The non-singularity of the reduced matrix VTWV∈R(n−m)×(n−m)V^{T}WV \in\mathbb{R}^{(n-m)\times(n-m)} plays a fundamental role in constrained optimization, numerical linear algebra, and the theory of saddle point systems of the KKT form (1). In the literature of optimization and linear algebra, VTWVV^{T}WV is commonly known as the Reduced Hessian or Projected Hessian ([6, 12, 17, 19]).

In modern applications, the condition det⁡(VTWV)≠0\det(V^{T}WV) \ne0 is crucial across several domains, such as saddle point systems for incompressible flows, the numerical analysis of PDEs in Navier-Stokes equations, and Sequential Quadratic Programming (SQP).

Proposition 3 establishes that condition (28), which is necessary and sufficient for the invertibility of LL, is equivalent to (18). The matrix VTWVV^{T}WV represents the projection of the operator WW onto ker⁡(A)\operatorname{ker}(A), expressed in the reduced coordinates provided by the basis matrix VV.

In most of the classical literature on numerical linear algebra and optimization (such as [8, 15]) the invertibility condition does not typically appear expressed in the exact set-theoretic notation (18). Instead, traditional texts favor the equivalent matrix formulation (28) which, however, carries the disadvantage of not being coordinate-free, as it requires computing the basis matrix VV - an auxiliary object not directly present among the blocks of the given system in (14).

From a conceptual standpoint, condition (18) provides an intrinsic, coordinate-free characterization of invertibility directly defined on the underlying subspaces. In contrast, the condition det⁡(VTWV)≠0\det(V^{T}WV) \ne0 offers a computational counterpart that requires constructing an explicit basis matrix VV for ker⁡(A)\operatorname{ker}(A) to evaluate the reduced operator in coordinates.

Conclusion

In this paper, we presented the exact necessary and sufficient algebraic conditions for the invertibility of the saddle-point matrix of type (1), which we specifically contextualized for constrained systems subject to equations (2) and governed by D’Alembert-Lagrange dynamics of the form (7). The invertibility of the corresponding coefficient matrix (14) guarantees the possibility of expressing the accelerations q¨\ddot{\mathbf{q}} and the Lagrange multipliers λ\lambda in normal form - that is, explicitly as functions of the Lagrangian state variables q\mathbf{q}, q˙\dot{\mathbf{q}}, and time tt. Although in the context of mechanical system dynamics the matrix WW - which corresponds to the Hessian of the Lagrangian function, see (11) - is positive definite in classic applications (in which case the matrix LL is guaranteed to be invertible provided the constraints are independent), we found it of particular interest to investigate the broader question of establishing necessary and sufficient conditions for the invertibility of LL in the general case.

By establishing that LL is non-singular if and only if rank⁡(A)=m\operatorname{rank}(A)=m and ker⁡(A)∩{x∈Rn∣Wx∈im⁡(AT)}={0}\operatorname{ker}(A) \cap\{\mathbf{x} \in\mathbb{R}^{n} \mid W\mathbf{x} \in\operatorname{im}(A^{T})\} = \{0\}, we provided a necessary and sufficient algebraic condition endowed with a clear geometric meaning, which can be simply summarized as follows: the mapping WW must not transform any non-zero vector x∈ker⁡(A)\mathbf{x} \in\operatorname{ker}(A) into a vector orthogonal to the entire kernel of AA.

The two necessary and sufficient conditions for the invertibility of LL find a physical interpretation based on the duality between constraint kinematics and system inertia. In the specific context of constrained system dynamics, the intersection condition plays the role of a dynamic non-singularity requirement. Physically, it prevents unconstrained massless motions by ensuring that any zero-mass direction (Wx=0W\mathbf{x}=0) is fully suppressed by constraints and does not lie in ker⁡(A)\operatorname{ker}(A), which would otherwise leave accelerations along such directions indeterminate. Furthermore, it guarantees effective inertia along virtual displacements: any non-zero virtual acceleration x∈ker⁡(A)\mathbf{x} \in\operatorname{ker}(A) generates inertial forces WxW\mathbf{x} that cannot be entirely balanced by constraint reactions im⁡(AT)\operatorname{im}(A^{T}), thereby ensuring a uniquely determined dynamic response. The action of WW on x\mathbf{x} must be “energetically active” along the directions left unconstrained by AA.

The new formal interpretation of the invertibility conditions (17) and (18) provides an opportunity to compare them with analogous conditions from classical results: we can summarize the analysis carried out in Section 3.1 through the following scheme, where "nec." or "suff." denote a necessary or sufficient condition for the invertibility of LL (assuming that the necessary condition (17) rank⁡(A)=m\operatorname{rank}(A)=m always holds):

(1)W positive definite (suff.)⟹xTWx≠0 ∀x∈A∖{0} (suff.)⟹ker⁡(A)∩{x∣Wx∈im⁡(AT)}={0} (nec. & suff.)(35)\begin{aligned} &\text{(1)}\quad W\ \text{positive definite }(suff.) \Longrightarrow\mathbf{x}^{T}W\mathbf{x}\ne0\ \forall\mathbf{x}\in A\setminus\{0\}\ (suff.)\\ &\hspace{3.4em}\Longrightarrow\operatorname{ker}(A)\cap\{\mathbf{x}\mid W\mathbf{x}\in\operatorname{im}(A^{T})\}=\{0\}\ (nec.\ \&\ suff.) \tag*{(35)} \end{aligned}
det⁡(VTWV)≠0⟺ker⁡(A)∩{x∣Wx∈im⁡(AT)}={0} (both nec. & suff.)(36)\det(V^{T}WV)\ne0 \Longleftrightarrow\operatorname{ker}(A)\cap\{\mathbf{x}\mid W\mathbf{x}\in\operatorname{im}(A^{T})\}=\{0\}\ (both\ nec.\ \&\ suff.) \tag*{(36)}
W symmetric and positive semidefinite:ker⁡(A)∩ker⁡(W)={0}⟺ker⁡(A)∩{x∣Wx∈im⁡(AT)}={0} (both nec. & suff.)(37)\begin{aligned} &W\ \text{symmetric and positive semidefinite}: \operatorname{ker}(A)\cap\operatorname{ker}(W)=\{0\}\\ &\Longleftrightarrow\operatorname{ker}(A)\cap\{\mathbf{x}\mid W\mathbf{x}\in\operatorname{im}(A^{T})\}=\{0\}\ (both\ nec.\ \&\ suff.) \tag*{(37)} \end{aligned}

The preceding statements are stated, proved, and developed in Section 3.1. In addition to our condition (18), the conditions appearing therein refer to classical results, such as globally positive-definite mass matrices, kernel ellipticity requirements, and symmetric WW. In § 3.7, we briefly introduced the methods to contextualize them within the conditions discussed and to establish a comparison with our conditions stated in Proposition 1 (main result). We highlight what we consider to be the primary advantages of formulation (18) as an invertibility condition. Referring to the classification above, item (1) illustrates that the proposed condition ker⁡(A)∩{x∣Wx∈im⁡(AT)}={0}\ker(A) \cap\{x \mid Wx \in\operatorname{im}(A^{T})\} = \{0\} fully characterizes invertibility, unlike standard assumptions of sign definiteness or kernel ellipticity, which serve only as sufficient conditions. The domain of applicability is thus maximally extended, yielding the minimal necessary geometric requirement to prevent a non-trivial kernel in the overall system. Furthermore, there exist dynamical systems where the matrix WW is not positive definite - such as non-standard Lagrangians or models originating outside classical mechanics - and our criterion addresses these settings directly. Regarding point (2), our condition does not require computing a basis VV for ker⁡(A)\ker(A) (and is therefore coordinate-free). Finally, while criterion (3) is both necessary and sufficient, it applies only to a restricted class of matrices WW, whereas our criterion holds universally without requiring WW to be symmetric or positive semidefinite. Furthermore, by avoiding the computation of Moore–Penrose pseudoinverses, the proposed approach yields a direct, coordinate-free formulation that avoids potential numerical instabilities associated with rank-revealing matrix factorizations.

Several promising avenues for future investigation naturally emerge from this work. The first crucial step involves generalizing the criterion to rank-deficient constraint matrices (rank⁡(A)<m)(\operatorname{rank}(A) < m), extending this exact necessary and sufficient framework to systems featuring kinematically redundant or singular constraints, where AA fails to have full row rank. While classical approaches - most notably Udwadia’s fundamental equation of motion - handle rank deficiency via projection operators and generalized inverses (A+)(A^{+}), we aim to formulate an intrinsic algebraic characterization of solvability and consistency that avoids pseudoinverses even when constraints are linearly dependent. Furthermore, another compelling extension consists in relaxing the assumption of ideal/smooth constraints - thus departing from the strict validity of (8) - by replacing the zero right-hand side with a general function of qq, q˙\dot{q}, and tt. The linear-algebraic framework adopted here promises to remain effective when incorporating these extensions.

References

  1. [1]I. Babuška, The finite element method with Lagrangian multipliers, Numer. Math., 20, pp. 179–192, 1973.DOI
  2. [2]M. Benzi, G. H. Golub, and J. Liesen, Numerical solution of saddle point problems, Acta Numerica, 14, pp. 1–137, 2005.DOI
  3. [3]D. S. Bernstein, Matrix Mathematics: Theory, Facts, and Formulas, 2nd ed., Princeton University Press, Princeton, NJ, 2009.
  4. [4]S. Boyd and L. Vandenberghe, Convex Optimization, Cambridge University Press, Cambridge, UK, 2004.
  5. [5]F. Brezzi, On the existence, uniqueness and approximation of saddle-point problems arising from Lagrange multipliers, RAIRO. Analyse numérique, 8, no. R2, pp. 129–151, 1974.DOI
  6. [7]R. W. Cottle, Manifestations of the Schur complement, Linear Algebra Appl., 8, pp. 189–211, 1974.DOI
  7. [8]G. H. Golub and C. F. Van Loan, Matrix Computations, 4th ed., Johns Hopkins University Press, Baltimore, MD, 2013.
  8. [9]W. Karush, Minima of Functions of Several Variables with Inequalities as Side Conditions, Master’s thesis, Department of Mathematics, University of Chicago, Chicago, IL, 1939.
  9. [10]H. W. Kuhn and A. W. Tucker, Nonlinear Programming, in Proceedings of the Second Berkeley Symposium on Mathematical Statistics and Probability, University of California Press, Berkeley, CA, 1951, pp. 481–492.
  10. [11]N. A. Lemos, Complete inequivalence of nonholonomic and vakonomic mechanics, Acta Mech., 233, pp. 47–56, 2022.
  11. [13]A. I. Lurie, Analytical Mechanics, Springer-Verlag, Berlin, 2002.
  12. [14]Ju. I. Neĭmark and N. A. Fufaev, Dynamics of Nonholonomic Systems, Translations of Mathematical Monographs, vol. 33, American Mathematical Society, Providence, RI, 1972.
  13. [15]J. Nocedal and S. J. Wright, Numerical Optimization, 2nd ed., Springer Series in Operations Research and Financial Engineering, Springer, New York, NY, 2006.
  14. [16]J. G. Papastavridis, Analytical Mechanics: A Comprehensive Treatise on the Dynamics of Constrained Systems, Oxford University Press, New York, NY, 2002.
  15. [18]F. E. Udwadia and P. Phohomsiri, Explicit equations of motion for constrained mechanical systems with singular mass matrices and/or linearly dependent constraints, Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, 462, no. 2071, pp. 2097–2117, 2006.
  16. [20]F. Zhang, ed., The Schur Complement and Its Applications, Numerical Methods and Algorithms, Springer, New York, NY, 2005.DOI

Paper details

vlnc:W_kr5garg5
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 1

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents