DifferentialEquations
Chapter 7 · Section 7.4

7.4 Homogeneous Constant-Coefficient Systems (2×2)

Section 7.3 showed that the homogeneous system

has a general solution built from any two independent solutions. It did not say how to find them. When the are real constants, there is a direct method, and it is the same idea that solved constant-coefficient equations in Section 4.2: look for exponential solutions. The method also explains the "normal modes" of Section 7.2, and it leads to a beautiful geometric picture of all solutions at once, the phase plane.

The operator method of Section 7.1 would also work here. The advantage of the approach below is that it produces both components together and with the correct number of constants, without any matching afterwards.

Trying an exponential

We look for solutions in which both unknowns are multiples of the same exponential:

with constants , , to be found and . Then and . Substituting into (7.4.1) and dividing by (which is never zero):

This is a homogeneous linear algebraic system for and . It always has the useless solution . It has a solution with exactly when its determinant is zero:

Expanding the determinant gives a quadratic equation for .

Definition 7.4.1 (Characteristic equation of the system)

The characteristic equation of the system (7.4.1) is is the trace and the determinant of the coefficient array. Its roots are the characteristic roots of the system.

Two connections are worth noticing. First, the operator determinant of Section 7.1 for this system is , the same polynomial with in place of . Second, in the language of matrices (Sections 7.5–7.6) the numbers are the eigenvalues of the coefficient matrix and the pairs are its eigenvectors.

Finding and

When is a root, the two equations (7.4.2) are proportional (that is what a zero determinant means), so one equation is enough. If , the first equation is solved by

or by any nonzero multiple of this pair. If , use the second equation instead. Always check your pair in the other equation: if it fails, was computed wrongly.

Three cases arise, exactly as in Chapter 4: the discriminant is positive, negative, or zero.

Case 1: distinct real roots

Theorem 7.4.1 (Distinct real roots)

If the characteristic roots are real, and , are nonzero solutions of (7.4.2) for and respectively, then form a fundamental set on , and the general solution is

Why independent? At the Wronskian is . If it were zero, the pairs would be proportional, and one nonzero pair would satisfy the first equation of (7.4.2) for both roots: and . Subtracting gives , so . The second equation gives in the same way. That contradicts . So .

Example 7.4.1

Solve , with , .

Solution
  1. Characteristic equation. and :
  2. Pair for . First equation of (7.4.2): , i.e. . Take . Check in the second: . ✓
  3. Pair for . , i.e. . Take . Check: . ✓
  4. General solution.
  5. Initial conditions. and , so , :
  6. Behaviour. The roots have opposite signs. The part dies out and the part grows, so for large the point runs off to infinity along the line . The origin is a saddle (Figure 7.4.1).
Example 7.4.2

Solve , with , .

Solution
  1. Characteristic equation. , :
  2. Pairs. Using , : gives , or more simply ; gives . Check in the second equation: ✓ and ✓.
  3. General solution.
  4. Initial conditions. and . Subtracting, : , .
  5. Answer. , . Both roots are negative, so every solution tends to the origin: a stable node (Figure 7.4.2).

Case 2: complex roots

If , the roots are with and . Everything above still works with complex numbers: for we find a complex pair and a complex solution . We want real solutions, and the following fact delivers them.

Theorem 7.4.2 (Real and imaginary parts)

If , is a complex solution of the real system (7.4.1), then the real part and the imaginary part are both real solutions.

Indeed, substituting into gives . The coefficients are real, so the real parts and the imaginary parts must agree separately; the same holds for the second equation.

To use it, write and expand with Euler's formula :

and similarly for . Taking real and imaginary parts gives two real solutions:

Their Wronskian at is . It cannot be zero: otherwise would be a complex multiple of a real nonzero pair, and that real pair would satisfy (7.4.2) with the non-real number ; the imaginary part of would then read , and similarly , which is impossible since . So the two real solutions form a fundamental set. The conjugate root gives nothing new: its solutions are the complex conjugates of the ones we already have.

Theorem 7.4.3 (Complex roots)

