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 mx′′+bx′+kx=F(t)mx'' + bx' + kx = F(t) 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 x′=A(t)x+g(t)\mathbf{x}' = A(t)\mathbf{x} + \mathbf{g}(t) 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 nnth-order equation into an nn-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 nnth-order rule carries exactly as much information as a vector of nn 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.

Key takeaways
  • Any nnth-order linear ODE converts into a first-order system x′=A(t)x+g(t)\mathbf{x}' = A(t)\mathbf{x} + \mathbf{g}(t) in Rn\mathbb{R}^n.
  • The state vector stacks the unknown and its derivatives up to order n−1n-1.
  • Existence and uniqueness for the system follow from the vector Picard–Lindelöf theorem, given continuity of A(t)A(t) and g(t)\mathbf{g}(t).
  • Homogeneous solutions to x′=Ax\mathbf{x}'=A\mathbf{x} form an nn-dimensional vector space; a fundamental matrix packages a basis.
  • The general solution is x=Ψ(t)c+xp\mathbf{x} = \Psi(t)\mathbf{c} + \mathbf{x}_p, 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 x˙=Ax+Bu\dot{\mathbf x}=A\mathbf x+B\mathbf u so that stability and controllability can be studied via the eigenvalues of AA — 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 x′=Ax+g\mathbf{x}'=A\mathbf{x}+\mathbf{g}, and the matrix exponential of AA (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 A(t)A(t).

Ask the tutor: How do I choose a particular solution ansatz when the forcing term resonates with an eigenvalue of AA?

DefinitionLinear system of first-order ODEs and the companion reduction

Let I⊂RI \subset \mathbb{R} be an open interval. A linear system of first-order ODEs on II has the form

x′(t)=A(t) x(t)+g(t),t∈I,\mathbf{x}'(t) = A(t)\,\mathbf{x}(t) + \mathbf{g}(t), \qquad t \in I,

where x(t)∈Rn\mathbf{x}(t) \in \mathbb{R}^n is the unknown vector function, A(t)A(t) is an n×nn \times n matrix-valued function, and g(t)∈Rn\mathbf{g}(t) \in \mathbb{R}^n is a given vector function. The system is homogeneous if g(t)≡0\mathbf{g}(t) \equiv \mathbf{0}, and constant-coefficient if A(t)≡AA(t) \equiv A is independent of tt. Given a scalar nnth-order linear ODE in normal form,

y(n)=pn−1(t)y(n−1)+⋯+p1(t)y′+p0(t)y+q(t),y^{(n)} = p_{n-1}(t) y^{(n-1)} + \cdots + p_1(t) y' + p_0(t) y + q(t),

the companion reduction introduces the state vector

x(t)=(x1x2⋮xn)=(yy′⋮y(n−1)),\mathbf{x}(t) = \begin{pmatrix} x_1 \\ x_2 \\ \vdots \\ x_n \end{pmatrix} = \begin{pmatrix} y \\ y' \\ \vdots \\ y^{(n-1)} \end{pmatrix},

which satisfies x′=A(t)x+g(t)\mathbf{x}' = A(t)\mathbf{x} + \mathbf{g}(t) with the companion matrix

A(t)=(010⋯0001⋯0⋮⋱⋮000⋯1p0(t)p1(t)p2(t)⋯pn−1(t)),g(t)=(0⋮0q(t)).A(t) = \begin{pmatrix} 0 & 1 & 0 & \cdots & 0 \\ 0 & 0 & 1 & \cdots & 0 \\ \vdots & & & \ddots & \vdots \\ 0 & 0 & 0 & \cdots & 1 \\ p_0(t) & p_1(t) & p_2(t) & \cdots & p_{n-1}(t) \end{pmatrix}, \qquad \mathbf{g}(t) = \begin{pmatrix} 0 \\ \vdots \\ 0 \\ q(t) \end{pmatrix}.

Intuition

