5
$\begingroup$

For any real matrix $B\in\mathbb{R}^{n\times n},n\ge 2$ and precision $\varepsilon$, is there a real matrix $A\in\mathbb{R}^{n\times n}$ such that $\|e^A-B\|_F<\varepsilon$? ($F$ refers to Frobenius norm)

What if we add some restrictions to $B$?

$\endgroup$
2
  • 8
    $\begingroup$ Not if $\det B < 0$. More generally, not if $B$ has a negative eigenvalue of odd multiplicity. This is probably the only obstruction. (The choice of norm is irrelevant because all norms on a finite-dimensional vector space are topologically equivalent.) $\endgroup$ Commented Oct 10, 2023 at 2:52
  • $\begingroup$ Adding to the comment above: det ∘ exp = exp ∘ tr > 0. So if det B < 0… $\endgroup$
    – user76284
    Commented Oct 16, 2023 at 16:08

2 Answers 2

3
$\begingroup$

[EDIT: added and then removed a stronger argument that did not work.]

A partial answer providing a starting point and expanding on the comment:

  • if $B$ has no real negative eigenvalues, the answer is yes.
  • if $B$ has a simple negative eigenvalue, the answer is no.

Theorem 11.1 on Higham's book Functions of matrices states:

For $B\in\mathbb{C}^{n\times n}$ with no eigenvalues on $\mathbb{R}^{-}$, $$ \log B = \int_0^1 (B-I)(t(B-I)+I)^{-1} dt. $$ Here $\log B$ is a matrix such that $e^{A}=B$. Hence if $B$ has no eigenvalues with negative real part you can reach $B$ exactly, it is in the image of the exponential.

A converse holds: suppose $B$ has a simple real negative eigenvalue $\lambda$; then it has no real logarithm $A$. Indeed, note that we can find a real eigenvector $v$ for $B$. Any matrix logarithm must have an eigenvalue $\log \lambda \not\in\mathbb{R}$ with an associated real eigenvector $v$, as can be seen with a Jordan form. That is impossible, since $Av$ must be real.

To conclude, we must note that having a negative real eigenvalue with odd multiplicity is an open property: if $B$ has a such an eigenvalue $\lambda$, then there is a $\varepsilon >0$ such that any real matrix $C\in\mathbb{R}^{n\times n}$ with $\|B-C\|\leq \varepsilon$ has the same property. Indeed, the characteristic polynomial $p_B(t) = \det (B-tI)$ is continuous in the entries of $B$ and has a sign change at $\lambda$. So we can find $a<b<0$ such that $p_B(a)$ and $p_B(b)$ have opposite signs. A sufficiently close matrix $C$ will have a sufficiently close characteristic polynomial, hence $p_C(a)$ and $p_C(B)$ have opposite signs, and $C$ has an eigenvalue in $[a,b]$ with odd multiplicity, too.

$\endgroup$
4
  • $\begingroup$ I assume that your second bullet point should include the word "negative"? $\endgroup$ Commented Oct 11, 2023 at 5:36
  • $\begingroup$ @DavidKetcheson Correct, thanks! I have fixed it. $\endgroup$ Commented Oct 11, 2023 at 7:15
  • $\begingroup$ In the argument in your last but one paragraph ("A converse holds: ..."), you don't seem to be using that the negative eigenvalue has odd multiplicity. But for example $\textrm{diag}(-1,-1)$ has a real logarithm. $\endgroup$ Commented Oct 11, 2023 at 15:22
  • $\begingroup$ @ChristianRemling Ah, good point; the argument breaks down because $\exp$ is not injective, so Jordan decompositions of $B$ might not correspond to Jordan-like decompositions of $A$. I'll revert to the previous (weaker) version that didn't have this problem. $\endgroup$ Commented Oct 11, 2023 at 15:36
3
$\begingroup$

Edit 2 (in fact a complete rewrite): The condition from Noam's comment is almost, but not quite, the right condition. That lies somewhere between Noam's condition and condition (C) below, but lies strictly between the two.

I tried for a bit to find it, but I'm running out of steam now, and perhaps there is circumstantial evidence that the situation is actually quite messy at the level of the fine details (see below).

A result of Culver from 1966 (see Theorem 1 there) implies that an invertible $B$ is a real matrix exponential $B=e^A$ if and only if condition (C) holds.

(C) Every Jordan block corresponding to a negative eigenvalue (if any) occurs an even number of times.

So a matrix $B$ can be approximated by real matrix exponentials if every neighborhood of $B$ contains an invertible matrix satisfying (C).

This clearly holds when $B$ itself satisfies (C) (even when $B$ is not invertible).

Conversely, if there is a negative eigenvalue of odd multiplicity, then a small perturbation can not get rid of it (though it could remove degeneracies), and we won't reach a matrix satisfying (C).

Another type of matrix that can not be approximated is $B=\bigl( \begin{smallmatrix} -1 & 1\\ 0 & -1 \end{smallmatrix} \bigr)$. Again, a small perturbation will either keep the matrix non-diagonalizable with a single Jordan block, or it will give us two distinct negative eigenvalues, and (C) will fail in both cases.

On the other hand, $$ B=\begin{pmatrix} -1 & 1 & 0 & 0\\ 0 & -1 & 0 &0 \\ 0 & 0 &-1&0 \\0&0&0&-1\end{pmatrix} $$ can be approximated by matrix exponentials: now we can remove the degeneracy in the first block (for example by a small perturbation in the $(2,1)$ entry) and then slightly adjust the third and fourth eigenvalues to obtain a diagonalizable matrix with two double negative eigenvalues.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .