Preply — Study more efficiently by working with a personal tutor. Get 50% off.Affiliate

Wikipedia

Analytic function of a matrix

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 f has the Taylor expansion

f ( x ) = c 0 + c 1 x + c 2 x 2 + ⋯ {\displaystyle f(x)=c_{0}+c_{1}x+c_{2}x^{2}+\cdots }

then a matrix function A ↦ f ( A ) {\displaystyle A\mapsto f(A)} can be defined by substituting x by a square matrix: powers become matrix powers, additions become matrix sums and multiplications by coefficients become scalar multiplications. If the series converges for | x | < r {\displaystyle |x|<r} , then the corresponding matrix series converges for matrices A such that ‖ A ‖ < r {\displaystyle \|A\|<r} for some matrix norm that satisfies ‖ A B ‖ ≤ ‖ A ‖ ‖ B ‖ {\displaystyle \|AB\|\leq \|A\|\|B\|} .

Diagonalizable matrices A square matrix A is diagonalizable, if there is an invertible matrix P such that D = P − 1 A P {\displaystyle D=P^{-1}\,A\,P} is a diagonal matrix, that is, D has the shape

D = [ d 1 ⋯ 0 ⋮ ⋱ ⋮ 0 ⋯ d n ] . {\displaystyle D={\begin{bmatrix}d_{1}&\cdots &0\\\vdots &\ddots &\vdots \\0&\cdots &d_{n}\end{bmatrix}}.}

As A = P D P − 1 , {\displaystyle A=P\,D\,P^{-1},} it is natural to set

f ( A ) = P [ f ( d 1 ) ⋯ 0 ⋮ ⋱ ⋮ 0 ⋯ f ( d n ) ] P − 1 . {\displaystyle f(A)=P\,{\begin{bmatrix}f(d_{1})&\cdots &0\\\vdots &\ddots &\vdots \\0&\cdots &f(d_{n})\end{bmatrix}}\,P^{-1}.}

It can be verified that the matrix f(A) does not depend on a particular choice of P. For example, suppose one is seeking Γ ( A ) = ( A − 1 ) ! {\displaystyle \Gamma (A)=(A-1)!} for

A = [ 1 3 2 1 ] . {\displaystyle A={\begin{bmatrix}1&3\\2&1\end{bmatrix}}.}

One has

A = P [ 1 − 6 0 0 1 + 6 ] P − 1 , {\displaystyle A=P{\begin{bmatrix}1-{\sqrt {6}}&0\\0&1+{\sqrt {6}}\end{bmatrix}}P^{-1}~,}

for

P = [ 1 / 2 1 / 2 − 1 6 1 6 ] . {\displaystyle P={\begin{bmatrix}1/2&1/2\\-{\frac {1}{\sqrt {6}}}&{\frac {1}{\sqrt {6}}}\end{bmatrix}}~.}

Application of the formula then simply yields

Γ ( A ) = [ 1 / 2 1 / 2 − 1 6 1 6 ] ⋅ [ Γ ( 1 − 6 ) 0 0 Γ ( 1 + 6 ) ] ⋅ [ 1 − 6 / 2 1 6 / 2 ] ≈ [ 2.8114 0.4080 0.2720 2.8114 ] . {\displaystyle \Gamma (A)={\begin{bmatrix}1/2&1/2\\-{\frac {1}{\sqrt {6}}}&{\frac {1}{\sqrt {6}}}\end{bmatrix}}\cdot {\begin{bmatrix}\Gamma (1-{\sqrt {6}})&0\\0&\Gamma (1+{\sqrt {6}})\end{bmatrix}}\cdot {\begin{bmatrix}1&-{\sqrt {6}}/2\\1&{\sqrt {6}}/2\end{bmatrix}}\approx {\begin{bmatrix}2.8114&0.4080\\0.2720&2.8114\end{bmatrix}}~.}

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 84 56 73 ] . {\displaystyle A^{4}={\begin{bmatrix}1/2&1/2\\-{\frac {1}{\sqrt {6}}}&{\frac {1}{\sqrt {6}}}\end{bmatrix}}\cdot {\begin{bmatrix}(1-{\sqrt {6}})^{4}&0\\0&(1+{\sqrt {6}})^{4}\end{bmatrix}}\cdot {\begin{bmatrix}1&-{\sqrt {6}}/2\\1&{\sqrt {6}}/2\end{bmatrix}}={\begin{bmatrix}73&84\\56&73\end{bmatrix}}~.}

Jordan decomposition

