Abstract
The irreducibility of nonnegative matrices is an important condition for the diagonal transformation algorithm to succeed. In this paper, we introduce zero symmetry to replace the irreducibility of nonnegative matrices and propose an improved diagonal transformation algorithm for finding the maximum eigenvalue without any partitioning. The improved algorithm retains all of the benefits of the diagonal transformation algorithm while having fewer computations. Numerical examples are reported to show the efficiency of the proposed algorithm. As an application, the improved algorithm is used to check whether a zero symmetric matrix is an H-matrix.
Keywords:
improved diagonal transformation algorithm; zero symmetric reducible nonnegative matrices; maximum eigenvalue; H-matrix MSC:
15A18; 65F15
1. Introduction
The issues of the maximum eigenvalues of nonnegative matrices are among the most interesting and important problems in matrix analysis and engineering [1]. Some researchers directly estimated the bounds of the maximum eigenvalues according to the nature of the nonnegative irreducible matrices [2,3,4,5,6,7,8]. Based on a geometric symmetrization of the powers of a matrix, Szyld et al. [8] presented a sequence of lower bounds for the spectral radius. By computing the sums for each row, Li et al. [5] presented a new method to finding the two-sided bounds for the spectral radius. Adam et al. [2] proposed some new bounds for the spectral radius of a nonnegative matrix with an average of the two-row sums. However, it is difficult to find the maximum eigenvalue by means of estimation methods. Therefore, some efficient algorithms for computing the eigenpairs of irreducible nonnegative matrices have been proposed [9,10,11,12]. Based on the diagonal transformation, Bunse et al. [9] obtained the maximum eigenvalue by constructing a similar matrix sequence and obtained the minimum row sum and the maximum row sum . Duan et al. [10] pointed out that the diagonal transformation algorithm (Algorithm 1) was convergent for irreducible nonnegative matrices. By eliminating redundant operations, Wen et al. [12] improved the diagonal transformation algorithm so that it quickly caught the maximum eigenvalue for irreducible nonnegative matrices. Unfortunately, a major problem is that the diagonal transformation techniques above may not be convergent for reducible nonnegative matrices. To stimulate this question, we want to replace irreducibility with some symmetry conditions for nonnegative matrices, since symmetry plays an essential part in physics and mathematics [1,13]. To this end, we introduce zero symmetric reducible nonnegative matrices, which can be thought of as combinations of irreducible principal submatrices. Based on these properties, we propose an improved diagonal transformation algorithm (Algorithm 2) for computing the largest eigenvalue without any partitioning and show that the algorithm is convergent for zero symmetric nonnegative matrices. These constitute the main motivations of this article.
The remainder of this paper is organized as follows. In Section 2, some definitions and preliminary results are recalled. In Section 3, we establish the improved diagonal transformation algorithm and prove that the algorithm is convergent. In Section 4, we give Algorithm 3 to verify whether a zero symmetric matrix is an H-matrix. Numerical examples are provided to illustrate the obtained results.
2. Preliminaries
We start this section with the preliminary results [1] and introduce zero symmetric matrices.
Definition 1.
(1) A matrix is said to be reducible if there exists a permutation matrix such that
where , and is the zero matrix. If any permutation matrix does not exist, then A is called irreducible.
(2) The spectral radius of A is denoted by
where represents the set of all eigenvalues on A.
Obviously, is the maximum eigenvalue when A is nonnegative.
Definition 2.
(i) is called the following:
(1) symmetric if ;
(2) zero symmetric if
Clearly, if A is symmetric, then A is zero symmetric. Conversely, the result may not hold.
Definition 3.
Let and with . is an r-dimensional submatrix of A consisting of elements, defined by
where is the number of elements of I.
For a nonnegative irreducible matrix we can compute its row sum to find the minimum row sum and the maximum sum row . Clearly, [1]. According to [10], we set Therefore, we find the serial of similar matrices the serial of the minimum row sum , and the serial of the maximum row sum . It can be verified that
Based on these properties, Duan et al. [10] established a diagonal transformation algorithm and the following convergent theorem for irreducible nonnegative matrices as follows (Algorithm 1):
| Algorithm 1 |
|
Theorem 1
(Theorem 2.5 of [10]). Let B be a nonnegative irreducible matrix. For any , it is obvious that is a nonnegative irreducible matrix with positive diagonal elements. If is the maximum eigenvalue of B for the sequences generated by Algorithm 1, then it holds that
3. Improved Diagonal Transformation Algorithm for the Maximum Eigenvalue
In this section, we give the improved diagonal transformation algorithm for computing the maximum eigenvalue of zero symmetric reducible nonnegative matrices. First, we investigate the properties of zero symmetric reducible nonnegative matrices.
Lemma 1.
Let be a zero symmetric reducible nonnegative matrix. Then, the following results hold:
(1) There exists a partition of such that each induced matrix is either an irreducible matrix or a zero matrix for
(2)
Proof.
(1) Since B is reducible, by Definition 2, we can find a partition of such that for any . Since is zero symmetric, we obtain for any If both and are irreducible, then we are done. Otherwise, we can repeat the above analysis for any reducible block(s) obtained above. In this way, since is a finite set, we can arrive at the desired result.
(2) Since B is a zero symmetric reducible nonnegative matrix, we deduce that represents the principal submatrices for . Following Theorem 5.3 of [1], we obtain
which implies the desired results. □
In general, partitioning a large-size reducible nonnegative matrix to be irreducible nonnegative is expensive. Hence, it is important to find an algorithm to compute the maximum eigenvalues without any partitioning. Fortunately, we observe that is monotonously decreasing and convergent for the diagonal transformation algorithm. Following the algorithm technology in [12], we state the improved diagonal transformation algorithm as follows (Algorithm 2):
| Algorithm 2 |
|
In what follows, we show the properties of the sequence .
Lemma 2.
Suppose that is a zero symmetric reducible nonnegative matrix, and the sequence is generated by Algorithm 2. Then, is monotonously decreasing and bounded to the findings below.
Proof.
According to Algorithm 2, it is easy to check . Now, we show that is a decreasing sequence. From the definition of it holds that
It follows from that
which implies
Consequently, is monotonously decreasing and bounded to the findings below. □
The following theorem demonstrates that the sequences generated by Algorithm 2 are convergent for zero symmetric reducible nonnegative matrices.
Theorem 2.
Suppose that is a zero symmetric reducible nonnegative matrix and the sequence is generated by Algorithm 2. Then, we have
Proof.
From Lemma 2, we obtain that is monotonously decreasing and bounded to the findings below. Thus, there exists such that when Next, we show that . Since B is zero symmetric, without loss of generality, we assume that A is stated as follows:
where each block is either an irreducible matrix or a unit matrix. It follows from Lemma 1 that
We now break up the argument into three cases.
Case 1: A has a unique maximum eigenvalue. Without loss of generality, we can assume
Let be the maximum row sum of matrix A. Let and be the maximum eigenvalue and the maximum row sum of generated by Algorithm 2, respectively. It follows from Equation (2) that
Obviously, from Equation (2). Taking into account that each is irreducible, from Theorem 1, we have
For when , one has
which implies
Since and it holds that
It follows from and Equation (5) that
By Theorem 1, we have
Case 2: A has two maximum eigenvalues. Without loss of generality, we can assume
For we deduce or It follows from Theorem 1 that
Hence, we have
Case 3: A has more than two maximum eigenvalues. We repeat the process above and can obtain the same convergent conclusions. □
Remark 1.
Algorithm 2 has three nice properties: (1) the convergence property is guaranteed; (2) it has fewer calculations since there is no need to calculate and (3) it obtains the maximum eigenvalue without any partitioning.
In the following, we report some numerical results to show that the above new algorithm is efficient. For Algorithm 2, we stop the iteration as long as where .
All tested zero symmetric reducible nonnegative matrices were generated as follows. Give an integer p, and randomly generate three zero symmetric matrices and . Let , and . Then, define with other elements being zero, where Clearly, B is reducible. Algorithm 2 was implemented in MATLAB (R2015b), and all the numerical computations were conducted using an Intel 3.60-GHz computer with 8 GB of RAM. The numerical results are reported in Table 1, where is the maximum eigenvalue obtained by the algorithm and cpu(s) denotes the total computer time in seconds. Meanwhile, the cpu time is the average of 10 instances for each n. From Table 1, we see that Algorithm 2 is convergent and efficient.
Table 1.
Numerical comparisons of Algorithm 2, Wen’s algorithm, and Duan’s algorithm.
4. Identifying an -Matrix
Identifying an H-matrix, especially for large-scale matrices, has important theory and application value in numerical algebra and matrix analysis. A number of effective algorithms for identifying an H-matrix have been presented [14,15,16,17,18]. In this section, we shall identify whether a zero symmetric reducible matrix is an H-matrix by Algorithm 3 without any partitioning.
Definition 4.
A matrixis said to be the following:
- (1)
- Strictly diagonally dominant if
- (2)
- An H-matrix if there exists a diagonal matrix D with positive diagonal elements such thatis strictly diagonally dominant;
- (3)
- An M-matrix if there exists a nonnegative matrix B with the spectral radiussuch thatwhere.
Definition 5.
The comparison matrix of is the matrix with the elements
Consequently, a matrix is an H-matrix if and only if its comparison matrix is an M-matrix [1,15].
Theorem 3.
Let with nonzero diagonal entries. Then, A is an H-matrix if and only if where denotes the diagonal matrix with the same dimensions and diagonal entries as A, and represents the matrix composed of absolute values of each element.
Proof.
For necessity, we decompose the comparison matrix of A as follows:
where denotes the diagonal matrix of the same dimensions and diagonal entries as and E is a nonnegative matrix. Taking into account that the diagonal entry is a nonzero of A, we obtain
Since A is an H-matrix, then is an H-matrix. Meanwhile, is the comparison matrix of Thus, is an M-matrix. It follows from Equation (6) that
For sufficiency, since for all and from Equation (6), one has
which implies is an M-matrix. Since is the comparison matrix of then is an H-matrix. Thus, A is an H-matrix. □
From Theorem 3, we can identify whether A is an H-matrix by computing Indeed, has the following form:
It is clear that B is nonnegative and zero symmetric when A is zero symmetric. We define
where and Thus, and are similar, and so are and ; that is, has the same eigenvalues. Furthermore, the maximum eigenvalue holds. Consequently, if , then A is an H-matrix.
In the following, we propose Algorithm 3 to judge whether A is an H-matrix:
| Algorithm 3 |
|
Remark 2.
In Algorithm 3, set
From we have
If , then A is an H-matrix. Therefore, it is not necessary to calculate the exact maximum eigenvalue in some cases.
The following examples illustrate the efficiency of Algorithm 3.
Example 1.
Consider a zero symmetric reducible matrix A defined by
It is easy to see that as follows:
We may compute by Algorithm 2. Therefore, A is an H-matrix.
Example 2.
Consider the irreducible matrix A of the example in [15,19], defined by
We compute as follows:
Under Algorithm 3, A is not an H-matrix since Compared with Algorithm in [15], which requires 37 iterations to verify that A is not an H-matrix, Algorithm 3 requires only 20 iterations and takes s.
5. Conclusions
In this paper, we proposed the improved diagonal transformation algorithm to compute the maximum eigenvalue of zero symmetric nonnegative matrices, which inherited all of the advantages of the diagonal transformation algorithm while having fewer computations. In addition, the improved algorithm can also deal with irreducible matrices more efficiently than the diagonal transformation algorithms of [10,12]. Based on the improved diagonal transformation algorithm, we established Algorithm 3 to judge whether a zero symmetric matrix is an H-matrix quickly. Further studies can be considered to develop a diagonal transformation algorithm to compute eigenvalue problems of multi-linear algebra.
Author Contributions
Writing—original draft, editing, and software, G.W.; supervision, writing—review, and funding acquisition, J.L. All authors have read and agreed to the published version of the manuscript.
Funding
This research was supported by the Natural Science Foundation of Shandong Province (ZR2020MA025) and the National Natural Science Foundation of China (12071250).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Not applicable.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Hehryk, M. Nonnagtive Matrices; John Wiley: Hoboken, NJ, USA, 1988. [Google Scholar]
- Adam, M.; Aggeli, D.; Aretaki, A. Some new bounds on the spectral radius of nonnegative matrices. AIMS Math. 2020, 5, 701–716. [Google Scholar] [CrossRef]
- Dursun, T.; Kirkland, S. A sequence of upper bounds for the Perron root of a nonnegative matrix. Linear Algebra Appl. 1998, 273, 23–28. [Google Scholar]
- Huang, G.; Yin, F.; Guo, K. The lower and upper bounds on Perron root of nonnegative irreducible matrices. J. Comput. Appl. Math. 2008, 217, 259–267. [Google Scholar] [CrossRef]
- Li, L.; Huang, T. Two sided bounds for the spectral radius of nonnegative irreducible matrices. Acta Math. Appl. Sin. Engl. Ser. B 2008, 31, 271–277. [Google Scholar]
- Lu, L.; Ng, M. Localization of Perron roots. Linear Algebra Appl. 2004, 392, 103–117. [Google Scholar] [CrossRef][Green Version]
- Rojo, O.; Soto, R. Perron root bounding for nonnegative persymmetric matrices. Comput. Math. Appl. 1996, 31, 69–76. [Google Scholar] [CrossRef][Green Version]
- Szyld, D. A sequence of lower bounds for the spectral radius of nonnegative matrices. Linear Algebra Appl. 1992, 174, 239–242. [Google Scholar] [CrossRef]
- Bunse, W. A class of diagonal transformation methods for the computation of the spectral radius of a nonnegative matrix. SIAM J. Numer. Anal. 1981, 18, 693–704. [Google Scholar] [CrossRef]
- Duan, F.; Zhang, K. An algorithm of diagonal transformation for Perron root of nonnegative irreducible matrices. Appl. Math. Comput. 2006, 175, 762–772. [Google Scholar] [CrossRef]
- Lv, H.; Shang, Y.; Zhang, M. An origin displacement method for calculating maximum eigenvalue of nonnegative matrix under diagonal similarity transformation. J. Beihua Univ. 2019, 20, 588–593. [Google Scholar]
- Wen, C.; Huang, T. A modified algorithm for the Perron root of a nonnegative matrix. Appl. Math. Comput. 2011, 217, 4453–4458. [Google Scholar] [CrossRef]
- Byron, F.; Fuller, R. Mathematics of Classical and Quantum Physics; Dover Publications: Mineola, NY, USA, 1992. [Google Scholar]
- Alanelli, M.; Hadjidimos, A. A new iterative criterion for H-matrices. SIAM J. Matrix Anal. Appl. 2007, 29, 160–176. [Google Scholar] [CrossRef]
- Alanelli, M.; Hadjidimos, A. A new iterative criterion for H-matrices: The reducible case. Linear Algebra Appl. 2008, 428, 2761–2777. [Google Scholar] [CrossRef]
- Guan, J.; Lu, L.; Li, R.; Shao, R. Self-corrective iterative algorithm for generalized diagonally dominant matrices. J. Comput. Appl. Math. 2016, 302, 285–300. [Google Scholar] [CrossRef]
- Li, L. On the iterative criterion for generalized diagonally dominant matrices. SIAM J. Matrix Anal. Appl. 2002, 24, 17–24. [Google Scholar] [CrossRef]
- Wang, K.; Cao, J.; Pei, H. Robust extreme learning machine in the presence of outliers by iterative reweighted algorithm. Appl. Math. Comput. 2020, 377, 125–186. [Google Scholar] [CrossRef]
- Hadjidimos, A. An extended compact profile iterative method criterion for sparse H-matrices. Linear Algebra Appl. 2004, 389, 329–345. [Google Scholar] [CrossRef][Green Version]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 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 (https://creativecommons.org/licenses/by/4.0/).