Is $[X,Y] \neq 0$ the sufficient condition of $e^{X+Y} \neq e^Xe^Y$?
We know that if X commutes with Y, where X and Y are $n\times n$ matrices, then we have
$$e^{X+Y}=e^Xe^Y$$
However, can we conclude that $e^{X+Y} \neq e^Xe^Y$ if X doesn't commute with Y ? Is there any counterexample ? Or prove if it is right.
Solution 1:
Commutativity is not necessary. Let $$ A=\pmatrix{0&0\\0&2\pi i},\quad B=\pmatrix{0&1\\0&2\pi i}. $$ Then $e^A=e^B=e^{A+B}=I$, so $$ e^Ae^B=e^Be^A=e^{A+B}, \quad \text{but $AB\neq BA$}. $$
Solution 2:
Another example in which $[X,Y]\neq 0$ but $e^Xe^Y=e^{X+Y}$.
Let $a\neq b\wedge c\neq0$ real numbers.
$$X=\begin{pmatrix} a&0\\0&b\end{pmatrix}\\Y=\begin{pmatrix} 0&c\\0&0\end{pmatrix}\\ [X,Y]=\begin{pmatrix} 0&c(a-b)\\0&0\end{pmatrix}\neq 0$$
$$e^X=\begin{pmatrix} e^a&0\\0&e^b\end{pmatrix}\\ e^Y=\begin{pmatrix} 1&c\\0&1\end{pmatrix}\\ e^{X+Y}=\begin{pmatrix} e^a&{e^a-e^b\over a-b}c\\0&e^b\end{pmatrix}\\ e^Xe^Y=\begin{pmatrix} e^a&e^ac\\0&e^b\end{pmatrix}$$
Therefore, $e^Xe^Y=e^{X+Y}\Longleftrightarrow (a-b)e^a=e^a-e^b\Longleftrightarrow (a-1)e^a=(b-1)e^b$
But you can easily see that the function $\mathbb{R}\ni x\mapsto (x-1)e^x$ is not injective, so we can find a suitable couple $a\neq b$ to make this equality hold.
An "interesting" fact is that, since the minimum of $(x-1)e^x$ is in $x=0$, this provides counterexamples $X,Y$ arbitrarly close to the zero matrix.