BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Sketching the solutions of 2 × 2 linear systems

Two states compete for tourists: x′ = −x + by, y′ = cx − 3y, where x and y are departures from their normal advertising budgets. To sketch the solution curves without computing them, start from the normal modes: each eigenvector gives straight-line solutions, travelled towards the origin if its eigenvalue is negative and away if positive. Then fill in by continuity, using dominance: as t → ∞ the term with the less negative (or larger) eigenvalue dominates, and as t → −∞ the other one does. With b = 2, c = 0 the eigenvalues −3, −1 give a nodal sink, asymptotically stable (both positive would give a nodal source). With b = 3, c = 5 the eigenvalues −6, 2 give a saddle, unstable: an advertising war. With b = −1, c = 2 the eigenvalues −2 ± i give a spiral sink, whose direction of turning is read off one velocity vector.

You need this first

Full reading path (39 pages)
  1. The derivative: slope of the tangent line and rate of change (18.01)
  2. Limits and continuity (18.01)
  3. Derivatives of sine and cosine, and the product and quotient rules (18.01)
  4. The chain rule and higher derivatives (18.01)
  5. Implicit differentiation and the derivatives of inverse functions (18.01)
  6. Exponentials and logarithms: the number e and its derivatives (18.01)
  7. Linear and quadratic approximations (18.01)
  8. Curve sketching with the first and second derivative (18.01)
  9. Sketching strategy and maximum–minimum problems (18.01)
  10. More max–min, and related rates (18.01)
  11. A ring on a string, and Newton's method (18.01)
  12. The mean value theorem and inequalities (18.01)
  13. Differentials and antiderivatives (18.01)
  14. Differential equations and separation of variables (18.01)
  15. Direction fields, isoclines and integral curves (18.03)
  16. Euler's method and better numerical methods (18.03)
  17. First-order linear equations and integrating factors (18.03)
  18. Substitutions: scaling, Bernoulli and homogeneous equations (18.03)
  19. Autonomous equations, critical points and stability (18.03)
  20. Complex numbers and complex exponentials (18.03)
  21. Constant coefficients: steady state, superposition and sinusoidal input (18.03)
  22. Combining sine and cosine; models for first-order linear equations (18.03)
  23. Second-order linear equations with constant coefficients (18.03)
  24. Complex characteristic roots and damped oscillations (18.03)
  25. Linear operators, the Wronskian and normalized solutions (18.03)
  26. Inhomogeneous equations, particular solutions and stability (18.03)
  27. Particular solutions: the exponential input theorem (18.03)
  28. Resonance and beats (18.03)
  29. Introduction to Fourier series (18.03)
  30. Fourier series: even and odd functions, convergence and other periods (18.03)
  31. Particular solutions via Fourier series, and how we hear (18.03)
  32. Introduction to the Laplace transform (18.03)
  33. Laplace transforms of derivatives and solving initial value problems (18.03)
  34. The convolution formula (18.03)
  35. The unit step and discontinuous inputs (18.03)
  36. Impulse inputs, the delta function and the weight function (18.03)
  37. Introduction to first-order systems (18.03)
  38. Linear systems with constant coefficients: eigenvalues and eigenvectors (18.03)
  39. Repeated and complex eigenvalues (18.03)
On this page · 5 sections
  1. A model of competition
  2. A nodal sink
  3. A saddle
  4. A spiral sink
  5. Summary

A computer plots the solutions of a system very accurately, but sketching them yourself is a skill needed for nonlinear equations, and it involves some important ideas (transcript, p. 1). The tool is the eigenvalue method.

A model of competition#

Two neighbouring states compete for tourists by advertising (transcript, pp. 1–2). xx and yy are each state's departure from its normal advertising budget (p. 1):

Competition model
x′=−x+b y,y′=c x−3yx' = -x + b\,y, \qquad y' = c\,x - 3y
In words

x prime equals minus x plus b y, y prime equals c x minus 3 y

The diagonal terms pull each budget back to normal: overspending is criticised, underspending makes the local chambers of commerce protest, three times more loudly in the second state (pp. 1–2). The off-diagonal terms are the warlike ones: normally positive, a matching response to the rival's extra spending. The same model was long used for arms races (p. 2).

A nodal sink#

Take b=2b = 2, c=0c = 0: the second state ignores the first (transcript, pp. 2–3). Then A=(−120−3)A = \begin{pmatrix} -1 & 2 \\ 0 & -3 \end{pmatrix}, with λ2+4λ+3=(λ+3)(λ+1)=0\lambda^2 + 4\lambda + 3 = (\lambda + 3)(\lambda + 1) = 0 (p. 3). For λ=−3\lambda = -3 the equations reduce to 2a1+2a2=02a_1 + 2a_2 = 0, so (1,−1)(1, -1); for λ=−1\lambda = -1 they say only 2a2=02a_2 = 0, so (1,0)(1, 0) (pp. 3–4):

