Skip to main content

Thomas’ Calculus · Chapter 09 · Section 9.5

By Muhammad Abdullah Athar · SymPy Verified

Systems of Equations and Phase Planes

❦

Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.

Part One

Section Notes

❧

Section 9.5: Systems of Equations and Phase Planes

Analyzing coupled systems of differential equations in the phase plane.


1. Trajectory Direction in Phase Plane

The slope of a trajectory in the xyxy-plane satisfies:

dydx=dy/dtdx/dt=G(x,y)F(x,y)\frac{dy}{dx} = \frac{dy/dt}{dx/dt} = \frac{G(x, y)}{F(x, y)}

2. Predator-Prey (Lotka-Volterra) Model

dxdt=ax−bxy(Prey)\frac{dx}{dt} = a x - b x y \quad (\text{Prey}) dydt=−cy+dxy(Predator)\frac{dy}{dt} = -c y + d x y \quad (\text{Predator})

Part Two

Key Ideas to Remember

1 essential statements for this section, each with a plain-words explanation.

Definition #1Sec 9.5

Two-Dimensional Autonomous System and Phase Plane

dxdt=F(x,y),dydt=G(x,y)\frac{dx}{dt} = F(x, y), \quad \frac{dy}{dt} = G(x, y)

A two-dimensional system of first-order differential equations describes the velocity vector field (dx/dt, dy/dt) in the xy-phase plane. Trajectories represent parametric solution curves (x(t), y(t)).

Conditions: F and G are continuously differentiable

In plain words: Equilibrium points occur where F(x, y) = 0 and G(x, y) = 0 simultaneously.

Remember — Phase portraits reveal qualitative dynamics (cycles, saddles, nodes, spirals) of coupled systems.

Part Three

Worked Examples

5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.

Example 01(Section 9.5, Exercise 1)

Warm-up

Problem. Find the equilibrium points in the first quadrant of the predator-prey system dx/dt = x(2 - y), dy/dt = y(x - 3).

Step-by-Step Derivation (3 steps)

1

Set Both Derivatives Equal to Zero

x(2−y)=0andy(x−3)=0x(2 - y) = 0 \quad \text{and} \quad y(x - 3) = 0

Equilibrium requires both time rates to be zero.

Why this works: Definition of critical point.
2

Case 1: Extinction Equilibrium

x=0  ⟹  y(0−3)=0  ⟹  y=0  ⟹  (0,0)x = 0 \implies y(0 - 3) = 0 \implies y = 0 \implies (0, 0)

Trivial state with no predators and no prey.

Why this works: Origin equilibrium.
3

Case 2: Coexistence Equilibrium

x≠0  ⟹  2−y=0  ⟹  y=2;y≠0  ⟹  x−3=0  ⟹  x=3  ⟹  (3,2)x \ne 0 \implies 2 - y = 0 \implies y = 2; \quad y \ne 0 \implies x - 3 = 0 \implies x = 3 \implies (3, 2)

Non-zero coexistence balance.

Why this works: Coexistence equilibrium point.

Answer: (0,0)and(3,2)(0, 0) \quad \text{and} \quad (3, 2)

✓ Verified by SymPy CAS

Example 02(Section 9.5, Exercise 2)

Core practice

Problem. Find the Cartesian equation of the trajectories for dx/dt = -y, dy/dt = x.

Step-by-Step Derivation (2 steps)

1

Formulate dy/dx Ratio

dydx=dy/dtdx/dt=x−y=−xy\frac{dy}{dx} = \frac{dy/dt}{dx/dt} = \frac{x}{-y} = -\frac{x}{y}

Eliminate time variable t.

Why this works: Phase plane slope.
2

Separate Variables and Integrate

y dy=−x dx  ⟹  ∫y dy=−∫x dx  ⟹  y22=−x22+C′  ⟹  x2+y2=Cy \, dy = -x \, dx \implies \int y \, dy = -\int x \, dx \implies \frac{y^2}{2} = -\frac{x^2}{2} + C' \implies x^2 + y^2 = C

