Next Article in Journal
Existence of Positive Solutions to Boundary Value Problems with Mixed Riemann–Liouville and Quantum Fractional Derivatives
Next Article in Special Issue
General Methods to Synchronize Fractional Discrete Reaction–Diffusion Systems Applied to the Glycolysis Model
Previous Article in Journal
On the Generalization of Ostrowski-Type Integral Inequalities via Fractional Integral Operators with Application to Error Bounds
Previous Article in Special Issue
Synchronization of Fractional-Order Delayed Neural Networks Using Dynamic-Free Adaptive Sliding Mode Control
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Enhanced Numerical Iterative Method for Expanding the Attraction Basins When Computing Matrix Signs of Invertible Matrices

1
School of Mathematics and Statistics, Anyang Normal University, Anyang 455002, China
2
Mathematical Modelling and Applied Computation (MMAC) Research Group, Department of Mathematics, Faculty of Science, King Abdulaziz University, Jeddah 21589, Saudi Arabia
3
Mathematics Division, School of Advanced Sciences and Languages, VIT Bhopal University, Bhopal-Indore Highway, Kothrikalan, Sehore 466114, Madhya Pradesh, India
4
Department of Mathematics and Applied Mathematics, School of Mathematical and Natural Sciences, University of Venda, Private Bag X5050, Thohoyandou 0950, South Africa
*
Author to whom correspondence should be addressed.
Fractal Fract. 2023, 7(9), 684; https://doi.org/10.3390/fractalfract7090684
Submission received: 22 August 2023 / Revised: 7 September 2023 / Accepted: 12 September 2023 / Published: 14 September 2023

Abstract

:
The computation of the sign function of a matrix plays a crucial role in various mathematical applications. It provides a matrix-valued mapping that determines the sign of each eigenvalue of a nonsingular matrix. In this article, we present a novel iterative algorithm designed to efficiently calculate the sign of an invertible matrix, emphasizing the enlargement of attraction basins. The proposed solver exhibits convergence of order four, making it highly efficient for a wide range of matrices. Furthermore, the method demonstrates global convergence properties. We validate the theoretical outcomes through numerical experiments, which confirm the effectiveness and efficiency of our proposed algorithm.

1. Introductory Notes

The matrix sign function, also known as the matrix signum function or simply matrix sign, is a mathematical function that operates on matrices, returning a matrix of the same size with elements representing the signs of the corresponding elements in the input matrix. The concept of the sign function can be traced back to the scalar sign function, which operates on individual real numbers ([1], Chapter 11). The scalar sign function offers +1 for positive numbers, 1 for negative numbers, and 0 for zero.
The extension of the sign function to matrices emerged as a natural generalization. This function was introduced to facilitate the study of matrix theory and to develop new algorithms for solving matrix equations and systems. This function provides valuable information about the structure and properties of matrices. The earliest references to the matrix sign could be found in the mathematical literature in the late 1960s and early 1970s [2]. This function for a square nonsingular matrix M C n × n , i.e.,
sign ( M ) = N ,
can be expressed as follows [3] (p. 107):
N = 2 π M 0 ( t 2 I + M 2 ) 1 d t ,
where I is is the unit matrix.
Several authors who contributed to the development and study of the matrix sign function include Nicholas J. Higham, Charles F. Van Loan, and Gene H. Golub; see the textbook [3]. Since its introduction, it has found applications in various areas of mathematics and scientific computing. It has been utilized in numerical analysis, linear algebra algorithms, control theory, graph theory, and stochastic differential equations; see, e.g., [4]. In recent years, research has focused on refining algorithms for efficiently computing the matrix sign function, higher-order iterative methods, and exploring its connections to other matrix functions and properties. This function has proven to be a fruitful tool for characterizing and manipulating matrices in a wide range of disciplines. Expanding the discussion, the work by Al-Mohy and Higham [5], while primarily centered on the matrix exponential, introduced a highly influential algorithm that serves as a fundamental basis for computing various other matrix functions, including (1).
Here are some areas where this function finds utility. 1. Stability analysis: In control theory and dynamical systems, the matrix sign function is employed to analyze the stability of linear time-invariant systems. By examining the signs of the eigenvalues of a system’s matrix representation, the matrix sign function helps determine stability properties, such as asymptotic stability or instability [6]. 2. Matrix fraction descriptions: This function plays a key appearance in representing matrix fraction descriptions of linear time-invariant sets. Matrix fractions are used in system theory to describe transfer functions, impedance matrices, and other related quantities. Then, (1) is employed in the realization theory of these matrix fractions [7]. 3. Robust control: Robust control techniques aim to design control systems that can handle uncertainties and disturbances. This function is utilized in robust control algorithms to assess the stability and performance of uncertain systems. It helps analyze the worst-case behavior of the system under varying uncertain conditions [2]. 4. Discrete-time systems: In the analysis and design of discrete-time systems, the matrix sign function aids in studying the stability and convergence properties of difference equations. It allows one the examination of the spectral radius of a matrix and determination of the long-term behavior of discrete-time systems [3]. 5. Matrix equations: This function is employed in solving matrix equations. For example, it can be employed in the calculation of the matrix square root or the matrix logarithm, which have applications in numerical methods, optimization, and signal processing [8].
It is an interesting choice to compute (1) by numerical iterative methods which are mainly constructed by resolving the following nonlinear matrix equations:
F ( H ) : = H 2 I = 0 .
The matrix H = N from (1) is the solution of (3) since it satisfies the definition of N 2 = I . In this work, we focus on proposing a new solver for (3) in the scalar format and then extending for the matrix environment in order to be computationally economic when compared to the famous iteration solvers of the same type to find (1) of a nonsingular matrix.
The remainder of this work is arranged as follows. In Section 2, we look at some important methods for figuring out the sign of a matrix. Then, in Section 3, we explain why higher-order methods are useful and introduce a solver for solving nonlinear scalar equations. We extend this solver to work with matrices and prove its effectiveness through detailed analysis, showing that it has a convergence order of four. We also examine the attraction basins to ensure the solver works globally and covers a wider range compared to similar methods. We discuss its stability as well. In Section 4, we present the results of our numerical study to validate our theoretical findings, demonstrating the usefulness of our method. Finally, in Section 5, we provide our conclusions.