Solution
x⃗=c1(1−1)e−3t+c2(10)e−t\vec x = c_1\begin{pmatrix} 1 \\ -1 \end{pmatrix}e^{-3t} + c_2\begin{pmatrix} 1 \\ 0 \end{pmatrix}e^{-t}
In words

vector x equals c one 1; minus 1 e to the power minus 3 t plus c two 1; 0 e to the power minus t

These are parametric equations, as in 18.02, but for curves of a kind not met there; the aim is a sketch without calculation (p. 4).

Step 1: the four easy solutions (pp. 5–6). With c1=±1c_1 = \pm1, c2=0c_2 = 0, the solution starts at ±(1,−1)\pm(1, -1) and moves along that line, shrinking like e−3te^{-3t}, towards the origin without reaching it; it came in from infinity. With c1=0c_1 = 0, c2=±1c_2 = \pm1 the same happens along (1,0)(1, 0). The eigenvector gives the line, the sign of the eigenvalue the direction (p. 6).

Step 2: fill in by continuity (pp. 6–7). The velocity field changes continuously, so nearby trajectories behave alike: all go to the origin. But how?

Step 3: dominance (pp. 7–9). As t→∞t \to \infty, e−3te^{-3t} is negligible beside e−te^{-t} (compare e−30e^{-30} with e−10e^{-10}), so trajectories come into the origin along (1,0)(1, 0). As t→−∞t \to -\infty, e−3te^{-3t} dominates, so far from the origin trajectories run parallel to (1,−1)(1, -1): parallel, not on it (pp. 8–9). So each trajectory comes in parallel to the fast direction and turns to join the slow one (p. 9).

This picture is a node; since everything flows into the origin, a nodal sink (or sink node), and the system is asymptotically stable (pp. 9–11). For the tourists, peace: both budgets return to normal (p. 9). With both eigenvalues positive, say e3te^{3t} and ete^{t}, the same picture with reversed arrows is a nodal source, unstable (pp. 10–11).

The nodal sink, computed from the solution with c1,c2=±1c_1, c_2 = \pm 1: far out the trajectories run parallel to the fast eigenvector (1, −1); near the origin they turn and come in along the slow one, (1, 0), the xx-axis.

A saddle#

Make both states combative: b=3b = 3, c=5c = 5 (transcript, p. 11). Now A=(−135−3)A = \begin{pmatrix} -1 & 3 \\ 5 & -3 \end{pmatrix} with λ2+4λ−12=(λ+6)(λ−2)=0\lambda^2 + 4\lambda - 12 = (\lambda + 6)(\lambda - 2) = 0 (p. 11). For λ=−6\lambda = -6: 5a1+3a2=05a_1 + 3a_2 = 0, eigenvector (3,−5)(3, -5); for λ=2\lambda = 2: −3a1+3a2=0-3a_1 + 3a_2 = 0, eigenvector (1,1)(1, 1) (pp. 11–12):

Saddle solution
x⃗=c1(3−5)e−6t+c2(11)e2t\vec x = c_1\begin{pmatrix} 3 \\ -5 \end{pmatrix}e^{-6t} + c_2\begin{pmatrix} 1 \\ 1 \end{pmatrix}e^{2t}
In words

vector x equals c one 3; minus 5 e to the power minus 6 t plus c two 1; 1 e to the power 2 t

Along (3,−5)(3, -5) solutions come in; along (1,1)(1, 1) they go out (p. 12). Filling in by continuity, a trajectory starting near the incoming line heads for the origin, then turns away along the outgoing one (p. 13). The pattern is that of contour lines near a saddle point in 18.02, a mountain pass, and the picture is called a saddle (pp. 13–14). It is neither source nor sink, and it is unstable: only solutions starting exactly on the incoming line reach the origin, a physical impossibility (p. 14). In the part of the picture that makes sense for the model, out along (1,1)(1, 1), the states spend without limit and nobody gains tourists: a model of what not to do (p. 14).

A spiral sink#

Now let the first state answer extra spending by spending less: b=−1b = -1, c=2c = 2 (transcript, pp. 14–15). A=(−1−12−3)A = \begin{pmatrix} -1 & -1 \\ 2 & -3 \end{pmatrix} has λ2+4λ+5=0\lambda^2 + 4\lambda + 5 = 0 (p. 15):

