Skip to main content
\(\require{cancel}\newcommand{\nicefrac}[2]{{{}^{#1}}\!/\!{{}_{#2}}} \newcommand{\unitfrac}[3][\!\!]{#1 \,\, {{}^{#2}}\!/\!{{}_{#3}}} \newcommand{\unit}[2][\!\!]{#1 \,\, #2} \newcommand{\noalign}[1]{} \newcommand{\qed}{\qquad \Box} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \)

Section3.5Two dimensional systems and their vector fields

1 lecture, part of §6.2 in [EP], parts of §7.5 and §7.6 in [BD]

Let us take a moment to talk about constant coefficient linear homogeneous systems in the plane. Much intuition can be obtained by studying this simple case. Suppose we have a \(2 \times 2\) matrix \(P\) and the system

\begin{equation} \begin{bmatrix} x \\ y \end{bmatrix} ' = P \begin{bmatrix} x \\ y \end{bmatrix} .\label{pln_eq}\tag{2} \end{equation}

The system is autonomous (compare this section to Section 1.6) and so we can draw a vector field (see end of Section 3.1). We will be able to visually tell what the vector field looks like and how the solutions behave, once we find the eigenvalues and eigenvectors of the matrix \(P\text{.}\) For this section, we assume that \(P\) has two eigenvalues and two corresponding eigenvectors.

Figure4.5.1Eigenvectors of \(P\text{.}\)

Case 1. Suppose that the eigenvalues of \(P\) are real and positive. We find two corresponding eigenvectors and plot them in the plane. For example, take the matrix \(\left[ \begin{smallmatrix} 1 & 1 \\ 0 & 2 \end{smallmatrix} \right]\text{.}\) The eigenvalues are 1 and 2 and corresponding eigenvectors are \(\left[ \begin{smallmatrix} 1 \\ 0 \end{smallmatrix} \right]\) and \(\left[ \begin{smallmatrix} 1 \\ 1 \end{smallmatrix} \right]\text{.}\) See Figure 4.5.1.

Now suppose that \(x\) and \(y\) are on the line determined by an eigenvector \(\vec{v}\) for an eigenvalue \(\lambda\text{.}\) That is, \(\left[ \begin{smallmatrix} x \\ y \end{smallmatrix} \right] = a \vec{v}\) for some scalar \(a\text{.}\) Then

\begin{equation*} \begin{bmatrix} x \\ y \end{bmatrix} ' = P \begin{bmatrix} x \\ y \end{bmatrix} = P ( a \vec{v} ) = a ( P \vec{v} ) = a \lambda \vec{v} . \end{equation*}

The derivative is a multiple of \(\vec{v}\) and hence points along the line determined by \(\vec{v}\text{.}\) As \(\lambda > 0\text{,}\) the derivative points in the direction of \(\vec{v}\) when \(a\) is positive and in the opposite direction when \(a\) is negative. Let us draw the lines determined by the eigenvectors, and let us draw arrows on the lines to indicate the directions. See Figure 4.5.2.

We fill in the rest of the arrows for the vector field and we also draw a few solutions. See Figure 4.5.3. The picture looks like a source with arrows coming out from the origin. Hence we call this type of picture a source or sometimes an unstable node.

Figure4.5.2Eigenvectors of \(P\) with directions.
Figure4.5.3Example source vector field with eigenvectors and solutions.

Case 2. Suppose both eigenvalues are negative. For example, take the negation of the matrix in case 1, \(\left[ \begin{smallmatrix} -1 & -1 \\ 0 & -2 \end{smallmatrix} \right]\text{.}\) The eigenvalues are \(-1\) and \(-2\) and corresponding eigenvectors are the same, \(\left[ \begin{smallmatrix} 1 \\ 0 \end{smallmatrix} \right]\) and \(\left[ \begin{smallmatrix} 1 \\ 1 \end{smallmatrix} \right]\text{.}\) The calculation and the picture are almost the same. The only difference is that the eigenvalues are negative and hence all arrows are reversed. We get the picture in Figure 4.5.4. We call this kind of picture a sink or sometimes a stable node.

Figure4.5.4Example sink vector field with eigenvectors and solutions.
Figure4.5.5Example saddle vector field with eigenvectors and solutions.

Case 3. Suppose one eigenvalue is positive and one is negative. For example the matrix \(\left[ \begin{smallmatrix} 1 & 1 \\ 0 & -2 \end{smallmatrix} \right]\text{.}\) The eigenvalues are 1 and \(-2\) and corresponding eigenvectors are \(\left[ \begin{smallmatrix} 1 \\ 0 \end{smallmatrix} \right]\) and \(\left[ \begin{smallmatrix} 1 \\ -3 \end{smallmatrix} \right]\text{.}\) We reverse the arrows on one line (corresponding to the negative eigenvalue) and we obtain the picture in Figure 4.5.5. We call this picture a saddle point.

For the next three cases we will assume the eigenvalues are complex. In this case the eigenvectors are also complex and we cannot just plot them in the plane.

Case 4. Suppose the eigenvalues are purely imaginary. That is, suppose the eigenvalues are \(\pm ib\text{.}\) For example, let \(P = \left[ \begin{smallmatrix} 0 & 1 \\ -4 & 0 \end{smallmatrix} \right]\text{.}\) The eigenvalues turn out to be \(\pm 2i\) and eigenvectors are \(\left[ \begin{smallmatrix} 1 \\ 2i \end{smallmatrix} \right]\) and \(\left[ \begin{smallmatrix} 1 \\ -2i \end{smallmatrix} \right]\text{.}\) Consider the eigenvalue \(2i\) and its eigenvector \(\left[ \begin{smallmatrix} 1 \\ 2i \end{smallmatrix} \right]\text{.}\) The real and imaginary parts of \(\vec{v} e^{i2t}\) are

\begin{equation*} \begin{aligned} \operatorname{Re} \begin{bmatrix} 1 \\ 2i \end{bmatrix} e^{i2t} & = \begin{bmatrix} \cos (2t) \\ -2 \sin (2t) \end{bmatrix} , \\ \operatorname{Im} \begin{bmatrix} 1 \\ 2i \end{bmatrix} e^{i2t} & = \begin{bmatrix} \sin (2t) \\ 2 \cos (2t) \end{bmatrix} . \end{aligned} \end{equation*}

We can take any linear combination of them to get other solutions, which one we take depends on the initial conditions. Now note that the real part is a parametric equation for an ellipse. Same with the imaginary part and in fact any linear combination of the two. This is what happens in general when the eigenvalues are purely imaginary. So when the eigenvalues are purely imaginary, we get ellipses for the solutions. This type of picture is sometimes called a center. See Figure 4.5.6.

Figure4.5.6Example center vector field.
Figure4.5.7Example spiral source vector field.

Case 5. Now suppose the complex eigenvalues have a positive real part. That is, suppose the eigenvalues are \(a \pm ib\) for some \(a > 0\text{.}\) For example, let \(P = \left[ \begin{smallmatrix} 1 & 1 \\ -4 & 1 \end{smallmatrix} \right]\text{.}\) The eigenvalues turn out to be \(1\pm 2i\) and eigenvectors are \(\left[ \begin{smallmatrix} 1 \\ 2i \end{smallmatrix} \right]\) and \(\left[ \begin{smallmatrix} 1 \\ -2i \end{smallmatrix} \right]\text{.}\) We take \(1 + 2i\) and its eigenvector \(\left[ \begin{smallmatrix} 1 \\ 2i \end{smallmatrix} \right]\) and find the real and imaginary parts of \(\vec{v} e^{(1+2i)t}\) are

\begin{equation*} \begin{aligned} \operatorname{Re} \begin{bmatrix} 1 \\ 2i \end{bmatrix} e^{(1+2i)t} & = e^t \begin{bmatrix} \cos (2t) \\ -2 \sin (2t) \end{bmatrix} , \\ \operatorname{Im} \begin{bmatrix} 1 \\ 2i \end{bmatrix} e^{(1+2i)t} & = e^t \begin{bmatrix} \sin (2t) \\ 2 \cos (2t) \end{bmatrix} . \end{aligned} \end{equation*}

Note the \(e^t\) in front of the solutions. This means that the solutions grow in magnitude while spinning around the origin. Hence we get a spiral source. See Figure 4.5.7.

Case 6. Finally suppose the complex eigenvalues have a negative real part. That is, suppose the eigenvalues are \(-a \pm ib\) for some \(a > 0\text{.}\) For example, let \(P = \left[ \begin{smallmatrix} -1 & -1 \\ 4 & -1 \end{smallmatrix} \right]\text{.}\) The eigenvalues turn out to be \(-1\pm 2i\) and eigenvectors are \(\left[ \begin{smallmatrix} 1 \\ -2i \end{smallmatrix} \right]\) and \(\left[ \begin{smallmatrix} 1 \\ 2i \end{smallmatrix} \right]\text{.}\) We take \(-1 - 2i\) and its eigenvector \(\left[ \begin{smallmatrix} 1 \\ 2i \end{smallmatrix} \right]\) and find the real and imaginary parts of \(\vec{v} e^{(-1-2i)t}\) are

\begin{equation*} \begin{aligned} \operatorname{Re} \begin{bmatrix} 1 \\ 2i \end{bmatrix} e^{(-1-2i)t} & = e^{-t} \begin{bmatrix} \cos (2t) \\ 2 \sin (2t) \end{bmatrix} , \\ \operatorname{Im} \begin{bmatrix} 1 \\ 2i \end{bmatrix} e^{(-1-2i)t} & = e^{-t} \begin{bmatrix} -\sin (2t) \\ 2 \cos (2t) \end{bmatrix} . \end{aligned} \end{equation*}

Note the \(e^{-t}\) in front of the solutions. This means that the solutions shrink in magnitude while spinning around the origin. Hence we get a spiral sink. See Figure 4.5.8.

Figure4.5.8Example spiral sink vector field.

We summarize the behavior of linear homogeneous two dimensional systems in Table 4.5.9.

Eigenvalues   Behavior
real and both positive   source / unstable node
real and both negative   sink / stable node
real and opposite signs   saddle
purely imaginary   center point / ellipses
complex with positive real part   spiral source
complex with negative real part   spiral sink
Table4.5.9Summary of behavior of linear homogeneous two dimensional systems.

Subsection3.5.1Exercises

Exercise3.5.1

Take the equation \(m x'' + c x' + kx = 0\text{,}\) with \(m > 0\text{,}\) \(c \geq 0\text{,}\) \(k > 0\) for the mass-spring system. a) Convert this to a system of first order equations. b) Classify for what \(m, c, k\) do you get which behavior. c) Can you explain from physical intuition why you do not get all the different kinds of behavior here?

Exercise3.5.2

What happens in the case when \(P = \left[ \begin{smallmatrix} 1 & 1 \\ 0 & 1 \end{smallmatrix} \right]\text{?}\) In this case the eigenvalue is repeated and there is only one independent eigenvector. What picture does this look like?

Exercise3.5.3

What happens in the case when \(P = \left[ \begin{smallmatrix} 1 & 1 \\ 1 & 1 \end{smallmatrix} \right]\text{?}\) Does this look like any of the pictures we have drawn?

Exercise3.5.4

Which behaviors are possible if \(P\) is diagonal, that is \(P = \left[ \begin{smallmatrix} a & 0 \\ 0 & b \end{smallmatrix} \right]\text{?}\) You can assume that \(a\) and \(b\) are not zero.

Exercise3.5.101

Describe the behavior of the following systems without solving:
a) \(x' = x + y\text{,}\)     \(y' = x-y\text{.}\)
b) \(x_1' = x_1 + x_2\text{,}\)     \(x_2' = 2 x_2\text{.}\)
c) \(x_1' = -2x_2\text{,}\)     \(x_2' = 2 x_1\text{.}\)
d) \(x' = x + 3y\text{,}\)     \(y' = -2x-4y\text{.}\)
e) \(x' = x - 4y\text{,}\)     \(y' = -4x+y\text{.}\)

