Skip to content
IB Diploma ProgrammeSL & HL

Phase portraits

Mathematics: Applications and Interpretation SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Phase portraits notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Phase portraits notes as text: skim, search, and jump between subtopics.

~14 min read

1. From the equations to the eigenvalues

A system of coupled differential equations dotx = ax + by, doty = cx + dy is written with a matrix M. The origin is the equilibrium point, because dotx = doty = 0 there.

The eigenvalues of M decide the whole phase portrait. Find them by solving the characteristic equation det(M - λ I) = 0. For a 2 by 2 matrix this is a quadratic in λ.

The systems in this topic have distinct, non-zero eigenvalues.

M = beginpmatrix a & b c & d endpmatrix

det(M - λ I) = 0

λ² - (a + d)λ + (ad - bc) = 0

Worked example 14 marks

Consider the system of differential equations dotx = -2x + y, doty = x - 2y. Find the eigenvalues of this system.

  1. 1

    M1: attempt to solve the characteristic equation: detbeginpmatrix -2-λ & 1 1 & -2-λ endpmatrix = 0 [1]

  2. 2

    A1: (-2-λ)(-2-λ) - 1 = 0 [1]

  3. 3

    A1: λ² + 4λ + 3 = 0, so (λ+1)(λ+3) = 0 [1]

  4. 4

    A1: λ = -1 and λ = -3 [1]

2. Real eigenvalues of the same sign

When both eigenvalues are real and positive, all solutions move away from the origin. When both are real and negative, all solutions move towards the origin.

The eigenvalues are real, so the paths do not spiral. Only their signs matter for the direction.

Worked example 14 marks

Consider the system dotx = 3x + y, doty = 2x + 2y. Find the eigenvalues, and describe the future path of any solution starting away from the origin.

  1. 1

    M1: characteristic equation (3-λ)(2-λ) - 2 = 0 [1]

  2. 2

    A1: λ² - 5λ + 4 = 0, so λ = 1 and λ = 4 [1]

  3. 3

    R1: both eigenvalues are real and positive [1]

  4. 4

    A1: all solutions move away from the origin [1]

3. Real eigenvalues of opposite sign: the saddle point

When one real eigenvalue is positive and one is negative, the origin is a saddle point. Solutions move towards the origin in one direction and away from it in the other.

For a 2 by 2 system the product of the eigenvalues is ad - bc. A negative value of ad - bc therefore gives a saddle point.

λ₁ λ₂ = ad - bc

Worked example 14 marks

Consider the system dotx = x + 2y, doty = 3x + 2y. Find the eigenvalues, and identify the key feature of the phase portrait at the origin.

  1. 1

    M1: characteristic equation (1-λ)(2-λ) - 6 = 0 [1]

  2. 2

    A1: λ² - 3λ - 4 = 0, so (λ - 4)(λ + 1) = 0 [1]

  3. 3

    A1: λ = 4 and λ = -1 [1]

  4. 4

    R1: the eigenvalues are real with different signs, so the origin is a saddle point [1]

4. Complex eigenvalues: spirals

When the eigenvalues are complex, λ = p ± qi, the solutions form a spiral. The real part p decides the direction of travel. If p > 0 the spiral goes outwards. If p < 0 it goes towards the origin.

The eigenvalues do not say whether the spiral turns clockwise or anticlockwise. To find that, substitute a point on the positive x-axis, such as (1, 0), into the system and read the sign of doty. If doty > 0 there, the motion is anticlockwise.

Worked example 18 marks

Consider the following system of differential equations.

dotx = 2x - 5y

doty = x - y

(a) Find the eigenvalues of this system.

(b) By considering the starting point (1, 0), select which one of the following options best describes the trajectory of the system on a phase portrait. Indicate your choice by placing a tick mark in the second column of the following table. With reference to your eigenvalues, justify your answer.

Trajectory descriptionTrue (checkmark)
Clockwise spiral towards the origin
Anticlockwise spiral towards the origin
Clockwise spiral outwards from the origin
Anticlockwise spiral outwards from the origin
Clockwise elliptical path
Anticlockwise elliptical path
Saddle point
None of the above
  1. 1

    (a) (M1): attempt to solve the characteristic equation: detbeginpmatrix 2-λ & -5 1 & -1-λ endpmatrix = 0 [1]

  2. 2

    (A1): (2-λ)(-1-λ) + 5 = 0 [1]

  3. 3

    (A1): λ² - λ + 3 = 0 [1]

  4. 4

    A1: λ = 0.5 ± 1.66i [1]

  5. 5

    (b) R1: rotational or spiralling because the eigenvalues are complex [1]

  6. 6

    R1: outwards movement because the real part of both eigenvalues is positive [1]

  7. 7

    R1: substituting (1, 0) into the system gives doty = 1, therefore anticlockwise [1]

  8. 8

    A1: tick anticlockwise spiral outwards from the origin. A1 needs all three R1 marks [1]

