MTH 340 · Ordinary Differential Equation
Our notes
2 min readSystems
Many models have several unknowns (two species, two tanks, coupled circuits): x′ = Ax with x = (x₁, x₂).
Any nth-order equation becomes a first-order system: for y″ + 3y′ + 2y = 0 put x₁ = y, x₂ = y′; then x₁′ = x₂, x₂′ = −2x₁ − 3x₂.
Eigenvalue method
Try x = v e^(λt): Av = λv, so λ is an eigenvalue of A and v an eigenvector (linear algebra, MTH 210).
- Distinct real eigenvalues: x = c₁v₁e^(λ₁t) + c₂v₂e^(λ₂t).
- Complex λ = α ± iβ with eigenvector a ± ib: real solutions e^(αt)(a cos βt − b sin βt) and e^(αt)(a sin βt + b cos βt).
- Repeated λ with one eigenvector v: second solution (t v + w)e^(λt), where (A − λI)w = v.
Worked example. x′ = [4 1; 2 3]x. Eigenvalues 5 and 2 with eigenvectors (1, 1) and (1, −2).
x = c₁(1, 1)e^(5t) + c₂(1, −2)e^(2t). With x(0) = (3, 0): c₁ + c₂ = 3, c₁ − 2c₂ = 0, so c₂ = 1, c₁ = 2: x₁ = 2e^(5t) + e^(2t), x₂ = 2e^(5t) − 2e^(2t).
Check: x₁′ = 10e^(5t) + 2e^(2t); 4x₁ + x₂ = 8e^(5t) + 4e^(2t) + 2e^(5t) − 2e^(2t) = 10e^(5t) + 2e^(2t) ✓.
Worked example (complex). x′ = [0 1; −1 0]x (y″ + y = 0): λ = ±i, solutions are cos t and sin t combinations: circles in the phase plane.
Phase plane and classification
Plot trajectories (x₁(t), x₂(t)). The origin is an equilibrium. With T = trace A, D = det A, the eigenvalues solve λ² − Tλ + D = 0.
| Eigenvalues | Picture | Stability |
|---|---|---|
| real, both negative | node | asymptotically stable |
| real, both positive | node | unstable |
| real, opposite signs (D < 0) | saddle | unstable |
| complex, α < 0 | spiral in | asymptotically stable |
| complex, α > 0 | spiral out | unstable |
| purely imaginary | centre (closed orbits) | stable, not asymptotically |
Quick rule: stable if T < 0 and D > 0.
The example [4 1; 2 3]: T = 7, D = 10, both eigenvalues positive: unstable node.
Worked example. [−3 1; 1 −3]: T = −6, D = 8, λ² + 6λ + 8 = 0, λ = −2, −4: stable node.
Worked example. [1 2; 3 2]: D = 2 − 6 = −4 < 0: saddle.
Nonlinear systems (a first look)
Near an equilibrium, replace the system by its linearisation (the Jacobian matrix) and classify as above; this works except for centres and zero eigenvalues. Example: predator-prey (Lotka-Volterra) and the damped pendulum.
Exams usually ask: convert an equation to a system; solve x′ = Ax with real or complex eigenvalues and initial conditions; classify the origin and sketch the phase portrait; use trace and determinant for stability.
Common mistake: calling a centre "asymptotically stable". Trajectories around a centre stay close but never approach the origin; only negative real parts give asymptotic stability.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Differential Equations - Phase Plane
Paul's Online Notes: worked examples step by step. About 0.5 MB a page.
(opens tutorial.math.lamar.edu in a new tab)
-
NOUN MTH 421: Ordinary Differential Equations
NOUN course book (PDF, about 1.4 MB). Nigerian course book (2011): existence and uniqueness, linear systems, Sturm-Liouville problems and stability.
(opens nou.edu.ng in a new tab)
-
Differential Equations - Real Eigenvalues
Paul's Online Notes: worked examples step by step. About 0.5 MB a page.
(opens tutorial.math.lamar.edu in a new tab)
-
Phase portrait
(opens en.wikipedia.org in a new tab)
Wikipedia, Phase portrait, CC BY-SA 4.0 · licence
-
Lebl, Notes on Diffy Qs: Differential Equations for Engineers
A whole free textbook: read online or download the PDF (about 4 MB). Every MTH 340 topic, with exercises and answers.
(opens jirka.org in a new tab)
Jiří Lebl, Notes on Diffy Qs, CC BY-NC-SA 4.0 · licence
Watch
-
Systems of Differential Equations Part 1: Modeling and Elimination
8 min · ≈ 36 MB · about ₦20
(opens youtube.com in a new tab)
-
Systems of Differential Equations Part 2: Matrices and Stability
12 min · ≈ 54 MB · about ₦30
(opens youtube.com in a new tab)
-
Systems of Differential Equations // Part 1: Linear Systems and the Eigenvalue Method
25 min · ≈ 113 MB · about ₦63
(opens youtube.com in a new tab)
-
Lec 12 | MIT 18.03 Differential Equations, Spring 2006
46 min · ≈ 207 MB · about ₦116
(opens youtube.com in a new tab)
-
Phase Plane Pictures: Source, Sink, Saddle
18 min · ≈ 81 MB · about ₦45
(opens youtube.com in a new tab)
-
Solving Systems of Differential Equations with Eigenvalues and Eigenvectors
22 min · ≈ 99 MB · about ₦56
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.