I would like to solve the following system
\begin{equation*} \begin{cases} \ddot{ u}_x(z) = \gamma_1 u_x(z) - i\gamma_2 \dot{u}_z(z) & \\ \ddot{u}_z(z) = \gamma_3 u_z(z) - i\gamma_4 \dot{u}_x(z) & \\ \end{cases} \end{equation*} I would like to make use of the following notation $\textbf{x}_1 = u_x(z) $ , $\textbf{x}_2=\dot{u}_x(z)$ and $\textbf{z}_1 = u_z(z) $ , $\textbf{z}_2 = \dot{u}_z(z)$.Hence I can rewrite the above system as a 4 dimensional system \begin{equation*} \begin{cases} \dot{\textbf{x}}_1=\textbf{x}_2 & \\ \dot{\textbf{x}}_2 = \gamma_1 \textbf{x}_1 - i\gamma_2 \textbf{z}_2 & \\ \dot{\textbf{z}}_1=\textbf{z}_2 & \\ \dot{\textbf{z}}_2 = \gamma_3 \textbf{z}_1 - i\gamma_4 \textbf{x}_2 & \\ \end{cases} \end{equation*} Or more clearly as \begin{eqnarray} \begin{bmatrix} \dot{\textbf{x}}_1 \\ \dot{\textbf{x}}_2 \\ \dot{\textbf{z}}_1 \\ \dot{\textbf{z}}_2 \end{bmatrix} & = & \begin{pmatrix}0 & 1 & 0 & 0 \\ \gamma_1 & 0 & 0 & -i\gamma_2 \\ 0 & 0 & 0 & 1 \\ 0 & -i\gamma_4 & \gamma_3 & 0\end{pmatrix} \begin{bmatrix} \textbf{x}_1 \\ \textbf{x}_2 \\ \textbf{z}_1 \\ \textbf{z}_2 \end{bmatrix} \end{eqnarray}
$\gamma_2$ and $\gamma_4$ are always positive and real. $\gamma_1$ and $\gamma_3$ may be real or complex,but for now I will take them as real.
In most textbooks people assume that the above matrix has only real entries. Hence,my first approach to the problem was to turn the above complex matrix into a real matrix as follows. Suppose one has a complex matrix of the form
\begin{equation*} Z=X+iY \in M_{n}(C) \end{equation*} with X,Y $\in$ $M_n$(R). We can make a correspondence with a real matrix in the following way
\begin{equation*} Z\rightarrow \begin{pmatrix}X & -Y \\ Y & X \end{pmatrix} \in M_{2n}(R) \end{equation*}
Hence the above ode linear system becomes
\begin{eqnarray} \begin{bmatrix} Re(\dot{\textbf{Z}}) \\ Im(\dot{\textbf{Z}}) \end{bmatrix} & = & \begin{pmatrix}X & -Y \\ Y & X \end{pmatrix} \begin{bmatrix} Re(\textbf{Z}) \\ Im(\textbf{Z}) \end{bmatrix} \end{eqnarray}
where
\begin{eqnarray} \textbf{Z}& = & \begin{bmatrix} \textbf{x}_1 \\ \textbf{x}_2 \\ \textbf{z}_1 \\ \textbf{z}_2 \end{bmatrix} \end{eqnarray}
$\textbf{QUESTION} $
Is this a sound way to solve the linear ode system with complex coefficients? Are there other ways to solve this type of system?
Can you please also provide some references to how this type of systems can be solved?
Thank you very much