Consider the case where there are two functions interacting with each other:
So we have more than one dependent function, with functions y_1, y_1’, y_2, y_2’ and so forth. To deal with this, we simply make it into a matrix system:
For instance, should we have:
We can write this system in a matrix like such:
Meaning:
which is a single linear equation. Recall that we had:
Let v be an eigenvector of A with \lambda be an eigenvalue. Let us guess that y = e^{\lambda t} v is a solution. Plugging this in, we have:
Of course, y’ = \lambda e^{\lambda t} v. Meaning this is a solution of our system. Recall finding eigenvalues with actual numbers, so we want some \lambda for which det(A-\lambda I)=0. Plugging the eigenvalues back, and recalling the superposition principle, we are left with some:
This is true if we have enough eigenvalues which forms a basis. Now, at y(0), we have some y_0 = c_1v_1 + … + c_{n}v_{n}. This yields a system y_{0} = \mqty[v_1 & \dots & v_{n}] \mqty[c_1 \\ \dots \\ c_{n}]. We call this matrix written in terms of eigenvectors E, that is:
Finally, we have:
This method works for cases where we have enough independent eigenvectors to admit enough initial conditions. Otherwise, matrix exponentiation. Special Cases 2x2 with \lambda_{2} = \bar{\lambda_{1}} For any two by two system, where there the eigenvalues are conjugates of each other, we can formulate a solution in the form:
if the matrix representing the system admits two eigenvalues, \lambda and \bar{\lambda}. We can obtain this by rephrasing one solution as e^{\lambda t} = e^{a + ib} e^{t} = e^{a+t}(\cos b + i\sin b). Tips and Tricks Changing higher order system into lower orders We can actually write higher order linear system this way too:
we can actually construct:
And therefore, we can construct: