Numerical Approximation of the Distance to Singularity for Matrix-valued Functions
Miryam Gnazzo, Nicola Guglielmi
Abstract
We consider matrix-valued functions in the form
\[ \mathcal {F}(\lambda )=\sum _{i=1}^d f_i(\lambda ) A_i, \]
where \(A_i \in \mathbb {C}^{n\times n}\) and \(f_i: \mathbb {C} \mapsto \mathbb {C}\) entire functions for \(i=1,\ldots ,d\). Given a regular matrix-valued function, that is a function whose determinant \(\det \left ( \mathcal {F}(\lambda ) \right )\) is not identically zero, we discuss the problem of computing the singular matrix-valued function closest to it in the Frobenius norm. This problem is known in literature as the computation of the distance to singularity for \(\mathcal {F}(\lambda )\). More precisely, we are interested in approximating the nearest matrix-valued function \(\mathcal {F}(\lambda ) + \Delta \mathcal {F}(\lambda )\) such that
\(\seteqnumber{0}{}{0}\)\begin{equation} \label {det} \det \left ( \mathcal {F}(\lambda ) + \Delta \mathcal {F}(\lambda ) \right ) \equiv 0, \end{equation}
where \(\Delta \mathcal {F}(\lambda )= \sum _{i=1}^{d} f_i(\lambda ) \Delta A_i\), with \(\Delta A_i \in \mathbb {C}^{n \times n}\), for \(i=1,\ldots ,d\). The problem of the numerical approximation of the distance to singularity for \(\mathcal {F}(\lambda )\) is well-known to be challenging, even for linear cases, where it reduces to the computation of the distance to singularity for matrix pencils [2]. Recently, the problem has gained increasing attention and numerical approaches have been developed both for matrix pencils, as in [4], and in the case of polynomial nonlinearities, as in [3]. Nevertheless, none of the currently available techniques has been applied to the approximation of the distance to singularity for general nonlinearities.
The solution of this problem for general nonlinearities becomes important in the context of differential algebraic equations and delay differential algebraic equations. Indeed, in this framework, the characteristic equation associated with the differential equation has the form
\[ \det \left ( A_1 -\lambda A_2 + e^{-\tau _1 \lambda }A_3 + \ldots + e^{-\tau _k \lambda }A_{k+2} \right )=0, \]
and the eigenstructure of the matrix-valued function is a crucial tool in the solvability of the delay differential algebraic equation with discrete constant delays \(\tau _j\), for \(j=1,\ldots ,k\).
As an illustrative example, indeed, we underline that in many practical cases the function \(\mathcal {D}(\lambda )= A_1 - \lambda A_2 + e^{-\tau \lambda } A_3\), in presence of a small delay \(\tau \), may be numerically singular, even in situations where the pencil \(A_1-\lambda A_2\) is regular, leading to a severe ill-posedness of the problem. In this setting, an a-priori computation of the distance to singularity associated with \(\mathcal {D}(\lambda )\) would act like a measure for the lack of robustness of the differential equation.
A major difficulty is due to the presence of nonlinearities in the matrix-valued function, which represents a delicate point of the problem, since a general matrix-valued function may have an infinite number of eigenvalues. Observe that this feature of the problem does not arise when dealing with matrix pencils and matrix polynomials, and, to our knowledge, this characteristic may prevent the extension of the currently available methods to nonlinearities different from the polynomial one.
In this talk, we propose a method for the numerical approximation of the distance to singularity for nonlinear matrix-valued functions [5]. We show that the problem can be rephrased as a nearness problem and the property of singularity of the matrix-valued function is translated into a discrete numerical constraint for a suitable minimization problem. Nevertheless, this resulting problem turns out to be highly non-convex. In order to solve it, we propose an iterative procedure made by two nested optimization subproblems, of whose the inner one introduces a constraint gradient system of matrix differential equations and the outer one consists in the optimization of the norm \(\|\begin {bmatrix} \Delta A_1 & \ldots & \Delta A_d \end {bmatrix} \|_F\) via a Newton-like method.
We dedicate special attention to the numerical treatment of the continuous constraint (1), since a careful translation of this condition into its discrete version is an essential step for the applicability of our numerical approach. To this purpose, we employ results from approximation theory for analytic functions [1].
In many practical applications, such as in the ones arising from engeneering and mechanical modeling, matrix-valued functions \(\mathcal {F}(\lambda )\) are often endowed with additional structures. Indeed, the coefficients \(A_i\) frequently encode data coming from the underlying application: for instance, they may represent the stiffness or damping matrix in a PDE setting. In this framework, it is important to employ an approach with the desired feature of addressing different structures, in which case the search of the closest singular function is restricted to the class of functions preserving the structure of the matrices.
Nevertheless, the possibility of including additional structural constraints into a nearness problem is not an easy task and it leads to a more challenging version of the problem. Indeed, techniques that are able to compute the unstructured distance to singularity often can not be directly extended to their structured counterparts.
One of the advantages of the nested approach we propose consists in the fact that it can be naturally extended to its structured version, with minors changes, and, therefore, it is able to tackle nearness problems with the additional constraint of structured perturbations. In the talk, we practically demonstrate this feature of our technique, by providing a number of case studies. For example, the method allows us to limit the perturbations to just a few matrices and also to include individual structures, such as the preservation of the sparsity pattern of one or more matrices \(A_i\), and collective-like properties, like a palindromic structure of the function \(\mathcal {F}(\lambda )\).
References
-
[1] A.P. Austin, P. Kravanja and L.N. Trefethen. Numerical Algorithms Based on Analytic Function Values at Roots of Unity. SIAM Journal on Numerical Analysis. 52, 1795–1821, 2014.
-
[2] R. Byers, C. He and V. Mehrmann. Where is the nearest non-regular pencil? Linear Algebra Appl. 285, 81–105, 1998.
-
[3] B. Das and S. Bora. Nearest rank deficient matrix polynomials. Linear Algebra Appl. 674, 304–350, 2023.
-
[4] F. Dopico, V. Noferini and L. Nyman. A Riemannian Optimization Method to Compute the Nearest Singular Pencil. SIAM J. on Matrix Anal. Appl. 45, 2007-2038, 2024.
-
[5] M. Gnazzo and N. Guglielmi. On the numerical approximation of the distance to singularity for matrix-valued functions. Preprint, 2023.