Suvarna Garge (Editor)

Matrix function

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

In mathematics, a matrix function is a function which maps a matrix to another matrix.

Contents

Extending scalar function to matrix functions

There are several techniques for lifting a real function to a square matrix function such that interesting properties are maintained. All of the following techniques yield the same matrix function, but the domains on which the function are defined may differ.

Power series

If the real function f has the Taylor expansion

f ( x ) = f ( 0 ) + f ( 0 ) x + f ( 0 ) x 2 2 ! +

then a matrix function can be defined by substituting x by a matrix: the powers become matrix powers, the additions become matrix sums and the multiplications become scaling operations. If the real series converges for | x | < r , then the corresponding matrix series will converge for matrix argument A if A < r for some matrix norm which satisfies A B A B .

Diagonalizable matrices

If the matrix A is diagonalizable, the problem may be reduced to an array of the function on each eigenvalue. This is to say we can find a matrix P and a diagonal matrix D such that A = P D P 1 . Applying the power series definition to this decomposition, we find that f(A) is defined by

f ( A ) = P [ f ( d 1 ) 0 0 f ( d n ) ] P 1   ,

where d 1 , , d n denote the diagonal entries of D.

For example, suppose one is seeking A! = Γ(A+1) for

A = [ 1 3 2 1 ]   .

One has

A = P [ 1 6 0 0 1 + 6 ] P 1   ,

for

P = [ 1 / 2 1 / 2 1 6 1 6 ]   .

Application of the formula then simply yields

A ! = [ 1 / 2 1 / 2 1 6 1 6 ] [ Γ ( 2 6 ) 0 0 Γ ( 2 + 6 ) ] [ 1 6 / 2 1 6 / 2 ] [ 3.6274 8.8423 5.8949 3.6274 ]   .

Likewise,

A 4 = [ 1 / 2 1 / 2 1 6 1 6 ] [ ( 1 6 ) 4 0 0 ( 1 + 6 ) 4 ] [ 1 6 / 2 1 6 / 2 ] = [ 73.00 84.00 56.00 73.00 ]   .

Jordan decomposition

All matrices, whether they are diagonalizable or not, have a Jordan normal form A = P J P 1 , where the matrix J consists of Jordan blocks. Consider these blocks separately and apply the power series to a Jordan block:

f ( [ λ 1 0 0 0 λ 1 0 0 λ 1 0 0 λ ] ) = [ f ( λ ) 0 ! f ( λ ) 1 ! f ( λ ) 2 ! f ( n ) ( λ ) n ! 0 f ( λ ) 0 ! f ( λ ) 1 ! f ( n 1 ) ( λ ) ( n 1 ) ! 0 0 f ( λ ) 0 ! f ( λ ) 1 ! 0 0 f ( λ ) 0 ! ] .

This definition can be used to extend the domain of the matrix function beyond the set of matrices with spectral radius smaller than the radius of convergence of the power series. Note that there is also a connection to divided differences.

A related notion is the Jordan–Chevalley decomposition which expresses a matrix as a sum of a diagonalizable and a nilpotent part.

Hermitian matrices

A Hermitian matrix has all real eigenvalues and can always be diagonalized by a unitary matrix P, according to the spectral theorem. In this case, the Jordan definition is natural. Moreover, this definition allows one to extend standard inequalities for real functions:

If f ( a ) g ( a ) for all eigenvalues of A , then f ( A ) g ( A ) . (As a convention, X Y Y X is a positive-semidefinite matrix.) The proof follows directly from the definition.

Cauchy integral

Cauchy's integral formula from complex analysis can also be used to generalize scalar functions to matrix functions. Cauchy's integral formula states that for any analytic function f defined on a set D ⊂ ℂ, one has

f ( x ) = 1 2 π i C f ( z ) z x d z   ,

where C is a closed curve inside the domain D enclosing x.

Now, replace x by a matrix A and consider a path C inside D that encloses all eigenvalues of A. One possibility to achieve this is to let C be a circle around the origin with radius larger than ‖A‖ for an arbitrary matrix norm ‖•‖. Then, f(A) is definable by

f ( A ) = 1 2 π i C f ( z ) ( z I A ) 1 d z   .

This integral can readily be evaluated numerically using the trapezium rule, which converges exponentially in this case. That means that the precision of the result doubles when the number of nodes is doubled. In routine cases, this is bypassed by Sylvester's formula.

This idea applied to bounded linear operators on a Banach space, which can be seen as infinite matrices, leads to the holomorphic functional calculus.

Matrix perturbations

The above Taylor power series allows the scalar x to be replaced by the matrix. This is not true in general when expanding in terms of A ( η ) = A + η B about η = 0 unless [ A , B ] = 0 . A counter example is f ( x ) = x 3 , which has a finite length Taylor series. We compute this in two ways,

  • Brute force :
  • f ( A + η B ) = ( A + η B ) 3 = A 3 + η ( A 2 B + A B A + B A 2 ) + η 2 ( A B 2 + B A B + B 2 A ) + η 3 B 3
  • Using scalar Taylor expansion for f ( a + η b ) and replacing scalars with matrices at the end :
  • f ( a + η b ) = f ( a ) + f ( a ) η b 1 ! + f ( a ) ( η b ) 2 2 ! + f ( a ) ( η b ) 3 3 ! = a 3 + 3 a 2 ( η b ) + 3 a ( η b ) 2 + ( η b ) 3 A 3 + 3 A 2 ( η B ) + 3 A ( η B ) 2 + ( η B ) 3

    The scalar expression assumes commutativity while the matrix expression does not and thus they cannot be equated directly unless [ A , B ] = 0 . For some f(x) this can be dealt with using the same method as scalar Taylor series. For example, f ( x ) = 1 x . If A 1 exists then f ( A + η B ) = f ( I + η A 1 B ) f ( A ) . The expansion of the first term then follows the power series given above,

    f ( I + η A 1 B ) = I η A 1 B + ( η A 1 B ) 2 + = n = 0 ( η A 1 B ) n

    The convergence criteria of the power series then apply, requiring η A 1 B to be sufficiently small under the appropriate matrix norm. For more general problems, which cannot be rewritten in such a way that the two matrices commute, the ordering of matrix products produced by repeated application of the Leibniz rule must be tracked.

    Examples

  • Algebraic Riccati equation
  • Matrix polynomial
  • Matrix root
  • Matrix logarithm
  • Matrix exponential
  • Classes of matrix functions

    Using the semidefinite ordering ( X Y Y X is positive-semidefinite and X Y Y X is positive definite), some of the classes of scalar functions can be extended to matrix functions of Hermitian matrices.

    Operator monotone

    A function f is called operator monotone if and only if

    0 A H f ( A ) f ( H ) for all self-adjoint matrices A , H with spectra in the domain of f. This is analogous to monotone function in the scalar case.

    Operator concave/convex

    A function f is called operator concave if and only if

    τ f ( A ) + ( 1 τ ) f ( H ) f ( τ A + ( 1 τ ) H )

    for all self-adjoint matrices A , H with spectra in the domain of f and τ [ 0 , 1 ] . This definition is analogous to a concave scalar function. An operator convex function can be defined be switching to in the definition above.

    Examples

    The matrix log is both operator monotone and operator concave. The matrix square is operator convex. The matrix exponential is none of these. Loewner's Theorem states that a function on an open interval is operator monotone if and only if it has an analytic extension to the upper and lower complex half planes so that the upper half plane is mapped to itself.

    References

    Matrix function Wikipedia