From last time, we were looking at the system:
The matrix has repeated eigenvalues $\lambda=1, 1$. However, we were missing one eigenvector, as the only true eigenvector found was $\vec{v}=\begin{pmatrix}1\\ 0\end{pmatrix}$.
The first solution is:
Revisiting the scalar case for comparison, the equation $y^{\prime\prime}+2y^{\prime}+y=0$ has a characteristic equation $r^2+2r+1=0$ with repeated roots $r=-1, -1$. The general solution is $y=c_{1}e^{-t}+c_{2}te^{-t}$.
Attempting a similar approach for the system, let's try $\vec{x}^{(2)}=te^{t}\begin{pmatrix}1\\ 0\end{pmatrix}$. Substituting this into $\vec{x}^{\prime}=A\vec{x}$ gives:
Since $\begin{pmatrix}te^{t}+e^{t}\\ 0\end{pmatrix} \ne \begin{pmatrix}te^{t}\\ 0\end{pmatrix}$, the trial solution $\vec{x}^{(2)}=t\vec{x}^{(1)}$ does not work.
To find the second linearly independent solution for $\vec{x}^{\prime}=A\vec{x}$ when there is a repeated eigenvalue but only one eigenvector $\vec{v}$, we seek a solution of the form:
Plugging this into $\vec{x}^{\prime}=A\vec{x}$ and equating the coefficients of $te^{\lambda t}$ and $e^{\lambda t}$ yields two equations:
The vector $\vec{u}$ is called a **generalized eigenvector**. It gets mapped to the true eigenvector $\vec{v}$ by the matrix $(A-\lambda I)$.
Returning to $\vec{x}^{\prime}=\begin{pmatrix}1&1\\ 0&1\end{pmatrix}\vec{x}$, we have $\lambda=1$ and $\vec{v}=\begin{pmatrix}1\\ 0\end{pmatrix}$.
The first solution is $\vec{x}^{(1)}=e^{t}\begin{pmatrix}1\\ 0\end{pmatrix}$.
The second solution is $\vec{x}^{(2)}=te^{t}\begin{pmatrix}1\\ 0\end{pmatrix}+e^{t}\vec{u}$, where $\vec{u}$ satisfies $(A-\lambda I)\vec{u}=\vec{v}$.
Substituting the values:
Let $\vec{u}=\begin{pmatrix}u_1\\ u_2\end{pmatrix}$. This system is $u_2=1$ and $0=0$. We can choose any value for $u_1$. Choosing $u_1=0$, we get the generalized eigenvector $\vec{u}=\begin{pmatrix}0\\ 1\end{pmatrix}$.
The second solution is then:
The **general solution** is:
In component form, this is $\begin{pmatrix}x_{1}\\ x_{2}\end{pmatrix}=\begin{pmatrix}c_{1}e^{t}+c_{2}te^{t}\\ c_{2}e^{t}\end{pmatrix}$.
As $t\to\infty$, both $x_1$ and $x_2$ go to $\infty$ (except for the trivial solution $c_1=c_2=0$). Solutions go to $\infty$ without following any particular straight line. However, they approach the origin as $t\to-\infty$.
The ratio of the components as $t\to-\infty$ is:
This shows that solutions approach the origin along the line $x_2=0$, which is the line corresponding to the true eigenvector. This true eigenvector is a line of zero slope. The phase portrait shows this behavior (solutions go to the origin along the true eigenvector, making the generalized eigenvector "invisible" in terms of direction).

Consider a system $\vec{x}^{\prime}=A\vec{x}$ whose two linearly independent solutions are $\vec{x}^{(1)}=e^{2t}\begin{pmatrix}2\\ 1\end{pmatrix}$ and $\vec{x}^{(2)}=e^{-t}\begin{pmatrix}1\\ 2\end{pmatrix}$ (for the matrix $A=\begin{pmatrix}3&-2\\ 2&-2\end{pmatrix}$).
The general solution is $\vec{x}=c_{1}\vec{x}^{(1)}+c_{2}\vec{x}^{(2)}$. This can be expressed in matrix form:
The matrix $\Psi(t)$, whose columns are the linearly independent solutions, is called the **fundamental matrix**:
Thus, $\vec{x}=\Psi(t)\vec{c}$, where $\vec{c}=\begin{pmatrix}c_{1}\\ c_{2}\end{pmatrix}$.
The vector $\vec{c}$ is determined by the initial conditions $\vec{x}(t_0)=\vec{x}_{0}=\begin{pmatrix}x_{1}(t_{0})\\ x_{2}(t_{0})\end{pmatrix}$.
Substituting the initial condition into the general solution:
We can solve for $\vec{c}$:
Note that $\Psi(t_0)$ is invertible because the solutions are linearly independent, meaning the determinant $\text{det}(\Psi(t))\ne 0$ for all $t$.
Substituting $\vec{c}$ back into the general solution gives the solution to the IVP:
We define $\Phi(t)$ as the fundamental matrix that satisfies the initial condition $\Phi(t_0)=I$ (the identity matrix):
The solution to the IVP can then be written as:
This $\Phi(t)$ is sometimes called the **state transition matrix**.
If we choose $t_{0}=0$, the solution to the IVP is $\vec{x}(t)=\Phi(t)\vec{x}(0)$.
For the system $\vec{x}^{\prime}=A\vec{x}$, the matrix $\Phi(t)$ with the property $\Phi(0)=I$ is the **matrix exponential** $e^{At}$.
This is analogous to the scalar case for $y^{\prime}=ay$ with $y(0)=y_{0}$:
Applying the initial condition $y_0=Ce^{a(0)} \implies C=y_0$. The solution is $y(t)=y_{0}e^{at}$, or $y(t)=e^{at}y_{0}$.