Systems of First-Order Linear Equations/Matrices, Linear Systems, and the Eigenvalue Toolkit

Lesson 6.11,464 words

Matrices, Linear Systems, and the Eigenvalue Toolkit

Any nth-order linear equation, and any coupled collection of them, rewrites as a single first-order system x' = P(t)x + g(t). The matrix and vector algebra behind that form, the eigenvalue problem det(A - λI) = 0 that drives every solution method, and the fundamental theory — superposition, the Wronskian, Abel's theorem — together establish that n independent solutions span all solutions.

╌╌╌╌

A system of differential equations governs several unknown functions of one variable at once, each equation tying together the functions and their derivatives. The current and voltage in a network, the masses in a coupled mechanical system, the competing species in an ecosystem — each is a vector of quantities evolving together, and the mathematics is a system of two or more differential equations.1 Two structural facts make the whole subject tractable. First, every equation can be put in first-order form, so we never need to study anything higher. Second, once written that way, a linear system is x' = P(t)x + g(t) — a single vector equation whose theory mirrors, line for line, the single-equation theory of the second-order case.

Reducing an equation to a first-order system

The reduction rests on one observation: an nth-order equation determines the top derivative from the lower ones, so if we name the lower derivatives as new unknowns, each is the derivative of the one before it.

Take the general second-order linear equation, the spring-mass model . Set and . Then , and comes from solving the original equation:

The one second-order equation has become two first-order equations. The same scheme works at any order. For , introduce

so that , and the original equation supplies the last one, .

An nth-order equation becomes a first-order system by naming each lower derivative as a new unknown; the last equation carries the original dynamics.

The reduction has two payoffs. Almost every numerical integrator is written for first-order systems, so the reduction is a prerequisite for computing. And the vector viewpoint unifies equations of every order under a single theory.

Matrix and vector notation

Collecting into a column vector and the coefficients into a matrix turns the linear system into a single equation. The most general system of first-order linear equations is

which in matrix form is compact:

The terminology follows the single-equation case exactly. The system is homogeneous when and nonhomogeneous otherwise. A matrix or vector function is continuous, differentiable, or integrable when each entry is, and entrywise. The product rule still holds, but order matters, since matrices do not commute:

Two matrix facts underlie what follows, and both hinge on the determinant. A square matrix is nonsingular (invertible) exactly when ; then has the unique solution for every . When the matrix is singular, and the homogeneous problem has nonzero solutions — infinitely many of them. This dichotomy underlies the eigenvalue problem, where an eigenvector is nothing other than a nonzero solution of a homogeneous system of just this kind.

Linear independence

Whether a collection of solutions is enough to build every solution is a question of linear independence, defined first for vectors.

For vectors each with components, assemble them as the columns of a matrix . The relation is then , which has only the trivial solution precisely when . The test is a single determinant:

Eigenvalues and eigenvectors

The equation transforms a vector into a new vector . Most inputs come out pointing in a new direction. A few special inputs keep their direction: for them is a scalar multiple of . These directions are what solve constant-coefficient systems, since integration becomes available precisely when reduces to a scalar multiple of .

Since must have a nonzero solution, the matrix must be singular. That is the whole computation:

Most vectors are rotated by A (left); an eigenvector keeps its direction, and A only rescales it (right) by the eigenvalue.

Multiplicity

A degree- characteristic polynomial has roots counted with repetition, so an matrix has eigenvalues, some possibly equal. When roots coincide, two different counts diverge, and the gap between them determines whether the eigenvalue is defective.

  • Algebraic multiplicity : the number of times appears as a root of .
  • Geometric multiplicity : the number of linearly independent eigenvectors belonging to .
Algebraic multiplicity m counts a root's repetitions; geometric multiplicity q counts its independent eigenvectors, always between 1 and m. When q falls short of m the eigenvalue is defective, missing m minus q eigenvectors.

These always satisfy : an eigenvalue has at least one eigenvector and never more independent ones than its algebraic multiplicity. When the eigenvalue is defective, short of eigenvectors, and the repeated-eigenvalue methods of a later lesson are needed. Two facts keep the common cases simple:

  • Distinct eigenvalues give independent eigenvectors. If are distinct, their eigenvectors are linearly independent. So if all eigenvalues are simple, has a full set of independent eigenvectors.
  • Symmetric matrices never go defective. If is real symmetric (), all eigenvalues are real and a full set of independent (in fact orthogonal) eigenvectors always exists, even with repeated eigenvalues.
CaseAlgebraic Geometric Independent eigenvectors
All eigenvalues distincteach each full set of
Repeated, non-defectivefull set of
Repeated, defectivefewer than
Real symmetric any alwaysfull set of , orthogonal

The fundamental theory of homogeneous systems

Consider the homogeneous linear system:

Its solution theory is a vector translation of the second-order theory, and it rests on the existence-uniqueness guarantee for linear systems: if and are continuous on an open interval , then for any and any prescribed initial vector there is a unique solution, and it exists throughout .5 Unlike the nonlinear case, no solution can blow up inside the interval of continuity.

Everything then follows from one closure property.

Superposition says the solutions form a vector space. The question is its dimension — how many independent solutions must be combined to reach all of them. The determinant test for independence, applied to solution vectors, gets its own name.

A set of solutions that is independent throughout is a fundamental set, and it is a basis: every solution is one of its combinations, uniquely.

The proof invokes the existence-uniqueness theorem: at a point , choosing the to match a prescribed is a linear system whose coefficient determinant is , so the exist and are unique; the resulting combination and the given solution then agree at and so coincide everywhere.

n independent solution vectors are the columns of X(t); their Wronskian det X(t) being nonzero certifies them as a basis for every solution.

One more theorem removes the burden of checking the Wronskian everywhere.

Because the exponential is never zero, the constant alone determines : it vanishes nowhere or everywhere. A fundamental set can therefore be certified by evaluating at a single convenient point. The trace appearing in the exponent is the same quantity that will govern stability once the coefficients are constant.

Summary

Three moves recur throughout the module.

  • Reduce. Any linear equation or coupled set becomes a first-order system by naming derivatives as new unknowns.
  • Diagonalize the dynamics. For constant , the eigenvalue problem finds the special directions in which the system decouples into scalar exponential behavior.
  • Assemble. independent solutions, certified by a nonzero Wronskian (Abel: check one point), form a basis whose combinations are the general solution.

Footnotes

  1. Boyce, Elementary Differential Equations and Boundary Value Problems, §7.1 — Introduction: systems arising from mechanical and electrical networks, and the reduction of an th-order equation to first-order equations. See also Simmons, §54, on the general setting.
  2. Boyce, §7.1, Example 1: the spring-mass equation rewritten as a first-order system.
  3. Boyce, §7.3, Example 4: eigenvalues and eigenvectors of .
  4. Boyce, §7.3, Example 5: eigenvalues and eigenvectors of the real symmetric matrix with characteristic equation , illustrating a non-defective repeated eigenvalue.
  5. Boyce, §7.1, Theorem 7.1.2 (existence and uniqueness for linear systems): continuity of and on guarantees a unique solution through any point, existing on all of ; and §7.4 for the superposition, Wronskian, general-solution, and Abel theorems.

╌╌ END ╌╌