If the characteristic roots are with , and is a nonzero (complex) solution of (7.4.2) for , then the real and imaginary parts of , given above, form a fundamental set, and the general solution is .

Example 7.4.3

Solve , with , .

Solution
  1. Characteristic equation. and : So , .
  2. Complex pair for . , , so . Check in the second equation: . ✓
  3. Real and imaginary parts. , , , . With , the formulas give
  4. General solution.
  5. Initial conditions. and , so , .
  6. Answer. Both components oscillate with angular frequency inside the decaying envelope : in the phase plane the point spirals into the origin, a stable spiral (Figure 7.4.3).

Case 3: equal roots

If there is one double root , and the trial solution gives only one family of solutions. Two situations are possible.

(a) The decoupled case. If and , the system is just , . Every pair satisfies (7.4.2), and the general solution is simply

(b) All other cases. Now the solutions of (7.4.2) are all multiples of one pair , so we have only one solution . Chapter 4 suggests multiplying by . For systems that is not quite enough; we must also allow a second exponential term. We try

By the product rule . The first equation of (7.4.1) requires

Compare the coefficients of and of , and do the same for the second equation. We obtain two pairs of algebraic equations:

The first pair says that is the pair we already found. The second pair has the same coefficients but right-hand side . Its determinant is zero, so it does not have a unique solution, but in case (b) it always has solutions, and any one of them will do. (Different choices of differ by a multiple of , which only changes the constant below.)

Theorem 7.4.4 (Equal roots)

Let be a double characteristic root and suppose the system is not of the decoupled form (a). Let solve (7.4.2) and let be any solution of Then and form a fundamental set, and the general solution is

The Wronskian at is . If it were zero, would be a multiple , and the left-hand sides of the equations for would be times those of (7.4.2), that is zero, while the right-hand side is not zero. So .

Common mistake

Trying only , , by analogy with in Chapter 4, does not work: comparing the terms without forces . The extra constants , are essential.

Example 7.4.4

Solve , with , .

Solution
  1. Characteristic equation. , : The system is not decoupled (), so we are in case (b).
  2. First pair. , i.e. . Take .
  3. Second pair. Solve and . Both say . Choose ; then .
  4. Fundamental set. and .
    Quick check of the second: gives , and . ✓
  5. General solution.
  6. Initial conditions. and , so .
  7. Answer. , . The solution tends to the origin; for large it approaches along the line (Figure 7.4.4).
Method in a nutshell
  1. Compute and ; solve .
  2. For each root find a nonzero pair from one equation of (7.4.2), for example , ; check it in the other equation.
  3. Distinct real roots: .
  4. Complex roots : use only; take real and imaginary parts of .
  5. Double root: if the system is , , the answer is . Otherwise find , then any with right-hand side , and use as the second solution.
  6. For an IVP, set and solve for .

Practise with the solver: type the coefficients row by row and an initial point. It shows the characteristic roots, the pairs , the general and particular solution, and the phase portrait. The preset is Example 7.4.3; change one coefficient at a time and watch the type of the portrait change.

A first look at the phase plane

A solution can be pictured in two ways: as two graphs against , or as one curve in the -plane traced by the point as increases. The second picture is called a trajectory (or orbit), the -plane is the phase plane, and a drawing of several trajectories is a phase portrait. Time is not visible in the picture, but its direction is, and we mark it with arrows. Because the system (7.4.1) does not contain explicitly, a trajectory depends only on its starting point, and by uniqueness two trajectories never cross.

The origin is always a solution: , . It is an equilibrium point (or critical point). If it is the only one, since then , has only the zero solution. The type of the characteristic roots determines how the other trajectories behave near it.

Straight-line solutions

For a real root with pair , the solution stays on the line through the origin in the direction . It moves toward the origin if and away from it if . These straight lines are the skeleton of the portrait; all other trajectories are combinations and bend between them.

