Skip to main content

Section 3.7 The Trace-Determinant Plane

Suppose that we have two tanks, Tank A and Tank B, that both have a volume of V liters and are both filled with a brine solution. Suppose that pure water enters Tank A at a rate of rin liters per minute, and a salt mixture enters Tank A from Tank B at a rate of rB liters per minute. Brine also enters Tank B from Tank A at a rate of rA liters per minute. Finally, brine is drained from Tank B at a rate of rout so that the volume in each tank is constant (Figure 3.7.1).
Figure 3.7.1. Mixing example with two tanks
If x(t) and y(t) are the amounts of salt in Tank A and Tank B, respectively, then our problem can be modeled with a linear system of two equations,
dxdt=rate inrate out=rAxV+rByVdydt=rate inrate out=rAxVrByVroutyV.
Furthermore, rA=rB+rout, since the volume in Tank B is constant. Consequently, our system now becomes
dxdt=rAxV+rByVdydt=rAxVrAyV.
If we have initial conditions x(0)=x0 and y(0)=y0, it is not too difficult to deduce that the amount of salt in each tank will approach zero as t, and we will have a stable equilibrium solution at (0,0). Determining the nature of the equilibrium solution is a more difficult question. For example, is it ever possible that the equilibrium solution is a spiral sink? One solution is provided by studying the trace-determinant plane.

Subsection 3.7.1 The Trace-Determinant Plane

The key to solving the system
(xy)=(abcd)(xy)=A(xy)
is determining the eigenvalues of A. To find these eigenvalues, we need to derive the characteristic polynomial of A,
det(AλI)=det(aλbcdλ)=λ2(a+d)λ+(adbc).
Of course, D=det(A)=adbc is the determinant of A. The quantity T=a+d is the sum of the diagonal elements of the matrix A. We call this quantity the trace of A and write tr(A). Thus, we can rewrite the characteristic polynomial as
det(AλI)=λ2Tλ+D.
We can use the trace and determinant to establish the nature of a solution to a linear system.

Proof.

The proof follows from a direct computation. Indeed, we can rewrite the characteristic polynomial as
det(AλI)=λ2Tλ+D.
The eigenvalues of A are now given by
λ1=T+T24D2andλ2=TT24D2.
Hence, T=λ1+λ2 and D=λ1λ2.
Theorem 3.7.2 tells us that we can determine the determinant and trace of a 2×2 matrix from its eigenvalues. Thus, we should be able to determine the phase portrait of a system x=Ax by simply examining the trace and determinant of A. Since the eigenvalues of A are given by
λ=T±T24D2,
we can immediately see that the expression T24D determines the nature of the eigenvalues of A.
  • If T24D>0, we have two distinct real eigenvalues.
  • If T24D<0, we have two complex eigenvalues, and these eigenvalues are complex conjugates.
  • If T24D=0, we have repeated eigenvalues.
If T24D=0 or equivalently if D=T2/4, we have repeated eigenvalues. In fact, we can represent those systems with repeated eigenvalues by graphing the parabola D=T2/4 on the TD-plane or trace-determinant plane (Figure 3.7.3). Therefore, points on the parabola correspond to systems with repeated eigenvalues, points above the parabola (D>T2/4 or equivalently T24D<0) correspond to systems with complex eigenvalues, and points below the parabola (D<T2/4 or equivalently T24D>0) correspond to systems with real eigenvalues.
Figure 3.7.3. The trace-determinant plane

Proof.

It is straightforward to verify that det(AB)=det(A)det(B) and det(T1)=1/det(T) for 2×2 matrices A and B. Therefore,
det(T1AT)=det(T1)det(A)det(T)=1det(T)det(A)det(T)=det(A).
A direct computation shows that tr(AB)=tr(BA). Thus,
tr(T1AT)=tr(T1TA)=tr(A).
Furthermore, the expression T24D is not affected by a change of coordinates by Theorem 3.7.4. That is, we only need to consider systems x=Ax, where A is one of the following matrices:
(αββα),(λ00μ),(λ00λ),(λ10λ).
The system
x=(αββα)x
has eigenvalues λ=α±iβ. The general solution to this system is
x(t)=c1eαt(cosβtsinβt)+c2eαt(sinβtcosβt).
The eαt factor tells us that the solutions either spiral into the origin if α<0, spiral out to infinity if α>0, or stay in a closed orbit if α=0. The equilibrium points are spiral sinks and spiral sources, or centers, respectively.
The eigenvalues of A are given by
λ=T±T24D2.
If T24D<0, then we have a complex eigenvalues, and the type of equilibrium point depends on the real part of the eigenvalue. The sign of the real part is determined solely by T. If T>0 we have a source. If T<0, we have a sink. If T=0, we have a center. See Figure 3.7.5.
Figure 3.7.5. D>T2/4
The situation for distinct real eigenvalues is a bit more complicated. Suppose that we have a system
x=(λ00μ)x
with distinct eigenvalues λ and μ. We will have three cases to consider if none of our eigenvalues are zero:
  • Both eigenvalues are positive (source).
  • Both eigenvalues are negative (sink).
  • One eigenvalue is negative and the other is positive (saddle).