Complex eigenvalues
λ=−4±16−202=−2±i\lambda = \frac{-4 \pm \sqrt{16 - 20}}{2} = -2 \pm i
In words

lambda equals the quantity minus 4 plus or minus the square root of 16 minus 20, end of root, all over 2 equals minus 2 plus or minus i

A real solution has the form e−2te^{-2t} times x=a1cos⁡t+b1sin⁡tx = a_1\cos t + b_1\sin t, y=a2cos⁡t+b2sin⁡ty = a_2\cos t + b_2\sin t (pp. 15–16). That curve is bounded and periodic, and satisfies an equation Ax2+Bxy+Cy2=DAx^2 + Bxy + Cy^2 = D, so it is a conic, and the only bounded, repeating conics are ellipses (pp. 16–17). With the shrinking factor, each turn is pulled closer to the origin: a spiral sink (p. 17). Which way does it turn? Draw one velocity vector: at (1,0)(1, 0) the system gives (−1,2)(-1, 2), pointing up and left, so the motion is counterclockwise (p. 17). For the tourists, peace again (p. 17).

Worked example

Classify the pictures

Classify the origin for (a) (1102)\begin{pmatrix} 1 & 1 \\ 0 & 2 \end{pmatrix}, (b) (0110)\begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, (c) (−14−1−1)\begin{pmatrix} -1 & 4 \\ -1 & -1 \end{pmatrix}, and for (c) find the direction of turning.

(a) Two positive eigenvalues

The matrix is triangular, so the eigenvalues are 1 and 2: a nodal source, unstable.

(b) Opposite signs

λ2−1=0\lambda^2 - 1 = 0, so λ=±1\lambda = \pm 1: a saddle, with eigenvectors (1,1)(1, 1) outgoing and (1,−1)(1, -1) incoming.

(c) A spiral

Trace −2-2, determinant 1+4=51 + 4 = 5: λ2+2λ+5=0\lambda^2 + 2\lambda + 5 = 0, λ=−1±2i\lambda = -1 \pm 2i, a spiral sink. At (1,0)(1, 0) the velocity is (−1,−1)(-1, -1), pointing down: clockwise.

Summary#

Symbols on this page

Show the 29 symbols used here
α\alpha alpha.
An eigenvector. Say it: “alpha”.
λ\lambda lambda.
An eigenvalue of A. Say it: “lambda”.
∞\infty infinity.
Infinity: larger than any number. Say it: “infinity”.
→\to arrow.
Goes to (tends to), or becomes. Say it: “goes to”.
±\pm plus or minus.
Plus or minus: both signs, or an uncertainty (67.3 ± 1.2). Say it: “plus or minus”.
sin⁡\sin sine.
Sine of an angle. Say it: “sine”.
cos⁡\cos cosine.
Cosine of an angle. Say it: “cos”.
v⃗\vec v vector arrow.
A vector: a quantity with a size and a direction. Say it: “vector”.
cc c.
The second state's response to the first's extra spending. Say it: “c”.
xx x.
The first state's departure from its normal advertising budget. Say it: “x”.
yy y.
The second state's departure from its normal advertising budget. Say it: “y”.
tt t.
Time. Say it: “t”.
ii i.
The imaginary unit, i² = −1. Say it: “i”.
ee e.
Euler's number, 2.718… Say it: “e”.
DD D.
The constant in the conic equation. Say it: “D”.
AA A.
The matrix of coefficients; in the conic equation, the coefficient of x². Say it: “capital A”.
BB B.
The coefficient of xy in the conic equation. Say it: “capital B”.
CC C.
The coefficient of y² in the conic equation. Say it: “capital C”.
bb b.
The first state's response to the second's extra spending. Say it: “b”.
y′y' y prime.
The rate of change of y. Say it: “y prime”.
a1a_{1} a one.
The first entry of an eigenvector; also the coefficient of cos t in x. Say it: “a one”.
a2a_{2} a two.
The second entry of an eigenvector; also the coefficient of cos t in y. Say it: “a two”.
x′x' x prime.
The rate of change of x. Say it: “x prime”.
c1c_{1} c one.
The first arbitrary constant. Say it: “c one”.
c2c_{2} c two.
The second arbitrary constant. Say it: “c two”.
b1b_{1} b 1.
The coefficient of sin t in x. Say it: “b one”.
b2b_{2} b 2.
The coefficient of sin t in y. Say it: “b two”.
α1\alpha_{1} alpha one.
The eigenvector of the first normal mode. Say it: “alpha one”.
α2\alpha_{2} alpha two.
The eigenvector of the second normal mode. Say it: “alpha two”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 34 words used here