2. Iteration Methods

Kenney and Laub in [9] presented a general and important family of iterations for finding (1) via the application of the Padé approximations: f ( α ) = 1 / ( 1 α ) . We assume now that the ( ι 1 , ι 2 ) -Padé fraction approximate to f ( α ) is given as P ι 1 ( α ) Q ι 2 ( α ) , where Q, P are polynomials of suitable degrees in the Padé approximation and ι 1 + ι 2 1 . Then, [9] discussed that the iteration method below,
h l + 1 = h l P ι 1 ( 1 h l 2 ) Q ι 2 ( 1 h l 2 ) : = ψ 2 ι 1 + 1 , 2 ι 2 ,
converges with convergence speed ι 1 + ι 2 + 1 to ± 1 . Thus, the second-order Newton’s method (NIM) can be constructed as follows:
H l + 1 = 1 2 H l 1 + H l ,
where
H 0 = M
is the starting matrix and M represents the input matrix as given in (1). We note that the reciprocal Padé-approximations can be defined based on reciprocals of (4). Newton’s method provides an iterative approach to approximating (1). It starts with an initial matrix and then improves the approximation in each iteration until convergence is achieved. This iterative nature makes it useful when dealing with complex matrices or large matrices where direct methods may be computationally expensive.
Newton’s iterative scheme plays an important role in finding (1) due to its effectiveness in approximating the solution iteratively. Some reasons highlighting the importance of Newton’s iteration for computing (1) lie in the advantages of iterative approximation (see [10]). It has quadratic convergence properties, especially when the initial matrix is close to the desired solution. Also, it needs the calculation of the derivative of the function being approximated. In the case of finding (1), this involves the derivative of the sign function, which can be derived analytically. Utilizing the derivative information can help guide the iterative process towards the solution.
Employing (4), the subsequent renowned techniques, namely the locally convergent inversion-free Newton–Schulz solver,
H l + 1 = 1 2 H l ( 3 I H l 2 ) ,
and Halley’s solver,
H l + 1 = [ H l 2 + I ] [ H l ( 3 I + H l 2 ) ] 1 ,
can be extracted, as in [11]. A quartically convergent solver is proposed in [12] as follows:
H l + 1 = H l ( 1 6 δ ) I + 2 ( 7 + 2 δ ) H l 2 + ( 3 + 2 δ ) H l 4 × ( 1 2 δ ) I 2 ( 3 + 2 δ ) H l 2 + ( 11 + 6 δ ) H l 4 1 .
Parameter δ is an independent real constant. Additionally, two alternative quartically convergent methods are derived from (4) with global convergence, which can be expressed as follows:
H l + 1 = [ 4 H l ( I + H l 2 ) ] [ I + 6 H l 2 + H l 4 ] 1 , Reciprocal of Padé [ 1 , 2 ] ,
H l + 1 = [ H l 4 + 6 H l 2 + I ] [ 4 H l ( I + H l 2 ) ] 1 , Padé [ 1 , 2 ] .

3. A New Numerical Method