5. Imaginary eigenvalues: closed paths

When the eigenvalues are purely imaginary, λ = ± qi, the solutions form a circle or ellipse around the origin. They neither move towards the origin nor away from it. Find the direction as before, by substituting a starting point.

Worked example 15 marks

Consider the system dotx = y, doty = -4x. Find the eigenvalues, and describe the path of the solution that starts at (1, 0).

  1. 1

    M1: characteristic equation λ² - (0)λ + (0 - (1)(-4)) = 0 [1]

  2. 2

    A1: λ² + 4 = 0, so λ = ± 2i [1]

  3. 3

    R1: the eigenvalues are imaginary, so the path is a circle or ellipse [1]

  4. 4

    M1: substitute (1, 0): dotx = 0 and doty = -4 [1]

  5. 5

    A1: doty < 0, so the path is a clockwise ellipse [1]

6. Sketching a phase portrait from the eigenvalues

To sketch a phase portrait, work in order. First find the eigenvalues. Then name the type of path from them. Next substitute a starting point to fix the direction. Finally mark the equilibrium point at the origin and draw a trajectory with arrows.

The phase portrait then shows the equilibrium point, and whether solutions settle at it. If all solutions move towards the origin, the equilibrium is stable. At a saddle point solutions approach in one direction and leave in another.

Worked example 16 marks

Consider the system dotx = -x - 2y, doty = 2x - y. Sketch the trajectory that starts at (1, 0), and describe what happens to the solution in the long term.

  1. 1

    M1: characteristic equation (-1-λ)² + 4 = 0 [1]

  2. 2

    A1: λ² + 2λ + 5 = 0, so λ = -1 ± 2i [1]

  3. 3

    R1: complex eigenvalues, so the trajectory is a spiral [1]

  4. 4

    R1: the real part is negative, so the spiral goes towards the origin [1]

  5. 5

    M1: substitute (1, 0): dotx = -1 and doty = 2 > 0, so anticlockwise [1]

  6. 6

    A1: sketch an anticlockwise spiral with arrows, approaching the equilibrium point (0, 0) [1]

