Let $A$ be a $n\times n$ matrix such that the characteristic polynomial of $A$ is $$P(\lambda)=\lambda^n+a_{n-1}\lambda^{n-1}+...+a_1\lambda+a_0$$
Now consider the nth order differential equation $$\frac{d^nx}{dt^n}+a_{n-1}\frac{d^{n-1}x}{dt^{n-1}}+...+a_1\frac{dx}{dt}+a_0x=0$$ and let $f_0(t),\: f_1(t),\: ...,\: f_{n-1}(t)$ be the unique solutions satisfying the inital conditions $$f_j^l(0)= \begin{cases} 1 & j=l \\ 0 & j \neq l\end{cases}$$ for $0 \leq j,\: l\leq n-1$
Show that $e^{tA} = f_0(t)I+f_1(t)A+f_2(t)A^2+...+f_{n-1}(t)A^{n-1}$
I know that $e^{tA}$ is the function $M(t)$ such that $\frac{dM}{dt}=AM$ and $M(0) = I$. So all I need to do is show that the right hand side of the equation satisfies these two conditions. The second one is easy enough to prove; however, the first one presents some trouble. My plan is to show that $\frac{d^n}{dt^n}f_j(t) = A^nf_j(t)$ for every unique solution $f_j$, and based on the definitions of $A$ and the solutions to the differential equations, I suspect that Cayley-Hamilton theorem could be used here. However, I haven't been able to engineer it in a way to prove the above statement.
Hint (but not a full answer): Using the definition of the matrix exponential, we write $$ e^{tA} = \sum_{k=0}^\infty \frac{1}{k!}(tA)^k . $$ Then, using the Cayley-Hamilton theorem, we have $P(A) = 0$. Hence, all powers of $A$ with exponent larger or equal to $n$ can be expressed recursively as linear functions of $I, \dots, A^{n-1}$: $$ \begin{aligned} A^n &= -a_{n-1}A^{n-1} - \dots - a_1 A - a_0 I \\ A^{n+1} &= -a_{n-1}A^{n} - \dots - a_1 A^2 - a_0 A \\ &\;\; \vdots \end{aligned} $$ which we may be written $$ A^k = \sum_{i=0}^{n-1} b_i^{(k)} A^i , \qquad k\geq n. $$ Finally, $$ \begin{aligned} e^{tA} &= \sum_{k=0}^{n-1} \frac{1}{k!}(tA)^k + \sum_{k=n}^\infty \frac{1}{k!}(tA)^k \\ &= \sum_{k=0}^{n-1} \frac{1}{k!}(tA)^k + \sum_{k=n}^{\infty} \frac{1}{k!}t^k \sum_{i=0}^{n-1} b_i^{(k)} A^i \\ &= \sum_{k=0}^{n-1} \left( \frac{1}{k!}t^k + \sum_{p=n}^{\infty} \frac{1}{p!}t^p b_k^{(p)} \right) A^k \end{aligned} $$ which is of the expected form.