Higher-order iteration solvers to compute (1) offer several advantages compared to lower-order methods [13,14]. To discuss further, higher-order iterative methods typically converge faster than lower-order methods. By incorporating more information from the matrix and its derivatives, these methods can achieve faster convergence rates, leading to fewer iterations required to reach a desired level of accuracy. This can improve the computational efficiency of the matrix sign function computation.
Higher-order iterative methods may provide higher accuracy in approximating the matrix sign function. This is particularly beneficial when dealing with matrices that have small eigenvalues or require high precision computations. Such methods often exhibit improved robustness compared to lower-order methods. They are typically more stable and less sensitive to variations in the input matrix. This robustness is particularly advantageous in situations where the matrix may have a non-trivial eigenvalue distribution or when dealing with ill-conditioned matrices. Higher-order methods can provide more reliable and accurate results in such cases. In addition, such iterations are applicable to a wide range of matrix sizes and types. They can handle both small and large matrices efficiently. Moreover, these methods can be adapted to handle specific matrix structures or properties, such as symmetric or sparse matrices, allowing for versatile applications across different domains.
It is significant to note that the choice of the appropriate iterative method relies on various factors, including the characteristics of the matrix, computational resources, desired accuracy, and specific application requirements. While higher-order iterative methods offer advantages, they may also come with increased memory requirements if not treated well. Thus, a careful consideration of these trade-offs is necessary and an efficient method must be constructed. To propose an efficient one, we proceed as follows.
We now examine the scalar form of Equation (3), that is to say, f ( h ) = h 2 1 = 0 . Here, f ( h ) is the scalar version of the nonlinear matrix Equation (3), which means that h = ± 1 . In this paper, we employ uppercase letter “H” when addressing matrices, while utilizing lowercase letter “h” to denote scalar inputs. We propose a refined adaptation of the Newton’s scheme, comprising three sequential steps as outlined below:
d l = h l f ( h l ) 1 f ( h l ) , l = 0 , 1 , , x l = h l 21 f ( h l ) 22 f ( d l ) 21 f ( h l ) 43 f ( d l ) f ( h l ) f ( h l ) , h l + 1 = x l f [ x l , h l ] 1 f ( x l ) ,
where f [ x l , h l ] is a divided difference operator. For further insights into solving nonlinear scalar equations using high-order iterative methods, refer to works [15,16,17]. Additionally, valuable information can be found in modern textbooks such as [18,19] or classical textbooks like [20]. The second substep in (12) represents a significant improvement over the approach presented in [21]. The coefficients involved in this substep are computed through a method of unknown coefficients, which involves rigorous computations. Initially, these coefficients are considered unknown, and then they are carefully determined to achieve a fourth order of convergence. Furthermore, this process is designed to expand the basins of attraction, providing an advantage over other solvers with similar characteristics.
Theorem 1. 
Assume ρ D as a simple root of f : D C C , which is an enough smooth function. By considering an enough close guess h 0 the method (12) converges to ρ and the rate of convergence is four.
Proof. 
The proof entails a meticulous derivation of Taylor’s expansion for each sub-step of the iterative process around the simple root ρ . Nonetheless, it is observed that (12) satisfies the subsequent error equation,
α l + 1 = 1 21 v 2 3 α l 4 + O ( α l 5 ) ,
where v j = f ( j ) ( ρ ) j ! f ( ρ ) and α l = h l ρ . Considering that the method (12) belongs to the category of fixed-point type methods, similar to Newton’s method, its convergence is local. This implies that the initial guess h 0 should be sufficiently close to the root to guarantee convergence. The proof finishes now.    □
To illustrate more on the mathematical derivation of the second substep (12), in fact, first, we consider (12) as follows:
d l = h l f ( h l ) 1 f ( h l ) , l = 0 , 1 , , x l = h l a 1 f ( h l ) a 2 f ( d l ) a 3 f ( h l ) a 4 f ( d l ) f ( h l ) f ( h l ) , h l + 1 = x l f [ x l , h l ] 1 f ( x l ) ,
which offers the following error equation:
α l + 1 = v 2 ( a 3 a 1 ) a 3 α l 2 + O ( α l 3 ) .
The relationship (16) results in selecting a 1 = a 3 , consequently transforming the error equation into
α l + 1 = v 2 2 ( a 1 + a 2 a 4 ) a 1 α l 3 + O ( α l 4 ) .
Therefore, we need to determine the remaining unspecified coefficients in a way that ensures a 1 + a 2 a 4 = 0 , reducing the term in (16). Moreover, their selection should aim to minimize the subsequent error equation, namely 3 a 1 v 2 v 3 ( a 1 + a 2 a 4 ) v 2 3 a 4 ( 5 a 1 + a 2 ) + a 1 ( 3 a 1 + 5 a 2 ) + a 4 2 a 1 2 α l 4 . This leads us to a choice of a 1 = a 3 = 21 , a 2 = 22 and a 4 = 43 .
Now, we can solve (3) by the iterative method (12). Pursuing this yields
H l + 1 = 2 H l 27 I + 52 H l 2 + 5 H l 4 11 I + 106 H l 2 + 51 H l 4 1
with the initial value (6). To clarify the derivation in detail, we provide a simple yet efficient Mathematica code for this purpose as follows:
ClearAll[‘‘Global‘*’’]
f[x_] := x^2 - 1
fh = f[h];
fh1 = f’[h];
y = h - fh/fh1;
fy = f[y];
x = h - ((21 fh - 22 fy)/(21 fh - 43 fy)) fh/fh1 // FullSimplify;
ddo1 = (x - h)^-1 (f[x] - f[h]);
h1 = x - f[x]/ddo1 // FullSimplify
	   
