When I use the MatrixExp on a general $2\times2$ matrix, Mathematica gives me this result:
MatrixExp[{{a,b},{c,d}}] // TraditionalForm
$\frac{1}{2\triangle}\left(\begin{array}{cc} e^{\frac{\triangle+a+d}{2}}\left(\triangle+a-d\right)-e^{\frac{-\triangle+a+d}{2}}\left(-\triangle+a-d\right) & 2be^{\frac{\triangle+a+d}{2}}-2be^{\frac{-\triangle+a+d}{2}}\\ 2ce^{\frac{\triangle+a+d}{2}}-2ce^{\frac{-\triangle+a+d}{2}} & e^{\frac{\triangle+a+d}{2}}\left(\triangle-a+d\right)-e^{\frac{-\triangle+a+d}{2}}\left(-\triangle-a+d\right) \end{array}\right)$
where $\triangle=\sqrt{a^{2}-2ad+4bc+d^{2}}$
Is this true for any matrix {{a,b},{c,d}} (including complex matrix)? If it is not, what is the restrictions on the matrix {{a,b},{c,d}}?
works only on square matrices
. So as long as the matrix is square, it will work. $\endgroup$