Skip to main content

Section 4.7 Two-dimensional systems and their vector fields

Subsection Summary of Behaviors

In the last three sections, we looked at the different options for two-component constant-coefficient systems. We want to determine a nice way to put all of this together. We summarize the behavior of linear homogeneous two-dimensional systems given by a nonsingular matrix in TableΒ 4.7.1. Systems where one of the eigenvalues is zero (the matrix is singular) come up in practice from time to time, see ExampleΒ 4.1.2, and the pictures are somewhat different (simpler in a way). See the exercises.
Table 4.7.1. Summary of behavior of linear homogeneous two-dimensional systems.
Eigenvalues Behavior
real and both positive source / unstable node
real and both negative sink / asymptotically 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
repeated with two eigenvectors proper node (asympt. stable or unstable)
repeated with one eigenvector improper node (asympt. stable or unstable)
The sketches of all of these different behaviors and phase portraits can be found in their respective sections. Make sure that you understand the terminology, general behavior, and sketches for each of these different cases.

Subsection Trace-Determinant Analysis

One other way to interpret and analyze this information is using the trace and determinant of the matrix. Recall from SectionΒ 3.6 that the trace of a matrix is the sum of the diagonal entries of the matrix and the determinant of the matrix is computed from the entries and is a way to determine invertibility of the matrix. If we take a generic \(2 \times 2\) matrix and find the characteristic polynomial, we get that for
\begin{equation*} A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}, \end{equation*}
the characteristic polynomial is
\begin{equation*} \det(A - \lambda I) = (a - \lambda)(d - \lambda) - (b)(c) = \lambda^2 - (a+d)\lambda + (ad-bc). \end{equation*}
Since the trace of the matrix is \(a+d\) and the determinant is \(ad-bc\text{,}\) we can rewrite this polynomial as
\begin{equation*} \lambda^2 - T\lambda + D = 0, \end{equation*}
which also means that we can characterize the eigenvalues of the matrix in terms of the trace and determinant. We get that the eigenvalues are
\begin{equation} \lambda = \frac{T \pm \sqrt{T^2 - 4D}}{2}.\tag{4.7.1} \end{equation}
There are a few important facts we can learn from this equation.
  1. A lot depends on the value of \(T^2 - 4D\text{.}\) If \(T^2 - 4D > 0,\) then we will have two real distinct eigenvalues. If \(T^2 - 4D = 0,\) then there is a single repeated eigenvalue, and if \(T^2 - 4D < 0\text{,}\) we have complex eigenvalues.
  2. If \(D < 0\text{,}\) then \(T^2 - 4D > T^2,\) which means that \(\sqrt{T^2 - 4D} > |T|\text{.}\) If we put this into (4.7.1), this will mean that the term that is after the \(\pm\) will be larger than \(T\) in absolute value. Therefore, the two eigenvalues will be real and have opposite signs.
  3. If \(D \geq 0\text{,}\) then the sign of the eigenvalues, or the sign of the real part in the complex case, is dictated by the sign of \(T\text{.}\) If \(D \geq 0\text{,}\) then \(T^2 - 4D \leq T^2\text{,}\) so that the part under the square root in (4.7.1) is always smaller in absolute value than \(T\text{.}\) Thus, both the plus and minus version will have values that are the same sign as \(T\text{.}\) If the expression is complex, then the real part is exactly \(T/2\text{,}\) which is the same sign as \(T\text{.}\)
All of this means we can make a new table characterizing the eigenvalues and how they are connected to the trace and determinant.
Table 4.7.2. Summary of behavior of linear homogeneous two-dimensional systems.
Eigenvalues Trace and Determinant Classification
real and both positive \(T > 0\text{,}\) \(D > 0\text{,}\) \(T^2 - 4D > 0\)
real and both negative \(T < 0\text{,}\) \(D > 0\text{,}\) \(T^2 - 4D > 0\)
real and opposite signs \(D < 0\)
purely imaginary \(T = 0\text{,}\) \(D > 0\)
complex with positive real part \(T > 0\text{,}\) \(T^2 - 4D < 0\)
complex with negative real part \(T < 0\text{,}\) \(T^2 - 4D < 0\)
repeated \(T^2 - 4D = 0\)
Since these are all based on the relation between \(T\) and \(D\text{,}\) we can also combine all of this into a figure to summarize the details. In FigureΒ 4.7.3, \(T\) is on the horizontal axis and \(D\) is the vertical axis. The graph drawn is \(D = \nicefrac{T^2}{4}\text{,}\) which is the important criteria that shows up in the table.
ALT TEXT HERE
IMAGE DESCRIPTION HERE
Figure 4.7.3. Trace-Determinant plane for analysis of two-component linear systems.
FigureΒ 4.7.3 can be used to determine the behavior of a two-component system without actually needing to solve the differential equation. The point is that the signs and type of the eigenvalues determine the structure of the solution, and we can determine the important qualities of these using just the trace and determinant of a matrix.