Likewise, we acquire the reciprocal expression of (17) through the following procedure:
H l + 1 = 11 I + 106 H l 2 + 51 H l 4 2 H l 27 I + 52 H l 2 + 5 H l 4 1 .
Theorem 2. 
Let H 0 be an appropriate initialization and M is nonsingular. Then, (18) (or (17)) tends to N with fourth convergence order.
Proof. 
We consider B to be a non-singular, non-unique transformation matrix, and represent the Jordan canonical form in the following form:
J p = B 1 M B = d i a g ( J m 1 , J m 1 , , J m p ) ,
where the eigenvalues of M are distinct σ ( M ) = { η 1 , η 2 , , η k } and m 1 + m 2 + + m p = n . For function f which possesses m j 1 degrees of differentiability at η j for j = 1 , 2 , , k , [22] and is given on the spectrum of M, the matrix function f ( M ) can be expressed by
f ( M ) = B f ( J ) B 1 ,
wherein
f ( J ) = d i a g ( f ( J m 1 ( η 1 ) ) , , f ( J m k ( η k ) ) ) ,
with
f ( J m j ( η j ) ) ) = υ = 0 m j 1 1 υ ! f ( υ ) ( η j ) · S m j υ .
Considering m j as the jth Jordan block size associated to η j , we have
J m j ( η j ) = η j 1 0 0 0 η j 1 0 1 0 0 η j = : η j I + S m j .
To continue, we employ the Jordan block matrix J and decompose M by utilizing a nonsingular matrix B of identical dimensions, leading to the following decomposition:
M = B J B 1 .
Through the utilization of this decomposition and an analysis of the solver’s structure, we derive an iterative sequence for the eigenvalues from iterate l to iterate l + 1 in the following manner:
η l + 1 i = 11 + 106 η l i 2 + 51 η l i 4 × 2 η l i 27 + 52 η l i 2 + 5 η l i 4 1 , i = 1 , 2 , , n ,
where
n i = sign ( η l i ) = ± 1 .
In a broad sense and upon performing certain matrix simplifications, the iterative process (25) reveals that the eigenvalues converge to n i = ± 1 , viz.,
lim l η l + 1 i n i η l + 1 i + n i = 0 .
Equation (27) indicates the convergence of the eigenvalues toward ± 1 . With each iteration, the eigenvalues tend to cluster closer to ± 1 . Having analyzed the theoretical convergence of the method, we now focus on examining the rate of convergence. For this purpose, we consider
Λ l = 2 H l 27 I + 52 H l 2 + 5 H l 4 .
Utilizing (28) and recognizing that H l represents rational functions of M while also demonstrating commutativity with N within a similar manner as M, we can express
H l + 1 N = 11 I + 106 H l 2 + 51 H l 4 Λ l 1 N = [ 11 I + 106 H l 2 + 51 H l 4 N Λ l ] Λ l 1 = [ 11 I + 106 H l 2 + 51 H l 4 2 H l ( 27 N + 52 H l 2 N + 5 H l 4 N ] Λ l 1 = [ 11 ( H l N ) 4 + 10 H l N ( H 4 4 H l 3 N + 6 H l 2 N 2 4 H l N 3 + I ) ] Λ l 1 = [ 11 ( H l N ) 4 + 10 H l N ( H l N ) 4 ] Λ l 1 = H l N 4 [ 11 I + 10 H l N ] Λ l 1 .
Using (29) and a 2-norm, it is possible to obtain
H l + 1 N Λ l 1 10 H l N 11 I H l N 4 .
This shows the convergence rate of order four under a suitable selection of the initial matrix, such as (6).    □
We note that the proofs of the theorems in this section are new and were obtained for our proposed method.
Attraction basins are useful in understanding the global convergence behavior of iteration schemes to calculate (1). In the context of iterative methods, the basins of attraction refer to regions in the input space where the iterative process converges to a specific solution or behavior. When designing a solver for computing (1), it is crucial to ensure that the method tends to the desired solution regardless of the initial guess. The basins of attraction provide insights into the convergence behavior by identifying the regions of the input space that lead to convergence and those that lead to divergence or convergence to different solutions.
By studying the basins of attraction, one can analyze the stability and robustness of an iterative method for computing (1). In general, here is how basins of attraction help in understanding global convergence [23]:
  • Convergence Analysis: Basins of attraction provide information about the convergence properties of the iterative sequence. The regions in the input space that belong to the basin of attraction of a particular solution indicate where the method converges to that solution. By analyzing the size, shape, and location of these basins, one can gain insights into the convergence behavior and determine the conditions under which convergence is guaranteed.
  • Stability Assessment: Basins of attraction reveal the stability of the iterative method. If the basins of attraction are well-behaved and do not exhibit fractal or intricate structures, it indicates that the method is stable and robust. On the other hand, if the basins are complex and exhibit fractal patterns, it suggests that the method may be sensitive to initial conditions and can easily diverge or converge to different solutions.
  • Optimization and Method Refinement: Analyzing the basins of attraction can guide the optimization and refinement of the iterative method. By identifying regions of poor convergence or instability, adjustments can be made to the algorithm to improve its performance. This may involve modifying the iteration scheme, incorporating adaptive techniques, or refining the convergence criteria.
  • Algorithm Comparison: Basins of attraction can be used to compare various iteration methods for finding (1). By studying the basins associated with different methods, one can assess their convergence behavior, stability, and efficiency. This information can aid in selecting the most suitable method for a particular problem or in developing new algorithms that overcome the limitations of existing approaches.
We introduced techniques (17) and (18) with the aim of expanding the attraction regions pertaining to these methods in the solution of f ( h ) = h 2 1 = 0 . To provide greater clarity, we proceed to explore how the proposed methods exhibit global convergence and enhanced convergence radii by visually representing their respective attraction regions in the complex domain,
[ 2 , 2 ] × [ 2 , 2 ] ,
when solving f ( h ) = 0 . In pursuit of this objective, we partition the complex plane into numerous points using a mesh, and subsequently assess the behavior of each point as an initial value to ascertain whether it converges or diverges. Upon convergence, the point is shaded in accordance with the number of iterations, leading to the following termination criterion: | f ( h l ) | 10 3 .  Figure 1, Figure 2 and Figure 3 include the basins of attractions for different methods. We recal that the fractal behavior of iterative methods in a complex plane determine their local or global convergence under certain conditions. They reveal that for (17) and (18), they own larger radii of convergence in comparison to their same-order competitors from (4). The presence of a lighter area indicates the expansion of the convergence radii as they extend to encompass (1).
Theorem 3. 
According to Equation (18) and assuming an invertible matrix M, the sequence H l l = 0 with H 0 = M is asymptotically stable.
Proof. 
We consider a perturbed calculation of U l in the l t h iterate of performing the numerical solver,; for more, see [24]. And we define the following relation per cycle:
H ˜ l = H l + U l .
Throughout the remainder of the proof, we assume the validity of relation ( U l ) i 0 for i 2 , which holds true under the condition of performing a first-order error analysis, considering the smallness of U l . We obtain
H ˜ l + 1 = [ 11 I + 106 H ˜ l 2 + 51 H ˜ l 4 ] × [ 2 H ˜ l ( 27 I + 52 H ˜ l 2 + 5 H ˜ l 4 ) ] 1 .
In the phase of convergence, it is considered that
H l sign ( M ) = N ;
utilizing the following established facts (pertaining to the invertible matrix H and an arbitrary matrix E) as referenced in [25] (p. 188),
( E + H ) 1 H 1 H 1 E H 1 .
We also utilize N 1 = N and N 2 = I (which are special cases of N 2 j = I ) and N 2 j + 1 = N , j 1 ) to obtain
H ˜ l + 1 N + 1 2 U l 1 2 N U l N .
By further simplifications and using U l + 1 = H ˜ l + 1 H l + 1 , we can find
U l + 1 2 1 U l 2 1 N U l N .
This leads to the conclusion that (18) at the iterate l + 1 is bounded, thus offering us
U l + 1 1 2 U 0 N U 0 N .
Therefore, the sequence { H l } l = 0 produced via (17) is stable.    □
We end this section by noting that our proposed method comes with error estimation techniques that enable the estimation of the approximation error during the computation. This provides valuable information about the quality of the calculated resolution. Additionally, its higher-order nature allows for better control over the accuracy of the approximation by adjusting the order of the method or specifying convergence tolerances. Additionally, our method can take advantage of parallel computing architectures to accelerate the computation process. It can be parallelized to distribute the computational workload across multiple processing units, enabling faster computations for large matrices or in high-performance computing environments.

