Abstract
A method for the computation of the roots of a general complex-valued non-singular matrix is presented. The proposed procedure is based on the Dunford–Taylor integral (also ascribed to Riesz–Fantappiè) and relies, only, on the knowledge of the invariants of the matrix, so circumventing the computation of the relevant eigenvalues. Several worked examples are illustrated to validate the developed algorithm in the case of higher order matrices.
1. Introduction
Complex-valued matrices are a natural extension of complex numbers, and matrix operations are well known to the reader [] likely with the only exception of roots’ computation.
The normal situation for a complex number is that the root always has n determinations. The equivalent situation for an matrix is that the root of should have determinations. The problem arises in the case of matrices of a special type, for which the computation of roots is ill-posed in the sense of J.Hadamard, as they admit no roots or, conversely, an infinite number of those.
In general, the problem of computing the roots of general complex-valued matrices has not received the necessary attention so far. In relation to the simple case of matrices, a few articles appeared in Mathematics Magazine [,,] and in Linear Algebra and its Applications [,].
The Newton–Raphson method was applied by N.J. Higham in [] for computing the square roots of general matrices, whereas I.A. al-Tamimi [] and S.S. Rao et al. [] used the Cayley–Hamilton theorem for computing roots of general non-singular matrices. A necessary and sufficient condition for the existence of the root of a singular complex matrix was given by P.J. Psarrakos in [].
Two alternative techniques for the computation of the roots of a non-singular complex-valued matrix has been recently proposed.
The first method was presented in [] and is based on the Cayley–Hamilton theorem in combination with the representation of non-singular matrix powers in terms of Chebyshev polynomials of the second kind [,]. In this way, it is possible to express the roots of non-singular or complex-valued matrices by making use of pseudo-Chebyshev functions [,]. Unfortunately, the extension of this technique to higher order matrices can be hardly achieved, owing to the complicated inductive procedure that is necessary for this purpose.
A second method, which is referred to as the FKN ( functions)procedure, was described in []. This technique can be applied to non-singular (, ) complex-valued matrices, though it is not valid for general matrices, such as nilpotent matrices. The functions can be expressed by generalized Lucas polynomials of the second kind [,,,].
Since the considered problem cannot be solved in its generality when dealing with rootless matrices [], nilpotent matrices (i.e., Jordan blocks), or matrices with infinite roots [], the present study is devoted to the illustration of a “canonical” method for computing the roots of general matrices in the regular case, so excluding the aforementioned exceptions. In particular, we will show that the FKN expansion can be avoided when representing the roots of a non-singular matrix . As a matter of fact, the problem can be solved in an effective way by making use of the Dunford–Taylor integral, which traces back to previous works by F. Riesz and L. Fantappié, as well as a known formula for the resolvent of a matrix reported in [].
It is shown that the evaluation of the roots of a given non-singular matrix can be performed only on the basis of the knowledge of the matrix invariants, which are the coefficients of the characteristic equation (or equivalently, the elementary symmetric functions of the eigenvalues), and the relevant spectral radius R, which can be estimated using Gershgorin’s theorem. In this way, a numerical quadrature rule can be adopted to compute a contour integral extended to a circle centered at the origin and having a radius larger than R. We also stress that, by using the proposed methodology, one can easily evaluate all the determinations of the root of a given matrix.
The paper is organized as follows. First, we recall the formula for the resolvent of a matrix and then apply this formula in combination with the Dunford–Taylor integral to derive an explicit representation of a matrix root. Several worked examples are prepared and presented in the paper to prove the effectiveness of the procedure for arbitrary higher order non-singular complex-valued matrices. To this end, the computer program Mathematica is used.
2. The Dunford–Taylor Integral
The Dunford–Taylor integral [] is an analogue of the Cauchy integral formula in function theory. It can be applied to holomorphic functions of a given operator. In the finite-dimensional case, an operator is nothing but a matrix .
Theorem 1.
Suppose that is a holomorphic function in a domain Δ of the complex plane containing all the eigenvalues of , and let be a closed smooth curve with positive direction that encloses all the in its interior. Then, the matrix function can be defined by the Dunford–Taylor integral:
where denotes the resolvent of .
As an example, given the natural number n, the power of can be evaluated as:
It is worth noting that an alternative technique has been presented in the scientific literature to compute matrix powers through the Cayley–Hamilton theorem and the so-called functions, which are solutions of linear recursions [,]. This method is purely algebraic and does not make use of quadrature rules, which are necessary to avoid Cauchy’s residue theorem.
It is useful to mention that, if is non-singular, both the Equation (2) and the results reported in [,] are still valid for negative values of the exponent n, since the FKN functions can be defined for as well [].
For holomorphic functions of general matrices, the evaluation of the Dunford–Taylor integral is more convenient than the application of Cauchy’s residue theorem from a computational standpoint. In fact, such an approach relies, only, on the knowledge of the entries of the considered matrix and the relevant invariants, whereas the knowledge of the eigenvalues is necessary where Cauchy’s residue theorem is applied.
3. Recalling the Resolvent of a Matrix
The resolvent of an operator is an important tool for using methods of complex analysis in the theory of operators on Banach spaces. The holomorphic functional calculus gives a formal justification of the procedure used. The spectral properties of the operator are determined by the analytical structure of the functional.
In this study, we consider the finite-dimensional case, so that the general operator under consideration can be represented as a () complex-valued matrix .
We denote as:
the invariants of , i.e., the coefficients of the characteristic polynomial:
which are invariants under similarity transformations. Let:
be the roots of , i.e., the eigenvalues of .
In [] (pp. 93–95), the following representation of the resolvent in terms of the invariants of was proven:
By using (5) and (6), we can easily derive the representation formula for matrix functions reported in [].
Theorem 2.
Let be a holomorphic function in a domain Δ of the complex plane containing the spectrum of , and denote by a simple contour enclosing all the zeros of . Then, the Dunford–Taylor integral is written as:
It should be noted that, if does not contain the origin, a simple choice of is a circle centered at the origin and having a radius larger than the spectral radius of , which can be determined using Gershgorin’s theorem.
Let us consider now the function , where n is a fixed integer number. As this function is always holomorphic in the open set , i.e., in the whole plane excluding the origin, the preceding theorem can be re-formulated as follows:
Theorem 3.
If is a non-singular complex-valued matrix and is a simple contour enclosing all the zeros of , then the roots of can be represented as:
with the general coefficient given by:
Recalling Cauchy’s residue theorem [] and denoting the integrand in (9) as , the contour integral can be evaluated as:
Assuming, for simplicity, that the eigenvalues are all simple and, therefore:
we find:
where we have put, by definition, .
A similar result can be found in the case of multiple roots of the characteristic polynomial by using the following more general equation, which holds true for a pole of order m at the point :
Remark 1.
Note that the knowledge of the eigenvalues is not necessary unless the integral in (7) is computed by means of Cauchy’s residue theorem. In general, only the knowledge of the matrix invariants is sufficient to evaluate the considered contour integral by choosing, as γ, a circle centered at the origin with a radius larger than the spectral radius of . Examples of computations using Cauchy’s residue theorem were given in [].
Remark 2.
Note that, upon selecting the different determinations of the root function of degree n in the formal expression of , it is possible to evaluate the various roots of through Equation (8).
Based on Theorem 3, the proposed algorithm for the evaluation of the roots of a matrix can be described through the flowchart illustrated in Figure 1. It is straightforward to verify that the computational complexity of the relevant numerical procedure is in the worst case.
Figure 1.
Flowchart of the algorithm for the evaluation of the roots of a given matrix .
4. Examples
4.1. Square Root of a Non-Singular Matrix
Consider the matrix:
The relevant invariants are:
whereas the corresponding eigenvalues are found to be:
Putting:
we find:
It is not difficult to verify that:
with denoting the zero matrix of order six.
4.2. Cubic Root of a Non-Singular Matrix
Consider the matrix:
The relevant invariants are:
whereas the corresponding eigenvalues are found to be:
We find:
It is not difficult to verify that:
with denoting the zero matrix of order five.
4.3. Another Cubic Root of a Non-Singular Matrix
Consider the matrix:
The relevant invariants are:
whereas the corresponding eigenvalues are found to be:
Putting:
we find:
It is not difficult to verify that:
with denoting, as usual, the zero matrix of order five.
4.4. Fifth Root of a Non-Singular Matrix
Consider the matrix:
The relevant invariants are:
whereas the corresponding eigenvalues are found to be:
Putting:
we find:
It is not difficult to verify that:
with denoting the zero matrix of order four.
4.5. Square Root of a Non-Singular Matrix
Consider the complex-valued matrix:
The relevant invariants are:
whereas the corresponding eigenvalues are found to be:
By taking the various determinations of the square root function, we find:
For each one of the roots, it is not difficult to verify that:
with denoting the zero matrix of order three.
5. Conclusions
A general method for computing the roots of complex-valued matrices was detailed. The proposed procedure was based on the application of the Dunford–Taylor integral in combination with a suitable representation formula of the matrix resolvent. In this way, it was possible to overcome the limitations of the techniques already available in the scientific literature, in terms of the matrix order, as well as of the root degree.
The presented approach provided an effective means for evaluating all the determinations of the root of a given matrix with a reduced computational complexity and burden since it relied, only, on the knowledge of the matrix invariants, so circumventing the need for computing the relevant eigenvalues, while the spectral radius could be estimated using Gershgorin’s theorem. Several worked examples were provided to prove the correctness of the procedure for higher order real- and complex-valued matrices.
Author Contributions
Methodology, P.E.R.; software, D.C.; validation, D.C.; formal analysis, P.E.R.; investigation, D.C.; data curation, D.C.; writing, original draft preparation, P.E.R.; writing, review and editing, D.C.; visualization, D.C. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Gantmacher, F.R. The Theory of Matrices; Chelsea Pub. Co.: New York, NY, USA, 1959. [Google Scholar]
- Levinger, B.W. The square root of a 2 × 2 matrix. Math. Mag. 1980, 53, 222–224. [Google Scholar] [CrossRef]
- Sullivan, D. The square roots of 2 × 2 matrices. Math. Mag. 1993, 66, 314–316. [Google Scholar] [CrossRef]
- Yood, B. Rootless matrices. Math. Mag. 2002, 75, 219–223. [Google Scholar] [CrossRef]
- Choudhry, A. Extraction of nth roots of 2 × 2 matrices. Linear Algebra Appl. 2004, 387, 183–192. [Google Scholar] [CrossRef]
- Johnson, C.R.; Okubo, K.; Reams, R. Uniqueness of matrix square roots and an application. Linear Algebra Appl. 2001, 323, 51–60. [Google Scholar] [CrossRef]
- Higham, N. Functions of Matrices. Theory and Computation; SIAM: Philadelphia, PA, USA, 2008. [Google Scholar]
- Al-Tamimi, I.A. The square roots of 2 × 2 invertible matrices. Adv. Algebra 2010, 3, 15–18. [Google Scholar]
- Rao, S.S.; Jagadeeshwar, P.; Somasekhar, K. On the square root of a matrix. JGRMA 2013, 1, 30–33. [Google Scholar]
- Psarrakos, P.J. On the mth roots of a complex matrix. Electron. J. Linear Algebra 2002, 9, 32–41. [Google Scholar] [CrossRef]
- Ricci, P.E.; Srivastava, R. A study of the second-kind multivariate pseudo-Chebyshev functions of fractional degree. Mathematics 2020. submitted. [Google Scholar]
- Ricci, P.E. Alcune osservazioni sulle potenze delle matrici del secondo ordine e sui polinomi di Tchebycheff di seconda specie. Atti Accad. Sci. Torino 1975, 109, 405–410. [Google Scholar]
- Ricci, P.E. Sulle potenze di una matrice. Rend. Mat. 1976, 9, 179–194. [Google Scholar]
- Ricci, P.E. Complex spirals and pseudo-Chebyshev polynomials of fractional degree. Symmetry 2018, 10, 671. [Google Scholar] [CrossRef]
- Ricci, P.E. A survey on pseudo-Chebyshev functions. 4Open 2019. submitted. [Google Scholar]
- Ricci, P.E. On the roots of complex r × r matrices. Lect. Notes TICMI 2020. to appear. [Google Scholar]
- Lucas, É. Théorie des Nombres; Gauthier-Villars: Paris, France, 1891. [Google Scholar]
- Bruschi, M.; Ricci, P.E. An explicit formula for f) and the generating function of the generalized Lucas polynomials. Siam J. Math. Anal. 1982, 13, 162–165. [Google Scholar] [CrossRef]
- Natalini, P.; Ricci, P.E. A “hard to die” series expansion and Lucas polynomials of the second kind. Appl. Math. 2015, 6, 1235–1240. [Google Scholar] [CrossRef]
- Natalini, P.; Ricci, P.E. Solution of linear dynamical systems using Lucas polynomials of the second kind. Appl. Math. 2016, 7, 616–628. [Google Scholar] [CrossRef]
- Mitchell, D.W. Using Pythagorean triples to generate square roots of I2. Math. Gaz. 2003, 87, 499–500. [Google Scholar] [CrossRef]
- Cherubino, S. Calcolo delle Matrici; Cremonese: Rome, Italy, 1957. [Google Scholar]
- Kato, T. Perturbation Theory for Linear Operators; Springer: Berlin/Heidelberg, Germany, 1966. [Google Scholar]
- Bruschi, M.; Ricci, P.E. Sulle funzioni Fk,n e i polinomi di Lucas di seconda specie generalizzati. Pubbl. Ist. Mat. Appl. Fac. Ing. Univ. Stud. Roma 1979, 14, 49–58. [Google Scholar]
- Rudin, W. Real and Complex Analysis, 3rd ed.; McGraw-Hill: Singapore, 1987. [Google Scholar]
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).