Our two eigenvalues are given by
λ=T±T24D2.
If T>0, then the eigenvalue
T+T24D2
is positive and we need only determine the sign of the second eigenvalue
TT24D2
If D<0, we have one positive and one zero eigenvalue. That is, we have a saddle if T>0 and D<0.
If D>0, then
T24D<T2.
Since we are considering the case T>0, we have
T24D<T
and the value of the second eigenvalue (TT24D)/2 is postive. Therefore, any point in the first quadrant below the parabola corresponds to a system with two positive eigenvalues and must correspond to a nodal source.
One the other hand, suppose that T<0. Then the eigenvalue (TT24D)/2 is always negative, and we need to determine if other eigenvalue is positive or negative. If D<0, then T24D>T2 and T24D>T. Therefore, the other eigenvalue (TT24D)/2 is positive, telling us that any point in the fourth quadrant must correspond to a saddle. If D>0, then T24D<T and the second eigenvalue is negative. In this case, we will have a nodal sink. We summarize our findings in Figure 3.7.6.
Figure 3.7.6. The trace-determinant plane for real and complex eigenvalues
For repeated eigenvalues, the analysis depends only on T. Since
T24D=0,
the only eigenvalue is T/2. Thus, we have sources if T>0 and sinks if T<0 (Figure 3.7.7).
Figure 3.7.7. D=T2/4

Example 3.7.8.

Let us return to the mixing problem that we proposed at the beginning of this section. The problem could be modeled by the system of equations
dxdt=rAxV+rByVdydt=rAxVrAyVx(0)=x0y(0)=y0.
The matrix corresponding to this system is
A=(rA/V+rB/VrA/VrA/V).
Computing the trace and determinant of the matrix yields T=2rA/V and D=(rA2rArB)/V2, where rA and rB are both positive. Certainly, T<0 and
D=rA2rArBV2=rA(rArB)V2=rAroutV2>0.
Therefore, any solution must be stable. Finally, since
4DT2=4rA2rArBV2(2rAV)2=4rArBV2<0,
we are below the parabola in the trace-determinant plane and know that our solution must be a nodal sink.

Subsection 3.7.2 Parameterized Families of Linear Systems

The trace-determinant plane is an example of a parameter plane. We can adjust the entries of a matrix A and, thus, change the value of the trace and the determinant.
Recall that a harmonic oscillator can be modeled by the second-order equation
md2xdt2+bdxdt+kx=0,
where m>0 is the mass, b0 is the damping coefficient, and k>0 is the spring constant. If we rewrite this equation as a first-order system, we have
x=(01k/mb/m)x.
Thus, for the harmonic oscillator T=b/m and D=k/m. If we use the trace-determinant plane to analyze the harmonic oscillator, we need only concern ourselves with the second quadrant (Figure Figure 3.7.9).
Figure 3.7.9. A one-parameter family for a harmonic oscillator
If (T,D)=(b/m,k/m) lies above the parabola, we have an underdamped oscillator. If (T,D)=(b/m,k/m) lies below the parabola, we have an overdamped oscillator. If (T,D)=(b/m,k/m) lies on the parabola, we have a critically damped oscillator. If b=0, we have an undamped oscillator.

Example 3.7.10.

Now let us see what happens to our harmonic oscillator when we fix m=1 and k=3 and let the damping b vary between zero and infinity. We can rewrite our system as
dxdt=ydydt=3xby.
Thus, T=b and D=3. We can see how the phase portrait varies with the parameter b in Figure Figure 3.7.11.
Figure 3.7.11. The trace-determinant plane for varying damping
The line D=3 in the trace-determinant plane crosses the repeated eigenvalue parabola, D=T2/4 if b2=12 or when b=23. If b=0, we have purely imaginary eigenvalues. This is the undamped harmonic oscillator. If 0<b<23, the eigenvalues are complex with a nonzero real part—the underdamped case. If b=23, the eigenvalues are negative and repeated—the critically damped case. Finally, if b>23, we have the overdamped case. In this case, the eigenvalues are real, distinct, and negative. A bifurcation occurs at b=23.

