Systems of Differential Equations
When several quantities change together and each one's rate depends on the others, you get a system. A linear system fits in one line, , and even a single higher-order equation can be rewritten as one, so it's a single framework for all of them.
What the symbols mean
- Coefficient matrix
Row i says how each quantity drives the rate of x_i.
Explanation
A system of differential equations is simply several equations solved together, because the quantities keep affecting each other: more rabbits means more food for foxes, and more foxes means fewer rabbits. It's good for any model where you can't track one thing alone. The equation looks compact and a bit cryptic, but it's just three pieces: (a list of all the quantities you're tracking), (how fast each one is changing), and (a table of numbers saying how much each quantity pushes on each rate). It's the same kind of equation as , just with several quantities at once. Bear with the vector notation; it only saves writing.
Why systems? Predators and prey, infected and susceptible people, currents in two loops of a circuit, two masses joined by springs: real models track several quantities at once.
From one equation to a system. Here's a trick that connects this to everything you've done so far. For , let and . Then
so . The first equation is just the definition ('s rate is ), and the second is the original equation solved for . An th-order equation becomes first-order ones this way, so second-order equations are really a special case of systems.
Solutions are vector functions . For a single equation the answer was , so it makes sense to try here. Plugging in gives , which is . That leads straight to eigenvalues, which is where the next lesson goes.
A common mistake. It's tempting to think every system with two quantities can be written as , because the predator–prey equations also have two rates. It isn't so: only covers linear systems, where each rate is a sum of constant multiples of the quantities. Terms like in predator–prey make it nonlinear, and we'll study those near their equilibria.
See it
Worked examples
Write as a system.
- 1
Let and . Then by definition, and solving the equation for gives .
Practice
Type your answer and check it. Solve them all to complete the lesson.
Give the matrix for , , row by row.
Give for written as a system, row by row.
Is a solution of ?
Is the Lotka–Volterra predator–prey system linear?
How many first-order equations does a third-order equation become?
A spring obeys . Write it as a first order system with and . Give row by row.
The hardest one here. Get it, and you've got this lesson.
Write as with , , . Give the matrix row by row.
Where it's used
Every serious simulation package (circuits, chemistry, flight dynamics) works with first-order systems, converting higher-order equations first.