4. Computational Study

Here, we evaluate the performance of the proposed solvers for various types of problems. The whole implementations are run by Mathematica (see [26]). Computational issues such as convergence detection are considered. We divide the tests into two parts, tests of theoretical values and tests of practical values. The following methods are compared: (5) denoted by NIM, (8), denoted by HM, (11), shown by Padé, (17) shown by P1, (18) shown by P2. We also compare the results with the Zaka Ullah et al. method (ZM) [21] as follows:
H l + 1 = 5 I + 42 H l 2 + 17 H l 4 H l 23 I + 38 H l 2 + 3 H l 4 1 .
For all the compared iterative methods, we employ the initial matrix H 0 by (6). The calculation of the absolute error is performed as follows:
E l + 1 = H l + 1 2 I 2 ϵ .
Here, ϵ represents the stopping value. Observing that the reported times are based on a single execution of the entire program, it is important to note that these reported times encompass all calculations, including the computation of norm residuals and other relevant operations.
Example 1. 
Ten real random matrices are generated using a random seed SeedRandom [ 12345 ] ; and their matrix sign functions are computed and compared. We produce ten random matrices in the interval [ 1 , 1 ] of the sizes 100 × 100 till 1000 × 1000 under ϵ = 10 5 .
Numerical comparisons for Example 1 are presented in Table 1 and Table 2, substantiating the effectiveness of the methods proposed in this paper. Notably, both P1 and P2 contribute to a decrease in the required number of iterations for determining the matrix sign, resulting in a noticeable reduction in elapsed CPU time (measured in seconds). This reduction is evident in the average CPU times across ten randomly generated matrices of varying dimensions.
Example 2. 
In this test, the matrix sign function is computed for ten complex random matrices with the same seed as in Example 1 under ϵ = 10 4 by the piece of Mathematica code below:
number = 10;
Table[M[n] = RandomComplex[{-20 - 20 I,
      20 + 20 I}, {100 n, 100 n}];, {n, number}];
		  
Table 3 and Table 4 provide numerical comparisons for Example 2, further reaffirming the efficiency of the proposed method in determining the sign of ten randomly generated complex matrices. Comparable computational experiments conducted for various analogous problems consistently corroborate the aforementioned findings, with P1 emerging as the superior solver.

Stabilized Solution of a Riccati Equation

