Systems of Linear Differential Equations

Systems of Linear Differential Equations
General form
The general form of a system of linear differential equations is:
⎩⎨⎧y1′y2′yn′==⋮=a11y1+a12y2+…+a1nyna21y1+a22y2+…+a2nynan1y1+an2y2+…+annyn
Each equation in this system is a linear differential equation with unknown functions y1,y2,…,yn.
Note: We will only consider systems where the number of unknowns is the same as the number of equations (n×n).
Matrix Form
A system of linear differential equations can be written in matrix form. The general system above is given by:
y ′y1′y2′⋮yn′=Aa11a21⋮an1a12a22⋮an2⋯⋯⋯a1na2n⋮annyy1y2⋮ynor:y ′=Ay
Example
{y1′y2′==2y1−2y23y1+4y2
Can be written as:
[y1′y2′]=A[23−24][y1y2]or: y′=Ay
We wish to find functions y1 and y2 that are solutions to this system. Find out how in the next lesson!

Solving a System of Linear DEs
In your course, you might have seen a full derivation (using diagonalization) to solve systems of linear DEs.
Here, I'll simply show you the important steps to quickly solve a system of linear differential equations: y′=Ay
Steps
1) Find the eigenvalues and associated eigenvectors of matrix A: eigenvaluesλ1λ2⋮λn⟷⟷⟷eigenvectorsx1x2⋮xn
2) The solution vector y is given by:
y=(C1eλ1x)x1+(C2eλ2x)x2+…+(Cneλnx)xn
where C1,C2,…,Cn are arbitrary constants.

Example: Solving a System of Linear Differential Equations
Solve the following system of linear DEs:
⎩⎨⎧y1′y2′y3′===4y1−2y1−2y1+++y3y2y3
This system can be written in matrix-vector form as:
y1′y2′y3′=4−2−2010101y1y2y3⟹A=4−2−2010101
It can be shown that the eigenvalues and eigenvectors of A are:
λ1=1x1=010λ2=2x2=−122λ3=3x3=−111
The eigenvalues are the coefficients of x (in the exponent), and we multiply each term by the corresponding eigenvector:
y⟹y1y2y3=(C1eλ1x)x1+(C2eλ2x)x2+(C3eλ3x)xn=C1e1x010+C2e2x−122+C3e3x−111
Multiplying into each vector yields the following solution:
⎩⎨⎧y1y2y3===0C1ex1C1ex0C1ex−1C2e2x+2C2e2x+2C2e2x−1C3e3x+1C3e3x+1C3e3x
⟹⎩⎨⎧y1y2y3===−C2e2x−C3e3xC1ex+2C2e2x+C3e3x2C2e2x+C3e3x
Practice: Solving a System of Linear DEs (Initial Value Problem)
Find the general solution of the following linear system of differential equations:
{y1′y2′==−5y18y1++y22y2
Then, solve for the arbitrary constants given the initial conditions:
y1(0)=5 , y2(0)=−1
Write the equations for the solution functions y1(x) and y2(x).