In this paper, I've stumbled unpon the solution they give for an non-homogeneous matrix differential equation.
Basically, the equation is:
$\frac{\partial\boldsymbol{\psi(t)}}{\partial t} = \boldsymbol{A\psi}(t) + \boldsymbol{B}$
Here, A is a constant matrix and B a constant vector, between $t$ and $t+\Delta t$.
Now, they give in equation (12) that the general solution for this equation is:
$\boldsymbol{\psi} (t+\Delta t) = e^{\boldsymbol{A}\Delta t} \boldsymbol{\psi} (t) + \left(e^{\boldsymbol{A}\Delta t} - \boldsymbol{I} \right) \boldsymbol{A^{-1}} \boldsymbol{B}$
I have been unable to find the derivation for this in the literature. Where does the inverse matrix A come from?
Do you know of a document explaining the derivation of this type of matrix differential equation with a constant second term (I was able to find the easier case where B = 0, and the more complex case where B = U(t), but no "in-between").
My best guess is that we have somehow:
$\boldsymbol{\psi} (t+\Delta t) = e^{\boldsymbol{A}\Delta t} \boldsymbol{\psi} (t) + e^{\boldsymbol{A}\Delta t} *\boldsymbol{B} = e^{\boldsymbol{A}\Delta t} \boldsymbol{\psi} (t) + \left(e^{\boldsymbol{A}\Delta t} - \boldsymbol{I} \right) \boldsymbol{A^{-1}} \boldsymbol{B}$
And that:
$e^{\boldsymbol{A}\Delta t} *\boldsymbol{B}$ is the convolution product of the exponential of the matrix with (in this case) a constant vector, and that this convolution product can be written $\left(e^{\boldsymbol{A}\Delta t} - \boldsymbol{I} \right) \boldsymbol{A^{-1}} \boldsymbol{B}$, though I'm not sure how and haven't been able to find information on this (maybe because I'm not using exactly the right terminology)
The derivation of the solution to
$\dot \psi(t) = A\psi(t) + B \tag 1$
given that $\psi(t)$ takes the value $\psi(t_0)$ at $t = t_0$, is in fact very well-known. I'll give a reference later, but first I'll try to present a quick run-down of how the formula for $\psi(t)$ may be established. (1) may be written in the form
$\dot \psi(t) - A\psi(t) = B, \tag 2$
and multiply through by the matrix exponential $e^{-A(t - t_0)}$:
$e^{-A(t - t_0)} \dot \psi - A e^{-A(t - t_0)} \psi = e^{-A(t - t_0)}B, \tag 3$
and observe that the left-had side now has an anti-deriviative; that is,
$e^{-A(t - t_0)} \dot \psi - A e^{-A(t - t_0)} \psi = \dfrac{d}{dt}(e^{-A(t - t_0)}\psi) = e^{-A(t - t_0)}B; \tag 4$
this equation may be integrated 'twixt $t_0$ and $t$:
$e^{-A(t - t_0)}\psi(t) - \psi(t_0) = e^{-A(t - t_0)}\psi(t) - e^{-A(t_0 - t_0)}\psi(0) = \displaystyle \int_{t_0}^t \dfrac{d}{ds}(e^{-A(s - t_0)}\psi(s)) \ ds = \int_{t_0}^t e^{-As}B \; ds = \left (\int_{t_0}^t e^{-As} \; ds \right ) B; \tag 5$
it is essy to verify via direct differentiation that
$\displaystyle \int_{t_0}^t e^{-As} \; ds = A^{-1}(I - e^{=A(t- t_0)}); \tag 6$
I leave the details to the reader. Substituting (6) into (5) yields
$e^{-A(t - t_0)}\psi(t) - \psi(t_0) = A^{-1}(I - e^{=A(t - t_0)})B, \tag 7$
or
$e^{-A(t - t_0)}\psi(t) = \psi(t_0) + A^{-1}(I - e^{=A(t - t_0)})B, \tag 8$
which may now be multiplied through by $e^{A(t - t_0)}$:
$\psi(t) = e^{A(t - t_0)}\psi(t_0) + A^{-1}(e^{A(t - t_0)} - I)B; \tag 9$
Check:
from (9),
$\dot \psi(t) = Ae^{A(t - t_0)}\psi(t_0) + A^{-1}Ae^{A(t - t_0)}B = Ae^{A(t - t_0)}\psi(t_0) + AA^{-1}e^{A(t - t_0)}B = A(e^{A(t - t_0)}\psi(t_0) + A^{-1}e^{A(t - t_0)}B)$ $= A(e^{A(t - t_0)}\psi(t_0) + A^{-1}(e^{A(t - t_0)} - I)B) + B = A\psi(t) + B. \tag{10}$
For more information, see this wikipedia page.