The main types

  • Saddle (real roots of opposite signs, ). Two straight-line solutions come in, two go out; all other trajectories come in along the first line and leave along the second, like hyperbolas. Unstable. Example 7.4.1, Figure 7.4.1.
  • Node (distinct real roots of the same sign). All trajectories enter the origin (, stable) or leave it (both positive, unstable). Near the origin they are tangent to the line of the root closer to zero, because that exponential decays more slowly. Example 7.4.2, Figure 7.4.2.
  • Spiral (complex roots , ). Trajectories wind around the origin, inward if (stable) and outward if (unstable). Example 7.4.3, Figure 7.4.3.
  • Center (purely imaginary roots, ). Trajectories are closed curves (ellipses) around the origin; every solution is periodic with period . Stable, but not attracting. Example 7.4.5, Figure 7.4.5.
  • Degenerate node (double root, case (b)). Only one straight line; trajectories turn around and approach (or leave) the origin tangent to it. Example 7.4.4, Figure 7.4.4. In the decoupled case (a) all trajectories are straight rays, a star.
Stability at a glance

Every solution tends to the origin as exactly when both roots have negative real part. For a quadratic this happens if and only if (The sum of the roots is and their product is .) For the tank system of Section 7.2, for example, and , so all the salt eventually leaves, whatever the initial amounts.

For spirals and centers, the direction of rotation is found by checking one point. At the velocity is : if the trajectory crosses the positive -axis upward, so the rotation is counterclockwise; if it is clockwise.

Figure 7.4.1. Saddle: , (roots and ). The dashed lines are the straight-line solutions: in along (), out along (). Highlighted: the solution of Example 7.4.1 from .
Figure 7.4.2. Stable node: , (roots , ). The fast part along disappears first, so trajectories arrive tangent to the slow line . Highlighted: Example 7.4.2.
Figure 7.4.3. Stable spiral: , (roots ). Left: the components of Example 7.4.3 against time. Right: the same solution as a trajectory; since it turns clockwise.
Figure 7.4.4. Degenerate node: , (double root ). The only straight-line solutions lie on (dashed); every trajectory enters the origin tangent to it. Highlighted: Example 7.4.4.
Example 7.4.5 (A center)

Find the general solution of , and describe its trajectories.

Solution
  1. Characteristic equation. , : , so (, ).
  2. Pair for . , ; multiplying by : . Check: . ✓
  3. Real solutions. With , , , :
  4. Trajectories. Every solution is periodic with period , so each trajectory is a closed curve. In fact the combination is constant along solutions: its derivative is , which, after substituting the system, equals . The curves are ellipses (the discriminant is negative), centred at the origin. Since , they are traversed counterclockwise (Figure 7.4.5).
Figure 7.4.5. Center: , (roots ). The trajectories are the ellipses , all traversed counterclockwise in time . There is no damping, so nothing spirals in or out.

The phase plane will come back in Section 7.6, where the same ideas are written with matrices and eigenvectors, and in numerical work (Section 8.8), where systems are rarely solvable by formulas but their trajectories can always be computed and drawn.

Exercises

In Exercises 1–6 find the general solution.

  1. , .
    Answer . , .
  2. , .
    Answer . , .
  3. , .
    Answer . , .
  4. , .
    Answer . , .
  5. , .
    Answer (double). , .
  6. , .
    Answer (double). , .
  7. Solve the system of Exercise 1 with , .
    Answer , .
  8. Solve , with , .
    Answer . , .
  9. Solve the system of Exercise 6 with , .
    Answer , .
  10. Classify the equilibrium at the origin (type and stability): (a) , ; (b) , ; (c) , ; (d) , .
    Answer (a) : unstable node. (b) : saddle. (c) : stable spiral, counterclockwise. (d) : center.
  11. Solve , (a) one equation at a time, (b) by the method of this section, and compare.
    Answer , . Pairs: for and for .
  12. Solve the tank system of Example 7.2.3, , , , , by the method of this section.
    Answer with , with ; , .
  13. For the system , , find the values of the constant for which the origin is a spiral, a node, or a saddle.
    Answer , , discriminant . : stable spiral; : double root and, since , a degenerate stable node; : stable node; : saddle. ( gives the root and a whole line of equilibria.)