TOPICS
Search

Matrix Function


A matrix function f(A) extends a scalar function f(z) to a square complex matrix A through its Jordan canonical form (Higham 2008). Suppose f(z) is analytic on an open set containing all eigenvalues of A. For a Jordan block J=lambdaI+N of size m, where I is the identity matrix and N^m=0, define

 f(J)=sum_(j=0)^(m-1)(f^((j))(lambda))/(j!)N^j.

If A=SJS^(-1) is a Jordan matrix decomposition, apply this rule to each Jordan block and set f(A)=Sf(J)S^(-1). The result is independent of the choice of Jordan basis. For a diagonalizable matrix, only the values f(lambda) at its eigenvalues are needed. Nontrivial Jordan blocks also require derivatives.

Equivalently, the Cauchy integral formula gives

 f(A)=1/(2pii)∮_Gammaf(z)(zI-A)^(-1)dz,

where Gamma consists of positively oriented, piecewise smooth, simple closed contours with disjoint interiors enclosing all eigenvalues, and f(z) is analytic on and inside each contour (Higham 2008, 2020). The matrix (zI-A)^(-1) is the resolvent operator of A. This construction is a finite-dimensional functional calculus. For a scalar polynomial, it agrees with substitution of matrix powers. The choice f(z)=e^z gives the matrix exponential.

For numerical evaluation, a Schur decomposition reduces the problem to computing f(T) for an upper triangular matrix T. Parlett (1976) derived an entrywise recurrence from the commutation of T and f(T). The Schur-Parlett algorithm groups close eigenvalues into diagonal blocks and computes the off-diagonal blocks by solving Sylvester equations (Davies and Higham 2003). Higham and Liu (2021) give a multiprecision version that uses only scalar function values.

For numerical evaluation of the matrix logarithm or a fractional matrix power, Hale et al. (2008) use a conformal map based on Jacobi elliptic functions and apply the trapezoidal rule to the transformed contour integral.


See also

Cauchy Integral Formula, Functional Calculus, Jordan Canonical Form, Matrix Exponential, Resolvent Operator

Explore with Wolfram|Alpha

References

Davies, P. I. and Higham, N. J. "A Schur-Parlett Algorithm for Computing Matrix Functions." SIAM J. Matrix Anal. Appl. 25, 464-485, 2003. https://doi.org/10.1137/S0895479802410815.Hale, N.; Higham, N. J.; and Trefethen, L. N. "Computing A^alpha, log(A), and Related Matrix Functions by Contour Integrals." SIAM J. Numer. Anal. 46, 2505-2523, 2008. https://doi.org/10.1137/070700607.Higham, N. J. Functions of Matrices: Theory and Computation. Philadelphia, PA: SIAM, 2008. https://doi.org/10.1137/1.9780898717778.Higham, N. J. "What Is a Matrix Function?" Jun. 9, 2020. https://nhigham.com/2020/06/09/what-is-a-matrix-function/.Higham, N. J. and Liu, X. "A Multiprecision Derivative-Free Schur-Parlett Algorithm for Computing Matrix Functions." SIAM J. Matrix Anal. Appl. 42, 1401-1422, 2021. https://doi.org/10.1137/20M1365326.Parlett, B. N. "A Recurrence among the Elements of Functions of Triangular Matrices." Linear Algebra Appl. 14, 117-121, 1976. https://doi.org/10.1016/0024-3795(76)90018-5.Rinehart, R. F. "The Equivalence of Definitions of a Matric Function." Amer. Math. Monthly 62, 395-414, 1955. https://doi.org/10.1080/00029890.1955.11988651.Xu, H. "Functions of a Matrix and Krylov Matrices." Linear Algebra Appl. 434, 185-200, 2011. https://doi.org/10.1016/j.laa.2010.08.044.

Cite this as:

Weisstein, Eric W. "Matrix Function." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/MatrixFunction.html

Subject classifications