Systems of Differential Equations

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

dxdt=ax+by\frac{dx}{dt} = ax + bydydt=cx+dy\frac{dy}{dt} = cx + dy
Or in matrix notation: x=Ax\mathbf{x}' = A\mathbf{x}

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

  1. Rewrite: Use the differential operator notation (D=d/dtD = d/dt). Write equations so variables and their derivatives are on one side.
    • x=2xy    (D2)x+y=0x' = 2x - y \implies (D-2)x + y = 0
    • y=x+2y    x+(D2)y=0y' = x + 2y \implies -x + (D-2)y = 0
  2. Operate: Treat the operators DD like algebraic polynomials. Multiply entire equations by appropriate operators to match terms (like finding a common denominator).
  3. Eliminate: Add or subtract equations to eliminate one dependent variable (e.g., eliminate xx).
  4. Solve: You will now have a single higher-order homogeneous DE in terms of the remaining variable (yy). Solve it using the auxiliary equation method to find y(t)y(t).
  5. Back-Substitute: Substitute y(t)y(t) back into an original first-order equation (if possible) or a derived equation to find x(t)x(t) without introducing extra arbitrary constants.

Method 2: Matrix Method (Eigenvalues)

For a linear, homogeneous system with constant coefficients represented as x=Ax\mathbf{x}' = A\mathbf{x}, the solution is intimately tied to the eigenvalues and eigenvectors of matrix AA.

Eigenvalue Procedure

Assume a solution of the form x=veλt\mathbf{x} = \mathbf{v}e^{\lambda t}. Substituting into the system gives Av=λvA\mathbf{v} = \lambda\mathbf{v}.
  1. Find Eigenvalues (λ\lambda): Solve the characteristic equation det(AλI)=0\det(A - \lambda I) = 0 for λ\lambda. This will be a polynomial of degree nn for an n×nn \times n system.
  2. Find Eigenvectors (v\mathbf{v}): For each eigenvalue λi\lambda_i, solve the homogeneous system (AλiI)vi=0(A - \lambda_i I)\mathbf{v}_i = \mathbf{0} to find the corresponding eigenvector.
  3. Form Solution: The general solution is a linear combination of the fundamental solutions. The form depends on the type of eigenvalues:
    • Distinct Real Eigenvalues (λ1λ2\lambda_1 \neq \lambda_2):

      x(t)=c1eλ1tv1+c2eλ2tv2\mathbf{x}(t) = c_1 e^{\lambda_1 t}\mathbf{v}_1 + c_2 e^{\lambda_2 t}\mathbf{v}_2
    • Repeated Real Eigenvalues (λ1=λ2=λ\lambda_1 = \lambda_2 = \lambda): Usually involves a term with teλtte^{\lambda t} and finding a generalized eigenvector.
    • Complex Conjugate Eigenvalues (λ=α±βi\lambda = \alpha \pm \beta i): Solutions involve eαt(cos(βt)usin(βt)w)e^{\alpha t}(\cos(\beta t)\mathbf{u} - \sin(\beta t)\mathbf{w}) and eαt(sin(βt)u+cos(βt)w)e^{\alpha t}(\sin(\beta t)\mathbf{u} + \cos(\beta t)\mathbf{w}) where v=u+iw\mathbf{v} = \mathbf{u} + i\mathbf{w} is the complex eigenvector.

Phase Portrait Visualizer

Visualize the behavior of a 2x2 linear system by plotting its Phase Portrait. The trajectory (x(t),y(t))(x(t), y(t)) traces a curve in the xyxy-plane over time. The origin (0,0)(0,0) is the critical point.

Phase Portrait Visualizer

System Matrix A

TypeNode
StabilityUnstable (Source)

Click on the plane to start a trajectory from that point.

Classification of Critical Points (2D Linear Systems)

The qualitative behavior of the system x=Ax\mathbf{x}' = A\mathbf{x} near the origin is entirely determined by the eigenvalues (λ1,λ2\lambda_1, \lambda_2) of matrix AA.
EigenvaluesType of Critical PointStability
Real, distinct, both positive (λ1>λ2>0\lambda_1 > \lambda_2 > 0)Improper NodeUnstable (Source)
Real, distinct, both negative (λ1<λ2<0\lambda_1 < \lambda_2 < 0)Improper NodeAsymptotically Stable (Sink)
Real, distinct, opposite signs (λ1<0<λ2\lambda_1 < 0 < \lambda_2)Saddle PointUnstable
Real, repeated, positive (λ1=λ2>0\lambda_1 = \lambda_2 > 0)Proper / Degenerate NodeUnstable (Source)
Real, repeated, negative (λ1=λ2<0\lambda_1 = \lambda_2 < 0)Proper / Degenerate NodeAsymptotically Stable (Sink)
Complex conjugate with positive real part (α±iβ,α>0\alpha \pm i\beta, \alpha > 0)Spiral PointUnstable (Source)
Complex conjugate with negative real part (α±iβ,α<0\alpha \pm i\beta, \alpha < 0)Spiral PointAsymptotically Stable (Sink)
Pure imaginary (±iβ,α=0\pm i\beta, \alpha = 0)CenterStable (but not asymptotically)
Key Takeaways
  • Systems of DEs relate multiple dependent variables.
  • Elimination Method: Transforms the system into a single higher-order DE using differential operators DD.
  • Matrix Method: Solves x=Ax\mathbf{x}' = A\mathbf{x} using eigenvalues (λ\lambda) and eigenvectors (v\mathbf{v}). The general form is x(t)=c1eλ1tv1+c2eλ2tv2\mathbf{x}(t) = c_1 e^{\lambda_1 t}\mathbf{v}_1 + c_2 e^{\lambda_2 t}\mathbf{v}_2.
  • Phase Portraits: A graphical representation of solutions (x(t),y(t))(x(t), y(t)) plotted parametrically in the xyxy-plane.
  • Critical Point Classification: The origin's stability is completely determined by the eigenvalues (e.g., negative real parts mean a sink/stable; opposite signs mean a saddle/unstable).