Let $M=\begin{bmatrix} 4 & -2 \\ -1 & 5 \end{bmatrix}$. Find a matrix $X$ such that $e^X = M$, or show this is impossible.
Attempt. I think that this is not possible because of the convergence problem of the logarithm function. But I couldn't prove it. I've computed that $M=PDP^{-1}$ where $P=\begin{bmatrix} 2 & -1 \\ 1 & 1 \end{bmatrix}$ and $D=\begin{bmatrix} 3 & 0 \\ 0 & 6 \end{bmatrix}$. Thanks!
Hint: Consider $e^{PXP^{-1}}$.