## Section 3.5 Two-dimensional systems and their vector fields

¶*Note: 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 use coordinates \((x,y)\) for the plane as usual, and suppose \(P = \left[ \begin{smallmatrix} a & b \\ c & d \end{smallmatrix} \right]\) is a \(2 \times 2\) matrix. Consider the system

The system is autonomous (compare this section to Section 1.6) and so we can draw a vector field (see the 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.

*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.

Suppose the point \((x,y)\) is on the line determined by an eigenvector \(\vec{v}\) for an eigenvalue \(\lambda\text{.}\) That is, \(\left[ \begin{smallmatrix} x \\ y \end{smallmatrix} \right] = \alpha \vec{v}\) for some scalar \(\alpha\text{.}\) Then

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 \(\alpha\) is positive and in the opposite direction when \(\alpha\) 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*.

*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 a *stable node*.

*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^{2it}\) are

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.

*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

Note the \(e^t\) in front of the solutions. 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

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

We summarize the behavior of linear homogeneous two-dimensional systems given by a nonsingular matrix in Table 4.5.9. Systems where one of the eigenvalues is zero (the matrix is singular) come up in practice from time to time, see Example 3.1.2, and the pictures are somewhat different (simpler in a way). See the exercises.

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 |

### Subsection 3.5.1 Exercises

###### Exercise 3.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.

Convert this to a system of first order equations.

Classify for what \(m, c, k\) do you get which behavior.

Can you explain from physical intuition why you do not get all the different kinds of behavior here?

###### Exercise 3.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?

###### Exercise 3.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?

###### Exercise 3.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.

###### Exercise 3.5.5.

Take the system from Example 3.1.2, \(x_1'=\frac{r}{V}(x_2-x_1)\text{,}\) \(x_2'=\frac{r}{V}(x_1-x_2)\text{.}\) As we said, one of the eigenvalues is zero. What is the other eigenvalue, how does the picture look like and what happens when \(t\) goes to infinity.

###### Exercise 3.5.101.

Describe the behavior of the following systems without solving:

\(x' = x + y\text{,}\) \(y' = x-y\text{.}\)

\(x_1' = x_1 + x_2\text{,}\) \(x_2' = 2 x_2\text{.}\)

\(x_1' = -2x_2\text{,}\) \(x_2' = 2 x_1\text{.}\)

\(x' = x + 3y\text{,}\) \(y' = -2x-4y\text{.}\)

\(x' = x - 4y\text{,}\) \(y' = -4x+y\text{.}\)

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.

###### Exercise 3.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.

Spiral source.

###### Exercise 3.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?

The solution does not move anywhere if \(y = 0\text{.}\) When \(y\) is positive, the solution moves (with constant speed) in the positive \(x\) direction. When \(y\) is negative, 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.