Answer

a) Two eigenvalues: \(\pm \sqrt{2}\) so the behavior is a saddle.     b) Two eigenvalues: \(1\) and \(2\text{,}\) so the behavior is a source.     c) Two eigenvalues: \(\pm 2i\text{,}\) so the behavior is a center (ellipses).     d) Two eigenvalues: \(-1\) and \(-2\text{,}\) so the behavior is a sink.     e) Two eigenvalues: \(5\) and \(-3\text{,}\) so the behavior is a saddle.

Exercise3.5.102

Suppose that \(\vec{x}\,' = A \vec{x}\) where \(A\) is a 2 by 2 matrix with eigenvalues \(2\pm i\text{.}\) Describe the behavior.

Answer

Spiral source.

Exercise3.5.103

Take \(\left[ \begin{smallmatrix} x \\ y \end{smallmatrix}\right] ' = \left[ \begin{smallmatrix} 0 & 1 \\ 0 & 0 \end{smallmatrix}\right] \left[ \begin{smallmatrix} x \\ y \end{smallmatrix}\right]\text{.}\) Draw the vector field and describe the behavior. Is it one of the behaviors that we have seen before?

Answer

The solution will not move anywhere if \(y = 0\text{.}\) When \(y\) is positive, then the solution moves (with constant speed) in the positive \(x\) direction. When \(y\) is negative, then the solution moves (with constant speed) in the negative \(x\) direction. It is not one of the behaviors we have seen.
Note that the matrix has a double eigenvalue 0 and the general solution is \(x = C_1 t + C_2\) and \(y = C_1\text{,}\) which agrees with the above description.

For a higher quality printout use the PDF version: https://www.jirka.org/diffyqs/diffyqs.pdf