We take into account the ARE, also known as the algebraic Riccati equation, arising in optimal control problems in continuous/discrete time as follows [27]:
L ( Y ) = Y A 1 + A 1 T Y + P Y A 2 L 1 A 2 T Y = 0 ,
where L = L T R m × m is positive definite, P = P T R n × n is positive semi-definite, A 1 , P R n × n , A 2 R n × m , and Y R n × n are the unknown matrix. Typically, we seek a solution that stabilizes the system, meaning the eigenvalues of A 1 A 2 L 1 A 2 T Y have negative real parts. It is important to notice that if the pair ( A 1 , A 2 ) is stabilizable, and ( A 1 , P ) is detectable, then there exists a stabilizing unique resolution Y for Equation (40) in R n × n . Furthermore, this solution Y is both symmetric and positive semi-definite. Assuming Y is the stabilizing resolution for the ARE in Equation (40), all eigenvalues of A 1 A 2 L 1 A 2 T Y have negative real parts, which can be seen from the following equation:
A 1 A 2 L 1 A 2 T P A 1 T I 0 Y I =
I 0 Y 0 A 1 A 2 L 1 A 2 T Y A 2 L 1 A 2 T 0 A 1 T + Y A 2 L 1 A 2 T .
We obtain
Z = Z 11 Z 12 Z 21 Z 22 = sign ( H ) = I 0 Y I I K 0 I I 0 Y I 1
for a suitable matrix K, wherein
H = A 1 A 2 L 1 A 2 T P A 1 T .
Now, we find Y as follows:
Z 11 Z 12 Z 21 Z 22 I Y = I Y ,
and thus
Z 12 Z 22 Y + Z 11 Z 21 + I Y = 0 ,
which implies
Z 12 Z 22 + I Y = Z 11 + I Z 21 .
After determining the sign of H, solving the required solution becomes feasible by addressing the overdetermined system (46). This can be achieved through standard algorithms designed for solving such systems. In our test scenario, we utilize P1 with the termination condition (39) in the infinity norm, along with a tolerance of 10 8 to compute the sign of H during the solution of the ARE (40). As a practical instance, this procedure involves the following input matrices:
A 1 = 3 . 1 . 0 0 0 1 . 3 . 1 . 0 0 0 1 . 3 . 1 . 0 0 0 1 . 3 . 1 . 0 0 0 1 . 3 . ,
A 2 = 0.8 0 0 1.6 0 0 0.8 0 0 1.6 0 0 0.8 0 0 1.6 0 0 0.8 0 0 1.6 0 0 0.8 ,
P = 4.55719 0 . 0 . 0 . 0 . 0 . 9.77826 0 . 0 . 0 . 0 . 0 . 9.43215 0 . 0 . 0 . 0 . 0 . 9.62216 0 . 0 . 0 . 0 . 0 . 3.02348 ,
L = 500 . 100 . 200 . 0 . 0 . 100 . 600 . 100 . 0 . 200 . 200 . 100 . 500 . 0 . 200 . 0 . 0 . 0 . 400 . 0 . 0 . 200 . 200 . 0 . 400 . .
The resulting matrix, which serves as the solution to (40), is
Y = 2033.67 605.049 249.922 1641.71 372.572 605.049 1085.56 370.904 587.446 780.42 249.922 370.904 2798.35 301.419 457.111 1641.71 587.446 301.419 2079.22 583.461 372.572 780.42 457.111 583.461 1819.58 .
To verify the accuracy of matrix Y, we calculate the residual norm of (40) in l using (51), resulting in L ( Y ) = 1.58× 10 6 . This value affirms the precision of the approximation we attained for (40) through the matrix sign function and P1 approach.

5. Conclusions

In this paper, we provided details on why higher-order methods are necessary for finding the sign of invertible matrices. Then, it was discussed by basins of attractions that the proposed method to compute (1) has global convergence, and its convergence radii were wider than those of its competitors. The stability of the method was discussed in detail, and computational results supported the theoretical outcomes. Several other tests were conducted by the authors and upheld the efficiency of the presented iterative scheme in computing the matrix sign. Future works can be pursued on extension of the presented solver to find the matrix sector function. In fact, this function is a generalization of the sign function, and it is necessary to compute such a matrix function by high-order iterative methods. On the other hand, it would be interesting and of practical use to propose more efficient variants of (17) to have larger basins of attractions but with the same number of matrix multiplications. These could be our future research directions.

Author Contributions

Conceptualization, L.S., M.Z.U. and H.K.N.; formal analysis, L.S., M.Z.U., M.A. and S.S.; funding acquisition, S.S.; investigation, L.S., M.Z.U. and M.A.; methodology, H.K.N., M.A. and S.S.; supervision, L.S., M.Z.U. and H.K.N.; validation, M.Z.U., M.A. and S.S.; writing—original draft, L.S. and M.Z.U.; writing—review and editing, L.S. and M.Z.U. All authors have read and agreed to the published version of the manuscript.

Funding

Deanship of Scientific Research (DSR) at King Abdulaziz University, Jeddah, Saudi Arabia, under grant no. (IFPIP: 383-247-1443).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Regarding the data availability statement, it is confirmed that data sharing does not apply to this article, as no new data were generated during the course of this paper.

Acknowledgments

