Simultaneous Diagonalization of Matrices and Its Applications in Quadratically Constrained Quadratic Programming

Rujun Jiang, Duan Li

Abstract

This paper provides a complete solution to a long-standing open problem in matrix theory: establishing the necessary and sufficient conditions for a set of real symmetric matrices to be simultaneously diagonalizable (SD) via congruence. While conditions for non-singular matrices have been known for decades, the general case involving singular matrices remained unresolved since 2007. By resolving this theoretical gap, the authors demonstrate how complex, non-convex Quadratically Constrained Quadratic Programs (QCQPs) can be transformed into simpler, computationally efficient Second-Order Cone Programs (SOCPs), revealing the "hidden convexity" within previously intractable problems.

Introduction

In mathematical optimization, Quadratically Constrained Quadratic Programming (QCQP) is a fundamental yet notoriously difficult class of problems, often classified as NP-hard. However, certain QCQPs possess a structural property known as Simultaneous Diagonalization (SD) that allows them to be solved with surprising efficiency. When the matrices defining the objective function and constraints can be diagonalized by the same transformation, the problem's non-convexity often becomes manageable.

Despite its importance, the criteria for SD remained incomplete. While conditions existed for pairs of matrices where at least one was non-singular, the general case—specifically when all matrices in a set are singular—was posed as an open problem by Jean-Baptiste Hiriart-Urruty in 2007. This research closes that gap, providing a rigorous framework for both pairs and finite collections of symmetric matrices.

Methodology

The authors adopt a constructive, algorithmic approach to the SD problem, moving beyond theoretical existence proofs to practical verification methods.

The Two-Matrix Case

The study extends Uhlig’s classical theory to accommodate any two real symmetric matrices, regardless of singularity. By analyzing the Jordan normal form of a matrix pencil (a linear combination of the two matrices), the authors derive a necessary and sufficient condition for SD. This involves partitioning the matrices into non-singular blocks and zero blocks, showing that the SD property is preserved through specific sub-pencil structures.

Finite Collections and Recursive Algorithms

For sets of $m$ matrices, the authors operate under the "semi-definite matrix pencil" assumption—the requirement that some linear combination of the matrices is positive semi-definite. They introduce a recursive algorithm to check for SD across the collection. The paper details two specific procedures:

  1. Algorithm 1: Determines if a pair of matrices is SD and provides the diagonalizing matrix $P$.
  2. Algorithm 2: Extends this logic to finite collections, providing either the transformation matrix or a formal proof that SD is impossible.

Optimization Reformulation

Once the diagonalizing matrix $P$ is identified, the authors demonstrate how to use it to reformulate a non-convex QCQP. By applying the transformation, the quadratic forms become separable, allowing the problem to be cast as a Second-Order Cone Program (SOCP). SOCPs can be solved using standard interior-point methods significantly faster than the more complex Semi-Definite Programming (SDP) relaxations typically used for non-convex problems.

Key Insights

Congruence vs. Similarity

Unlike the standard diagonalization taught in linear algebra (similarity transformation, $P^{-1}AP$), this work focuses on diagonalization via congruence ($P^T AP$). This is the relevant form for quadratic forms in optimization, as it preserves the underlying geometry of the quadratic constraints.

Hidden Convexity

A central theme of the paper is that non-convexity is often a matter of representation. If a suitable coordinate system (the matrix $P$) exists, the non-convex interactions between variables disappear. This reveals a "hidden convexity" that allows practitioners to bypass NP-hard complexity in specific instances.

Exactness of Relaxations

The authors prove that for the Generalized Trust Region Subproblem (GTRS), the SOCP relaxation is exact if the matrices are SD. This provides a theoretical guarantee that the transformation to a faster solver does not result in a loss of global optimality.

Results and Computational Impact

The paper successfully provides the "missing link" for the SD problem of arbitrary symmetric matrices. Through illustrative numerical examples, the authors demonstrate that their conditions hold even when matrices do not commute—a scenario where previous methods often failed.

From a computational standpoint, the ability to solve QCQPs via SOCP rather than SDP is significant. SOCP solvers are generally more robust and scale better to large-scale problems. By broadening the class of matrices known to be SD, the authors expand the library of optimization problems that can be solved with high efficiency.

Limitations and Future Directions

While the paper marks a major milestone, some challenges remain:

  • The Pencil Assumption: For collections of three or more matrices, the authors still require the existence of a semi-definite matrix pencil. Finding conditions for $m$ matrices without this assumption remains an open challenge.
  • Numerical Stability: Calculating the Jordan normal form can be numerically sensitive for ill-conditioned matrices. While symbolic computation offers a workaround, the scalability for extremely large, noisy datasets requires further investigation.

Conclusion

By resolving Hiriart-Urruty’s open problem, this research provides both a theoretical foundation and a practical toolkit for simultaneous diagonalization. It bridges the gap between matrix theory and global optimization, offering a powerful method for uncovering simplicity within complex, non-convex systems.

Summary updated

BibTeX
@article{jiang2016simultaneous,
  author = {Rujun Jiang and Duan Li},
  title = {{Simultaneous Diagonalization of Matrices and Its Applications in Quadratically Constrained Quadratic Programming}},
  journal = {SIAM J. Optim.},
  year = {2016},
  doi = {10.1137/15m1023920},
}
Figure