I'm having a hard time early on in this linear algebra course, I'm a first year student in University. I'm reading my textbook right now and it gives the following differential equation as an example with a solution and I still can't understand how to solve it:
$x'_1 = 3x_1 + x_2 + x_3 $
$x'_2 = 2x_1 + 4x_2 + 2x_3$
$x'_3 = -x_1 - x_2 + x_3$
It goes on to say that $x: R \rightarrow R^3$ and $x(t)$ is a matrix with one column of the $x_1(t)$, $x_2(t)$, $x_3(t)$.
Then it gives me a matrix which is just to coefficients of the above system of equations.
Then it gives me a Q and D such that $Q^{-1}AQ=D$ and $A=QDQ^{-1}$.
I have no clue where these matrices are obtained, they are just given to me in my textbook which is really frustrating. I feel like the people that wrote the textbook may have overlooked some steps that they find trivial but new students are just learning. Can someone please explain how to solve a differential equation like this?
Thanks