Skip to main content
QUICK REVIEW

[Paper Review] Logarithms and Square Roots of Real Matrices

Jean Gallier|arXiv (Cornell University)|May 2, 2008
Matrix Theory and AlgorithmsComputer Science29 references11 citations
TL;DR

This paper provides a unified, accessible exposition of existence and uniqueness conditions for real logarithms and square roots of real matrices, using the Real Jordan Form. It establishes that invertible matrices with no negative real eigenvalues and eigenvalues in the strip $-\pi < \mu < \pi$ admit unique real logarithms, enabling applications in medical image registration and Log-Euclidean polyaffine transformations via matrix exponentiation and blending of vector fields.

ABSTRACT

In these notes, we consider the problem of finding the logarithm or the square root of a real matrix. It is known that for every real n x n matrix, A, if no real eigenvalue of A is negative or zero, then A has a real logarithm, that is, there is a real matrix, X, such that e^X = A. Furthermore, if the eigenvalues, xi, of X satisfy the property -pi &lt; Im(xi) &lt; pi, then X is unique. It is also known that under the same condition every real n x n matrix, A, has a real square root, that is, there is a real matrix, X, such that X^2 = A. Moreover, if the eigenvalues, rho e^{i theta}, of X satisfy the condition -pi/2 &lt; theta &lt; pi/2, then X is unique. These theorems are the theoretical basis for various numerical methods for exponentiating a matrix or for computing its logarithm using a method known as scaling and squaring (resp. inverse scaling and squaring). Such methods play an important role in the log-Euclidean framework due to Arsigny, Fillard, Pennec and Ayache and its applications to medical imaging. Actually, there is a necessary and sufficient condition for a real matrix to have a real logarithm (or a real square root) but it is fairly subtle as it involves the parity of the number of Jordan blocks associated with negative eigenvalues. As far as I know, with the exception of Higham's recent book, proofs of these results are scattered in the literature and it is not easy to locate them. Moreover, Higham's excellent book assumes a certain level of background in linear algebra that readers interested in the topics of this paper may not possess so we feel that a more elementary presentation might be a valuable supplement to Higham. In these notes, I present a unified exposition of these results and give more direct proofs of some of them using the Real Jordan Form.

Motivation & Objective

  • To provide a self-contained, elementary treatment of conditions for existence and uniqueness of real logarithms and square roots of real matrices, especially for non-expert readers in medical imaging.
  • To establish sufficient conditions under which a real matrix admits a real logarithm, particularly focusing on eigenvalue constraints.
  • To support the Log-Euclidean framework in medical imaging by proving that affine transformations with specific eigenvalue properties have unique real logarithms.
  • To unify scattered results in the literature on matrix logarithms and square roots into a coherent, accessible exposition using the Real Jordan Form.
  • To enable the construction of smooth, invertible diffeomorphisms for image registration through vector field blending at the infinitesimal level.

Proposed method

  • Use of the Real Jordan Form to analyze the structure of real matrices and their logarithms, particularly for matrices with complex eigenvalues.
  • Proof that a real matrix has a real logarithm if and only if it is invertible and has no negative real eigenvalues, with eigenvalues' imaginary parts in $(-\pi, \pi)$.
  • Application of the exponential map to transform vector fields into diffeomorphisms via $\Phi_t = \exp(tL)$, where $L$ is the logarithm of the transformation matrix.
  • Blending of multiple affine transformations by averaging their logarithmic vector fields $V_i(X) = L_iX + v_i$ using spatially varying weights $w_i(X)$.
  • Construction of Log-Euclidean polyaffine transformations (LEPTs) as flows of blended vector fields, ensuring smoothness and invertibility.
  • Derivation of the Jordan structure of $A^2$ from that of $A$, showing that elementary divisors transform as $(X - \lambda)^r \to (X - \lambda^2)^r$.

Experimental results

Research questions

  • RQ1Under what conditions does a real matrix admit a real logarithm?
  • RQ2What is the precise relationship between the eigenvalues of a matrix and the existence of its real logarithm?
  • RQ3How can matrix logarithms be used to construct smooth, invertible transformations for medical image registration?
  • RQ4What is the role of the Real Jordan Form in proving existence and uniqueness of real logarithms?
  • RQ5Can the square root of a real matrix be constructed using similar eigenvalue-based conditions?

Key findings

  • A real matrix has a real logarithm if and only if it is invertible and has no negative real eigenvalues, with all complex eigenvalues $\lambda + i\mu$ satisfying $-\pi < \mu < \pi$.
  • The exponential map $\exp: \mathcal{S}(n) \to \text{GL}(n,\mathbb{R})$ is surjective onto the set of invertible matrices with no negative eigenvalues, and is injective on $\mathcal{S}(n)$.
  • For any invertible matrix $A$, the Jordan form of $A^2$ is obtained by squaring each eigenvalue in the Jordan blocks of $A$.
  • The minimal polynomial of the restriction of $f^2$ to each generalized eigenspace $V_i$ is $(X - \lambda_i^2)^{r_i}$, where $r_i$ is the size of the Jordan block for $\lambda_i$.
  • The vector field $V(X) = \sum_{i=1}^N w_i(X)(L_iX + v_i)$ generates a one-parameter group of diffeomorphisms $\Phi_t$, ensuring smooth and invertible transformations.
  • The resulting Log-Euclidean polyaffine transformation (LEPT) is given by $\Phi_1 = \exp\left(\sum w_i \begin{pmatrix} L_i & v_i \\ 0 & 0 \end{pmatrix}\right)$, enabling efficient computation and fusion of transformations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.