This research work was funded by Institutional Fund Projects under grant no. (IFPIP: 383-247-1443). The authors gratefully acknowledge technical and financial support provided by the Ministry of Education and King Abdulaziz University, DSR, Jeddah, Saudi Arabia. The authors express their gratitude to referees for providing valuable feedback, comments, and corrections on an earlier version of this submission. Their help have significantly improved the readability and reliability of this work.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Hogben, L. Handbook of Linear Algebra; Chapman and Hall/CRC: Boca Raton, FL, USA, 2007. [Google Scholar]
  2. Roberts, J.D. Linear model reduction and solution of the algebraic Riccati equation by use of the sign function. Int. J. Cont. 1980, 32, 677–687. [Google Scholar] [CrossRef]
  3. Higham, N.J. Functions of Matrices: Theory and Computation; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 2008. [Google Scholar]
  4. Soheili, A.R.; Amini, M.; Soleymani, F. A family of Chaplygin–type solvers for Itô stochastic differential equations. Appl. Math. Comput. 2019, 340, 296–304. [Google Scholar] [CrossRef]
  5. Al-Mohy, A.; Higham, N. A scaling and squaring algorithm for the matrix exponential. SIAM J. Matrix Anal. Appl. 2009, 31, 970–989. [Google Scholar] [CrossRef]
  6. Denman, E.D.; Beavers, A.N. The matrix sign function and computations in systems. Appl. Math. Comput. 1976, 2, 63–94. [Google Scholar] [CrossRef]
  7. Tsai, J.S.H.; Chen, C.M. A computer-aided method for solvents and spectral factors of matrix polynomials. Appl. Math. Comput. 1992, 47, 211–235. [Google Scholar] [CrossRef]
  8. Ringh, E. Numerical Methods for Sylvester-Type Matrix Equations and Nonlinear Eigenvalue Problems. Doctoral Thesis, Applied and Computational Mathematics, KTH Royal Institute of Technology, Stockholm, Sweden, 2021. [Google Scholar]
  9. Kenney, C.S.; Laub, A.J. Rational iterative methods for the matrix sign function. SIAM J. Matrix Anal. Appl. 1991, 12, 273–291. [Google Scholar] [CrossRef]
  10. Soleymani, F.; Stanimirović, P.S.; Shateyi, S.; Haghani, F.K. Approximating the matrix sign function using a novel iterative method. Abstr. Appl. Anal. 2014, 2014, 105301. [Google Scholar] [CrossRef]
  11. Gomilko, O.; Greco, F.; Ziȩtak, K. A Padé family of iterations for the matrix sign function and related problems. Numer. Lin. Alg. Appl. 2012, 19, 585–605. [Google Scholar] [CrossRef]
  12. Cordero, A.; Soleymani, F.; Torregrosa, J.R.; Zaka Ullah, M. Numerically stable improved Chebyshev–Halley type schemes for matrix sign function. J. Comput. Appl. Math. 2017, 318, 189–198. [Google Scholar] [CrossRef]
  13. Rani, L.; Soleymani, F.; Kansal, M.; Kumar Nashine, H. An optimized Chebyshev-Halley type family of multiple solvers: Extensive analysis and applications. Math. Meth. Appl. Sci. 2022, in press. [Google Scholar] [CrossRef]
  14. Liu, T.; Zaka Ullah, M.; Alshahrani, K.M.A.; Shateyi, S. From fractal behavior of iteration methods to an efficient solver for the sign of a matrix. Fractal Fract. 2023, 7, 32. [Google Scholar] [CrossRef]
  15. Khdhr, F.W.; Soleymani, F.; Saeed, R.K.; Akgül, A. An optimized Steffensen-type iterative method with memory associated with annuity calculation. Eur. Phy. J. Plus 2019, 134, 146. [Google Scholar] [CrossRef]
  16. Dehghani-Madiseh, M. A family of eight-order interval methods for computing rigorous bounds to the solution to nonlinear equations. Iran. J. Numer. Anal. Optim. 2023, 13, 102–120. [Google Scholar]
  17. Ogbereyivwe, O.; Izevbizua, O. A three-free-parameter class of power series based iterative method for approximation of nonlinear equations solution. Iran. J. Numer. Anal. Optim. 2023, 13, 157–169. [Google Scholar]
  18. McNamee, J.M.; Pan, V.Y. Numerical Methods for Roots of Polynomials—Part I; Elsevier: Amsterdam, The Netherlands, 2007. [Google Scholar]
  19. McNamee, J.M.; Pan, V.Y. Numerical Methods for Roots of Polynomials—Part II; Elsevier: Amsterdam, The Netherlands, 2013. [Google Scholar]
  20. Traub, J.F. Iterative Methods for the Solution of Equations; Prentice-Hall: New York, NY, USA, 1964. [Google Scholar]
  21. Zaka Ullah, M.; Muaysh Alaslani, S.; Othman Mallawi, F.; Ahmad, F.; Shateyi, S.; Asma, M. A fast and efficient Newton-type iterative scheme to find the sign of a matrix. AIMS Math. 2023, 8, 19264–19274. [Google Scholar] [CrossRef]
  22. Bhatia, R. Matrix Analysis; Graduate Texts in Mathematics; Springer: New York, NY, USA, 1997; Volume 169. [Google Scholar]
  23. Soleymani, F.; Kumar, A. A fourth-order method for computing the sign function of a matrix with application in the Yang–Baxter-like matrix equation. Comput. Appl. Math. 2019, 38, 64. [Google Scholar] [CrossRef]
  24. Iannazzo, B. Numerical Solution of Certain Nonlinear Matrix Equations. Ph.D. Thesis, Universita Degli Studi di Pisa, Pisa, Italy, 2007. [Google Scholar]
  25. Stewart, G.W. Introduction to Matrix Computations; Academic Press: New York, NY, USA, 1973. [Google Scholar]
  26. Styś, K.; Styś, T. Lecture Notes in Numerical Analysis with Mathematica; Bentham eBooks: Sharjah, United Arab Emirates, 2014. [Google Scholar]
  27. Soheili, A.R.; Toutounian, F.; Soleymani, F. A fast convergent numerical method for matrix sign function with application in SDEs. J. Comput. Appl. Math. 2015, 282, 167–178. [Google Scholar] [CrossRef]
