Section 3.3 A Basic Example
Subsection 3.3.1 Solve \(\mathbf{x}'(t) = \begin{bmatrix} 2 \amp 3 \\ 4 \amp 1 \end{bmatrix} \mathbf{x}(t) + \begin{bmatrix} -e^{-t} \\ 2e^{-t} \end{bmatrix}\)
Let's label \(A = \begin{bmatrix} 2 \amp 3 \\ 4 \amp 1 \end{bmatrix}\text{.}\) First, we'll find the eigenvalues \(\lambda_1, \lambda_2\) of \(A\text{,}\) and the corresponding eigenvectors \(\mathbf{v}_1, \mathbf{v}_2\text{.}\)
Question 3.3.1. How do I find the eigenvalues and eigenvectors of \(A\text{?}\)
You can find eigenvalues \(\lambda\) of \(A\) by solving the equation \(\det(A - \lambda I_2) = 0\) for \(\lambda\text{.}\)
Thus, the eigenvalues of \(A\) are \(\lambda_1 = -2\) and \(\lambda_2 = 5\text{.}\)
If \(\mathbf{v}\) is an eigenvector of \(A\) with eigenvalue \(\lambda\text{,}\) then \((A - \lambda I_2) \mathbf{v} = \mathbf{0}\text{.}\)
So, corresponding to \(\lambda_1 = -2\text{,}\) we find that
Hence, \(4v_1 + 3v_2 = 0\text{,}\) so the vector \(\mathbf{v}_1 = \bvec{-3}{4}\) is an eigenvector of \(A\) with eigenvalue \(\lambda_1 = -2\text{.}\)
By a similar process, we find that the vector \(\mathbf{v}_2 = \bvec{1}{-1}\) is an eigenvector of \(A\) with eigenvalue \(\lambda_2 = 5\text{.}\)
Here we've got eigenvalues \(\lambda_1 = -2\) and \(\lambda_2 = 5\text{.}\) Correspondingly, we have eigenvectors \(\mathbf{v}_1 = \bvec{-3}4\) and \(\mathbf{v}_2 = \bvec1{-1}\text{.}\)
So, we can write \(A = VDV^{-1}\) (ie. \(A\) is diagonalizable) where
Following our steps, we write \(\mathbf x = V \mathbf y\text{,}\) so that we have
Next, we should simplify \(V^{-1}\bvec{-e^{-t}}{2e^{-t}}\text{,}\) for which it turns out that
Question 3.3.2. I wanna see the work!
First, we find \(V^{-1}\text{.}\)
So,
Setting \(\mathbf y = \bvec{y_1}{y_2}\text{,}\) we now have to solve
which is equivalent to the linear system of ODEs
Both of these can be solved using integrating factors.
Question 3.3.3. How do I solve them?
For the ODE \(y_1' = -2y_1 + e^{-t}\text{,}\) first write
The expression \(e^{2t}\) is a good integrating factor since
So, multiplying the ODE by \(e^{2t}\text{,}\) we get
Integrating gives us \(e^{2t} y_1 = e^t + c_1\text{,}\) for some constant \(c_1\text{.}\) Thus, the general solution for \(y_1\) is
By a similar process, we find that \(e^{-5t}\) is a good integrating factor for \(y_2' - 5y_2 = 2e^{-t}\text{,}\) so
Hence, the general solution for \(y_2\) is
Using integrating factors gives us the general solutions of \(y_1\) and \(y_2\) separately:
When we put these back into \(\mathbf y = \bvec{y_1}{y_2}\text{,}\) it might initially look a bit messy. But, separating the terms will give you a clearer picture of what the solution is!
Now we only need to calculate \(\mathbf x = V \mathbf y\text{.}\) Computing this is not too bad with the expanded form above.
At last, we've found that the general solution \(\mathbf x(t)\) to \(\mathbf{x}'(t) = A \mathbf{x}(t) + \begin{bmatrix} -e^{-t} \\ 2e^{-t} \end{bmatrix}\) is
Question 3.3.4. Bonus: Which values of \(\mathbf x(0)\) let \(\mathbf x(t) \to \mathbf 0\) as \(t \to \infty\text{?}\)
Just looking at the form of the solution, the only condition we need to have is \(c_2 = 0\text{.}\)
Now, in the general solution, setting \(t = 0\) shows that
Setting \(c_2 = 0\) and \(c_1 = k\) (just changing the name of \(c_1\)) shows that
This completes the question, as it shows that \(\mathbf x(0)\) takes on values along a line.