How do I align a system of linear differential equations in latex? I can use
\begin{cases}
x_1'(t) = x_1(t)-x_2(t)+2x_3(t)\\
x_2'(t) = -2x_1(t)+5x_2(t)+2x_3(t)\\
x_3'(t) = 8x_1(t)-5x_2(t)-2x_3(t)\\
\end{cases}
But I want the variables to line up better vertically with each x_i
in its own column. I usually use the systeme
package for this, but
\systeme{x_1'(t) = x_1(t)-x_2(t)+2x_3(t), x_2'(t) = -2x_1(t)+5x_2(t)+2x_3(t), x_3'(t) = 8x_1(t)-5x_2(t)-2x_3(t)}
gives me an error.
systeme
supports having the alignments after the equals sign. It's possible to have alignment if you are willing to havex_1(t)-x_2(t)_2x_3(t)=x_1'(t)