Think of a scalar nnth-order equation as describing a single particle whose position obeys a complicated rule involving its own velocity, acceleration, and so on up through the (n−1)(n-1)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 nn-dimensional space. The rule that used to be one complicated equation of order nn becomes nn simple equations of order 1: the first n−1n-1 just say "the next coordinate is the derivative of the previous one" (x1′=x2x_1' = x_2, x2′=x3x_2' = x_3, etc.), and only the last equation carries the actual physics, restating the original ODE for y(n)y^{(n)} in terms of the coordinates. This is exactly the passage from configuration space to phase space familiar from mechanics: instead of tracking y(t)y(t) alone, we track the point (y,y′,…,y(n−1))(t)(y, y', \dots, y^{(n-1)})(t) moving through Rn\mathbb{R}^n, and the entire dynamics is now a velocity field A(t)x+g(t)A(t)\mathbf{x} + \mathbf{g}(t) 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.

Figure
From a 2nd-order equation to a phase-plane vector field
y'' + 3y' + 2y = 0 ⇒ x₁ = y, x₂ = y' x₁ x₂ x₁' = x₂ x₂' = −2x₁ − 3x₂ state point x(t) moves along the field

Companion matrix eigen-structure preview

TheoremExistence, Uniqueness, and the Structure of Solutions for Linear Systems

Let I⊂RI \subset \mathbb{R} be an open interval, let A:I→Rn×nA: I \to \mathbb{R}^{n\times n} and g:I→Rn\mathbf{g}: I \to \mathbb{R}^n be continuous, let t0∈It_0 \in I, and let x0∈Rn\mathbf{x}_0 \in \mathbb{R}^n. Consider

x′=A(t)x+g(t),x(t0)=x0.(IVP)\mathbf{x}' = A(t)\mathbf{x} + \mathbf{g}(t), \qquad \mathbf{x}(t_0) = \mathbf{x}_0. \tag{IVP}

Then:

(a) Existence and uniqueness. (IVP) has a unique solution x(t)\mathbf{x}(t) defined on all of II.

(b) Homogeneous solution space. The set VV of solutions to x′=A(t)x\mathbf{x}' = A(t)\mathbf{x} on II is a vector space over R\mathbb{R} of dimension exactly nn.

(c) General solution. If xp\mathbf{x}_p is any one particular solution of x′=A(t)x+g(t)\mathbf{x}' = A(t)\mathbf{x}+\mathbf{g}(t), and {ϕ1,…,ϕn}\{\boldsymbol\phi_1,\dots,\boldsymbol\phi_n\} is a basis of VV, then every solution of x′=A(t)x+g(t)\mathbf{x}'=A(t)\mathbf{x}+\mathbf{g}(t) on II has the unique form

x(t)=c1ϕ1(t)+⋯+cnϕn(t)+xp(t),c1,…,cn∈R.\mathbf{x}(t) = c_1 \boldsymbol\phi_1(t) + \cdots + c_n \boldsymbol\phi_n(t) + \mathbf{x}_p(t), \qquad c_1,\dots,c_n \in \mathbb{R}.
Proof

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 II, A(⋅)A(\cdot), g(⋅)\mathbf{g}(\cdot) continuous as hypothesized.

Step 1 (existence and uniqueness on a subinterval). Write f(t,x)=A(t)x+g(t)f(t,\mathbf{x}) = A(t)\mathbf{x} + \mathbf{g}(t). This ff is continuous in (t,x)(t,\mathbf{x}) jointly since A,gA,\mathbf{g} are continuous and matrix multiplication is continuous. Moreover ff is (globally) Lipschitz in x\mathbf{x} on any compact subinterval J⊂IJ \subset I containing t0t_0: for x,y∈Rn\mathbf{x},\mathbf{y}\in\mathbb{R}^n and t∈Jt\in J,

∥f(t,x)−f(t,y)∥=∥A(t)(x−y)∥≤∥A(t)∥op ∥x−y∥≤MJ∥x−y∥,\|f(t,\mathbf{x}) - f(t,\mathbf{y})\| = \|A(t)(\mathbf{x}-\mathbf{y})\| \le \|A(t)\|_{\mathrm{op}}\,\|\mathbf{x}-\mathbf{y}\| \le M_J \|\mathbf{x}-\mathbf{y}\|,

where MJ=max⁡t∈J∥A(t)∥opM_J = \max_{t\in J} \|A(t)\|_{\mathrm{op}}, finite because AA is continuous on the compact set JJ. By the vector Existence and Uniqueness (Picard-Lindelof) theorem, (IVP) has a unique solution on some interval around t0t_0.

Step 2 (extension to all of II). We must upgrade this to a solution on the entire interval II, not merely a neighborhood of t0t_0 — this is where linearity (as opposed to a general nonlinear right-hand side) is essential. Let [a,b]⊂I[a,b] \subset I be any compact subinterval with t0∈[a,b]t_0 \in [a,b]. On [a,b][a,b], M:=max⁡t∈[a,b]∥A(t)∥opM := \max_{t\in[a,b]}\|A(t)\|_{\mathrm{op}} is finite. Suppose x(t)\mathbf{x}(t) solves (IVP) on a maximal interval of existence (α,β)⊂[a,b](\alpha,\beta) \subset [a,b] with β≤b\beta \le b; we show β=b\beta = b (the argument for the left endpoint is symmetric). For t∈(α,β)t \in (\alpha,\beta), integrate the equation:

x(t)=x0+∫t0t(A(s)x(s)+g(s)) ds.\mathbf{x}(t) = \mathbf{x}_0 + \int_{t_0}^t \big(A(s)\mathbf{x}(s) + \mathbf{g}(s)\big)\,ds.

Hence, for t∈(α,β)t \in (\alpha,\beta),

∥x(t)∥≤∥x0∥+∫t0t(M∥x(s)∥+G) ds,\|\mathbf{x}(t)\| \le \|\mathbf{x}_0\| + \int_{t_0}^t \big(M\|\mathbf{x}(s)\| + G\big)\,ds,

where G=max⁡[a,b]∥g(t)∥G = \max_{[a,b]} \|\mathbf{g}(t)\| (finite by continuity on a compact set). By Grönwall's inequality, ∥x(t)∥\|\mathbf{x}(t)\| is bounded on (α,β)(\alpha,\beta) by a bound depending only on ∥x0∥,M,G,b−a\|\mathbf{x}_0\|, M, G, b-a — not on β\beta. Thus x(t)\mathbf{x}(t) stays in a fixed compact ball as t→β−t \to \beta^-. 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 β=b\beta = b; otherwise the solution could be extended past β\beta, contradicting maximality. Since [a,b]⊂I[a,b]\subset I was an arbitrary compact subinterval containing t0t_0, and I=⋃[a,b]I = \bigcup [a,b] over such subintervals, the solution extends to all of II. Uniqueness on all of II follows because two solutions agreeing at t0t_0 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 II).

Step 3 (solution space is a vector space). Let VV be the set of solutions of x′=A(t)x\mathbf{x}' = A(t)\mathbf{x} on II. If ϕ,ψ∈V\boldsymbol\phi,\boldsymbol\psi \in V and c∈Rc\in\mathbb{R}, then by linearity of differentiation,

(ϕ+ψ)′=ϕ′+ψ′=Aϕ+Aψ=A(ϕ+ψ),(cϕ)′=cϕ′=A(cϕ).(\boldsymbol\phi + \boldsymbol\psi)' = \boldsymbol\phi' + \boldsymbol\psi' = A\boldsymbol\phi + A\boldsymbol\psi = A(\boldsymbol\phi+\boldsymbol\psi), \qquad (c\boldsymbol\phi)' = c\boldsymbol\phi' = A(c\boldsymbol\phi).

So VV is closed under addition and scalar multiplication, and it contains the zero function; VV is a real vector space (a subspace of the space of Rn\mathbb{R}^n-valued functions on II).

Step 4 (dim⁡V=n\dim V = n). Fix t0∈It_0 \in I and define E:V→RnE: V \to \mathbb{R}^n by E(ϕ)=ϕ(t0)E(\boldsymbol\phi) = \boldsymbol\phi(t_0) (evaluation map). EE is linear by definition of the vector space operations on VV. EE is surjective: for any x0∈Rn\mathbf{x}_0 \in \mathbb{R}^n, Step 1–2 (with g≡0\mathbf{g}\equiv 0) produces a solution ϕ∈V\boldsymbol\phi \in V with ϕ(t0)=x0\boldsymbol\phi(t_0) = \mathbf{x}_0. EE is injective: if E(ϕ)=0E(\boldsymbol\phi) = \mathbf{0}, i.e. ϕ(t0)=0\boldsymbol\phi(t_0) = \mathbf{0}, then ϕ\boldsymbol\phi solves the IVP with zero initial data; by the uniqueness part of Step 1–2, the only such solution is ϕ≡0\boldsymbol\phi \equiv 0 (since ϕ≡0\boldsymbol\phi\equiv 0 is manifestly a solution with that initial data). So ker⁡E={0}\ker E = \{0\}. Thus EE is a linear bijection V→RnV \to \mathbb{R}^n, so dim⁡V=dim⁡Rn=n\dim V = \dim \mathbb{R}^n = n.

Step 5 (general solution formula). Let {ϕ1,…,ϕn}\{\boldsymbol\phi_1,\dots,\boldsymbol\phi_n\} be a basis of VV and xp\mathbf{x}_p a fixed particular solution of the inhomogeneous equation. For any solution x\mathbf{x} of x′=Ax+g\mathbf{x}'=A\mathbf{x}+\mathbf{g}, set w=x−xp\mathbf{w} = \mathbf{x}-\mathbf{x}_p. Then

w′=x′−xp′=(Ax+g)−(Axp+g)=A(x−xp)=Aw,\mathbf{w}' = \mathbf{x}' - \mathbf{x}_p' = (A\mathbf{x}+\mathbf{g}) - (A\mathbf{x}_p+\mathbf{g}) = A(\mathbf{x}-\mathbf{x}_p) = A\mathbf{w},

so w∈V\mathbf{w} \in V, and hence w=∑i=1nciϕi\mathbf{w} = \sum_{i=1}^n c_i \boldsymbol\phi_i for unique scalars cic_i (since {ϕi}\{\boldsymbol\phi_i\} is a basis). Therefore x=∑ciϕi+xp\mathbf{x} = \sum c_i\boldsymbol\phi_i + \mathbf{x}_p. 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 cic_i for a given x\mathbf{x} follows because {ϕi}\{\boldsymbol\phi_i\} is linearly independent. ■\blacksquare

∎

Worked examples

Example 1 (Homogeneous, order 3, converted and solved as a system). Convert

y′′′−2y′′−y′+2y=0y''' - 2y'' - y' + 2y = 0

to a first-order system, then find the general solution. Reduction. Let x1=y, x2=y′, x3=y′′x_1 = y,\ x_2 = y',\ x_3 = y''. Then x1′=x2x_1' = x_2, x2′=x3x_2' = x_3, and from the ODE, x3′=−2x1+x2+2x3x_3' = -2x_1 + x_2 + 2x_3. In matrix form,

x′=Ax,A=(010001−212).\mathbf{x}' = A\mathbf{x}, \qquad A = \begin{pmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ -2 & 1 & 2 \end{pmatrix}.

Solving. Because this is the companion matrix of the scalar ODE, its characteristic polynomial equals the ODE's characteristic polynomial (up to sign convention), λ3−2λ2−λ+2=0\lambda^3 - 2\lambda^2 - \lambda + 2 = 0. Factor:

λ3−2λ2−λ+2=λ2(λ−2)−(λ−2)=(λ−2)(λ2−1)=(λ−2)(λ−1)(λ+1).\lambda^3 - 2\lambda^2 - \lambda + 2 = \lambda^2(\lambda - 2) - (\lambda - 2) = (\lambda-2)(\lambda^2-1) = (\lambda-2)(\lambda-1)(\lambda+1).

Roots λ=2,1,−1\lambda = 2, 1, -1, all distinct. The scalar solutions are y=e2t,et,e−ty = e^{2t}, e^{t}, e^{-t}, giving state vectors (y,y′,y′′)(y,y',y'') :

ϕ1(t)=e2t(124),ϕ2(t)=et(111),ϕ3(t)=e−t(1−11).\boldsymbol\phi_1(t) = e^{2t}\begin{pmatrix}1\\2\\4\end{pmatrix}, \quad \boldsymbol\phi_2(t) = e^{t}\begin{pmatrix}1\\1\\1\end{pmatrix}, \quad \boldsymbol\phi_3(t) = e^{-t}\begin{pmatrix}1\\-1\\1\end{pmatrix}.

Check these are eigenvectors: for λ=2\lambda=2: A(1,2,4)T=(2,4,−2+2+8)T=(2,4,8)T=2(1,2,4)TA(1,2,4)^T = (2, 4, -2+2+8)^T=(2,4,8)^T = 2(1,2,4)^T. ✓. For λ=1\lambda=1: A(1,1,1)T=(1,1,−2+1+2)T=(1,1,1)TA(1,1,1)^T = (1,1,-2+1+2)^T = (1,1,1)^T. ✓. For λ=−1\lambda=-1: A(1,−1,1)T=(−1,1,−2−1+2)T=(−1,1,−1)T=−1⋅(1,−1,1)TA(1,-1,1)^T = (-1,1,-2-1+2)^T=(-1,1,-1)^T = -1\cdot(1,-1,1)^T. ✓. Since {ϕ1,ϕ2,ϕ3}\{\boldsymbol\phi_1,\boldsymbol\phi_2,\boldsymbol\phi_3\} 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:

x(t)=c1e2t(124)+c2et(111)+c3e−t(1−11),\mathbf{x}(t) = c_1 e^{2t}\begin{pmatrix}1\\2\\4\end{pmatrix} + c_2 e^{t}\begin{pmatrix}1\\1\\1\end{pmatrix} + c_3 e^{-t}\begin{pmatrix}1\\-1\\1\end{pmatrix},

and reading off the first component, y(t)=c1e2t+c2et+c3e−ty(t) = c_1 e^{2t} + c_2 e^t + c_3 e^{-t} — 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

x1′=4x1+x2+t,x2′=−2x1+x2+1,x1(0)=1, x2(0)=0.x_1' = 4x_1 + x_2 + t, \qquad x_2' = -2x_1 + x_2 + 1, \qquad x_1(0) = 1,\ x_2(0) = 0.

Setup. Here A=(41−21)A = \begin{pmatrix} 4 & 1 \\ -2 & 1\end{pmatrix}, g(t)=(t,1)T\mathbf{g}(t) = (t, 1)^T — continuous everywhere, so by the theorem a unique solution exists on all of R\mathbb{R}. Homogeneous part. Characteristic polynomial: det⁡(A−λI)=(4−λ)(1−λ)−(1)(−2)=λ2−5λ+4+2=λ2−5λ+6=(λ−2)(λ−3)\det(A-\lambda I) = (4-\lambda)(1-\lambda) - (1)(-2) = \lambda^2 - 5\lambda + 4 + 2 = \lambda^2 - 5\lambda + 6 = (\lambda-2)(\lambda-3). For λ=2\lambda=2: (A−2I)v=0⇒(21−2−1)v=0⇒v2=−2v1(A-2I)\mathbf{v}=0 \Rightarrow \begin{pmatrix}2&1\\-2&-1\end{pmatrix}\mathbf{v}=0 \Rightarrow v_2 = -2v_1. Eigenvector (1,−2)T(1,-2)^T. For λ=3\lambda=3: (A−3I)v=0⇒(11−2−2)v=0⇒v2=−v1(A-3I)\mathbf{v}=0 \Rightarrow \begin{pmatrix}1&1\\-2&-2\end{pmatrix}\mathbf{v}=0 \Rightarrow v_2=-v_1. Eigenvector (1,−1)T(1,-1)^T. Homogeneous general solution:

xh(t)=c1e2t(1−2)+c2e3t(1−1).\mathbf{x}_h(t) = c_1 e^{2t}\begin{pmatrix}1\\-2\end{pmatrix} + c_2 e^{3t}\begin{pmatrix}1\\-1\end{pmatrix}.

Particular solution. Try xp=at+b\mathbf{x}_p = \mathbf{a}t + \mathbf{b} with a=(a1,a2)T, b=(b1,b2)T\mathbf{a}=(a_1,a_2)^T,\ \mathbf{b}=(b_1,b_2)^T (undetermined coefficients, since g\mathbf{g} is linear in tt and no resonance with λ=0\lambda=0 occurs as 00 is not an eigenvalue). Then xp′=a\mathbf{x}_p' = \mathbf{a}, and we need

a=A(at+b)+(t1)=(Aa+e1)t+(Ab+e2),\mathbf{a} = A(\mathbf{a}t+\mathbf{b}) + \begin{pmatrix}t\\1\end{pmatrix} = (A\mathbf{a}+\mathbf{e}_1)t + (A\mathbf{b}+\mathbf{e}_2),

where e1=(1,0)T, e2=(0,1)T\mathbf{e}_1=(1,0)^T,\ \mathbf{e}_2=(0,1)^T. Matching coefficients of tt: Aa+e1=0⇒Aa=−e1A\mathbf{a} + \mathbf{e}_1 = 0 \Rightarrow A\mathbf{a} = -\mathbf{e}_1. Matching constants: a=Ab+e2\mathbf{a} = A\mathbf{b}+\mathbf{e}_2. Solve Aa=−e1A\mathbf{a}=-\mathbf{e}_1: 4a1+a2=−14a_1+a_2=-1, −2a1+a2=0⇒a2=2a1-2a_1+a_2=0 \Rightarrow a_2 = 2a_1. Substituting: 4a1+2a1=−1⇒a1=−1/64a_1+2a_1=-1 \Rightarrow a_1 = -1/6, a2=−1/3a_2=-1/3. So a=(−1/6,−1/3)T\mathbf{a} = (-1/6, -1/3)^T. Solve Ab=a−e2=(−1/6,−1/3−1)T=(−1/6,−4/3)TA\mathbf{b} = \mathbf{a}-\mathbf{e}_2 = (-1/6, -1/3-1)^T = (-1/6,-4/3)^T:

4b1+b2=−16,−2b1+b2=−43.4b_1+b_2 = -\tfrac16, \qquad -2b_1+b_2=-\tfrac43.

Subtract: 6b1=−16+43=−1+86=76⇒b1=7366b_1 = -\tfrac16+\tfrac43 = \tfrac{-1+8}{6}=\tfrac{7}{6} \Rightarrow b_1 = \tfrac{7}{36}. Then b2=−43+2b1=−4836+1436=−3436=−1718b_2 = -\tfrac43+2b_1 = -\tfrac{48}{36}+\tfrac{14}{36} = -\tfrac{34}{36}=-\tfrac{17}{18}. So

xp(t)=(−1/6−1/3)t+(7/36−17/18).\mathbf{x}_p(t) = \begin{pmatrix}-1/6\\-1/3\end{pmatrix}t + \begin{pmatrix}7/36\\-17/18\end{pmatrix}.

General solution and initial conditions.

x(t)=c1e2t(1−2)+c2e3t(1−1)+(−t/6+7/36−t/3−17/18).\mathbf{x}(t) = c_1e^{2t}\begin{pmatrix}1\\-2\end{pmatrix} + c_2e^{3t}\begin{pmatrix}1\\-1\end{pmatrix} + \begin{pmatrix}-t/6+7/36\\-t/3-17/18\end{pmatrix}.

At t=0t=0: x1(0)=c1+c2+736=1⇒c1+c2=2936x_1(0) = c_1+c_2+\tfrac{7}{36} = 1 \Rightarrow c_1+c_2 = \tfrac{29}{36}. x2(0)=−2c1−c2−1718=0⇒−2c1−c2=1718=3436x_2(0) = -2c_1-c_2-\tfrac{17}{18} = 0 \Rightarrow -2c_1-c_2 = \tfrac{17}{18}=\tfrac{34}{36}. Add the two equations: −c1=2936+3436=6336=74⇒c1=−74-c_1 = \tfrac{29}{36}+\tfrac{34}{36}=\tfrac{63}{36}=\tfrac{7}{4} \Rightarrow c_1 = -\tfrac{7}{4}. Then c2=2936−c1=2936+6336=9236=239c_2 = \tfrac{29}{36}-c_1 = \tfrac{29}{36}+\tfrac{63}{36} = \tfrac{92}{36}=\tfrac{23}{9}. Verification at t=0t=0: x1(0)=−74+239+736x_1(0) = -\tfrac74+\tfrac{23}{9}+\tfrac{7}{36}. Common denominator 36: −6336+9236+736=3636=1-\tfrac{63}{36}+\tfrac{92}{36}+\tfrac{7}{36} = \tfrac{36}{36}=1. ✓ matches given x1(0)=1x_1(0)=1. x2(0)=−2(−74)−239−1718=72−239−1718x_2(0) = -2(-\tfrac74)-\tfrac{23}{9}-\tfrac{17}{18} = \tfrac{7}{2}-\tfrac{23}{9}-\tfrac{17}{18}. Common denominator 18: 6318−4618−1718=0\tfrac{63}{18}-\tfrac{46}{18}-\tfrac{17}{18}=0. ✓ matches given x2(0)=0x_2(0)=0. Final answer:

x(t)=−74e2t(1−2)+239e3t(1−1)+(−t/6+7/36−t/3−17/18).\mathbf{x}(t) = -\tfrac{7}{4}e^{2t}\begin{pmatrix}1\\-2\end{pmatrix} + \tfrac{23}{9}e^{3t}\begin{pmatrix}1\\-1\end{pmatrix} + \begin{pmatrix}-t/6+7/36\\-t/3-17/18\end{pmatrix}.
CounterexampleDropping continuity of A(t)A(t) breaks existence/uniqueness

The theorem requires A(t)A(t) (and g(t)\mathbf{g}(t)) to be continuous on the interval II. Drop this and uniqueness (even existence on all of II) can fail. Consider the scalar system (n=1n=1, trivially a "system") on I=RI=\mathbb{R}:

x′(t)=2tx(t),x(0)=0.x'(t) = \frac{2}{t}x(t), \qquad x(0)=0.

Here A(t)=2/tA(t) = 2/t is discontinuous (undefined) at t=0∈It=0 \in I, violating the hypothesis. For t≠0t\ne 0, the general solution of x′=2txx'=\tfrac{2}{t}x is x(t)=Ct2x(t) = Ct^2 (check: x′=2Ct=2t(Ct2)x'=2Ct = \tfrac{2}{t}(Ct^2) ✓). Every choice of CC gives x(0)=0x(0)=0, so the initial value problem x(0)=0x(0)=0 has infinitely many solutions on any interval containing 00, e.g. x≡0x\equiv 0 and x=t2x=t^2 both work:

x≡0:x′=0=2t⋅0 ✓,x=t2:x′=2t=2t⋅t2 ✓.x\equiv 0: \quad x'=0=\tfrac{2}{t}\cdot 0 \ \checkmark, \qquad x=t^2: \quad x'=2t = \tfrac{2}{t}\cdot t^2 \ \checkmark.

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 t=0t=0. This shows the continuity hypothesis on A(t)A(t) is not a technicality; it is load-bearing.

Scope, edge cases & common traps

SituationWhat to watch for
Converting y(n)=⋯y^{(n)} = \cdots to a systemThe equation must first be solved for the highest derivative (normal form) before building AA and g\mathbf{g}
Time-varying coefficients pi(t)p_i(t)A(t)A(t) is then genuinely tt-dependent; existence/uniqueness still holds if pi,qp_i, q continuous on II, but eigenvalue methods for constant AA no longer apply directly
Non-normal-form equations, e.g. a(t)y′′+b(t)y′+c(t)y=0a(t)y''+b(t)y'+c(t)y=0Must divide by a(t)a(t); wherever a(t)=0a(t)=0, continuity of the resulting coefficients fails and the interval II must be chosen to avoid such points
Systems not arising from a single higher-order equationThe companion-matrix eigenstructure trick (Example 1) does not apply; must analyze AA directly as in Example 2
Complex or repeated eigenvaluesThe 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
CP
Charles-Émile Picard
1856–1941 · Paris, École Normale Supérieure and Sorbonne

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 x′=f(t,x)\mathbf{x}'=f(t,\mathbf{x}) 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.

History
- 1820s: Cauchy develops early existence proofs for ODEs via majorant/dominant-function methods.
- 1876–1894: Picard formulates the method of successive approximations; Lindelöf refines the Lipschitz hypothesis, yielding the Picard–Lindelöf theorem.
- Late 1800s: Matrix notation (Cayley, Sylvester) matures enough to express linear systems of ODEs compactly.
- Early 1900s: The companion-matrix reduction of nnth-order equations to first-order systems becomes standard in textbooks on differential equations.
- Mid-20th century: State-space formulation (systems as x′=Ax+Bu\mathbf{x}'=A\mathbf{x}+B\mathbf{u}) becomes central to control theory and engineering, directly building on this reduction.
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 x′=Ax+g\mathbf{x}'=A\mathbf{x}+\mathbf{g}, linear algebra tools apply directly — eigenvalues and eigenvectors of AA give closed-form solutions, and the machinery of the matrix exponential eAte^{At} 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 nnth-order linear ODE really give an nn-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 y↦(y,y′,…,y(n−1))y \mapsto (y,y',\dots,y^{(n-1)}) is a bijection between CnC^n functions solving the scalar equation and C1C^1 vector functions solving the companion system with matching initial data. Given a system solution x(t)\mathbf{x}(t), 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 A(t)A(t) has a discontinuity somewhere in the interval of interest?

The existence-uniqueness theorem's proof relies on continuity of A(t)A(t) to get a local Lipschitz bound and, via Grönwall's inequality, a global bound enabling extension across the whole interval. If A(t)A(t) is discontinuous at some point t∗t^*, the theorem simply does not apply there; one typically restricts attention to intervals not containing t∗t^*, 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 t0t_0 on which the coefficients are continuous" as the domain of validity.

Is the general-solution formula x=c1ϕ1+⋯+cnϕn+xp\mathbf{x} = c_1\boldsymbol\phi_1+\cdots+c_n\boldsymbol\phi_n+\mathbf{x}_p 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 {ϕi}\{\boldsymbol\phi_i\} of the homogeneous solution space VV, and the particular solution xp\mathbf{x}_p can itself be constructed by the vector version of Variation of Parameters, replacing the constants cic_i in the homogeneous solution with functions ci(t)c_i(t) and solving for their derivatives using the fundamental matrix Ψ(t)=(ϕ1(t) ∣⋯∣ ϕn(t))\Psi(t) = (\boldsymbol\phi_1(t)\,|\cdots|\,\boldsymbol\phi_n(t)). 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 g(t)=(t,1)T\mathbf{g}(t)=(t,1)^T, so a particular solution was also required. Since g(t)\mathbf{g}(t) was a polynomial in tt and zero was not an eigenvalue of AA (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 x′=A(t)x+g(t)\mathbf{x}'=A(t)\mathbf{x}+\mathbf{g}(t), 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 n×nn\times n 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 eAte^{At} satisfying ddteAt=AeAt\frac{d}{dt}e^{At}=Ae^{At}. Together these tools make solving constant-coefficient linear systems, of any order or dimension, an entirely algebraic (rather than case-by-case calculus) exercise.

Before this

Where this leads