I am asked to prove that for a Hermitian matrix with all eigenvalues negative, the inverse is given by
$$A^{-1} = - \int_0^\infty e^{tA} {\text { d}}t.$$
(I have the corrected the missing minus sign above)
I have tried expanding out the integrand in series form, and can show that without taking into account the limits, I have $e^{tA}-I$ as the antiderivative, but I don’t really know how to play around with the limits to get a non-divergent solution. I was thinking of transforming to the diagonal basis, but I can’t seem to move on from there. Is there a trick I’m missing out on? Thanks!
There is more than one way to do this. I like to exploit $$Ae^{tA} = \frac{d}{dt} e^{tA}.$$ Hence $$ A \int_0^T e^{tA}dt = \int_0^T \frac{d}{dt} e^{tA} dt = [ e^{tA}]_0^T = e^{TA} - I \rightarrow - I, \quad T \rightarrow \infty, \quad T \in \mathbb{R},$$ provided the eigenvalues of $A$ are strictly negative. It follows that $$ A^{-1} = - \int_0^\infty e^{tA}dt.$$
As pointed out by @JoséCarlosSantos there is a misprint in your problem. The intended statement may well have been $$ A^{-1} = \int_0^M e^{-tA}dt.$$