System of Differential Equation | Differential Equations
System of Differential Equation
Sharan Sajiv Menon - November 16th, 2021
This article shows how to solve a first-order linear homogenous system of differential equation with constant coefficents.
Example 1: Solve the following Differential Equation with the Initial conditions
y′=61(7−222)y,y(0)=(0−3)
Solution:
The general solution is of the following form.
y=c1eλ1tE1+c2eλ2tE2+...cneλntEn
Where λ is the eigenvalues and E is the eigenvector
Start by simplifying the equation
y′=(7/6−1/31/31/3)y,y(0)=(0−3)
To solve this equation, we need to find the eigenvalues and eigenvectors of the matrix. Start by finding eigenvalues first.
Programming languages like MATLAB and Python can find the eigenvectors/eigenvalues automatically. A calculator like a TI-84 can do many operations to simplify the calculations. Use a Linear Algebra system to get the eigenvectors.
Solve the equation for λ to get λ=1,21. Now, finding the eigenvectors involve solving the following equation
(A−λi)x=0
Where A is our initial matrix and λi is our eigenvalue. There are 2 eigenvalues, therefore we have 2 eigenvectors.
Start by finding (A−λi)
(7/6−1/31/31/3)−1(1001)=(1/6−1/31/3−2/3)
Now, solve the following equation.
(1/6−1/31/3−2/3)(xy)=(00)
Above is a system of equations. It can be solved by taking the reduced row echelon form of AB, where B is the zeros-matrix. Solving this first system gets us the following eigenvector
(−21),λ=1
Following the same process for λ=0.5, (make sure to replace the 1 with 0.5), we get the following eigenvector
(−12),λ=21
Noting the general form of the solution mentioned at the beginning, our general solution is the following
y=c1et(−21)+c2e0.5t(−12)
To solve the IVP, just plug in the initial conditions into the problem.
We have another linear system of equations, which can again be solved by taking the inverse-matrix or the reduced-row echelon form. Solving this system and we get c1=1 and c2=−1.