New here

node.
An equilibrium point of a pair of differential equations where all nearby paths flow in, or all flow out, without circling round.
nodal sink.
An equilibrium that nearby solutions approach without turning round it; for a linear system both eigenvalues are real and negative.
asymptotically stable.
Of an equilibrium, or an equation: nearby solutions do not just stay close but actually approach it, or each other, as time goes on.
nodal source.
An equilibrium that nearby solutions leave without turning round it; for a linear system both eigenvalues are real and positive.
saddle point.
An equilibrium point of a pair of differential equations where paths come in along one direction and leave along another.
spiral sink.
An equilibrium that nearby solutions approach by spiralling inwards, as for a damped oscillation.

Also used

nonlinear.
Not linear: containing squares, products or other functions of the unknowns, so effects do not simply add. Explained in Resistive forces: drag and terminal velocity.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
eigenvalue.
A number λ for which a matrix turns some non-zero vector into λ times that vector, only stretching or shrinking it. Explained in Linear systems with constant coefficients: eigenvalues and eigenvectors.
diagonal.
In a square matrix, the entries running from the top left corner to the bottom right; a diagonal matrix has zeros everywhere else. Explained in The four fundamental subspaces.
parametric curve.
A curve given by writing x and y (and z) as functions of a third variable, the parameter, often thought of as time. Explained in Arc length, surface area and parametric curves.
eigenvector.
A non-zero vector that a matrix only stretches or shrinks without turning: multiplying it by the matrix gives a number times the same vector. Explained in Linear systems with constant coefficients: eigenvalues and eigenvectors.
continuous.
Without breaks, gaps or jumps: a continuous graph can be drawn without lifting the pen; a continuous quantity can take every value in a range. Explained in The rocket equation.
velocity field.
The arrows that a system of differential equations attaches to each point of the plane: the velocity a solution must have there. Explained in Introduction to first-order systems.
trajectory.
The path a moving body follows, or more generally the curve traced out by a changing state as time goes on. Explained in Projectile motion.
unstable.
Of a state or motion: a small disturbance grows, carrying the system further and further away from it. Explained in Radioactive decay.
without limit.
Without any upper bound: growing larger and larger, past every value.
periodic.
Repeating itself exactly after a fixed interval of time or distance, called the period. Explained in Angles, radians and trigonometry.
ellipse.
An oval curve: the set of points whose distances from two fixed points, the foci, add up to the same total. Explained in Kepler's laws and orbits.
velocity.
How fast and in which direction something moves: the change in position in each unit of time. Explained in Speed and velocity.
vector.
A list of numbers written as a column, or more generally anything that can be added and multiplied by numbers. Explained in Orthogonal vectors and subspaces.
matrix.
A rectangular table of numbers, which acts on vectors to give new ones and so describes a linear change of coordinates. Explained in Planes through three points, and matrices.
triangular matrix.
A square matrix with only zeros below its diagonal, or only zeros above it.
trace.
The sum of the numbers on the main diagonal of a square matrix; it equals the sum of the eigenvalues. Explained in Linear systems with constant coefficients: eigenvalues and eigenvectors.
determinant.
A single number worked out from a square array of numbers (a matrix), which measures how the matrix stretches areas or volumes. Explained in Determinants and the cross product.
normal mode.
A pattern of motion in which every part of a vibrating system moves at the same frequency, all in step. Explained in Coupled oscillators and normal modes.
stable.
Of a state or motion: a small disturbance stays small or dies away, so the system remains close to it. Explained in Torque and balance.
real part.
For a complex number a + bi, the ordinary number a. Explained in Differential equations and exp(At).

Academic

accuracy.
Closeness to the true value: an accurate measurement or calculation gives a result near the right answer.
transcript.
A written record of exactly what was said in a recorded lecture, word for word.
model.
A simplified description of a real system, usually in equations, that keeps what matters and leaves out the rest.
dominate.
To be the largest contribution, so that the others hardly matter.
negligible.
So small that leaving it out makes no noticeable difference to the result.
satisfy.
To make an equation or condition true.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

Pages that build on this

Practise

Check your understanding

  1. Real eigenvalues of opposite signs give…
  2. For x⃗=c1α⃗1e−3t+c2α⃗2e−t\vec x = c_1\vec\alpha_1e^{-3t} + c_2\vec\alpha_2e^{-t}, which term dominates as t→∞t \to \infty?
  3. For complex eigenvalues −2±i-2 \pm i, the picture is…
0 of 3 answered

Flashcards

1 / 3