Coupled systems and second order ODEs
Exchange between compartments couples their rates. Matrix methods separate total amount from differences between compartments. Second-order equations introduce another type of coupling, between position and velocity, and reveal oscillatory or damped behavior.
1 Constant-coefficient systems
For with a constant real matrix, , a real eigenpair gives a solution . Differentiation verifies it directly. If has a real eigenbasis, set : then and
For arbitrary square , define the matrix exponential
A submultiplicative matrix norm bounds the series by , giving absolute uniform convergence on bounded time intervals. The derivative series has the same type of bound, so termwise differentiation is justified and . Multiplying the two series, or solving the derivative identity, gives . Thus is the unique solution: for any solution, differentiating gives zero.
This construction does not assume diagonalizability. For with , . The factor cannot be obtained by incorrectly diagonalizing the repeated eigenvalue.
2 Two communicating reservoirs
Two equal-volume, perfectly mixed reservoirs exchange at effective rate and each removes solute at rate . With no external input, concentrations satisfy
Let and . Adding and subtracting gives and . Hence
When , total mass is conserved because equal volumes make it proportional to ; the difference decays to zero, leaving equal concentrations . When , both concentrations eventually vanish, but the imbalance decays faster than the total. For nonnegative initial concentrations and forward time , and the faster decay ensures both remain nonnegative.
With unequal constant positive volumes, unweighted concentration sum is not total mass. The total mass is . With no external source and the same removal rate in both compartments, exchange cancels and ; it is conserved only when . Rate coefficients must be derived from the appropriate mass balance.
3 Second-order equations
A linear second-order homogeneous equation is . Substitute to obtain the characteristic equation . Distinct real roots give ; a repeated real root gives ; roots give . Substitution verifies these solutions, and their independent initial position/velocity values plus uniqueness show they span all solutions.
For the damped oscillator
roots are . The underdamped case oscillates with angular frequency and envelope . Critical damping has a repeated root; overdamping has two distinct negative real roots.
The energy satisfies
This is a direct diagnostic of the sign convention: positive damping must not increase this model energy. The equation is a simplified local model, not a universal description of environmental motion.
Complete real matrix-exponential construction
Fix a real matrix , , and use the Euclidean operator norm; its definition gives . For , on the series terms have norms at most , and their derivatives, for , have norms at most . Each nonnegative majorant converges: beyond a finite index its consecutive-term ratio is at most , so its tail is bounded by a geometric series. The same bounds therefore make both matrix series uniformly Cauchy on the interval. Completeness and continuity follow in finitely many real entries, giving continuous limits and .
For the polynomial partial sums , . Passing to the limit is justified entrywise by uniform convergence, since the integral error is at most times a uniform derivative error. Thus . The fundamental theorem now proves differentiability, not merely convergence of a formal derivative series. Reindexing the convergent derivative series gives . Every partial sum commutes with , so also commutes with .
The product derivative of is ; its value at zero is . Replacing by proves both inverse identities. Hence any solution of has , proving and uniqueness. For fixed , and solve the same equation with the same value at , so . This also justifies the exponential factorization in variation of constants.
For second-order real equations the three displayed solution pairs have Wronskians , , and , with in the nonreal-root case. They are nonzero. Each initial pair therefore fixes one linear combination. The difference between that combination and an arbitrary solution gives a first-order real system with zero initial value, so the proved uniqueness establishes completeness. The repeated-root pair also follows directly by substituting , which reduces the equation to .
In the two-reservoir physical model, positivity is a forward-time conclusion: for , and , so each concentration formula is nonnegative. The linear ODE solution itself exists for negative times too, but positivity need not persist backwards. For , , , , one has for .
4 Graded practice
E1 Foundation. Solve with and describe long-time behavior.
E2 Reservoirs. Set , , , . Find both concentrations and their limit.
E3 Repeated root. Solve with , .
E4 Oscillation. Solve with , .
5 Full solutions
S1. . One component decays while the other grows. A negative eigenvalue in one direction does not make the entire system asymptotically stable.
S2. , . Thus and , both tending to 4. Their sum is constantly 8.
S3. The repeated root is , so . Initial position gives and initial derivative gives , so .
S4. Roots are . Write . Initial position gives and derivative gives , so .
Summary
Eigenmodes separate coupled linear dynamics, while matrix exponentials handle repeated or defective eigenvalues. Conservation laws identify the right aggregate variables. Second-order equations require two initial conditions, and energy differentiation checks whether damping and signs match the intended physical model.
Further study
Worked example 3.1.1
(Two reservoirs of unequal volume)
Let perfectly mixed reservoirs of constant volumes and exchange water at volume rate in each direction, with no removal and no external input, in consistent units. Mass balance in each reservoir gives and , that is,
The matrix has trace and determinant , so its eigenvalues are and , with eigenvectors and . By the eigenpair solutions of Section 1, every solution is . For , the equations and give , , so
Check: and . The total mass is constant, as Section 2 states for unequal volumes without removal, whereas the unweighted sum is not conserved. Both concentrations tend to , and the imbalance decays at rate .
Worked example 3.1.2
(A defective matrix and transient growth)
Let with and . The repeated eigenvalue has only the eigenvectors along , so no eigenbasis exists. Put . Then and
because . The uniqueness proved in the complete matrix-exponential construction gives . For ,
Check: , and . Although both eigenvalues equal , the first component first rises: at , where . The factor coming from is the source of this transient growth; afterwards the exponential factor dominates and .
Worked example 3.1.3
(An overdamped oscillator that crosses equilibrium once)
Solve with and . In the damped-oscillator notation and , so the motion is overdamped. The characteristic equation has roots and , so . The initial conditions give and , hence , :
Check: , , and . The solution vanishes when , at , and then approaches zero from below; a difference of two real exponentials can vanish at most once. The energy identity of Section 3 gives with , so the energy decreases even while the displacement changes sign.
Counterexample mode
The exponential law needs commuting matrices
The identity proved above concerns one matrix at two times. It does not extend to for arbitrary and . Take and . Since , the series stop after two terms:
But , so the even and odd terms of the series give , whose diagonal entries are . The proof of the product law used that every partial sum commutes with ; here . Variation of constants is safe because it only factors exponentials of the same matrix.
Quick check
(For , compute and solve with .)
The series terminates because .
Solution · Answer
, so . Check: .
Quick check
(For with , for which is the motion underdamped, critically damped or overdamped? What is the oscillation frequency when ?)
Compare with .
Solution · Answer
Here . The motion is underdamped for , critically damped for and overdamped for . For the angular frequency is , inside the envelope .
Quick check
(In the two-reservoir model of Section 2, take , , and . Find and show it stays positive for .)
Compute and first.
Solution · Answer
and , with rates and . Hence . For , .
Concept lensAlgebraic
Aggregate variables are left eigenvectors
A linear quantity satisfies . It obeys its own equation exactly when , that is, when is a left eigenvector of . In the unequal-volume example, gives , so total mass is conserved. For the equal-volume matrix of Section 2, gives , which is the equation . Finding the aggregate variable is therefore an eigenvalue problem for , solvable before any solution formula is written.