How to solve $\dot{X} = MX+XN$?
- $M,N,X\in \mathbb{R}^{n\times n}$
I know in the scalar case:
$$y' + p(x)y=q(x)$$
the solution is $$\mu = e^{\int p(x)dx}$$ so $$y=\frac{\int \mu(x)q(x)dx + c}{\mu(x)}$$
The mapping is : $y\rightarrow X$, $x \rightarrow t$, $p(x) = -(MX+XN)$, $q(x) = 0$
However, I have no idea how to deal with that in the matrix case.