Systems of Differential Equations
Learning Objectives
- Solve linear systems of differential equations using the elimination method.
- Solve homogeneous linear systems using the matrix eigenvalue method.
- Construct and interpret phase portraits for 2D linear systems.
- Classify the stability and type of critical points based on eigenvalues.
A system of differential equations consists of two or more equations involving derivatives of two or more unknown functions. These systems often model interacting populations (Predator-Prey), coupled oscillators, or chemical reactions.
Linear System Form
A linear system of first-order differential equations expresses the derivatives of multiple dependent variables as linear combinations of the variables themselves.
Linear System Form (2D)
A 2x2 system of linear first-order differential equations.
Variables
| Symbol | Description | Unit |
|---|---|---|
| First dependent variable | - | |
| Second dependent variable | - | |
| Independent variable (e.g., time) | - | |
| Constant coefficients | - |
Matrix Notation of a Linear System
The compact matrix representation of a linear system.
Variables
| Symbol | Description | Unit |
|---|---|---|
| Vector of dependent variables | - | |
| Derivative of the state vector with respect to time | - | |
| Coefficient matrix | - |
Method 1: Elimination
This method involves eliminating variables systematically until you are left with a single higher-order differential equation for one variable. It is analogous to algebraic substitution/elimination.
Elimination Steps
Rewrite: Use the differential operator notation (). Write equations so variables and their derivatives are on one side.
- Operate: Treat the operators like algebraic polynomials. Multiply entire equations by appropriate operators to match terms (like finding a common denominator).
- Eliminate: Add or subtract equations to eliminate one dependent variable (e.g., eliminate ).
- Solve: You will now have a single higher-order homogeneous DE in terms of the remaining variable (). Solve it using the auxiliary equation method to find .
- Back-Substitute: Substitute back into an original first-order equation (if possible) or a derived equation to find without introducing extra arbitrary constants.
Method 2: Matrix Method (Eigenvalues)
For a linear, homogeneous system with constant coefficients represented as , the solution is intimately tied to the eigenvalues and eigenvectors of matrix .
Eigenvalue Procedure
Assume a solution of the form . Substituting into the system gives .
- Find Eigenvalues (): Solve the characteristic equation for . This will be a polynomial of degree for an system.
- Find Eigenvectors (): For each eigenvalue , solve the homogeneous system to find the corresponding eigenvector.
Form Solution: The general solution is a linear combination of the fundamental solutions. The form depends on the type of eigenvalues:
- Distinct Real Eigenvalues (): The two eigenvectors are independent and give two exponential modes.
- Repeated Real Eigenvalues (): Check the eigenspace dimension. Two independent eigenvectors give two ordinary modes; a defective 2×2 matrix requires a generalized eigenvector satisfying .
- Complex Conjugate Eigenvalues (): Solutions involve and where is the complex eigenvector.
General Solution for Distinct Real Eigenvalues
The solution for a system where all eigenvalues are real and distinct.
Variables
| Symbol | Description | Unit |
|---|---|---|
| State vector over time | - | |
| Arbitrary constants determined by initial conditions | - | |
| Distinct eigenvalues | - | |
| Corresponding eigenvectors | - | |
| Time | s |
Phase Portrait Visualizer
Visualize the behavior of a 2x2 linear system by plotting its Phase Portrait. The trajectory traces a curve in the -plane over time. The origin is the critical point.
Interactive Simulation
Interact with the phase portrait simulation below to visualize 2D linear systems and critical points.
Phase Portrait
Classification of Critical Points (2D Linear Systems)
The qualitative behavior of the system near the origin is determined by the eigenvalues of matrix and, for repeated real eigenvalues, by the dimension of the eigenspace.
| Eigenvalues | Type of Critical Point | Stability |
|---|---|---|
| Real, distinct, both positive () | Proper node (two independent eigendirections) | Unstable (Source) |
| Real, distinct, both negative () | Proper node (two independent eigendirections) | Asymptotically Stable (Sink) |
| Real, distinct, opposite signs () | Saddle Point | Unstable |
| Real, repeated, positive () | Node: proper with two eigenvectors; improper if defective | Unstable (Source) |
| Real, repeated, negative () | Node: proper with two eigenvectors; improper if defective | Asymptotically Stable (Sink) |
| Complex conjugate with positive real part () | Spiral Point | Unstable (Source) |
| Complex conjugate with negative real part () | Spiral Point | Asymptotically Stable (Sink) |
| Pure imaginary () | Center | Stable (but not asymptotically) |
Matrix Eigenvalue Solution Workflow
Matrix Eigenvalue Solution for a 2×2 Linear System
Solve a homogeneous constant-coefficient system by eigenmodes, branching when a repeated eigenvalue has too few independent eigenvectors.
This workflow applies to a homogeneous linear system x′ = Ax with a constant 2×2 matrix A on the interval. Form det(A − λI) = 0, find each eigenspace, and determine whether the eigenvectors span the state space. Real distinct eigenvalues supply independent exponential modes. A complex-conjugate pair for a real matrix supplies a real basis from the real and imaginary parts of a complex mode. For a repeated eigenvalue with two independent eigenvectors, use two ordinary exponential modes. For a defective 2×2 repeated eigenvalue, find w satisfying (A − λI)w = v and include e^(λt)(tv + w). Larger systems may require longer Jordan chains and are outside this chart. Apply any supplied initial data, substitute the result into the original system, and check the initial state.
Start: homogeneous system x′ = Ax → Is A constant on the interval?; Is A constant on the interval? — Yes → Form det(A − λI) = 0 and find eigenvalues; Is A constant on the interval? — No → Use a method for variable or forced systems; Form det(A − λI) = 0 and find eigenvalues → Find independent eigenvectors for each eigenvalue; Find independent eigenvectors for each eigenvalue → Do the eigenvectors span the state space?; Do the eigenvectors span the state space? — Yes → Build exponential modes; convert conjugate pairs to real form; Do the eigenvectors span the state space? — No → Solve (A − λI)w = v; add e^(λt)(tv + w); Build exponential modes; convert conjugate pairs to real form → Apply any initial data to determine the constants; Solve (A − λI)w = v; add e^(λt)(tv + w) → Apply any initial data to determine the constants; Apply any initial data to determine the constants → Do the modes satisfy x′ = Ax and the supplied data?; Do the modes satisfy x′ = Ax and the supplied data? — Yes → Record the verified general or IVP solution; Do the modes satisfy x′ = Ax and the supplied data? — No → Recheck eigenpairs, basis, generalized mode, and constants; Recheck eigenpairs, basis, generalized mode, and constants → Find independent eigenvectors for each eigenvalue
- Start: homogeneous system x′ = Ax: terminator
- Is A constant on the interval?: decision
- Use a method for variable or forced systems: terminator
- Form det(A − λI) = 0 and find eigenvalues: process
- Find independent eigenvectors for each eigenvalue: process
- Do the eigenvectors span the state space?: decision
- Build exponential modes; convert conjugate pairs to real form: process
- Solve (A − λI)w = v; add e^(λt)(tv + w): process
- Apply any initial data to determine the constants: process
- Do the modes satisfy x′ = Ax and the supplied data?: decision
- Recheck eigenpairs, basis, generalized mode, and constants: process
- Record the verified general or IVP solution: terminator
Visual Relationships in Linear Systems
Component Equations Become One State-Vector Equation
Collect dependent variables into a state vector and place their constant coefficients in matching rows of A.
Elimination and Matrix Methods Reduce Different Structures
Both methods solve the same constant-coefficient linear system, but elimination produces a scalar higher-order equation while the matrix method works with eigenmodes.
- Apply differential operators
- Solve a higher-order scalar DE
- Back-substitute for remaining variables
- Find eigenvalues and eigenvectors of A
- Build vector-valued exponential modes
- Apply initial data to the state vector
Repeated Eigenvalues Depend on Eigenspace Dimension
A repeated algebraic eigenvalue does not by itself determine the solution form; count independent eigenvectors before adding a generalized mode.
Eigenvalue Signs Predict the Linear Phase Portrait
For a real 2×2 linear system without zero eigenvalues, eigenvalue signs or real parts distinguish nodes, saddles, spirals, and centers; zero eigenvalues need separate analysis.
- Systems of DEs relate multiple dependent variables.
- Elimination Method: Transforms the system into a single higher-order DE using differential operators .
- Matrix Method: Solves using eigenvalues and eigenvectors. Check the eigenspace dimension for repeated roots; a defective repeated root needs a generalized eigenvector mode.
- Phase Portraits: A graphical representation of solutions plotted parametrically in the -plane.
- Critical Point Classification: For a hyperbolic equilibrium (no eigenvalue has zero real part), eigenvalue real parts determine linear stability; zero-real-part cases need further analysis.