Systems of Differential Equations — Definition, Formula & Example
A system of differential equations is a set of differential equations with two or more unknown functions, where the rate of change of each function depends on the others. Because the equations are coupled, you must solve them together rather than one at a time.
A first-order system of ordinary differential equations in unknown functions has the form for . The system is linear when every is a linear function of . A linear system can then be written as . It is homogeneous when .
Key Formula
Where:
- = Vector of unknown functions, such as (x(t), y(t))
- = Constant 2 × 2 coefficient matrix
- = Eigenvalues of A (the solution shown assumes they are real and distinct)
- = Eigenvectors matching each eigenvalue
- = Constants fixed by the initial conditions
Worked Example
Problem: Solve the initial value problem , with and .
Step 1: Write the system as with . Find the eigenvalues from .
Step 2: Find an eigenvector for each eigenvalue. For , the equation gives . For , the equation gives .
Step 3: Write the general solution. Set to get and . Adding these gives , so and .
Answer: and . Check: , which equals .
Why It Matters
Coupled spring-mass systems, electrical circuits with several loops, and predator-prey population models are all systems of differential equations. Numerical solvers such as Runge–Kutta expect first-order systems, so engineers routinely rewrite a second-order equation like as the system , . This is a core unit in a college Differential Equations course, and it is where eigenvalues from linear algebra pay off.
Common Mistakes
Mistake: Solving each equation separately, treating the other unknown function as a constant (for example, integrating as if were fixed).
Correction: In a coupled system, changes with too. Either decouple the system with eigenvalues and eigenvectors, or eliminate one function to get a single higher-order equation. Then check your answer in both original equations.