Activity 3.7.1. Harmonic Oscillator with a Varying Spring Constant.

Consider a harmonic oscillator modeled by the second-order equation
(3.7.1)md2xdt2+bdxdt+kx=0,
where m=2 is the mass, b=2 is the damping coefficient, and k>0 is the spring constant.
(a)
Rewrite (3.7.1) as a system of first-order differential equations, dx/dt=Ax.
(b)
Calculate the trace and determinant of A.
(c)
Sketch a line in the trace-determinant plane that parameterizes the family of equations dx/dt=Ax.
(d)
For what values of k is the harmonic oscillator underdamped? Overdamped? For what value of k do we have a bifurcation?

Example 3.7.12.

Consider the system
(xy)=Ax=(2a20)x.
The trace of A is always T=2, but D=det(A)=2a. We are on the parabola if
T24D=48a=0ora=12.
Thus, a bifurcation occurs at a=1/2. If a>1/2, we have a spiral sink. If a<1/2, we have a sink with real eigenvalues. Further more, if a<0, our sink becomes a saddle (Figure 3.7.13).
Figure 3.7.13. A one-parameter family of linear systems

Activity 3.7.2. Parameterized Families of Linear Systems.

Consider the parameterized system of linear differential equations dx/dt=Ax, where
A=(αβ1α).
(a)
Find the trace, T, and determinant, D, of A.
(c)
For what values of α and β is the origin a spiral sink of dx/dt=Ax? A spiral source? A center?
(d)
For what values of α and β is the origin a nodal sink of dx/dt=Ax? A nodal source? A saddle?
(e)
Identify all of the regions in the αβ-plane where the system dx/dt=Ax possesses a saddle, a sink, a spiral sink, and so on. Plot your results on the αβ-plane.

Example 3.7.14.

Although the trace-determinant plane gives us a great deal of information about our system, we can not determine everything from this parameter plane. For example, the matrices
A=(0110)andB=(0110)
both have the same trace and determinant, but the solutions to x=Ax wind around the origin in a clockwise direction while those of x=Bx wind around in a counterclockwise direction.

Subsection 3.7.3 Important Lessons

  • The characteristic polynomial of a 2×2 matrix can be written as
    λ2Tλ+D,
    where T=tr(A) and D=det(A).
  • If a 2×2 matrix A has eigenvalues λ1 and λ2, then tr(A) is λ1+λ2 and det(A)=λ1λ2.
  • The trace and determinant of a 2×2 matrix are invariant under a change of coordinates.
  • The trace-determinant plane is separated by the graph of the parabola D=T2/4 on the TD-plane. Points on the trace-determinant plane correspond to the trace and determinant of a linear system x=Ax. Since the trace and the determinant of a matrix determine the eigenvalues of A, we can use the trace-determinant plane to parameterize the phase portraits of linear systems.
  • The trace-determinant plane is useful for studying bifurcations.

Reading Questions 3.7.4 Reading Questions

1.

What is the trace of a matrix?

2.

Explain what information the trace-determinant plane provides about a 2×2 linear system.

Exercises 3.7.5 Exercises

Classifiying Equilibrium Points.

Classify the equilibrium points of the system x=Ax based on the position of (T,D) in the trace-determinant plane in Exercise Group 3.7.5.1–8. Sketch the phase portrait by hand and then use Sage to verify your result.

One-Parameter Families and Bifurcations.

Each of the following matrices in Exercise Group 3.7.5.9–14 describes a family of differential equations x=Ax that depends on the parameter α. For each one-parameter family sketch the curve in the trace-determinant plane determined by α. Identify any values of α where the type of system changes. These values are bifurcation values of α.

15.

Consider the two-parameter family of linear systems
(xy)=(αβ10)(xy).
Identify all of the regions in the αβ-plane where this system possesses a saddle, a sink, a spiral sink, and so on.

16.

Consider the two-parameter family of linear systems
(xy)=(αββα)(xy).
Identify all of the regions in the αβ-plane where this system possesses a saddle, a sink, a spiral sink, and so on.

17.

Consider the two-parameter family of linear systems
(xy)=(αββα)(xy).
Identify all of the regions in the αβ-plane where this system possesses a saddle, a sink, a spiral sink, and so on.
You have attempted 1 of 3 activities on this page.