Circular orbits centered at the origin.

Why this works: Cartesian trajectory formula.

Answer: x2+y2=C(Family of concentric circles)x^2 + y^2 = C \quad (\text{Family of concentric circles})

✓ Verified by SymPy CAS

Example 03(Section 9.5, Exercise 3)

Core practice

Problem. Find the eigenvalues of the linear system dx/dt = x + 2y, dy/dt = 2x + y.

Step-by-Step Derivation (3 steps)

1

Form Coefficient Matrix A

A=(1221)A = \begin{pmatrix} 1 & 2 \\ 2 & 1 \end{pmatrix}

Extract coefficients of linear system.

Why this works: Matrix representation.
2

Compute Characteristic Polynomial

det⁡(A−λI)=(1−λ)2−4=λ2−2λ−3=(λ−3)(λ+1)=0\det(A - \lambda I) = (1 - \lambda)^2 - 4 = \lambda^2 - 2\lambda - 3 = (\lambda - 3)(\lambda + 1) = 0

Set determinant equal to zero.

Why this works: Eigenvalue equation.
3

State Eigenvalues and Classification

λ1=3,  λ2=−1\lambda_1 = 3, \; \lambda_2 = -1

Opposite sign real eigenvalues signify an unstable saddle point.

Why this works: Phase portrait classification.

Answer: λ1=3,λ2=−1(Saddle point)\lambda_1 = 3, \quad \lambda_2 = -1 \quad (\text{Saddle point})

✓ Verified by SymPy CAS

Example 04(Section 9.5, Exercise 4)

Challenge

Problem. For dx/dt = x(1 - y) and dy/dt = y(x - 1), find a conserved quantity H(x, y) that remains constant along all trajectories.

Step-by-Step Derivation (3 steps)

1

Set Up dy/dx Equation

dydx=y(x−1)x(1−y)\frac{dy}{dx} = \frac{y(x - 1)}{x(1 - y)}

Divide dy/dt by dx/dt.

Why this works: Trajectory differential equation.
2

Separate Variables

1−yydy=x−1xdx  ⟹  (1y−1)dy=(1−1x)dx\frac{1 - y}{y} dy = \frac{x - 1}{x} dx \implies \left(\frac{1}{y} - 1\right) dy = \left(1 - \frac{1}{x}\right) dx

Separate x and y terms.

Why this works: Separation of variables.
3

Integrate to Find Invariant H(x, y)

ln⁡(y)−y=x−ln⁡(x)+C′  ⟹  x−ln⁡(x)+y−ln⁡(y)=C\ln(y) - y = x - \ln(x) + C' \implies x - \ln(x) + y - \ln(y) = C

H is constant along trajectories, proving closed periodic orbits.

Why this works: First integral of motion.

Answer: H(x,y)=x−ln⁡(x)+y−ln⁡(y)=CH(x, y) = x - \ln(x) + y - \ln(y) = C

✓ Verified by SymPy CAS

Example 05(Section 9.5, Exercise 5)

Core practice

Problem. Find the x-nullclines and y-nullclines for dx/dt = x(3 - x - y) and dy/dt = y(2 - x - y).

Step-by-Step Derivation (2 steps)

1

Find x-Nullclines (dx/dt = 0)

x(3−x−y)=0  ⟹  x=0orx+y=3x(3 - x - y) = 0 \implies x = 0 \quad \text{or} \quad x + y = 3

Vertical velocity is purely vertical along these curves.

Why this works: x-nullcline definition.
2

Find y-Nullclines (dy/dt = 0)

y(2−x−y)=0  ⟹  y=0orx+y=2y(2 - x - y) = 0 \implies y = 0 \quad \text{or} \quad x + y = 2

Velocity is purely horizontal along these curves.

Why this works: y-nullcline definition.

Answer: x-nullclines: x=0,  x+y=3;y-nullclines: y=0,  x+y=2\text{x-nullclines: } x = 0, \; x + y = 3; \quad \text{y-nullclines: } y = 0, \; x + y = 2

✓ Verified by SymPy CAS