for an arbitrary function \(f(x)\) is called a conservative equation. For example the pendulum equation is a conservative equation. The equations are conservative as there is no friction in the system so the energy in the system is βconserved.β Let us write this equation as a system of nonlinear ODE.
\begin{equation*}
x' = y, \qquad y' = -f(x) .
\end{equation*}
These types of equations have the advantage that we can solve for their trajectories easily.
A trajectory for this system is a curve in the \(xy\)-plane that the solution curve \((x(t), y(t))\) will stay on for all \(t\text{.}\) This curve will generally be given with \(y\) as a function of \(x\text{,}\) or the level curve of some function \(F(x,y)\text{.}\)
where the prime indicates a derivative with respect to \(t\text{.}\) We obtain \(y \frac{dy}{dx} + f(x) = 0\text{.}\) We integrate with respect to \(x\) to get \(\int y \frac{dy}{dx} \,dx + \int f(x)\, dx = C\text{.}\) In other words
We obtained an implicit equation for the trajectories, with different \(C\) giving different trajectories. The value of \(C\) is conserved on any trajectory. This expression is sometimes called the Hamiltonian or the energy of the system. If you look back to SectionΒ 1.9, you will notice that \(y\frac{dy}{dx} + f(x) = 0\) is an exact equation, and we just found a potential function.
Another approach we could use in this case is separable equations, if it works out. The idea is that we have the system
\begin{equation*}
x' = y, \qquad y' = -f(x)
\end{equation*}
and want to develop a differential equation for \(y\) in terms of \(x\text{.}\) We can write this differential equation using some principles from implicit differentiation and parametric equations as
Plotting these graphs we get exactly the trajectories in FigureΒ 5.1.3. In particular we notice that near the origin the trajectories are closed curves: they keep going around the origin, never spiraling in or out. Therefore we discovered a way to verify that the critical point at \((0,0)\) is a stable center. The critical point at \((0,1)\) is a saddle as we already noticed. This example is typical for conservative equations.
Consider an arbitrary conservative equation \(x'' + f(x) = 0\text{.}\) All critical points occur when \(y=0\) (the \(x\)-axis), that is when \(x' = 0\text{.}\) The critical points are those points on the \(x\)-axis where \(f(x) = 0\text{.}\) The trajectories are given by
The critical point is almost linear if \(f'(x) \not= 0\) at the critical point. Let \(J\) denote the Jacobian matrix. The eigenvalues of \(J\) are solutions to
Therefore \(\lambda = \pm \sqrt{-f'(x)}\text{.}\) In other words, either we get real eigenvalues of opposite signs (if \(f'(x) < 0\)), or we get purely imaginary eigenvalues (if \(f'(x) > 0\)). There are only two possibilities for critical points, either an unstable saddle point, or a stable center. There are never any sinks or sources.
A generalization of conservative equations to systems is a Hamiltonian system. This type of system has all of the nice properties of conservative equations when converted into systems, but allows for more general interactions between \(x\) and \(y\text{.}\) For these systems, the point is that the equation has a conserved quantity called a Hamiltonian, which does not change as the system evolves in time, which generally represents the energy of the system. Calling this function \(H(x,y)\text{,}\) this means that
is Hamiltonian if there is a function \(H(x,y)\) so that \(f(x,y) = -\frac{\partial H}{\partial y}\) and \(g(x,y) = \frac{\partial H}{\partial x}\text{.}\)
since thatβs how we defined the system. This means that the trajectories of this system are given by
\begin{equation*}
H(x,y) = C
\end{equation*}
for a constant \(C\) determined by initial conditions. So if we can find the function \(H\) that expresses the system in the form (5.2.1)-(5.2.2), then we are done.
Finding this \(H\) is a lot similar to finding solutions to exact equations in SectionΒ 1.9. First, we need to determine if the system is Hamiltonian. Since we want to have that
Once we know that a system is Hamiltonian, we can integrate the different components of the equation to find the function \(H\text{.}\) Since \(f = -\frac{\partial H}{\partial y}\text{,}\) then we can write
\begin{equation*}
H(x,y) = -\int f(x,y)\ dy + A(x)
\end{equation*}
where \(A(x)\) is an unknown function, which can be determined by differentiating this in \(x\) and setting equal to \(g(x,y)\text{.}\)
We first check if \(f_x + g_y = 0\) to see if the system is Hamiltonian. Since \(f_x = -4\) and \(g_y = 4\text{,}\) this means we have a Hamiltonian system. In order to find the function \(H\text{,}\) we use that
Note that this system is linear and autonomous. Therefore, we could have solved this using those methods as well. For this, we have the coefficient matrix
whose roots are \(\pm\sqrt{22}\) which have opposite signs. Therefore, this will be a saddle point, which we see represented in the plot in FigureΒ 5.2.5.
If we have an asymptotically stable critical point \((x_0, y_0)\) for an autonomous system of differential equation, we know that solutions that start βnearβ this point will converge to it as \(t \rightarrow \infty\text{.}\) Thatβs what it means for the point to be asymptotically stable. However, for applications, it may be important to know exactly which initial conditions \((x(0), y(0))\) will end up converging to \((x_0, y_0)\text{.}\) This can be particularly relevant when there are multiple asymptotically stable equilibrium solutions and we need to determine which one a given initial condition will converge to.
Let \((x_0, y_0)\) be an asymptotically stable equilibrium solution for the autonomous system \(\vec{x}\ ` = \vec{F}(x,y)\text{.}\) The basin of attraction for \((x_0, y_0)\) is the set of all points \((a,b)\) where the solution to
\begin{equation*}
\vec{x}' = \vec{F}(x,y) \qquad \vec{x}(0) = \begin{bmatrix} a \\ b \end{bmatrix}
\end{equation*}
converges to \((x_0, y_0)\) as \(t \rightarrow \infty\text{.}\)
In general, the basin of attraction for an asymptotically stable critical point is difficult, if not impossible, to find analytically. The main approach here is to use a direction field to approximate the basin of attraction.
We want to start by finding the critical points for this system, classifying them to determine if they are asymptotically stable, and then use a slope field to try to find the basin of attraction. In order to have a critical point, we need to have both \(\frac{dx}{dt}\) and \(\frac{dy}{dt}\) equal to zero. This means that we need
\begin{equation*}
\left[ x=0 \text{ or } 7-2x-5y = 0\right] \quad \text{ and } \quad \left[ y=-1 \text{ or } 5 - 3x - 2y = 0 \right].
\end{equation*}
This results in the points \((0, -1)\text{,}\)\(\left(0, \nicefrac{5}{2}\right)\text{,}\)\((6, -1)\text{,}\) and \((1, 1)\text{.}\) In order to classify each of these critical points, we need to find the Jacobian matrix for this system, which is
Plugging in \((0,-1)\) gives \(\left[ \begin{smallmatrix} 12 & 0 \\ 0 & 7 \end{smallmatrix} \right]\text{,}\) which has eigenvalues of \(12\) and \(7\text{,}\) and so is a nodal source, which is unstable. Plugging in \(\left(0, \nicefrac{5}{2}\right)\) gives \(\left[ \begin{smallmatrix} -\nicefrac{11}{2} & 0 \\ -\nicefrac{21}{2} & -7 \end{smallmatrix} \right]\text{,}\) which has eigenvalues of \(-\nicefrac{11}{2}\) and \(-7\text{,}\) which is a nodal sink, and so asymptotically stable. Plugging in \((6,-1)\) gives \(\left[ \begin{smallmatrix} -12 & 30 \\ 0 & -11 \end{smallmatrix} \right]\text{,}\) which has eigenvalues at \(-11\) and \(-12\text{,}\) giving an asymptotically stable nodal sink. The last point at \((1,1)\) gives \(\left[ \begin{smallmatrix} -2 & -5 \\ -6 & -4 \end{smallmatrix} \right]\text{,}\) which is not triangular, and so does not have easily identifiable eigenvalues. We could use trace-determinant analysis to classify (SectionΒ 4.7) or we can just compute the eigenvalues. Those are found by the roots of
and since the last term is negative, we know we are going to get roots of opposite signs, so this is an unstable saddle point. The actual eigenvalues are
So, this means we have two asymptotically stable critical points, \(\left(0, \nicefrac{5}{2}\right)\) and \((6, -1)\text{.}\) We need to look at a slope field to determine the approximate basin of attraction for each of these points.
From FigureΒ 5.2.8, we can see that there is a sort of dividing line between the two nodal sinks. If the solution starts on one side of the line, it funnels into one critical point, and on the other side, it heads to the other one. This dividing line also seems to pass through the saddle point at \((1,1)\text{,}\) which is not a coincidence, as we will see later.
Another interesting feature of these regions is the boundary of them. This is a curve that separates solutions that converge to the asymptotically stable equilibrium solution and those that donβt. This leads to another definition.
Consider the autonomous system \(\vec{x}' = \vec{F}(x,y)\text{.}\) A separatrix (plural separatrices) is a curve in the plane that separates trajectories that have different long-term behaviors of solutions to \(\vec{x}\ ` = \vec{F}(x,y)\text{.}\)
The boundary of a basin of attraction is a separatrix because the long-term behavior inside the curve (converging to the asymptotically stable critical point) is different from the behavior outside the curve (going somewhere else). These dividing curves also show up in other contexts.
This is a linear, homogeneous system, so we can analyze it via that approach. For the coefficient matrix \(A = \left[ \begin{smallmatrix} -1 & -1 \\ -2 & 0 \end{smallmatrix} \right]\text{,}\) we have eigenvalues as the roots of \((-1-\lambda)(-\lambda) - 2\text{,}\) or \(\lambda^2 + \lambda - 2\text{.}\) Therefore, the eigenvalues here are \(1\) and \(-2\text{.}\) For \(1\) we have eigenvector \(\left[ \begin{smallmatrix} 1 \\ -2 \end{smallmatrix}\right]\) and for \(-2\text{,}\) an eigenvector is \(\left[ \begin{smallmatrix} 1 \\ 1 \end{smallmatrix}\right]\text{.}\) We can see what this looks like on a slope field in FigureΒ 5.2.11.
There are no asymptotically stable critical points here, so there are no basins of attraction. However, there are two distinct behaviors of the solution curve. It is going away from the origin, but it could go to the top left, or to the bottom right. Both of those make sense based on the slope field here. So how do we know which way it goes? The line drawn on the right side of FigureΒ 5.2.11 seems to divide these two regions up. If the solution starts above the line, it goes to the top left, otherwise, it goes to the bottom right. This is the separatrix for this saddle point.
But what is that line? If we inspect the graph more closely, the separatrix here is the straight-line solution that converges to zero over time; the one particular solution that does not go off to infinity because it only has the \(e^{-2t}\) term in it. So the straight-line solutions that flow into saddle points divide what happens on the two sides of it. This is a very common fact in looking at separatrices: if they go through a critical point, they generally do so as the in-flowing solution from a saddle point. All of the examples we have seen so far with separatrices have done exactly this.
When trying to find critical points for a non-linear, autonomous system, we need all (both, in the case of two component systems) of the equations to be zero. What happens if only one of the equations is zero? This is a lot easier to find, and can also give us a fair bit of information.
A nullcline for this system is a curve where either \(f(x,y) = 0\) or \(g(x,y) = 0\text{.}\) We can also be more specific and use the term x-nullcline for the curve(s) where \(\frac{dx}{dt} = 0\) and y-nullcline for where \(\frac{dy}{dt} = 0\text{.}\)
The way we can use these nullclines is to know in general which direction the solution curve will move in different regions of the plane. Assuming that all of the functions involved are continuous, if we know that the solution at a given point will move to the right, that is, if \(\frac{dx}{dt} > 0\text{,}\) then we know that the solution will continue to move to the right until we cross an \(x\)-nullcline. If the solution starts going back to the left, this means that \(\frac{dx}{dt}\) becomes negative, and so must cross zero, which is where a nullcline is.
In addition, we know that along an \(x\)-nullcline, \(\frac{dx}{dt} = 0\text{,}\) so the solution can only be moving in the \(y\) direction, that is, vertically. If we can determine in which direction the solution graph will cross the nullclines, this can also be helpful and useful. It doesnβt give as much information as a full slope field or trajectory plot, but it can give a general idea of what is going to happen to the solution over time.
We can get the equations for nullclines from the factors of each of the differential equations here. For \(x\)-nullclines, we get \(y=1\) and \(y=x\text{,}\) and for \(y\)-nullclines, we get \(x=-3\) and \(x=2\text{.}\) Once we have these lines, we need to determine what happens within each of the regions on the resulting graph. For example, if we look in the region above \(y=1\text{,}\) above \(y=x\) and right of \(x=2\text{,}\) we can plug in, for example \((3,4)\text{.}\) At this point \(\frac{dx}{dt} = (4-1)(3-4) = -3 < 0\) and \(\frac{dy}{dt} = (3+3)(3-2) = 6 > 0\text{.}\) Therefore, the solution here moves up and to the left. We can fill in all of the other regions in a similar manner. This is shown on the left of FigureΒ 5.2.14.
Based on the nullcline diagram here, we can see that there seems to be some sort of spiraling behavior around both \((2,2)\) and \((-3, -3)\text{,}\) which we know are critical points because the two different nullclines intersect there. From this alone, we canβt really tell if they are sources, sinks, or centers, but we do get a general idea of the behavior. We also see what looks like saddles at \((-3, 1)\) and \((2, 1)\text{,}\) since these critical points have two opposite arrows pointing towards this point (corresponding to the negative eigenvalue of the linearized system), and two opposite arrows pointing away from the point (corresponding to the positive eigenvalue). The slope field seems to validate all of these general discussions from the nullcline diagram.
As with the previous example, we can find the nullcline equations from the factors above. The \(x\)-nullclines are at \(x=3\) and \(y=-1\text{,}\) and the \(y\)-nullclines are at \(y=2\) and \(x=-y\text{.}\) We can plug in points to fill in the nullcline diagram like before, and compare to the slope field, shown in FigureΒ 5.2.16.
In this diagram, we see some of the other types of critical points and what they look like through nullclines. The point at \((3,2)\) looks like a nodal source, because all of the arrows point away from that point, and \((3,-3)\) looks like a nodal source. Finally, we see a potential saddle at \((1,-1)\) because of the patterns of the arrows, all of which are also shown in the slope field for this system.
An extra point with this type of result is that we know we can not cross the nullclines at \(x=3\) and \(y=2\text{.}\) For instance, the line \(x=3\) is an \(x\)-nullcline. This means that the solution must cross the line moving vertically. However, it is a vertical line, and there is no way to cross a vertical line moving vertically. The same argument applies to \(y=2\text{.}\) We can also see this by the fact that the arrows on either side of the line both point into or away from these nullclines.
Critical point at \((0,0)\text{.}\) Trajectories are \(y = \pm \sqrt{2C-(\nicefrac{1}{2})x^4}\text{,}\) for \(C > 0\text{,}\) these give closed curves around the origin, so the critical point is a stable center.
Suppose that \(x' = f(x,y)\text{,}\)\(y' = g(x,y)\text{.}\) Suppose that \(g(x,y) > 1\) for all \(x\) and \(y\text{.}\) Are there any critical points? What can we say about the trajectories at \(t\) goes to infinity?
In FigureΒ 5.2.17 is the direction field for the system \(\dfrac{dx}{dt}=y^2-3y, \dfrac{dy}{dt}=x^2-4x\text{.}\) The critical points are \((0,0), (4,0), (0,3)\text{,}\) and \((4,3)\text{.}\) Draw the nullclines on the plot. What do the nullclines tell us about the critical points?
Nullclines apply to linear systems as well, although since we can often solve those explicitly theyβre less necessary. Construct the nullcline diagram for the system \(\dfrac{dx}{dt}=-3x+y\text{,}\)\(\dfrac{dy}{dt}=6x+2y\text{,}\) and use it to classify (by type) the equilibrium point at the origin. What is the linearization of this system at \((0,0)\text{?}\)
Sketch the nullcline diagram and label all regions DL, DR, UL, or UR. Classify (according to type) any critical point(s) that can be classified using this analysis.
Create the nullcline diagram for the system, labelling each region as one of UL, UR, DL, or DR. Use this information to classify two critical points according to type.
For a conflict between two armies, Lanchesterβs Law asserts that \(\dfrac{dx}{dt}=-\alpha y\) and \(\dfrac{dy}{dt}=-\beta x\text{,}\) where \(x\) and \(y\) are the two populations, and \(\alpha\) and \(\beta\) are some positive constants.
Assume that we are just looking at the first quadrant, since the populations are non-negative. Find the curve along which the Hamiltonian function is zero, and explain its significance in terms of who wins the conflict.
Do any of these critical points have a basin of attraction? If so, sketch out what regions of the plane correspond to a basin of attraction for those critical points.
Do any of these critical points have a basin of attraction? If so, sketch out what regions of the plane correspond to a basin of attraction for those critical points.