Skip to main content
Mathematics LibreTexts

4.4: Dynamical Systems

  • Page ID
    82496
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    In the last section, we used a coordinate system defined by the eigenvectors of a matrix to express matrix multiplication in a simpler form. For instance, if there is a basis of \(\mathbb R^n\) consisting of eigenvectors of \(A\text{,}\) we saw that multiplying a vector by \(A\text{,}\) when expressed in the coordinates defined by the basis of eigenvectors, was equivalent to multiplying by a diagonal matrix.

    In this section, we will put these ideas to use as we explore discrete dynamical systems, first encountered in Subsection 2.5.2. Recall that we used a state vector \(\mathbf x\) to characterize the state of some system, such as the distribution of delivery trucks between two locations, at a particular time. A matrix \(A\) described the transition of the state vector with \(A\mathbf x\) characterizing the state of the system at a later time.

    Our goal in this section is to describe the types of behaviors that dynamical systems exhibit and to develop a means of detecting these behaviors.

    Preview Activity 4.4.1.

    Suppose that we have a diagonalizable matrix \(A=PDP^{-1}\) where

    \begin{equation*} P = \left[\begin{array}{rr} 1 & -1 \\ 1 & 2 \\ \end{array}\right],\qquad D = \left[\begin{array}{rr} 2 & 0 \\ 0 & -3 \\ \end{array}\right]\text{.} \end{equation*}
    1. Find the eigenvalues of \(A\) and find a basis for the associated eigenspaces.
    2. Form a basis \(\bcal\) of \(\mathbb R^2\) consisting of eigenvectors of \(A\) and write the vector \(\mathbf x = \twovec{1}{4}\) as a linear combination of basis vectors.
    3. Write \(A\mathbf x\) as a linear combination of basis vectors.
    4. What is \(\coords{\mathbf x}{\bcal}\text{,}\) the representation of \(\mathbf x\) in the coordinate system defined by \(\bcal\text{?}\)
    5. What is \(\coords{A\mathbf x}{\bcal}\text{,}\) the representation of \(A\mathbf x\) in the coordinate system defined by \(\bcal\text{?}\)
    6. What is \(\coords{A^4\mathbf x}{\bcal}\text{,}\) the representation of \(A^4\mathbf x\) in the coordinate system defined by \(\bcal\text{?}\)

    A first example

    We will begin our study of dynamical systems with an example that illustrates how eigenvalues and eigenvectors may be used to understand their behavior.

    Activity 4.4.2.

    Suppose we have two species \(R\) and \(S\) that interact with one another and that we record the change in their populations from year to year. When we begin our study, the populations, measured in thousands, are \(R_0\) and \(S_0\text{;}\) after \(k\) years, the populations are \(R_k\) and \(S_k\text{.}\)

    If we know the populations in one year, they are determined in the following year by the expressions

    \begin{equation*} \begin{aligned} R_{k+1} & {}={} 0.9 R_k + 0.8 S_k \\ S_{k+1} & {}={} 0.2 R_k + 0.9 S_k\text{.} \\ \end{aligned} \end{equation*}

    We will combine the populations in a vector \(\mathbf x_k = \twovec{R_k}{S_k}\) and note that \(\mathbf x_{k+1} = A\mathbf x_k\) where \(A = \left[\begin{array}{rr} 0.9 & 0.8 \\ 0.2 & 0.9 \\ \end{array}\right] \text{.}\)

    1. Verify that
      \begin{equation*} \mathbf v_1=\twovec{2}{1},\qquad \mathbf v_2=\twovec{-2}{1} \end{equation*}

      are eigenvectors of \(A\) and find their respective eigenvalues.

    2. Suppose that initially \(\mathbf x_0 = \twovec{2}{3}\text{.}\) Write \(\mathbf x_0\) as a linear combination of the eigenvectors \(\mathbf v_1\) and \(\mathbf v_2\text{.}\)
    3. Write the vectors \(\mathbf x_1\text{,}\) \(\mathbf x_2\text{,}\) and \(\mathbf x_3\) as a linear combination of eigenvectors \(\mathbf v_1\) and \(\mathbf v_2\text{.}\)
    4. When \(k\) becomes very large, what happens to the ratio of the populations \(R_k/S_k\text{?}\)
    5. If we begin instead with \(\mathbf x_0 = \twovec{4}{4}\text{,}\) what eventually happens to the ratio \(R_k/S_k\) as \(k\) becomes very large?
    6. Explain what happens to the ratio \(R_k/S_k\) as \(k\) becomes very large no matter what the initial populations are.
    7. After a very long time, by approximately what factor does the population of \(R\) grow every year? By approximately what factor does the population of \(S\) grow every year?

    This activity demonstrates the type of questions we will be considering. In particular, we will assume that we have an initial vector \(\mathbf x_0\) and a matrix \(A\) and define \(\mathbf x_{k+1} = A\mathbf x_k\text{.}\) The eigenvalues and eigenvectors of \(A\) provide the key that helps us understand how the vectors \(\mathbf x_k\) evolve and enables us to make long-range predictions.

    Let's look at the specific example in the previous activity more carefully. We see that we have

    \begin{equation*} \mathbf x_{k+1} = A\mathbf x_k = \left[\begin{array}{rr} 0.9 & 0.8 \\ 0.2 & 0.9 \\ \end{array}\right] \mathbf x_k \end{equation*}

    and that the matrix \(A\) has eigenvectors \(\mathbf v_1 = \twovec{2}{1}\) and \(\mathbf v_2=\twovec{-2}{1}\) with associated eigenvalues \(\lambda_1=1.3\) and \(\lambda_2=0.5\text{.}\)

    Notice that the eigenvectors \(\mathbf v_1\) and \(\mathbf v_2\) form a basis \(\bcal\) of \(\mathbb R^2\text{.}\) This means that \(A\) is diagonalizable so we can write \(A=PDP^{-1}\) where

    \begin{equation*} P = \left[\begin{array}{rr} \mathbf v_1 & \mathbf v_2 \end{array}\right] = \left[\begin{array}{rr} 2 & -2 \\ 1 & 1 \\ \end{array}\right], \qquad D = \left[\begin{array}{rr} 1.3 & 0 \\ 0 & 0.5 \\ \end{array}\right]\text{.} \end{equation*}

    In particular, we have

    \begin{equation*} \coords{A\mathbf x}{\bcal} = D\coords{\mathbf x}{\bcal}\text{.} \end{equation*}

    With intial populations \(\mathbf x_0=\twovec{2}{3}\text{,}\) we have \(\mathbf x_0 = 2\mathbf v_1+\mathbf v_2\text{,}\) which means that \(\coords{\mathbf x_0}{\bcal} = \twovec{2}{1}\text{.}\) Therefore,

    \begin{equation*} \begin{aligned} \coords{\mathbf x_1}{\bcal} & {}={} D\coords{\mathbf x_0}{\bcal} = \ctwovec{1.3\cdot 2}{0.5} \\ \coords{\mathbf x_2}{\bcal} & {}={} D\coords{\mathbf x_1}{\bcal} = \ctwovec{1.3^2\cdot 2}{0.5^2} \\ \coords{\mathbf x_3}{\bcal} & {}={} D\coords{\mathbf x_2}{\bcal} = \ctwovec{1.3^3\cdot2}{0.5^3} \\ \coords{\mathbf x_k}{\bcal} & {}={} \ctwovec{1.3^k\cdot2}{0.5^k}\text{.} \\ \end{aligned} \end{equation*}

    Thinking about this geometrically, we begin with the vector \(\coords{\mathbf x_0}{\bcal}=\ctwovec{2}{1}\text{.}\) Subsequent vectors \(\coords{\mathbf x_k}{\bcal}\) are obtained by scaling horizontally by a factor of \(1.3\) and scaling vertically by a factor \(0.5\text{.}\) Notice how the points move along a curve away from the origin becoming ever closer to the horizontal axis.

    After a very long time, \(\coords{\mathbf x_k}{\bcal} \approx \ctwovec{1.3^k\cdot2}{0}\text{,}\) which says that \(\coords{\mathbf x_{k+1}}{\bcal} \approx 1.3\coords{\mathbf x_k}{\bcal}\text{.}\) That is, the vector \(\coords{\mathbf x_k}{\bcal}\) grows by a factor of \(1.3\) every year.

    To recover the behavior of the sequence \(\mathbf x_0, \mathbf x_1, \mathbf x_2, \ldots\text{,}\) we change coordinate systems using the basis defined by \(\mathbf v_1\) and \(\mathbf v_2\text{.}\) Here, the points move along a curve away from the origin becoming ever closer to the line defined by \(\mathbf v_1\text{.}\)

    Eventually, the vectors become practically indistinguishable from a scalar multiple of \(\mathbf v_1 = \twovec{2}{1}\text{;}\) that is, \(\mathbf x_k\approx s\mathbf v_1\text{.}\) This means that

    \begin{equation*} \mathbf x_k = \twovec{R_k}{S_k} \approx s\twovec{2}{1} \end{equation*}

    so that \(R_k/S_k \approx 2\text{.}\) In addition, \(\mathbf x_{k+1} \approx 1.3\mathbf x_k\) so that \(R_{k+1}\approx 1.3 R_k\) and \(S_{k+1}\approx 1.3 S_k\text{.}\) We conclude that, after a very long time, the ratio of the populations \(R_k\) to \(S_k\) is very close to 2 to 1. We also see that each population is multiplied by 1.3 every year meaning the annual growth rate for both populations is about 30%.

    In the same way, we can consider other possible initial populations \(\mathbf x_0\) as shown in Figure 4.4.1. Regardless of \(\mathbf x_0\text{,}\) the population vectors, in the coordinates defined by \(\bcal\text{,}\) are scaled horizontally by a factor of \(1.3\) and vertically by a factor of \(0.5\text{.}\) The sequence of points \(\coords{\mathbf x_k}{\bcal}\text{,}\) called trajectories, move along the curves, as shown on the left. In the standard coordinate system, we see that the trajectories converge to the eigenspace \(E_{1.3}\text{.}\)

    Figure 4.4.1. The trajectories of the dynamical system formed by the matrix \(A\) in the coordinate system defined by \(\bcal\text{,}\) on the left, and in the standard coordinate system, on the right.

    We conclude that, regardless of the initial populations, the ratio of the populations \(R_k/S_k\) will approach 2 to 1 and that the growth rate for both populations approaches 30%. This example demonstrates the power of using eigenvalues and eigenvectors to rewrite the problem in terms of a new coordinate system. By doing so, we are able to predict the long-term behavior of the populations independently of the initial populations.

    Diagrams like those shown in Figure 4.4.1 are called phase portraits. On the left of Figure 4.4.1 is the phase portrait of the diagonal matrix \(D=\mattwo{1.3}00{0.5}\) while the right of that figure shows the phase portrait of \(A = \mattwo{0.9}{0.8}{0.2}{0.9}\text{.}\) The phase portrait of \(D\) is relatively easy to understand because it is determined only by the two eigenvalues. Once we have the phase portrait of \(D\text{,}\) however, the phase portrait of \(A\) has a similar appearance with the eigenvectors \(\mathbf v_j\) replacing the standard basis vectors \(\mathbf e_j\text{.}\)

    Classifying dynamical systems

    In the previous example, we were able to make predictions about the behavior of trajectories \(\mathbf x_k=A^k\mathbf x_0\) by considering the eigenvalues and eigenvectors of the matrix \(A\text{.}\) The next activity looks at a collection of matrices that demonstrate the types of behavior a \(2\times2\) dynamical system can exhibit.

    Activity 4.4.3.

    We will now look at several more examples of dynamical systems. If \(P = \left[\begin{array}{rr} 1 & -1 \\ 1 & 1 \\ \end{array}\right] \text{,}\) we note that the columns of \(P\) form a basis \(\bcal\) of \(\mathbb R^2\text{.}\) Given below are several matrices \(A\) written in the form \(A=PEP^{-1}\) for some matrix \(E\text{.}\) For each matrix, state the eigenvalues of \(A\) and sketch a phase portrait for the matrix \(E\) on the left and a phase portrait for \(A\) on the right. Describe the behavior of \(A^k\mathbf x_0\) as \(k\) becomes very large for a typical initial vector \(\mathbf x_0\text{.}\)

    1. \(A=PEP^{-1}\) where \(E = \left[\begin{array}{rr} 1.3 & 0 \\ 0 & 1.5 \\ \end{array}\right] \text{.}\)
    2. \(A=PEP^{-1}\) where \(E = \left[\begin{array}{rr} 0 & -1 \\ 1 & 0 \\ \end{array}\right] \text{.}\)
    3. \(A=PEP^{-1}\) where \(E = \left[\begin{array}{rr} 0.7 & 0 \\ 0 & 1.5 \\ \end{array}\right] \text{.}\)
    4. \(A=PEP^{-1}\) where \(E = \left[\begin{array}{rr} 0.3 & 0 \\ 0 & 0.7 \\ \end{array}\right] \text{.}\)
    5. \(A=PEP^{-1}\) where \(E = \left[\begin{array}{rr} 1 & -0.9 \\ 0.9 & 1 \\ \end{array}\right] \text{.}\)
    6. \(A=PEP^{-1}\) where \(E = \left[\begin{array}{rr} 0.6 & -0.2 \\ 0.2 & 0.6 \\ \end{array}\right] \text{.}\)

    This activity demonstrates six possible types of dynamical systems, which are determined by the eigenvalues of \(A\text{.}\)

    • Suppose that \(A\) has two real eigenvalues \(\lambda_1\) and \(\lambda_2\) and that both \(|\lambda_1|, |\lambda_2| \gt 1\text{.}\) In this case, any nonzero vector \(\mathbf x_0\) forms a trajectory that moves away from the origin so we say that the origin is a repellor. This is illustrated in Figure 4.4.2.
      Figure 4.4.2. The origin is a repellor when \(|\lambda_1|, |\lambda_2| \gt 1\text{.}\)
    • Suppose that \(A\) has two real eigenvalues \(\lambda_1\) and \(\lambda_2\) and that \(|\lambda_1| \gt 1 \gt |\lambda_2| \text{.}\) In this case, most nonzero vectors \(\mathbf x_0\) form trajectories that converge to the eigenspace \(E_{\lambda_1}\text{.}\) In this case, we say that the origin is a saddle as illustrated in Figure 4.4.3.
      Figure 4.4.3. The origin is a saddle when \(|\lambda_1|\gt 1 \gt |\lambda_2|\text{.}\)
    • Suppose that \(A\) has two real eigenvalues \(\lambda_1\) and \(\lambda_2\) and that both \(|\lambda_1|, |\lambda_2| \lt 1\text{.}\) In this case, any nonzero vector \(\mathbf x_0\) forms a trajectory that moves into the origin so we say that the origin is an attractor. This is illustrated in Figure 4.4.4.
      Figure 4.4.4. The origin is an attractor when \(|\lambda_1|, |\lambda_2| \lt 1\text{.}\)
    • Suppose that \(A\) has a complex eigenvalue \(\lambda = a+bi\) where \(|\lambda| \gt 1\text{.}\) In this case, a nonzero vector \(\mathbf x_0\) forms a trajectory that spirals away from the origin. We say that the origin is a spiral repellor, as illustrated in Figure 4.4.5.
      Figure 4.4.5. The origin is a spiral repellor when \(A\) has an eigenvalue \(\lambda=a+bi\) with \(a^2+b^2\gt 1\text{.}\)
    • Suppose that \(A\) has a complex eigenvalue \(\lambda = a+bi\) where \(|\lambda| = 1\text{.}\) In this case, a nonzero vector \(\mathbf x_0\) forms a trajectory that moves on a closed curve around the origin. We say that the origin is a center, as illustrated in Figure 4.4.6.
      Figure 4.4.6. The origin is a center when \(A\) has an eigenvalue \(\lambda=a+bi\) with \(a^2+b^2 = 1\text{.}\)
    • Suppose that \(A\) has a complex eigenvalue \(\lambda = a+bi\) where \(|\lambda| \lt 1\text{.}\) In this case, a nonzero vector \(\mathbf x_0\) forms a trajectory that spirals into the origin. We say that the origin is a spiral attractor, as illustrated in Figure 4.4.7.
      Figure 4.4.7. The origin is a spiral attractor when \(A\) has an eigenvalue \(\lambda=a+bi\) with \(a^2+b^2\lt 1\text{.}\)

    Activity 4.4.4.

    In this activity, we will consider several ways in which two species might interact with one another. Throughout, we will consider two species \(R\) and \(S\) whose populations in year \(k\) form a vector \(\mathbf x_k=\twovec{R_k}{S_k}\) and which evolve according to the rule

    \begin{equation*} \mathbf x_{k+1}=A\mathbf x_k\text{.} \end{equation*}
    1. Suppose that \(A = \left[\begin{array}{rr} 0.7 & 0 \\ 0 & 1.6 \\ \end{array}\right] \text{.}\)

      Explain why the species do not interact with one another. Which of the six types of dynamical systems do we have? What happens to both species after a long time?

    2. Suppose now that \(A = \left[\begin{array}{rr} 0.7 & 0.3 \\ 0 & 1.6 \\ \end{array}\right] \text{.}\)

      Explain why \(S\) is a beneficial species for \(R\text{.}\) Which of the six types of dynamical systems do we have? What happens to both species after a long time?

    3. Suppose now that \(A = \left[\begin{array}{rr} 0.7 & 0.5 \\ -0.4 & 1.6 \\ \end{array}\right] \text{.}\)

      Explain why this describes a predator-prey system. Which of the species is the predator and which is the prey? Which of the six types of dynamical systems do we have? What happens to both species after a long time?

    4. Suppose now that \(A = \left[\begin{array}{rr} 0.5 & 0.2 \\ -0.4 & 1.1 \\ \end{array}\right] \text{.}\)

      Compare this predator-prey system to the one in the previous part. Which of the six types of dynamical systems do we have? What happens to both species after a long time?

    A \(3\times3\) system

    Up to this point, we have focused on \(2\times2\) systems. In fact, the general case is quite similar. As an example, consider a \(3\times3\) system \(\mathbf x_{k+1}=A\mathbf x_k\) where the matrix \(A\) has eigenvalues \(\lambda_1 = 0.6\text{,}\) \(\lambda_2 = 0.8\text{,}\) and \(\lambda_3=1.1\text{.}\) The matrix \(A\) therefore has a basis \(\bcal\) consisting of eigenvectors so we can look at the trajectories \(\coords{\mathbf x_k}{\bcal}\) in the coordinate system defined by \(\bcal\text{.}\) The phase portraits in Figure 4.4.8 show how the trajectories will evolve. We see that all the trajectories will converge into the eigenspace \(E_{1.1}\text{.}\)

    Figure 4.4.8. In a \(3\times3\) system with \(\lambda_1 = 0.6\text{,}\) \(\lambda_2=0.8\text{,}\) and \(\lambda_3 = 1.1\text{,}\) the trajectories \(\coords{\mathbf x_k}{\bcal}\) move along the curves shown above.

    In the same way, suppose we have a \(3\times3\) system with complex eigenvalues \(\lambda=0.8 \pm 0.5i\) and \(\lambda_3=1.1\text{.}\) Since the complex eigenvalues satisfy \(|\lambda| \lt 1\text{,}\) there is a two-dimensional subspace in which the trajectories spiral in toward the origin. The phase portraits in Figure 4.4.9 show some of the trajectories. Once again, we see that all the trajectories converge into the eigenspace \(E_{1.1}\text{.}\)

    Figure 4.4.9. In a \(3\times3\) system with complex eigenvalues \(\lambda = a\pm bi\) with \(|\lambda| \lt 1\) and \(\lambda_3=1.1\text{,}\) the trajectories \(\coords{\mathbf x_k}{\bcal}\) move along the curves shown above.

    Activity 4.4.5.

    The following type of analysis has been used to study the population of a bison herd. We will divide the population of female bison into three groups: juveniles who are less than one year old; yearlings between one and two years old; and adults who are older than two years.

    Each year,

    • 80% of the juveniles survive to become yearlings.
    • 90% of the yearlings survive to become adults.
    • 80% of the adults survive.
    • 40% of the adults give birth to a juvenile.

    By \(J_k\text{,}\) \(Y_k\text{,}\) and \(A_k\text{,}\) we denote the number of juveniles, yearlings, and adults in year \(k\text{.}\) We have

    \begin{equation*} J_{k+1} = 0.4 A_k\text{.} \end{equation*}
    1. Find similar expressions for \(Y_{k+1}\) and \(A_{k+1}\) in terms of \(J_k\text{,}\) \(Y_k\text{,}\) and \(A_k\text{.}\)
    2. As is usual, we write the matrix \(\mathbf x_k=\threevec{J_k}{Y_k}{A_k}\text{.}\) Write the matrix \(A\) such that \(\mathbf x_{k+1} = A\mathbf x_k\text{.}\)
    3. We can write \(A = PEP^{-1}\) where the matrices \(E\) and \(P\) are approximately:
      \begin{equation*} \begin{aligned} E & {}={} \left[\begin{array}{rrr} 1.058 & 0 & 0 \\ 0 & -0.128 & -0.506 \\ 0 & 0.506 & -0.128 \\ \end{array}\right], \\ \\ P & {}={} \left[\begin{array}{rrr} 1 & 1 & 0 \\ 0.756 & -0.378 & 1.486 \\ 2.644 & -0.322 & -1.264 \\ \end{array}\right]\text{.} \end{aligned} \end{equation*}

      Make a prediction about the long-term behavior of \(\mathbf x_k\text{.}\) For instance, at what rate does it grow? For every 100 adults, how many juveniles, and yearlings are there?

    4. Suppose that the birth rate decreases so that only 30% of adults give birth to a juvenile. How does this affect the long-term growth rate of the herd?
    5. Suppose that the birth rate decreases further so that only 20% of adults give birth to a juvenile. How does this affect the long-term growth rate of the herd?
    6. Find the smallest birth rate that supports a stable population.

    Summary

    We have been exploring discrete dynamical systems, which have the form \(\mathbf x_{k+1}=A\mathbf x_k\text{,}\) by looking at the eigenvalues and eigenvectors of \(A\text{.}\) In the \(2\times2\) case, we saw that

    • \(|\lambda_1|, |\lambda_2| \lt 1\) produces an attractor so that trajectories are pulled in toward the origin.
    • \(|\lambda_1| \gt 1\) and \(|\lambda_2| \lt 1\) produces a saddle in which most trajectories are pushed away from the origin and in the direction of \(E_{\lambda_1}\text{.}\)
    • \(|\lambda_1|, |\lambda_2| \gt 1\) produces a repellor in which trajectories are pushed away from the origin.

    The same kind of reasoning allows us to analyze \(n\times n\) systems as well.

    Exercises 4.4.5Exercises

    1

    For each of the \(2\times2\) matrices below, find the eigenvalues and, when appropriate, the eigenvectors to classify the dynamical system \(\mathbf x_{k+1}=A\mathbf x_k\text{.}\) Use this information to sketch the phase portraits.

    1. \(A = \left[\begin{array}{rr} 3& 1 \\ 1 & 3 \\ \end{array}\right]\text{.}\)
    2. \(A = \left[\begin{array}{rr} 3& -2 \\ 4 & -1 \\ \end{array}\right]\text{.}\)
    3. \(A = \left[\begin{array}{rr} 1.9 & 1.4 \\ -0.7 & -0.2 \\ \end{array}\right]\text{.}\)
    4. \(A = \left[\begin{array}{rr} 1.1 & -0.2 \\ 0.4 & 0.5 \\ \end{array}\right]\text{.}\)
    2

    We will consider matrices that have the form \(A=PDP^{-1}\) where

    \begin{equation*} D = \mattwo p00{\frac12}, P = \mattwo 2{-2}11 \end{equation*}

    where \(p\) is a parameter that we will vary. Sketch phase portraits for \(D\) and \(A\) below when

    1. \(p=\frac12\text{.}\)
    2. \(p=1\text{.}\)
    3. \(p=2\text{.}\)
    4. For the different values of \(p\text{,}\) determine which types of dynamical system results. For what range of \(p\) values do we have an attractor? For what range of \(p\) values do we have a saddle? For what value does the transition between the two types occur?
    3

    Suppose that the populations of two species interact according to the relationships

    \begin{equation*} \begin{aligned} R_{k+1} & {}={} \frac12 R_k + \frac12S_k \\ S_{k+1} & {}={} -pR_k + 2S_k \\ \end{aligned} \end{equation*}

    where \(p\) is a parameter. As we saw in the text, this dynamical system represents a typical predator-prey relationship, and the parameter \(p\) represents the rate at which species \(R\) preys on \(S\text{.}\) We will denote the matrix \(A=\mattwo{\frac12}{\frac12}{-p}2\text{.}\)

    1. If \(p = 0\text{,}\) determine the eigenvectors and eigenvalues of the system and classify it as one of the six types. Sketch the phase portraits for the diagonal matrix \(D\) to which \(A\) is similar as well as the phase portrait for \(A\text{.}\)
    2. If \(p=1\text{,}\) determine the eigenvectors and eigenvalues of the system. Sketch the phase portraits for the diagonal matrix \(D\) to which \(A\) is similar as well as the phase portrait for \(A\text{.}\)
    3. For what values of \(p\) is the origin a saddle? What can you say about the populations when this happens?
    4. Describe the evolution of the dynamical system as \(p\) begins at \(0\) and increases to \(p=1\text{.}\)
    4

    Consider the matrices

    \begin{equation*} A = \left[\begin{array}{cc} 3 & 2 \\ -5 & -3 \\ \end{array}\right], \qquad B = \left[\begin{array}{cc} 5 & 7 \\ -3 & -4 \\ \end{array}\right]\text{.} \end{equation*}
    1. Find the eigenvalues of \(A\text{.}\) To which of the six types does the system \(\mathbf x_{k+1}=A\mathbf x_{k}\) belong?
    2. Using the eigenvalues of \(A\text{,}\) we can write \(A=PEP^{-1}\) for some matrices \(E\) and \(P\text{.}\) What is the matrix \(E\) and what geometric effect does multiplication by \(E\) have on vectors in the plane?
    3. If we remember that \(A^k = PE^kP^{-1}\text{,}\) determine the smallest positive value of \(k\) for which \(A^k=I\text{?}\)
    4. Find the eigenvalues of \(B\text{.}\)
    5. Then find a matrix \(E\) such that \(B = PEP^{-1}\) for some matrix \(P\text{.}\) What geometric effect does multiplication by \(E\) have on vectors in the plane?
    6. Determine the smallest positive value of \(k\) for which \(B^k=I\text{.}\)
    5

    Suppose we have the female population of a species is divided into juveniles, yearlings, and adults and that each year

    • 90% of the juveniles live to be yearlings.
    • 80% of the yearlings live to be adults.
    • 60% of the adults survive to the next year.
    • 50% of the adults give birth to a juvenile.
    1. Set up a system of the form \(\mathbf x_{k+1}=A\mathbf x_k\) that describes this situation.
    2. Find the eigenvalues of the matrix \(A\text{.}\)
    3. What prediction can you make about these populations after a very long time?
    4. If the birth rate goes up to 80%, what prediction can you make about these populations after a very long time? For every 100 adults, how many juveniles, and yearlings are there?
    6

    Determine whether the following statements are true or false and provide a justification for your response. In each case, we are considering a dynamical system of the form \(\mathbf x_{k+1} = A\mathbf x_k\text{.}\)

    1. If the \(2\times2\) matrix \(A\) has a complex eigenvalue, we cannot make a prediction about the behavior of the trajectories.
    2. If \(A\) has eigenvalues whose absolute value is smaller than 1, then all the trajectories are pulled in toward the origin.
    3. If the origin is a repellor, then it is an attractor for the system \(\mathbf x_{k+1} = A^{-1}\mathbf x_k\text{.}\)
    4. If a \(4\times4\) matrix has complex eigenvalues \(\lambda_1\text{,}\) \(\lambda_2\text{,}\) \(\lambda_3\text{,}\) and \(\lambda_4\text{,}\) all of which satisfy \(|\lambda_j| \gt 1\text{,}\) then all the trajectories are pushed away from the origin.
    5. If the origin is a saddle, then all the trajectories are pushed away from the origin.
    7

    The Fibonacci numbers form the sequence of numbers that begins \(0, 1, 1, 2, 3, 5, 8, 13, \ldots\text{.}\) If we let \(F_n\) denote the \(n^{th}\) Fibonacci number, then

    \begin{equation*} F_0 =0, F_1 =1, F_2 =1, F_3 =2, F_4 =3,\ldots\text{.} \end{equation*}

    In general, a Fibonacci number is the sum of the previous two Fibonacci numbers; that is, \(F_{n+2} = F_{n}+F_{n+1}\) so that we have

    \begin{equation*} \begin{aligned} F_{n+2} & {}={} F_{n} + F_{n+1} \\ F_{n+1} & {}={} F_{n+1}\text{.} \\ \end{aligned} \end{equation*}
    1. If we write \(\mathbf x_n = \twovec{F_{n+1}}{F_n}\text{,}\) find the matrix \(A\) such that \(\mathbf x_{n+1} = A\mathbf x_n\text{.}\)
    2. Show that \(A\) has eigenvalues
      \begin{equation*} \begin{aligned} \lambda_1 & {}={} \frac{1+\sqrt{5}}{2}\approx 1.61803\ldots \\ \lambda_2 & {}={} \frac{1-\sqrt{5}}{2}\approx -0.61803\ldots \\ \end{aligned} \end{equation*}

      with associated eigenvectors \(\mathbf v_1=\twovec{\lambda_1}{1}\) and \(\mathbf v_2=\twovec{\lambda_2}{1}\text{.}\)

    3. Classify this dynamical system as one of the six types that we have seen in this section. What happens to \(\mathbf x_n\) as \(n\) becomes very large?
    4. Write the initial vector \(\mathbf x_0 = \twovec{1}{0}\) as a linear combination of eigenvectors \(\mathbf v_1\) and \(\mathbf v_2\text{.}\)
    5. Write the vector \(\mathbf x_n\) as a linear combinations of \(\mathbf v_1\) and \(\mathbf v_2\text{.}\)
    6. Explain why the \(n^{th}\) Fibonacci number
      \begin{equation*} F_{n} = \frac{1}{\sqrt{5}}\left[ \left(\frac{1+\sqrt{5}}{2}\right)^n - \left(\frac{1-\sqrt{5}}{2}\right)^n\right]\text{.} \end{equation*}
    7. Use this relationship to compute \(F_{20}\text{.}\)
    8. Explain why \(F_{n+1}/F_{n}\approx \lambda_1\) when \(n\) is very large.

    The number \(\lambda_1=\frac{1+\sqrt{5}}{2} = \phi\) is called the golden ratio and is one of mathematics' special numbers.

    8

    This exercise is a continuation of the previous one.

    The Lucas numbers \(L_n\) are defined by the same relationship as the Fibonacci numbers: \(L_{n+2}=L_{n+1}+L_n\text{.}\) However, we begin with \(L_0=2\) and \(L_1=1\text{,}\) which leads to the sequence \(2,1,3,4,7,11,\ldots\text{.}\)

    1. As before, form the vector \(\mathbf x_n=\twovec{L_{n+1}}{L_n}\) so that \(\mathbf x_{n+1}=A\mathbf x_n\text{.}\) Express \(\mathbf x_0\) as a linear combination of \(\mathbf v_1\) and \(\mathbf v_2\text{,}\) eigenvectors of \(A\text{.}\)
    2. Explain why
      \begin{equation*} L_n = \left(\frac{1+\sqrt{5}}{2}\right)^n + \left(\frac{1-\sqrt{5}}{2}\right)^n\text{.} \end{equation*}
    3. Explain why \(L_n\) is the closest integer to \(\phi^n\) when \(n\) is large, where \(\phi = \lambda_1\) is the golden ratio.
    4. Use this observation to find \(L_{20}\text{.}\)
    9

    Gil Strang defines the Gibonacci numbers \(G_n\) as follows. We begin with \(G_0 = 0\) and \(G_1=1\text{.}\) A subsequent Gibonacci number is the average of the two previous; that is, \(G_{n+2} = \frac12(G_{n}+G_{n+1})\text{.}\) We then have

    \begin{equation*} \begin{aligned} G_{n+2} & {}={} \frac12 G_{n} + \frac 12 G_{n+1} \\ G_{n+1} & {}={} G_{n+1}\text{.} \\ \end{aligned} \end{equation*}
    1. If \(\mathbf x_n=\twovec{G_{n+1}}{G_n}\text{,}\) find the matrix \(A\) such that \(\mathbf x_{n+1} = A\mathbf x_n\text{.}\)
    2. Find the eigenvalues and associated eigenvectors of \(A\text{.}\)
    3. Explain why this dynamical system does not neatly fit into one of the six types that we saw in this section.
    4. Write \(\mathbf x_{0}\) as a linear combination of eigenvectors of \(A\text{.}\)
    5. Write \(\mathbf x_n\) as a linear combination of eigenvectors of \(A\text{.}\)
    6. What happens to \(G_n\) as \(n\) becomes very large?
    10

    Consider a small rodent that lives for three years. Once again, we can separate a population of females into juveniles, yearlings, and adults. Suppose that, each year,

    • Half of the juveniles live to be yearlings.
    • One quarter of the yearlings live to be adults.
    • Adult females produce eight female offspring.
    • None of the adults survive to the next year.
    1. Writing the populations of juveniles, yearlings, and adults in year \(k\) using the vector \(\mathbf x_k=\threevec{J_k}{Y_k}{A_k}\text{,}\) find the matrix \(A\) such that \(\mathbf x_{k+1} = A\mathbf x_k\text{.}\)
    2. Show that \(A^3=I\text{.}\)
    3. What are the eigenvalues of \(A^3\text{?}\) What does this say about the eigenvalues of \(A\text{?}\)
    4. Verify your observation by finding the eigenvalues of \(A\text{.}\)
    5. What can you say about the trajectories of this dynamical system?
    6. What does this mean about the population of rodents?
    7. Find a population vector \(\mathbf x_0\) that is unchanged from year to year.

    This page titled 4.4: Dynamical Systems is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by David Austin via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.