I have a differential equation system
$x_1'(t) = -x_2(t)$
$x_2'(t) = -x_1(t)$
I see that I can write $\dot{x} = Ax$ where
$A = \begin{pmatrix}0 & -1 \\ -1 & 0\end{pmatrix}$
The complete real solution will be
$x(t) = c_1 e^{-t} \begin{pmatrix}1 \\ 1\end{pmatrix} + c_2 e^t \begin{pmatrix}-1 \\ 1\end{pmatrix}$
where $c_1,c_2 \in \mathbb{R}$.
It this correct?
Now I need to find the solution such that $x_1(0) = -1$ and $x_2(0) = 1$.
How can I do this?
I think I could split my complete solution in
$x_1(t) = c_1 e^t - c_2 e^{-t}$
and
$x_2(t) = c_1 e^t + c_2 e^{-t}$
and then find $c_1$ and $c_2$ by solving $x_1(0) = -1$ and $x_2(0) = 1$ with respect to $c_1$ and $c_2$ and finally substitute these values in the complete solution $x(t)$.
Is this correct?
The solution here is even simpler than that: $x_1''=x_1$. Solutions are linear combinations of $e^t$ and $e^{-t}$, or even better, linear combinations of $\cosh(t)$ and $\sinh(t)$.
In the general case, you are right to use a matrix etc. But no need to use that here.