Matrix sign function

From The Right Wiki
Jump to navigationJump to search

In mathematics, the matrix sign function is a matrix function on square matrices analogous to the complex sign function.[1] It was introduced by J.D. Roberts in 1971 as a tool for model reduction and for solving Lyapunov and Algebraic Riccati equation in a technical report of Cambridge University, which was later published in a journal in 1980.[2][3]

Definition

The matrix sign function is a generalization of the complex signum function csgn(z)={1if Re(z)>0,1if Re(z)<0, to the matrix valued analogue csgn(A). Although the sign function is not analytic, the matrix function is well defined for all matrices that have no eigenvalue on the imaginary axis, see for example the Jordan-form-based definition (where the derivatives are all zero).

Properties

Theorem: Let An×n, then csgn(A)2=I.[1] Theorem: Let An×n, then csgn(A) is diagonalizable and has eigenvalues that are ±1.[1] Theorem: Let An×n, then (I+csgn(A))/2 is a projector onto the invariant subspace associated with the eigenvalues in the right-half plane, and analogously for (Icsgn(A))/2 and the left-half plane.[1] Theorem: Let An×n, and A=P[J+00J]P1 be a Jordan decomposition such that J+ corresponds to eigenvalues with positive real part and J to eigenvalue with negative real part. Then csgn(A)=P[I+00I]P1, where I+ and I are identity matrices of sizes corresponding to J+ and J, respectively.[1]

Computational methods

The function can be computed with generic methods for matrix functions, but there are also specialized methods.

Newton iteration

The Newton iteration can be derived by observing that csgn(x)=x2/x, which in terms of matrices can be written as csgn(A)=A1A2, where we use the matrix square root. If we apply the Babylonian method to compute the square root of the matrix A2, that is, the iteration Xk+1=12(Xk+AXk1), and define the new iterate Zk=A1Xk, we arrive at the iteration Zk+1=12(Zk+Zk1), where typically Z0=A. Convergence is global, and locally it is quadratic.[1][2] The Newton iteration uses the explicit inverse of the iterates Zk.

Newton–Schulz iteration

To avoid the need of an explicit inverse used in the Newton iteration, the inverse can be approximated with one step of the Newton iteration for the inverse, Zk1Zk(2IZk2), derived by Schulz(de) in 1933.[4] Substituting this approximation into the previous method, the new method becomes Zk+1=12Zk(3IZk2). Convergence is (still) quadratic, but only local (guaranteed for IA2<1).[1]

Applications

Solutions of Sylvester equations

Theorem:[2][3] Let A,B,Cn×n and assume that A and B are stable, then the unique solution to the Sylvester equation, AX+XB=C, is given by X such that [I2X0I]=csgn([AC0B]). Proof sketch: The result follows from the similarity transform [AC0B]=[IX0I][A00B][IX0I]1, since csgn([AC0B])=[IX0I][I00I][IX0I], due to the stability of A and B. The theorem is, naturally, also applicable to the Lyapunov equation. However, due to the structure the Newton iteration simplifies to only involving inverses of A and AT.

Solutions of algebraic Riccati equations

There is a similar result applicable to the algebraic Riccati equation, AHP+PAPFP+Q=0.[1][2] Define V,W2n×n as [VW]=csgn([AHQFA])[I00I]. Under the assumption that F,Qn×n are Hermitian and there exists a unique stabilizing solution, in the sense that AFP is stable, that solution is given by the over-determined, but consistent, linear system VP=W. Proof sketch: The similarity transform [AHQFA]=[PII0][(AFP)F0(AFP)][PII0]1, and the stability of AFP implies that (csgn([AHQFA])[I00I])[XII0]=[XII0][0Y02I], for some matrix Yn×n.

Computations of matrix square-root

The Denman–Beavers iteration for the square root of a matrix can be derived from the Newton iteration for the matrix sign function by noticing that APIP=0 is a degenerate algebraic Riccati equation[3] and by definition a solution P is the square root of A.

References

  1. 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 Higham, Nicholas J. (2008). Functions of matrices : theory and computation. Society for Industrial and Applied Mathematics. Philadelphia, Pa.: Society for Industrial and Applied Mathematics (SIAM, 3600 Market Street, Floor 6, Philadelphia, PA 19104). ISBN 978-0-89871-777-8. OCLC 693957820.
  2. 2.0 2.1 2.2 2.3 Roberts, J. D. (October 1980). "Linear model reduction and solution of the algebraic Riccati equation by use of the sign function". International Journal of Control. 32 (4): 677–687. doi:10.1080/00207178008922881. ISSN 0020-7179.
  3. 3.0 3.1 3.2 Denman, Eugene D.; Beavers, Alex N. (1976). "The matrix sign function and computations in systems". Applied Mathematics and Computation. 2 (1): 63–94. doi:10.1016/0096-3003(76)90020-5. ISSN 0096-3003.
  4. Schulz, Günther (1933). "Iterative Berechung der reziproken Matrix". ZAMM - Journal of Applied Mathematics and Mechanics / Zeitschrift für Angewandte Mathematik und Mechanik. 13 (1): 57–59. Bibcode:1933ZaMM...13...57S. doi:10.1002/zamm.19330130111. ISSN 1521-4001.