Let A be the following matrix. $$\begin{pmatrix} 1 & 1 \\ 0 & 1 \\ \end{pmatrix} $$
I have to calculate $e^A$.
My idea was to diagonalize A because then $e^A = Pe^DP^-1$ if $A = PDP^-1$.
But A cannot be diagonalized since 1 is a double eigenvalue and therefore A does not have 2 linearly independent eigenvectors.
How else can I calculate $e^A$?
Thank you!
You can write : $A = I_2 + N$ with $N = \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}$ nilpotent. Then, $N^2 = 0$ and $N$ commutes with $I_2$. So :
$$ A^n = \sum_{k = 0}^n \binom{n}{k} I_2^{n-k} N^k = I_2 + n N $$
Therefore :
$$ e^A = \sum_{k = 0}^{\infty} \frac{A^k}{k!} = I_2 \sum_{k = 0}^{\infty} \frac{1}{k!} + N \sum_{k = 0}^{\infty} \frac{k}{k!} = I_2 e + N e $$
This is a general strategy to compute the exponential even when the matrix is not diagonal.