Example 4.7.4.

Use Trace-Determinant analysis to determine the overall behavior of the system
\begin{equation*} {\vec{x}}' = \begin{bmatrix} 1 & 4 \\ -2 & 3 \end{bmatrix}\vec{x}. \end{equation*}
Solution.
From the matrix, we can see that the trace is \(1 + 3 = 4\) and the determinant is \((1)(3) - (4)(-2) = 11\text{.}\) We see that \(D > 0\) with \(T^2 = 16\) and \(4D = 44 > 16\text{.}\) Therefore, we have \(4D > T^2\text{,}\) so we are above the curve on the graph, and so have a spiral. Since \(T > 0\text{,}\) this will be a spiral source.
Note: If you wanted to get a general solution or sketch a phase portrait for this differential equation, you would need to actually solve it out for that; you can not get enough information just from this image to sketch a proper phase portrait.

Checkpoint 4.7.5.

Compute the eigenvalues for the system above, find the general solution, and verify that this is a spiral source. The numbers here will not work out great, so having the quick analysis that it is a spiral source is nice.

Exercises Exercises

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.
Answer.
\({\vec{x}}' = \left[\begin{smallmatrix} 0 & 1 \\ -k/m &-c/m \end{smallmatrix}\right]\vec{x}\)
(b)
Classify for what \(m, c, k\) do you get which behavior.
Answer.
\(c=0\) is center, \(c^2 - 4mk < 0\) is spiral sink, \(c^2 - 4mk = 0\) is improper sink, \(c^2 - 4mk > 0\) is nodal sink.
(c)
Can you explain from physical intuition why you do not get all the different kinds of behavior here?
Answer.
The forced positive coefficients restricts the behavior

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?
Answer.
Improper nodal sink

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?
Answer.
It does not look like any of our previous pictures.

4.

Describe the behavior of the following systems without solving:
(b)
\(x_1' = x_1 + x_2\text{,}\) \(x_2' = 2 x_2\text{.}\)
Answer.
Two eigenvalues: \(1\) and \(2\text{,}\) so the behavior is a source.
(c)
\(x_1' = -2x_2\text{,}\) \(x_2' = 2 x_1\text{.}\)
Answer.
Two eigenvalues: \(\pm 2i\text{,}\) so the behavior is a center (ellipses).
(d)
\(x' = x + 3y\text{,}\) \(y' = -2x-4y\text{.}\)
Answer.
Two eigenvalues: \(-1\) and \(-2\text{,}\) so the behavior is a sink.
(e)
\(x' = x - 4y\text{,}\) \(y' = -4x+y\text{.}\)
Answer.
Two eigenvalues: \(5\) and \(-3\text{,}\) so the behavior is a saddle.

5.

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.
Answer.
Eigenvalues are \(a\) and \(b\text{,}\) so any real eigenvalue behavior is possible. Saddle, source, sink.

6.

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.

7.

For each of the following matrices \(A\text{,}\) describe the behavior and classify the phase portrait of the system given by \({\vec{x}}' = A\vec{x}\text{.}\) Use the eigenvalues to determine this.

8.

For each of the matrices and systems in ExerciseΒ 7, perform the same analysis using the trace and determinant of the matrix.

9.

Consider the system of differential equations given by
\begin{equation*} {\vec{x}}' = \begin{bmatrix} -2 & -3 \\ 3 & -2 \end{bmatrix} \vec{x}. \end{equation*}
(b)
Find the general solution to this system of differential equations and verify that it matches the analysis in (a).
Answer.
\(\vec{x}(t) = C_1e^{-2t}\left[\begin{smallmatrix} -\sin(3t) \\ \cos(3t) \end{smallmatrix}\right] + C_2e^{-2t} \left[\begin{smallmatrix} \cos(3t) \\ \sin(3t) \end{smallmatrix}\right]\text{.}\)

10.

Consider the system of differential equations given by
\begin{equation*} {\vec{x}}' = \begin{bmatrix} -2 & -3 \\ 3 & 4 \end{bmatrix} \vec{x}. \end{equation*}
(b)
Find the general solution to this system of differential equations and verify that it matches the analysis in (a).
Answer.
\(\vec{x}(t) = C_1 \left[\begin{smallmatrix} 1 \\ -1 \end{smallmatrix}\right]e^t + C_2\left(\left[\begin{smallmatrix} 1 \\ -1 \end{smallmatrix}\right]te^t + \left[\begin{smallmatrix} -1/3 \\ 0 \end{smallmatrix}\right]e^t \right)\)

11.

Take the system from ExampleΒ 4.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.
Answer.
All solutions flow directly to the line \(y=x\text{.}\)

12.

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.
ALT TEXT HERE
IMAGE DESCRIPTION HERE
Figure 4.7.6. Vector field for the system \(\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{.}\)
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 description above.

13.

In this exercise, we will analyze β€œperturbations” or near-by matrices to the ones that are given. This will be important later in SectionΒ 5.1. For each of the following matrices
  1. Find the trace and determinant, and use them to classify the behavior of the linear system \({\vec{x}}' = A\vec{x}\) for the given matrix \(A\text{.}\)
  2. Draw a sketch of the trace-determinant plane, including the curve \(D = \nicefrac{T^2}{4}\text{,}\) and plot the point corresponding to the matrix on those axes.
  3. Look at the points in a small (as small as you want) circle around the point you just drew. What does the behavior look like for systems whose matrices fall within that circle? What do these behaviors have in common with each other, and how do they differ?
(a)
\(\begin{bmatrix} 2 & 8 \\ -3 & -8 \end{bmatrix}\)
Answer.
\(T=-6\text{,}\) \(D = 8\text{.}\) Nodal sink. All points nearby are nodal sinks.
(b)
\(\begin{bmatrix} 15 & -12 \\ 16 & -13 \end{bmatrix}\)
Answer.
\(T = 2\text{,}\) \(D = -3\text{.}\) Saddle. All points nearby are saddles.
(c)
\(\begin{bmatrix} 2 & -1 \\ 5 & -2 \end{bmatrix}\)
Answer.
\(T = 0\text{,}\) \(D = 1\text{.}\) Center. Points nearby are all spirals, but they could be asymptotically stable, centers, or unstable. Stability is unknown.
(d)
\(\begin{bmatrix} 4 & -1 \\ 2 & 2 \end{bmatrix}\)
Answer.
\(T = 6\text{,}\) \(D = 10\text{.}\) Spiral source. All points nearby are spiral sources.
(e)
\(\begin{bmatrix} -2 & 2 \\ -2 & -6 \end{bmatrix}\)
Answer.
\(T = -8\text{,}\) \(D = 16\text{.}\) Improper nodal sink. All points nearby will be asymptotically stable, but they could be nodal sinks, improper nodal sinks, or spiral sinks.
(f)
\(\begin{bmatrix} -1 & -4 \\ 2 & 5 \end{bmatrix}\)
Answer.
\(T = 4\text{,}\) \(D = 3\text{.}\) Nodal source. All points nearby are nodal sources.
(g)
\(\begin{bmatrix} -5 & 6 \\ -3 & 1 \end{bmatrix}\)
Answer.
\(T = -4\text{,}\) \(D = 13\text{.}\) Spiral sink. All points nearby are spiral sinks.
(h)
\(\begin{bmatrix} 5 & -2 \\ 8 & -3 \end{bmatrix} \)
Answer.
\(T = 2\text{,}\) \(D = 1\text{.}\) Improper nodal source. All points nearby will be unstable, but they may be spirals, nodal sources, or improper nodal sources.