Recap

  • System: dotx = ax + by, doty = cx + dy. The origin is the equilibrium point.
  • Eigenvalues: solve λ² - (a + d)λ + (ad - bc) = 0.
  • Real, both positive: away from the origin. Real, both negative: towards the origin.
  • Real with different signs: saddle point.
  • Complex p ± qi: spiral. p > 0 outwards, p < 0 towards the origin.
  • Imaginary ± qi: circle or ellipse.
  • Direction: substitute a point on the positive x-axis, such as (1, 0). If doty > 0 there, the motion is anticlockwise.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State what happens to the solutions of a system whose eigenvalues are both real and negative.1 mark
    Answer
    1. All solutions move towards the origin.

    Trap: Negative eigenvalues send solutions towards the origin. Reading the minus sign as "away" reverses the answer.

  2. The solutions of a system spiral outwards from the origin. Which of the following could be the eigenvalues? A -1 ± 2i · B 1 ± 2i · C ± 2i · D 1 and 31 mark
    Answer
    1. B: complex with a positive real part gives an outward spiral.
    2. A is an inward spiral. C is a closed ellipse. D has real eigenvalues, so no spiral.

    Trap: Only the real part decides in or out. The imaginary part gives the rotation.

  3. Find the eigenvalues of the system dotx = -3x + 2y, doty = x - 2y, and state the behaviour of the solutions.3 marks
    Answer
    1. detbeginpmatrix -3-λ & 2 1 & -2-λ endpmatrix = (-3-λ)(-2-λ) - 2 = 0.
    2. λ² + 5λ + 4 = 0, so λ = -1 and λ = -4.
    3. Both are negative, so all solutions move towards the origin.

    Trap: The product term is ad - bc = 6 - 2 = 4. Adding bc gives 8 and the wrong roots.

  4. Determine the type of equilibrium point at the origin for the system dotx = 3x - 4y, doty = 2x - 3y.3 marks
    Answer
    1. a + d = 0 and ad - bc = -9 - (-8) = -1.
    2. λ² - 1 = 0, so λ = 1 and λ = -1.
    3. The eigenvalues are real with different signs, so the origin is a saddle point.

    Trap: A zero trace does not mean imaginary eigenvalues. Here λ² = +1, not -1.

  5. Consider the system dotx = 2y, doty = -8x. Find the eigenvalues, and describe the path of the solution that starts at (1, 0).4 marks
    Answer
    1. λ² - (0)λ + (0 + 16) = 0, so λ² + 16 = 0 and λ = ± 4i.
    2. The eigenvalues are imaginary, so the path is a closed ellipse.
    3. At (1, 0), dotx = 0 and doty = -8 < 0, so the motion is clockwise.

    Trap: Complex does not always mean spiral. A zero real part gives a closed path.

  6. Consider the system dotx = x + 3y, doty = -3x + y. Determine the eigenvalues, and describe the path of the solution that starts at (1, 0).4 marks
    Answer
    1. (1-λ)² + 9 = 0, so λ² - 2λ + 10 = 0 and λ = 1 ± 3i.
    2. The real part is positive, so the path is a spiral outwards.
    3. At (1, 0), doty = -3 < 0, so the spiral is clockwise.

    Trap: Do not assume anticlockwise. Substitute the starting point.

  7. The deviations x and y of two populations from their equilibrium values, in hundreds, satisfy dotx = -x - 2y, doty = 5x - 3y, where t is in years. At t = 0, x = 1 and y = 0. Determine whether the populations return to their equilibrium values, with reference to the eigenvalues.5 marks
    Answer
    1. (-1-λ)(-3-λ) + 10 = 0, so λ² + 4λ + 13 = 0.
    2. λ = -2 ± 3i.
    3. The eigenvalues are complex, so the solution spirals.
    4. The real part is negative, so the spiral goes towards the origin: both deviations tend to zero, so the populations return to equilibrium.
    5. At (1, 0), doty = 5 > 0, so the spiral is anticlockwise.

    Trap: Complex eigenvalues do not mean the populations oscillate for ever. The real part, -2, makes the oscillations die away.

  8. Consider the system dotx = -2x, doty = y. Describe the phase portrait: give the eigenvalues, the type of equilibrium point, and the motion along each axis.4 marks
    Answer
    1. λ² + λ - 2 = 0, so λ = -2 and λ = 1.
    2. The eigenvalues are real with different signs, so the origin is a saddle point.
    3. On the x-axis, dotx = -2x: solutions move towards the origin.
    4. On the y-axis, doty = y: solutions move away from the origin.

    Trap: A saddle point has motion in on one axis and out on the other. It is not inwards on both.

  9. The deviations x and y of two interacting populations from their equilibrium values satisfy dotx = x + 2y, doty = kx + 2y, where k is a non-zero constant that measures the effect of the first population on the second. (a) Show that the eigenvalues satisfy λ² - 3λ + 2 - 2k = 0. [2] (b) Find the values of k for which the origin is a saddle point. [2] (c) Find the values of k for which the trajectories are spirals, and state whether these spirals move towards or away from the origin. [3]7 marks
    Answer
    1. (a)
    2. detbeginpmatrix 1-λ & 2 k & 2-λ endpmatrix = (1-λ)(2-λ) - 2k = 0 [1].
    3. 2 - 3λ + λ² - 2k = 0, so λ² - 3λ + 2 - 2k = 0 [1].
    4. (b)
    5. A saddle point needs real eigenvalues of different signs, so their product 2 - 2k is negative [1].
    6. 2 - 2k < 0, so k > 1 [1].
    7. (c)
    8. Spirals need complex eigenvalues, so the discriminant is negative: (-3)² - 4(2 - 2k) < 0 [1].
    9. 9 - 8 + 8k < 0, so 1 + 8k < 0 and k < -1/8 [1].
    10. The real part of the eigenvalues is 3/2 > 0, so the spirals move away from the origin [1].

    Trap: Expanding -4(2 - 2k) as -8 - 8k gives 1 - 8k < 0 and the wrong range, k > 1/8.

  10. A mass on a spring has displacement x cm from its rest position and velocity y cm s⁻¹ at time t seconds. Its motion is modelled by dotx = y, doty = -4x - cy, where c ≥ 0 is a damping constant. (a) Show that the eigenvalues satisfy λ² + cλ + 4 = 0. [2] (b) For c = 0, find the eigenvalues, and describe the trajectory of the mass that starts at (0, 3). [3] (c) For c = 2, find the eigenvalues, and describe the long-term motion of the mass. [2] (d) For c = 5, find the eigenvalues, and state how the trajectory differs from the one for c = 2. [2]9 marks
    Answer
    1. (a)
    2. detbeginpmatrix -λ & 1 -4 & -c-λ endpmatrix = (-λ)(-c-λ) - (1)(-4) = 0 [1].
    3. λ² + cλ + 4 = 0 [1].
    4. (b)
    5. λ² + 4 = 0, so λ = ± 2i [1].
    6. The eigenvalues are imaginary, so the trajectory is a closed ellipse around the origin [1].
    7. At (0, 3), doty = 0, so use dotx = 3 > 0: at the top of the ellipse the mass moves in the positive x direction, so the motion is clockwise [1].
    8. (c)
    9. λ² + 2λ + 4 = 0, so λ = (-2 ± √(4 - 16))/2 = -1 ± √3i [1].
    10. The eigenvalues are complex with negative real part, so the trajectory spirals towards the origin: the mass comes to rest at its rest position [1].
    11. (d)
    12. λ² + 5λ + 4 = 0, so (λ + 1)(λ + 4) = 0 and λ = -1 and λ = -4 [1].
    13. The eigenvalues are real and both negative, so the trajectory still moves towards the origin, but it does not spiral [1].

    Trap: At (0, 3) the test doty > 0 fails, because doty = 0 there: on the y-axis the sign of dotx fixes the direction.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