Figure 1. The attraction basins of (5) on the left and (11) on the right are illustrated.
Figure 1. The attraction basins of (5) on the left and (11) on the right are illustrated.
Fractalfract 07 00684 g001
Figure 2. Attraction basins of (10) on the left, and locally convergent Padé [1,3] on the right.
Figure 2. Attraction basins of (10) on the left, and locally convergent Padé [1,3] on the right.
Fractalfract 07 00684 g002
Figure 3. Attraction basins of (17) on the left, and (18) on the right.
Figure 3. Attraction basins of (17) on the left, and (18) on the right.
Fractalfract 07 00684 g003
Table 1. Computational comparisons based on the number of iterates in Example 1.
Table 1. Computational comparisons based on the number of iterates in Example 1.
Matrix n × n NIMHMPadéP1P2ZM
#1 100 × 100 1075555
#2 200 × 200 1598777
#3 300 × 300 17119888
#4 400 × 400 1387666
#5 500 × 500 1497666
#6 600 × 600 1497666
#7 700 × 700 1387666
#8 800 × 800 17119788
#9 900 × 900 201310999
#10 1000 × 1000 1497666
Mean 14.79.47.66.6 6.76.7
Table 2. Computational comparisons based on the CPU times (in seconds) for Example 1.
Table 2. Computational comparisons based on the CPU times (in seconds) for Example 1.
Matrix n × n NIMHMPadéP1P2ZM
#1 100 × 100 0.0090.0060.0070.0070.0070.007
#2 200 × 200 0.050.040.040.030.030.03
#3 300 × 300 0.140.110.100.110.110.10
#4 400 × 400 0.220.200.190.190.170.16
#5 500 × 500 0.390.360.320.300.300.30
#6 600 × 600 0.620.540.470.450.460.47
#7 700 × 700 0.830.680.670.630.660.68
#8 800 × 800 1.501.281.191.011.151.17
#9 900 × 900 2.322.021.801.701.721.73
#10 1000 × 1000 2.151.881.731.531.551.56
Mean 0.820.710.650.600.620.62
Table 3. Computational comparisons based on the number of iterates in Example 2.
Table 3. Computational comparisons based on the number of iterates in Example 2.
Matrix n × n NIMHMPadéP1P2ZM
#1 100 × 100 16108777
#2 200 × 200 221411101010
#3 300 × 300 191210888
#4 400 × 400 201310999
#5 500 × 500 201310999
#6 600 × 600 221411101010
#7 700 × 700 201310999
#8 800 × 800 231412101010
#9 900 × 900 21141191010
#10 1000 × 1000 221411101010
Mean 20.513.110.49.19.29.2
Table 4. Computational comparisons based on CPU times (in seconds) for Example 2.
Table 4. Computational comparisons based on CPU times (in seconds) for Example 2.
Matrix n × n NIMHMPadéP1P2ZM
#1 100 × 100 0.070.030.020.020.030.03
#2 200 × 200 0.140.130.120.120.130.11
#3 300 × 300 0.360.310.300.280.300.27
#4 400 × 400 0.730.680.620.640.610.64
#5 500 × 500 1.251.201.071.1091.051.09
#6 600 × 600 2.161.961.851.891.811.84
#7 700 × 700 2.932.742.412.552.452.41
#8 800 × 800 4.874.094.153.793.803.78
#9 900 × 900 6.335.755.184.635.125.03
#10 1000 × 1000 9.618.037.306.947.097.08
Mean 2.852.492.302.192.242.23
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Shi, L.; Ullah, M.Z.; Nashine, H.K.; Alansari, M.; Shateyi, S. An Enhanced Numerical Iterative Method for Expanding the Attraction Basins When Computing Matrix Signs of Invertible Matrices. Fractal Fract. 2023, 7, 684. https://doi.org/10.3390/fractalfract7090684

AMA Style

Shi L, Ullah MZ, Nashine HK, Alansari M, Shateyi S. An Enhanced Numerical Iterative Method for Expanding the Attraction Basins When Computing Matrix Signs of Invertible Matrices. Fractal and Fractional. 2023; 7(9):684. https://doi.org/10.3390/fractalfract7090684

Chicago/Turabian Style

Shi, Lei, Malik Zaka Ullah, Hemant Kumar Nashine, Monairah Alansari, and Stanford Shateyi. 2023. "An Enhanced Numerical Iterative Method for Expanding the Attraction Basins When Computing Matrix Signs of Invertible Matrices" Fractal and Fractional 7, no. 9: 684. https://doi.org/10.3390/fractalfract7090684

APA Style

Shi, L., Ullah, M. Z., Nashine, H. K., Alansari, M., & Shateyi, S. (2023). An Enhanced Numerical Iterative Method for Expanding the Attraction Basins When Computing Matrix Signs of Invertible Matrices. Fractal and Fractional, 7(9), 684. https://doi.org/10.3390/fractalfract7090684

Article Metrics

Back to TopTop