I assume everyone is familiar with the famous mathematical identity due to L. Euler:
$$ e^{i \, \pi} + 1 = 0,$$ where $i^2 = -1$ and $e$ is the base of natural logarithms. I was wondering if this identity can be extended in a natural way to squared matrices as follows:
$$ e^{i \, \mathbf{\Pi}} + \mathbf{I} = \mathbf{0}, $$ where $\mathbf{\Pi} = \pi \, \mathbf{I}$, $\mathbf{I}$ is the $n\times n$ identity matrix, $\mathbf{0}$ is the $n\times n$ null matrix and now $e^\square$ stands for matrix exponentiation. I was able to check this identity for some small values of $n$, i.e., 2, 4, 10, etc. with the help of Mathematica. Is applying the definition of matrix exponential the way to prove this identity? Indeed, the identity tells us:
$$ \sum_{t=0}^\infty \frac{(i \pi \, \mathbf{I})^t}{t!} + \mathbf{I} = \mathbf{I} \sum_{t=0}^\infty \frac{(i \pi )^t}{t!} + \mathbf{I} = e^{i \pi} \mathbf{I} + \mathbf{I} = (e^{i \pi} + 1) \, \mathbf{I} = 0 \, \mathbf{I} = \mathbf{0},$$ where I have made use of: $\mathbf{I}^k = \mathbf{I}$, $k \in \mathbb{N} \cup \{0\}$, the definition of $e^x$ and the distributive property of matrix multiplication. Is my approach correct? Furthermore, has it any application?
Cheers!