Systems of First-Order Linear ODEs
Consider a mass on a spring subject to friction and a driving force. How do we organize such a problem for systematic study? A single second-order equation like hides useful structure. This structure becomes visible once the equation is rewritten as a first-order system in vector form. This translation is not a mere bookkeeping trick. It unifies the theory of every linear ODE, no matter the order, under one matrix framework. It also opens the door to eigenvalues, matrix exponentials, and the geometry of phase space. The idea matters because first-order systems admit a clean existence-uniqueness theory. They also have a vector-space structure for solutions. They come with a computational machinery (linear algebra) that scalar higher-order equations do not obviously offer. Once we know how to convert any linear th-order equation into an -dimensional first-order system, things change. All the tools built for systems become available for the original problem. These include Wronskians, fundamental matrices, and variation of parameters. The big picture is that "order" and "dimension" are interchangeable currencies. A single unknown function obeying an th-order rule carries exactly as much information as a vector of unknown functions. That vector must obey a first-order rule, provided we choose the right vector of state variables. This is the same philosophy that underlies state-space methods in engineering. It also underlies phase-space methods in physics. This article builds the reduction-of-order dictionary precisely. It states and proves the fundamental existence-uniqueness and solution-space theorems for linear systems. It works through two genuinely different examples — one homogeneous, one driven and non-symmetric. Then it turns to common pitfalls and the deeper theory that follows: the Eigenvalue Method for Linear Systems and the Matrix Exponential.
- Any th-order linear ODE converts into a first-order system in .
- The state vector stacks the unknown and its derivatives up to order .
- Existence and uniqueness for the system follow from the vector Picard–Lindelöf theorem, given continuity of and .
- Homogeneous solutions to form an -dimensional vector space; a fundamental matrix packages a basis.
- The general solution is , mirroring the scalar case exactly.
- Constant-coefficient systems reduce further to eigenvalues/eigenvectors, foreshadowing the matrix exponential.
- Key idea: trading order for dimension turns calculus problems into linear algebra problems.
Where this lives today
The state-vector reduction is the starting point of control theory, where any linear time-invariant plant description, however high its order, is rewritten as so that stability and controllability can be studied via the eigenvalues of — see the foreshadowed Eigenvalue Method for Linear Systems. In numerical analysis, virtually every ODE solver (Runge–Kutta, multistep methods) is coded to accept only first-order systems, so higher-order equations are always silently converted this way before numerical integration. In physics, the reduction to phase space (position and momentum, or a full state vector) underlies Hamiltonian and Lagrangian mechanics, as well as normal-mode analysis of coupled oscillators. In electrical engineering, circuits with multiple inductors and capacitors give rise naturally to first-order vector systems via Kirchhoff's laws, with the companion form appearing when a single-loop circuit's governing equation is high order. In statistics and signal processing, state-space models (Kalman filters) are literally the discrete-time analogue of , and the matrix exponential of (the natural next topic, the Matrix Exponential) gives the exact transition operator between states. Finally, in pure mathematics, this reduction is the entry point to the general theory of linear systems with variable coefficients, fundamental matrices, and Floquet theory for periodic .
Ask the tutor: How do I choose a particular solution ansatz when the forcing term resonates with an eigenvalue of ?
Let be an open interval. A linear system of first-order ODEs on has the form
where is the unknown vector function, is an matrix-valued function, and is a given vector function. The system is homogeneous if , and constant-coefficient if is independent of . Given a scalar th-order linear ODE in normal form,
the companion reduction introduces the state vector
which satisfies with the companion matrix
Intuition
Think of a scalar th-order equation as describing a single particle whose position obeys a complicated rule involving its own velocity, acceleration, and so on up through the th derivative. The trick of the companion reduction is to stop thinking of "position, velocity, acceleration, …" as a hierarchy of derived quantities and instead treat them as independent coordinates of a single point moving in -dimensional space. The rule that used to be one complicated equation of order becomes simple equations of order 1: the first just say "the next coordinate is the derivative of the previous one" (, , etc.), and only the last equation carries the actual physics, restating the original ODE for in terms of the coordinates. This is exactly the passage from configuration space to phase space familiar from mechanics: instead of tracking alone, we track the point moving through , and the entire dynamics is now a velocity field prescribing, at every point and time, exactly how the state vector should move. Once in this form, matrix algebra — eigenvalues, determinants, fundamental matrices — becomes available in a way it never was for the scalar higher-order picture.
Companion matrix eigen-structure preview
Let be an open interval, let and be continuous, let , and let . Consider
Then:
(a) Existence and uniqueness. (IVP) has a unique solution defined on all of .
(b) Homogeneous solution space. The set of solutions to on is a vector space over of dimension exactly .
(c) General solution. If is any one particular solution of , and is a basis of , then every solution of on has the unique form
We use the vector-valued Picard–Lindelöf theorem (global version for linear right-hand sides), the theory of linear ODEs' solution superposition, and a Wronskian/linear-independence argument. Fix , , continuous as hypothesized.
Step 1 (existence and uniqueness on a subinterval). Write . This is continuous in jointly since are continuous and matrix multiplication is continuous. Moreover is (globally) Lipschitz in on any compact subinterval containing : for and ,
where , finite because is continuous on the compact set . By the vector Existence and Uniqueness (Picard-Lindelof) theorem, (IVP) has a unique solution on some interval around .
Step 2 (extension to all of ). We must upgrade this to a solution on the entire interval , not merely a neighborhood of — this is where linearity (as opposed to a general nonlinear right-hand side) is essential. Let be any compact subinterval with . On , is finite. Suppose solves (IVP) on a maximal interval of existence with ; we show (the argument for the left endpoint is symmetric). For , integrate the equation:
Hence, for ,
where (finite by continuity on a compact set). By Grönwall's inequality, is bounded on by a bound depending only on — not on . Thus stays in a fixed compact ball as . The standard extension theorem for solutions of ODEs (a solution can always be continued as long as it remains in a compact set) then forces ; otherwise the solution could be extended past , contradicting maximality. Since was an arbitrary compact subinterval containing , and over such subintervals, the solution extends to all of . Uniqueness on all of follows because two solutions agreeing at agree on every compact subinterval by the local uniqueness of Step 1 and a connectedness argument (the set where they agree is open, closed, and nonempty in ).
Step 3 (solution space is a vector space). Let be the set of solutions of on . If and , then by linearity of differentiation,
So is closed under addition and scalar multiplication, and it contains the zero function; is a real vector space (a subspace of the space of -valued functions on ).
Step 4 (). Fix and define by (evaluation map). is linear by definition of the vector space operations on . is surjective: for any , Step 1–2 (with ) produces a solution with . is injective: if , i.e. , then solves the IVP with zero initial data; by the uniqueness part of Step 1–2, the only such solution is (since is manifestly a solution with that initial data). So . Thus is a linear bijection , so .
Step 5 (general solution formula). Let be a basis of and a fixed particular solution of the inhomogeneous equation. For any solution of , set . Then
so , and hence for unique scalars (since is a basis). Therefore . Conversely, any expression of this form is a solution by linearity, exactly as in Step 3's computation extended by the constant inhomogeneous term. Uniqueness of the for a given follows because is linearly independent.
∎Worked examples
Example 1 (Homogeneous, order 3, converted and solved as a system). Convert
to a first-order system, then find the general solution. Reduction. Let . Then , , and from the ODE, . In matrix form,
Solving. Because this is the companion matrix of the scalar ODE, its characteristic polynomial equals the ODE's characteristic polynomial (up to sign convention), . Factor:
Roots , all distinct. The scalar solutions are , giving state vectors :
Check these are eigenvectors: for : . ✓. For : . ✓. For : . ✓. Since are eigenvector solutions for three distinct eigenvalues, they are linearly independent (standard fact from linear algebra: eigenvectors for distinct eigenvalues are independent), hence form a basis of the 3-dimensional solution space guaranteed by the theorem. General solution:
and reading off the first component, — matching what characteristic-root theory for the scalar ODE would predict directly, confirming the reduction is faithful.
Example 2 (Non-symmetric first-order system with forcing, solved by direct elimination). Solve the initial value problem
Setup. Here , — continuous everywhere, so by the theorem a unique solution exists on all of . Homogeneous part. Characteristic polynomial: . For : . Eigenvector . For : . Eigenvector . Homogeneous general solution:
Particular solution. Try with (undetermined coefficients, since is linear in and no resonance with occurs as is not an eigenvalue). Then , and we need
where . Matching coefficients of : . Matching constants: . Solve : , . Substituting: , . So . Solve :
Subtract: . Then . So
General solution and initial conditions.
At : . . Add the two equations: . Then . Verification at : . Common denominator 36: . ✓ matches given . . Common denominator 18: . ✓ matches given . Final answer:
The theorem requires (and ) to be continuous on the interval . Drop this and uniqueness (even existence on all of ) can fail. Consider the scalar system (, trivially a "system") on :
Here is discontinuous (undefined) at , violating the hypothesis. For , the general solution of is (check: ✓). Every choice of gives , so the initial value problem has infinitely many solutions on any interval containing , e.g. and both work:
Uniqueness — the centerpiece of part (a) of the theorem — collapses precisely because continuity (hence the Lipschitz bound used in Step 1 of the proof) fails at . This shows the continuity hypothesis on is not a technicality; it is load-bearing.
Scope, edge cases & common traps
| Situation | What to watch for |
|---|---|
| Converting to a system | The equation must first be solved for the highest derivative (normal form) before building and |
| Time-varying coefficients | is then genuinely -dependent; existence/uniqueness still holds if continuous on , but eigenvalue methods for constant no longer apply directly |
| Non-normal-form equations, e.g. | Must divide by ; wherever , continuity of the resulting coefficients fails and the interval must be chosen to avoid such points |
| Systems not arising from a single higher-order equation | The companion-matrix eigenstructure trick (Example 1) does not apply; must analyze directly as in Example 2 |
| Complex or repeated eigenvalues | The distinct-real-eigenvalue basis argument in Example 1 does not directly give a real basis; requires the eigenvalue method's complex/repeated-root extensions |
The mathematician behind it
Origins · 1 minCharles-Émile Picard and how this was discovered
Picard's iterative existence-uniqueness argument, developed alongside the Swedish mathematician Ernst Lindelöf, gave the rigorous foundation on which the theorem above is built. Though Picard worked across complex analysis, algebraic geometry, and differential equations broadly, his method of successive approximations for solving became the standard tool for proving existence and uniqueness of solutions to both scalar and vector (hence matrix-system) ODEs, exactly the vector generalization invoked in Step 1 of the proof above.
Why convert a higher-order equation into a first-order system at all, instead of just solving it directly?
Two reasons. First, the theory is cleaner: existence, uniqueness, and the dimension of the solution space follow from one unified vector theorem (the one proved above), rather than a separate proof for every order. Second, computationally, once in the form , linear algebra tools apply directly — eigenvalues and eigenvectors of give closed-form solutions, and the machinery of the matrix exponential solves the whole homogeneous problem in one stroke. Numerical solvers (Runge–Kutta, etc.) are also built to consume first-order systems only, so this conversion is a mandatory first step before any numerical integration of a higher-order equation.
Does every th-order linear ODE really give an -dimensional first-order system, with no loss or gain of information?
Yes, exactly, as long as the equation is written in normal form (solved for the highest derivative). The map is a bijection between functions solving the scalar equation and vector functions solving the companion system with matching initial data. Given a system solution , its first component automatically satisfies the original scalar ODE, and conversely, any scalar solution reconstructs a system solution via its derivatives. No information is lost, and none is invented; it is a genuine equivalence of problems, not merely an analogy.
What happens if has a discontinuity somewhere in the interval of interest?
The existence-uniqueness theorem's proof relies on continuity of to get a local Lipschitz bound and, via Grönwall's inequality, a global bound enabling extension across the whole interval. If is discontinuous at some point , the theorem simply does not apply there; one typically restricts attention to intervals not containing , or investigates the discontinuity separately (as in the counterexample above, where uniqueness genuinely fails at the singular point). Practically, this is why textbook problems specify "the largest interval containing on which the coefficients are continuous" as the domain of validity.
Is the general-solution formula the same idea as variation of parameters for scalar equations?
Yes — it is the direct vector generalization. The role played by "a fundamental set of solutions" for scalar linear ODEs is played here by a basis of the homogeneous solution space , and the particular solution can itself be constructed by the vector version of Variation of Parameters, replacing the constants in the homogeneous solution with functions and solving for their derivatives using the fundamental matrix . The structural parallel is exact, not coincidental — both come from the same underlying vector-space theorem.
Why did Example 1 not need variation of parameters or a fundamental matrix inverse, while Example 2 needed undetermined coefficients?
Example 1 was homogeneous, so only a basis of the solution space was needed, obtained here directly from the eigenvalues/eigenvectors of the companion matrix. Example 2 had a forcing term , so a particular solution was also required. Since was a polynomial in and zero was not an eigenvalue of (no resonance), the method of undetermined coefficients with a polynomial ansatz was faster than the general variation-of-parameters integral formula, though the latter would have given the same answer.
Can this reduction handle systems of several coupled higher-order equations, not just one scalar equation?
Yes, with a straightforward extension: introduce a state variable for each unknown function and each of its derivatives up to one less than its own order, then rewrite every equation of the coupled set as a first-order relation among these state variables. The resulting system is still linear (if the original equations were) and still fits the framework , now in a higher dimension equal to the sum of the individual orders. The existence-uniqueness and solution-space theorems apply unchanged, since they were stated for a general system from the start.
What comes next after mastering this reduction?
The natural next steps are the Eigenvalue Method for Linear Systems, which gives closed-form solution bases for constant-coefficient systems (as previewed in Example 1), and the Matrix Exponential, which packages the entire homogeneous solution operator into a single matrix-valued function satisfying . Together these tools make solving constant-coefficient linear systems, of any order or dimension, an entirely algebraic (rather than case-by-case calculus) exercise.