It is a spiral because it goes round.Complex eigenvalues give a rotational or spiralling path. The real part of the eigenvalues says whether it goes outwards or inwards.
Anticlockwise, written with no working.Substituting (1, 0) into the system gives doty = 1, therefore anticlockwise.
Solve λ² - λ + 3.Attempt to solve the characteristic equation det(M - λ I) = 0, then λ² - λ + 3 = 0.
Positive and negative eigenvalues give a spiral.Real eigenvalues of different signs give a saddle point.

Frequently asked questions

How do I find the eigenvalues of a coupled system of differential equations?
Write the system with a matrix M, then solve the characteristic equation det(M - λ I) = 0. For a 2 by 2 matrix this gives λ² - (a + d)λ + (ad - bc) = 0. For dotx = -2x + y and doty = x - 2y, the characteristic equation is λ² + 4λ + 3 = 0, so λ = -1 and λ = -3.
What does it mean when both eigenvalues are real, and when they have different signs?
If both real eigenvalues are positive, all solutions move away from the origin. If both are negative, they move towards the origin. If the eigenvalues are real with different signs, the origin is a saddle point: solutions approach in one direction and move away in another. For dotx = x + 2y, doty = 3x + 2y the eigenvalues are 4 and -1, so the origin is a saddle point.
How do I tell whether a spiral goes outwards or inwards, and which way it turns?
Complex eigenvalues λ = p ± qi give a spiral, and the real part p decides the direction: p > 0 is outwards and p < 0 is towards the origin. The eigenvalues do not give the turning direction. Substitute (1, 0) into the system and read the sign of doty. For dotx = 2x - 5y, doty = x - y the eigenvalues are 0.5 ± 1.66i, and doty = 1 at (1, 0), so it is an anticlockwise spiral outwards.
When do the solutions of a linear system form closed paths around the origin?
When the eigenvalues are purely imaginary, λ = ± qi, the solutions form a circle or ellipse around the origin. They neither move towards nor away from it. For dotx = y and doty = -4x the eigenvalues are ± 2i. Substituting (1, 0) gives doty = -4 < 0, so the path is a clockwise ellipse.
How do I sketch a phase portrait from a system of differential equations?
Work in order: find the eigenvalues, name the type of path from them, substitute a starting point to fix the direction, then mark the equilibrium point at the origin and draw a trajectory with arrows. For dotx = -x - 2y, doty = 2x - y the eigenvalues are -1 ± 2i, so the path is a spiral towards the origin. At (1, 0), doty = 2 > 0, so it is anticlockwise.
Why can't I assume that a spiral turns anticlockwise?
The direction of a spiral comes only from substituting a starting point, not from a rule. For dotx = x + 3y, doty = -3x + y the eigenvalues are 1 ± 3i, so the path is an outward spiral. Substituting (1, 0) gives doty = -3 < 0, so the spiral is clockwise. Check the sign at (1, 0) every time.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters