Analytic function of a matrix explained
In mathematics, every analytic function can be used for defining a matrix function that maps square matrices with complex entries to square matrices of the same size.
This is used for defining the exponential of a matrix, which is involved in the closed-form solution of systems of linear differential equations.
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 is defined may differ.
Power series
If the analytic function has the Taylor expansionthen a matrix function
can be defined by substituting by a
square matrix: powers become matrix powers, additions become matrix sums and multiplications by coefficients become
scalar multiplications. If the series converges for
, then the corresponding matrix series converges for matrices such that
for some
matrix norm that satisfies
.
Diagonalizable matrices
A square matrix is diagonalizable, if there is an invertible matrix such that
is a
diagonal matrix, that is, has the shape
As
it is natural to set
It can be verified that the matrix does not depend on a particular choice of .
For example, suppose one is seeking
for
One hasfor
Application of the formula then simply yields
Likewise,
Jordan decomposition
, where the matrix
J consists of
Jordan blocks. Consider these blocks separately and apply the
power series to a Jordan block:
This definition can be used to extend the domain of the matrix functionbeyond 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 forreal functions:
If
for all eigenvalues of
, then
.(As a convention,
X\preceqY\LeftrightarrowY-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 defined on a set, one haswhere is a closed simple curve inside the domain enclosing .
Now, replace by a matrix and consider a path inside that encloses all eigenvalues of . One possibility to achieve this is to let be a circle around the origin with radius larger than for an arbitrary matrix norm . Then, is definable by
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.
See also: Sylvester's formula.
Matrix perturbations
The above Taylor power series allows the scalar
to be replaced by the matrix. This is not true in general when expanding in terms of
about
unless
. A counterexample is
, which has a finite length
Taylor series. We compute this in two ways,
- Distributive law:
- Using scalar Taylor expansion for
and replacing scalars with matrices at the end:
The scalar expression assumes commutativity while the matrix expression does not, and thus they cannot be equated directly unless
. For some
f(
x) this can be dealt with using the same method as scalar Taylor series. For example,
. If
exists then
. The expansion of the first term then follows the power series given above,
The convergence criteria of the power series then apply, requiring
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.
Arbitrary function of a 2×2 matrix
An arbitrary function f(A) of a 2×2 matrix A has its Sylvester's formula simplify towhere
are the eigenvalues of its characteristic equation,, and are given by
However, if there is degeneracy, the following formula is used, where f' is the derivative of f.
Examples
Classes of matrix functions
Using the semidefinite ordering (
X\preceqY\LeftrightarrowY-X
is
positive-semidefinite and
X\precY\LeftrightarrowY-X
is
positive definite), someof the classes of scalar functions can be extended to matrix functions of
Hermitian matrices.
[2] Operator monotone
See main article: Operator monotone function. A function is called operator monotone if and only if
0\precA\preceqH ⇒ f(A)\preceqf(H)
for all self-adjoint matrices with spectra in the domain of . This is analogous to
monotone function in the scalar case.
Operator concave/convex
A function is called operator concave if and only iffor all self-adjoint matrices with spectra in the domain of and
. 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.
See also
References
- Book: Higham. Nicholas J.. Functions of matrices theory and computation. 2008. Society for Industrial and Applied Mathematics. Philadelphia. Nicholas Higham. 9780898717778.
Notes and References
- Web site: Higham. Nick. 2020-12-15. What Is the Matrix Sign Function?. 2020-12-27. Nick Higham. en.
- Book: Bhatia, R. . Matrix Analysis . Graduate Texts in Mathematics . 1997 . Springer . 169.