System of Differential Equations
Preface
Consider $$y'' + p(x)y' + q(x)y = 0$$Consider a change in variable as
Thus
Thus we can reduce this to a system of linear equations represented by $$\begin{pmatrix} y_{1}'\ y_{2}'\end{pmatrix} = \begin{bmatrix} 0 & 1\ -q(x) & -p(x)\end{bmatrix}\cdot \begin{pmatrix}y_{1}\y_{2}\end{pmatrix}$$$$\implies Y' = MY$$
Generalizing the coefficients, $$\begin{pmatrix}y_{1}'\y_{2}'\end{pmatrix} = \begin{bmatrix}f_{1}(x, y_{1}, y_{2})\f_{2}(x,y_{1},y_{2})\end{bmatrix} \implies Y' = F(Y)$$
This can be generalized to a n-th order differential equation, where $$Y = [y_{1}\ \ y_{2}\ \ y_{3}\ \ \dots\ \ y_{n}]^T$$
Constant matrix
Suppose the equation was such that $$\begin{align}Y' &= \begin{bmatrix}a & b\c&d\end{bmatrix}Y \tag{1}\ \ \mathbf{y'} &= A\mathbf{y}\end{align}$$
This implies a case similar to constant coefficients, where can take
So let $$\mathbf{y} = \mathbf{v}e^{\lambda x} \tag{2}$$be a solution, where
Substituting in
We get something akin to eigen-values and eigen-vectors, $$\lambda^2 - (a+d)\lambda + (ad-bc) = 0$$a quadratic equation with two roots, signalling towards two distinct variations of
In case of an n-th order differential ofc, we will get an n-th degree polynomial with a maximum of
Thus, the general solution can be written as $$\begin{pmatrix}y_{1}\y_{2}\end{pmatrix} = C_{1}\mathbf{v}{1}e^{\lambdax} + C_{2}\mathbf{v}{2}e^{\lambdax}$$where
The above works well for distinct roots.
Roots as complex conjugates
When the roots are complex conjugates, we obtain two eigen values
Distributing, $$\mathbf{y} = e^{\alpha x}[(\mathbf{a}\cos(\beta x) - \mathbf{b}\sin(\beta x)) + i(\mathbf{a}\sin(\beta x) + \mathbf{b}\cos(\beta x))]$$
Since this solution
Notice we used one eigen value and one eigen vector to find a basis for solution set. Using the other one would also give you the same solution set, albeit with a different basis.
Repeated Roots
When an eigen value has multiplicity
Omitting the proof, we obtain