All complex matrices, whether they are diagonalizable or not, have a Jordan normal form A = P J P − 1 {\displaystyle A=P\,J\,P^{-1}} , where the matrix J consists of Jordan blocks. Proper method is presented in details in section 1.2.2, pages 4-7, of the book Higham (2008) by the Hermite interpolation with the use of confluent Vandermonde matrix. 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 − 1 ) ( λ ) ( n − 1 ) ! 0 f ( λ ) 0 ! f ′ ( λ ) 1 ! ⋮ f ( n − 2 ) ( λ ) ( n − 2 ) ! 0 0 ⋱ ⋱ ⋮ ⋮ ⋯ ⋱ f ( λ ) 0 ! f ′ ( λ ) 1 ! 0 ⋯ ⋯ 0 f ( λ ) 0 ! ] . {\displaystyle f\left({\begin{bmatrix}\lambda &1&0&\cdots &0\\0&\lambda &1&\vdots &\vdots \\0&0&\ddots &\ddots &\vdots \\\vdots &\cdots &\ddots &\lambda &1\\0&\cdots &\cdots &0&\lambda \end{bmatrix}}\right)={\begin{bmatrix}{\frac {f(\lambda )}{0!}}&{\frac {f'(\lambda )}{1!}}&{\frac {f''(\lambda )}{2!}}&\cdots &{\frac {f^{(n-1)}(\lambda )}{(n-1)!}}\\0&{\frac {f(\lambda )}{0!}}&{\frac {f'(\lambda )}{1!}}&\vdots &{\frac {f^{(n-2)}(\lambda )}{(n-2)!}}\\0&0&\ddots &\ddots &\vdots \\\vdots &\cdots &\ddots &{\frac {f(\lambda )}{0!}}&{\frac {f'(\lambda )}{1!}}\\0&\cdots &\cdots &0&{\frac {f(\lambda )}{0!}}\end{bmatrix}}.}

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 ) {\displaystyle f(a)\leq g(a)} for all eigenvalues of A {\displaystyle A} , then f ( A ) ⪯ g ( A ) {\displaystyle f(A)\preceq g(A)} . (As a convention, X ⪯ Y ⇔ Y − X {\displaystyle X\preceq Y\Leftrightarrow 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 ⊂ C, one has

f ( x ) = 1 2 π i ∮ C f ( z ) z − x d z , {\displaystyle f(x)={\frac {1}{2\pi i}}\oint _{C}\!{\frac {f(z)}{z-x}}\,\mathrm {d} z~,}

where C is a closed simple 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 . {\displaystyle f(A)={\frac {1}{2\pi i}}\oint _{C}f(z)\left(zI-A\right)^{-1}\mathrm {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 {\displaystyle x} to be replaced by the matrix. This is not true in general when expanding in terms of A ( η ) = A + η B {\displaystyle A(\eta )=A+\eta B} about η = 0 {\displaystyle \eta =0} unless [ A , B ] = 0 {\displaystyle [A,B]=0} . A counterexample is f ( x ) = x 3 {\displaystyle f(x)=x^{3}} , which has a finite length Taylor series. We compute this in two ways,

Distributive law: 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 {\displaystyle f(A+\eta B)=(A+\eta B)^{3}=A^{3}+\eta (A^{2}B+ABA+BA^{2})+\eta ^{2}(AB^{2}+BAB+B^{2}A)+\eta ^{3}B^{3}}

Using scalar Taylor expansion for f ( a + η b ) {\displaystyle f(a+\eta 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 {\displaystyle {\begin{aligned}f(a+\eta b)&=f(a)+f'(a){\frac {\eta b}{1!}}+f''(a){\frac {(\eta b)^{2}}{2!}}+f'''(a){\frac {(\eta b)^{3}}{3!}}\\[.5em]&=a^{3}+3a^{2}(\eta b)+3a(\eta b)^{2}+(\eta b)^{3}\\[.5em]&\to A^{3}=+3A^{2}(\eta B)+3A(\eta B)^{2}+(\eta B)^{3}\end{aligned}}}

The scalar expression assumes commutativity while the matrix expression does not, and thus they cannot be equated directly unless [ A , B ] = 0 {\displaystyle [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 {\textstyle f(x)={\frac {1}{x}}} . If A − 1 {\displaystyle A^{-1}} exists then f ( A + η B ) = f ( I + η A − 1 B ) f ( A ) {\displaystyle f(A+\eta B)=f(\mathbb {I} +\eta 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 {\displaystyle f(\mathbb {I} +\eta A^{-1}B)=\mathbb {I} -\eta A^{-1}B+(-\eta A^{-1}B)^{2}+\cdots =\sum _{n=0}^{\infty }(-\eta A^{-1}B)^{n}}

The convergence criteria of the power series then apply, requiring ‖ η A − 1 B ‖ {\displaystyle \Vert \eta A^{-1}B\Vert } 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 to

f ( A ) = f ( λ + ) + f ( λ − ) 2 I + A − ( t r ( A ) 2 ) I ( t r ( A ) 2 ) 2 − | A | f ( λ + ) − f ( λ − ) 2 , {\displaystyle f(A)={\frac {f(\lambda _{+})+f(\lambda _{-})}{2}}I+{\frac {A-\left({\frac {tr(A)}{2}}\right)I}{\sqrt {\left({\frac {tr(A)}{2}}\right)^{2}-|A|}}}{\frac {f(\lambda _{+})-f(\lambda _{-})}{2}}~,}

where λ ± {\displaystyle \lambda _{\pm }} are the eigenvalues of its characteristic equation, |A − λI| = 0, and are given by

λ ± = t r ( A ) 2 ± ( t r ( A ) 2 ) 2 − | A | . {\displaystyle \lambda _{\pm }={\frac {tr(A)}{2}}\pm {\sqrt {\left({\frac {tr(A)}{2}}\right)^{2}-|A|}}.}

However, if there is degeneracy, the following formula is used, where f' is the derivative of f.

f ( A ) = f ( t r ( A ) 2 ) I + a d j ( t r ( A ) 2 I − A ) f ′ (

Tags

  • Mathematical physics
  • Matrix theory