Phase portraits for coupled equations
In a minute
A shows where a pair of linear takes every starting point. The of the system's set the picture: paths in or out, spirals, ellipses or a . You use it to predict long-term behaviour, such as whether a population settles or dies out.
You'll be able to
- Write a linear system in matrix form, find velocities and gradients, and find its .
- Find the exact solution when the eigenvalues are real and distinct.
- Decide from the eigenvalues whether solutions move in or out, spiral, form ellipses, or meet a saddle point.
- Sketch phase portraits with lines, arrows and a trajectory in every region.
- Interpret a phase portrait in context: stable populations, which species dies out, and the long-term behaviour.
Before you start3 quick questions on what this builds on
Revise first: 1.12 Complex numbers in Cartesian form, 1.14 Matrices, determinants and inverses, 1.15 Eigenvalues and eigenvectors, 3.10 Vectors in 2D and 3D, 5.14 Setting up and separating differential equations, 5.15 Slope fields and 5.16 Euler's method
Linear systems and the phase plane
In 5.16 you stepped coupled differential equations forward with Euler's method. Here every rate is a fixed mix of and , so the system is linear. Time is , and , , , are constants:
This is the pair and written with a matrix. Call the matrix . Its eigenvalues and eigenvectors decide how every solution behaves.
At any point, the two equations give the velocity . It is tangent to the trajectory and points the way it moves. Its gradient is the gradient of the trajectory:
Try it first, then reveal one step at a time.
- Substitute , : .
- .
- So the velocity vector is .
- is decreasing and is increasing, so the trajectory moves left and up. It is steeper than , because .
Try it first, then reveal one step at a time.
- .
- .
- Interpret: room A is cooling at per hour. Room B is warming at per hour, because heat flows into it from the warmer room A.
- Gradient:
Real eigenvalues: straight lines and exact solutions
Start a solution on the line through the origin in the direction of an eigenvector , with eigenvalue . Then , so the velocity points along that same line. The solution never leaves the line.
If , it moves along the line towards the origin. If , it moves away. So each eigenvector line is made of straight-line trajectories.
Every other solution is a mix of the two straight-line motions. When the eigenvalues and are real and distinct, with eigenvectors and , the exact solution is:
Here , and and are constants. At both exponentials are , so the starting point gives . This formula is in the booklet. You only need exact solutions when the eigenvalues are real and distinct.
To sketch the portrait when both eigenvalues have the same sign:
1. Draw both eigenvector lines through the origin.
2. Put arrows on them: towards the origin for a negative eigenvalue, away for a positive one.
3. Draw curved trajectories between the lines. Near the origin they run alongside the line whose eigenvalue is closer to , because that term changes most slowly. With both eigenvalues positive, far from the origin they turn parallel to the other line.
Try it first, then reveal one step at a time.
- Characteristic equation: , so or .
- For : , so and . For : , so and .
- General solution: .
- At : and . Subtracting gives , so and .
- So and . Check: and .
- Interpret: both eigenvalues are negative, so both rooms cool to the outside temperature. The term dies away first, so later on both rooms are about the same amount above outside.
Try it first, then reveal one step at a time.
- , so and or .
- For : , so . For : , so .
- Both eigenvalues are positive, so every solution moves away from the origin: the areas grow without limit.
- The term grows fastest. Its coefficient is , since both areas are positive. So the trajectory turns parallel to : in the long term the ratio of the two areas tends to .
- Comment: a field has a fixed area, so growth must slow. The model only works in the short term.
- Both eigenvalues, and , are positive, so the weed areas grow without limit, tending to the ratio 1 : 1.
Real eigenvalues of opposite signs: saddle points
Now let one eigenvalue be negative and the other positive. Solutions on the negative eigenvalue's line move in to the origin. Solutions on the positive one's line move out.
Any other solution has both terms. The negative eigenvalue's term dies away and the positive one takes over. So the trajectory comes in, turns near the origin and leaves. A saddle point is unstable: a tiny nudge off the incoming line and the solution leaves.
To sketch it, draw both eigenvector lines with arrows, then one trajectory in each of the four regions.
Try it first, then reveal one step at a time.
- .
- , so or : real with opposite signs, so the origin is a saddle point.
- For : , so , the line . For : , so , the line .
- Sketch: arrows away from the origin on and towards it on . In each region, curves come in alongside and leave alongside , as in the figure.
In a population model the phase portrait only uses and . A trajectory that reaches an axis means one population has reached : that species dies out.
Try it first, then reveal one step at a time.
- , so : or . Opposite signs, so the origin is a saddle point.
- For : , so the incoming line is . For : , so the outgoing direction is .
- The start is above . Writing gives and .
- , so the growing term makes fall and rise. The trajectory reaches the -axis: species X dies out and Y survives.
- From , exactly on the incoming line, both decline towards together. This is unstable: any small difference grows, and the smaller species dies out.
- Species X dies out and species Y survives.
Complex eigenvalues: spirals and ellipses
If the characteristic equation has a negative discriminant, the eigenvalues are complex: with . There are no real eigenvector lines, so no trajectory is straight. Every trajectory turns around the origin.
The eigenvalues don't tell you which way the paths turn. Substitute a point, such as . If there, the path crosses the positive -axis going up, so the motion is anticlockwise. If , it is clockwise.
Try it first, then reveal one step at a time.
- , which is .
- .
- Complex with negative real part: the trajectories spiral in towards the origin.
- At : , so the spiral is anticlockwise.
- Interpret: the numbers swing above and below their balance levels, rabbits first, then foxes. Each swing is smaller, and both settle at their balance levels, a stable equilibrium.
Try it first, then reveal one step at a time.
- , so . The real part is : the eigenvalues are imaginary.
- So the trajectory through is a closed ellipse around the origin.
- At : and . is increasing on the positive -axis, so the motion is anticlockwise.
- Gradient: , so the path crosses the -axis at : the ellipse is tilted.
- Interpret: the solution returns to and repeats forever. It never settles and never grows.
Common mistakes
- Checking only one rate for an equilibrium point. Both and must be at the same point.
- Leaving the arrows off the eigenvector lines, or pointing them the wrong way. In for a negative eigenvalue, out for a positive one.
- Guessing which way a spiral or ellipse turns. Substitute a point such as and use the sign of .
- Calling every complex case an ellipse. A non-zero real part gives a spiral; only a real part of gives closed paths.
- Pairing with the eigenvector of in the exact solution. Keep each eigenvalue with its own eigenvector.
- Stopping at the eigenvalues when the question asks you to interpret. Say what happens to the quantities in context, such as which species dies out.
Exam tips
- Sketch a phase portrait: draw both eigenvector lines through the origin, put arrows on them, and draw at least one trajectory with an arrow in every region.
- Justify with reference to the eigenvalues: say whether they are real or complex and give the sign of the real part. Then name the behaviour. For a direction, show the substitution, such as at .
- Find the eigenvalues: write and the quadratic before the values. The set-up earns the method mark even when the GDC finds the roots.
- Hence write down the general solution: use the booklet form with your own eigenvalues and eigenvectors. Any non-zero multiple of an eigenvector is accepted.
Key takeaways
Practise this
20 past-paper questions on Coupled differential equations in the AI HL bank, each with a mark scheme and a worked explanation.