University Mathematics — Year 2 · Bachelor Year 2
16Differential Equations
Year 1 solved the linear equations that admit formulas. This chapter supplies what formulas cannot: the Cauchy–Lipschitz theorem — existence and uniqueness for — proved with the Banach fixed point theorem, exactly as promised in Chapter 4; then the complete theory of linear systems , with the matrix exponential and the wronskian as computational engines.
16.1 The Cauchy–Lipschitz theorem
Theorem 16.1 (Cauchy–Lipschitz, global Lipschitz version)
Let be a segment, continuous and Lipschitz in the second variable, uniformly in the first: for all . Then for every , the Cauchy problem
has exactly one solution of class .
Proof. Reformulation. A continuous solves the problem iff it satisfies the integral equation
(fundamental theorem of calculus both ways; a continuous solution of the integral equation is automatically ).
A contraction, after re-norming. On the Banach space with the weighted norm
(equivalent to the sup norm: the weight is bounded above and below on the segment , so stays complete), estimate for and, say, :
Multiplying by and taking the sup (the case is symmetric): : is a -contraction of the complete . The Banach fixed point theorem (Theorem 4.12) yields a unique fixed point: the unique solution. ∎
Remark 16.2
For merely (locally Lipschitz), the theorem holds locally, with a maximal solution on a maximal open interval; solutions can explode in finite time (, : , gone at ). The global Lipschitz hypothesis is what buys the whole segment. Two consequences worth engraving: solution curves of an ODE with Lipschitz field never cross; and the zero function is the only solution vanishing anywhere of a linear homogeneous equation.
Example 16.3 (Uniqueness is a theorem: a field that leaks)
Consider with . The zero function solves it; so does
which is (both pieces have derivative at the glue point) and satisfies for — indeed, delaying the take-off gives a solution for every release time : infinitely many solutions through the same initial data. No contradiction with Theorem 16.1: near ,
the field is not Lipschitz in , and the theorem is silent. Closing insight: the physical reading is a bucket draining under gravity run backwards — from the empty state, one cannot tell when it started filling; determinism of ODEs is exactly the Lipschitz condition, not a law of nature.
16.2 Linear systems
Theorem 16.4 (Structure of linear systems)
Let and be continuous on an interval . For every the problem
has exactly one solution on all of . The solutions of the homogeneous system () form a vector space of dimension exactly , and evaluation is an isomorphism ; general solution particular homogeneous.
Proof. On every segment containing : is continuous, and Lipschitz in with constant (finite: continuous on a segment): Theorem 16.1 applies on ; letting exhaust , uniqueness glues the solutions into one on . Linearity of the solution set and of the evaluation map are clear; evaluation is bijective by existence (surjective) and uniqueness (injective): . The affine structure is Year 1’s argument verbatim. ∎
Example 16.5 (The evaluation isomorphism, concretely)
For , viewed as the system with : the theorem says the solution space is a plane, and that is an isomorphism onto . The solutions and evaluate to and — the canonical basis of — so they form a basis of the solution space, and every solution is
with the coefficients read directly off the initial data, no linear system to solve. Closing insight: choosing the fundamental system whose initial values are the canonical basis (here ) is exactly choosing the columns of ; the evaluation isomorphism is why initial conditions parametrize trajectories — the geometric content of “deterministic dynamics” for linear equations.
Definition 16.6 (Wronskian)
For solutions of the homogeneous system, the wronskian is . By the isomorphism above, either vanishes identically (the family is linked) or never (a fundamental system); quantitatively, , so
Example 16.7 (Liouville checked on an Euler equation)
On , the equation has the solutions and (substitute). Their wronskian:
never zero: a fundamental system. Now check Liouville: in normalized form , the companion matrix has trace , so
Closing insight: Liouville predicts the shape of the wronskian before any solution is known — here, that must be ; this is what powers the reduction-of-order method (Proposition 16.15), where knowing and the wronskian’s form determines by one quadrature.
Proof of Liouville’s formula. with . Differentiating the determinant as a multilinear function of the columns,
Now the map is -linear and alternating (with two equal columns , the terms vanish outright, and the terms and cancel in pairs after one column swap): by the uniqueness theorem (Theorem 2.14) it is , with read on the canonical columns: . Hence : a scalar linear ODE, solved by the Year 1 formula. ∎
16.3 Constant coefficients: the matrix exponential
Theorem 16.8
For (or ), the exponential (Example 5.22) satisfies: is (indeed ) with
and when . The Cauchy problem , has the unique solution ; with a source, the variation of constants formula holds:
Proof. Differentiability: the series and its term-derived series converge normally on every segment (norms ): differentiate term by term (Theorem 10.11, vector-valued). The two orderings and agree since every partial sum commutes with .
Group law: for commuting , the Cauchy product of the two exponential series reorganizes by the binomial theorem exactly as in Example 7.15 (absolute convergence in the Banach algebra justifies it): ; with this gives the one-parameter group law, and the inverse.
Cauchy problem: solves it (differentiate); uniqueness by Theorem 16.4. Variation of constants: set ; differentiating, ; integrate from to and multiply back by . ∎
Method 16.9 (Computing )
Reduce (Chapter 3): if diagonal, with diagonal of ; in general use Dunford (commuting): with a polynomial in (nilpotence truncates the series). Complex eigenvalues pair into rotation-times-exponential blocks (Exercise 16.5).
Remark 16.10 (Common pitfalls)
(i) without commutation: take , . Then , (nilpotence), so
using ; and . The group law of Theorem 16.8 carries a genuine hypothesis. (ii) Nonlinear intuition on linear turf: solutions of a linear system with continuous coefficients live on the whole interval (Theorem 16.4) — if a candidate solution explodes inside , the equation was not linear or the computation is wrong; conversely, for nonlinear equations never promise globality without an argument (). (iii) Dividing by the unknown: separating variables in silently discards the constant solutions and — exactly the ones that organize the phase line (Exercise 16.3); list constant solutions first. (iv) Initial data fix vectors, not scalars: an -th order scalar equation needs conditions ( at ); matching only leaves an -parameter family, a classic source of “lost” constants.
Example 16.11 (A exponential by Dunford)
Solve for . Dunford by blocks: with and , which commute ( lives inside the eigenvalue- block), and :
The general solution reads off column by column: . Sanity checks: at the matrix is ; its determinant is , as Liouville demands; and the factor appears exactly where the eigenvalue is defective. Closing insight: polynomials times exponentials are not a guess to be memorized — they are the truncated series , and their degree is bounded by the nilpotency index, never more.
Method 16.12 (Solving , start to finish)
- Spectrum of ; then by Method 16.9 (diagonalize; or Dunford as in Example 16.11; or a polynomial trick like ).
- A particular solution: variation of constants always works; for exponential-polynomial , an ansatz of the same shape (degree raised on resonance, Exercise 16.10) is faster.
- General solution particular; fit the initial data last, on the complete formula.
- Sanity checks: correct; the homogeneous part’s growth matches the eigenvalue real parts (Exercise 16.8); and of a fundamental matrix obeys Liouville.
Example 16.13 (A phase portrait)
with : , so the series splits into
trajectories are circles run clockwise — the harmonic oscillator in first-order clothes. Eigenvalues on the imaginary axis: a center. More generally the real parts of the eigenvalues of decide growth or decay of (Exercise 16.8).
Remark 16.14 (Where this is used)
Linear systems are the local model for everything nonlinear: near an equilibrium, a smooth vector field behaves (in the hyperbolic cases) like its linearization, whose portrait the trace–determinant plane classifies. The weekend problem works out the oscillator story in full — damping, forcing, resonance, and Sturm’s comparison theorems for variable coefficients — the mathematics behind shock absorbers, AC circuits, and spectral gaps alike. The Year 3 volume returns with the qualitative theory (flows, stability, first integrals) on manifolds.
16.4 Second order with variable coefficients
Proposition 16.15
The equation ( continuous on ) is the system for : solutions exist and are unique on all of for any initial data ; homogeneous solutions form a plane. If one nonvanishing homogeneous solution is known, a second independent one is found by lowering the order: setting turns the homogeneous equation into a first-order equation for , solved by quadratures.
Proof. The system form and Theorem 16.4 give everything structural. Lowering: substituting ,
a first-order linear equation in , solvable by the Year 1 formula; integrating gives , hence , independent of whenever is nonconstant. ∎
Example 16.16
on : is a solution. Substitute : from and ,
(up to a constant), , and . General solution: .
16.5 Exercises
Exercise 16.1 ★
Solve , , for (diagonalize) and (Dunford).
Solution
Solution of Exercise 16.1.
First matrix: eigenvalues , eigenvectors and . Decompose : the solution is
(The initial vector is itself an eigenvector.)
Second: , , : , so
Exercise 16.2 ★
Which Cauchy problems have unique global solutions on by Theorem 16.1? ; ; . For the last, solve explicitly with and .
Solution
Solution of Exercise 16.2.
: — Lipschitz in uniformly on every segment of times: unique global solutions on (apply the theorem on every segment).
: locally Lipschitz only; no global theorem, and indeed explodes at .
: is -Lipschitz: global existence and uniqueness. With : (uniqueness!). With : stays positive (cannot cross the zero solution), so : .
Exercise 16.3 ★
Prove that two distinct maximal solutions of ( Lipschitz in ) never take the same value at the same time, and deduce that solutions of starting in remain in forever.
Solution
Solution of Exercise 16.3.
If at some time, then and solve the same Cauchy problem at : uniqueness forces on their common interval — distinct solutions never meet.
For : the constants and are solutions. A solution starting in can never reach or (it would collide with a constant solution): it stays in , hence is global (bounded: no explosion — e.g. by Exercise 16.9’s criterion, or because the vector field is bounded on the trapped strip).
Exercise 16.4 ★★
Compute for (Dunford: ), and solve , , by variation of constants.
Solution
Solution of Exercise 16.4.
: Dunford with , :
Variation of constants with :
using . (Check: ; by differentiation.)
Exercise 16.5 ★★
For , prove — spiral trajectories — two ways: via the series (write , ), and via the complex identification .
Solution
Solution of Exercise 16.5.
Series: with , ; the two summands commute, so , and the series of splits along even/odd powers into : the stated rotation-scaling matrix.
Complex: identify with ; the system reads , whose solution is exactly the spiral: modulus , argument advancing at speed .
Exercise 16.6 ★★
(Gronwall’s lemma) Let be continuous nonnegative with on . Prove (differentiate ). Deduce again the uniqueness in Cauchy–Lipschitz and the continuous dependence for two solutions with different initial data.
Solution
Solution of Exercise 16.6.
Let . Then
by the hypothesis. Integrating from to (): , i.e. ; feeding this back into the hypothesis: .
Uniqueness/dependence: two solutions of the integral equation satisfy
and Gronwall with gives the exponential bound; gives uniqueness.
Exercise 16.7 ★★
Knowing that solves on , find a second independent solution by lowering the order, and give the general solution.
Solution
Solution of Exercise 16.7.
Substitute with : the general lowering formula (Proposition 16.15) gives, for ,
(the equation normalized as ). Compute : so
and , giving . General solution on :
(These are the spherical Bessel functions of order zero.)
Exercise 16.8 ★★★
Let with all eigenvalues of (strictly) negative real part. Prove that every solution of tends to as , with an exponential rate: for some . (Trigonalize; treat the triangular system from the last row up, or use Dunford: with and polynomial in .)
Solution
Solution of Exercise 16.8.
Dunford: commuting, diagonalizable with the same eigenvalues, nilpotent, so
Let . In a basis diagonalizing , (entries of modulus ); norms in different bases differ by constants. Hence
absorbing the polynomial into one exponential factor (, hence bounded).
Exercise 16.9 ★★★
(No escape in finite time for linear growth) Suppose is continuous with on , locally Lipschitz in . Using Gronwall (Exercise 16.6) on the integral form, prove that maximal solutions are global (defined on all of ).
Solution
Solution of Exercise 16.9.
Let be a maximal solution on , , and suppose . The integral form gives, for ,
and Gronwall bounds on : the solution stays in a compact ball. Then is bounded near , so is Lipschitz near and extends continuously to (Cauchy criterion); solving the Cauchy problem at prolongs beyond , contradicting maximality. Hence : no finite-time escape under linear growth.
Exercise 16.10 ★
Solve : homogeneous solutions, then a particular solution of the form (why does the naive guess fail?); general solution and the solution with .
Solution
Solution of Exercise 16.10.
Characteristic roots of : and , so the homogeneous solutions are . The guess fails because already solves the homogeneous equation (the root “resonates” with the right-hand side). With : , , and
, . General solution: . Initial data : and : , :
Exercise 16.11 ★★
Compute for the Jordan block
and describe all solutions of : exponentials times polynomial vectors, with degrees up to . Where does the polynomial degree come from?
Solution
Solution of Exercise 16.11.
with : , , and commutes with :
Solutions: — each component is times a polynomial of degree . The degree bound is the nilpotency index minus one: the series of truncates at .
Exercise 16.12 ★★★
(Periodic forcing, periodic response) Let and continuous and -periodic.
- Show that a solution of is -periodic if and only if (compare and ).
- Show that eigenvalues of are the , (trigonalize over ). Deduce: if no eigenvalue of lies in , then is invertible.
Under that hypothesis, prove that the system has exactly one -periodic solution, with
What does the excluded case correspond to, for the harmonic oscillator? (The weekend problem answers: resonance.)
Solution
Solution of Exercise 16.12.
- If , then solves with : uniqueness (Theorem 16.4) gives , i.e. is -periodic. The converse is trivial.
- Trigonalize over : with upper triangular, diagonal . Every power of a triangular matrix is triangular with diagonal , so is triangular in the same basis with diagonal : those are the eigenvalues. Then is invertible iff for every eigenvalue, i.e. iff , which is the stated hypothesis.
Variation of constants: , so reads
which has a unique solution under the invertibility hypothesis: exactly one -periodic solution. For the harmonic oscillator (), the excluded case is : forcing whose period is a multiple of the natural period — resonance, as the weekend problem quantifies.
16.6 Problem: Oscillations, resonance, and Sturm’s comparison theorems
Problem 16.1
One equation rules the mechanical and electrical world:
This problem studies it completely — via the trace–determinant classification of planar linear systems, the three damping regimes, the steady-state response to periodic forcing with its resonance peak and the resonance catastrophe — then leaves constant coefficients for Sturm’s separation and comparison theorems, which control the zeros of solutions of with no formula at all.
Part I — The trace–determinant plane. Let , , , .
- Show that the eigenvalues of are and classify: two real eigenvalues of opposite signs iff ; real eigenvalues of the same sign iff , (sign of ); nonreal conjugate pair iff (real part ).
- (Saddle, ) With eigenvalues and eigenvectors , write the general solution and describe the trajectories: two stable and two unstable rays, all other orbits asymptotic to both. Why can no solution but stay bounded on all of ?
- (Nodes, , ) For : show every nonzero solution tends to and that all orbits except those on the fast axis arrive tangent to the slow eigendirection (compare and ).
- (Spirals and centers, ) Writing the eigenvalues , use Exercise 16.5 (after a real change of basis, admitted in that generality or proved for the systems of Part II, which are the ones used below) to describe the orbits: spirals converging for , diverging for , closed curves (center) for .
- (Boundary cases) For a double eigenvalue (): show with nilpotent, and distinguish the star () from the improper node (). Summarize Part I in the trace–determinant picture of this chapter’s figure.
Part II — The damped oscillator. Now : , i.e. with .
- Compute and place the three regimes in the trace–determinant plane: underdamped (stable spiral), critically damped (double eigenvalue), overdamped (stable node); is the center.
Solve the three regimes explicitly:
: two real exponentials. Define the pseudo-period and show that the ratio of successive maxima of is the constant (the logarithmic decrement).
- (The door-closer principle) For the decay rate is governed by the slowest eigenvalue . Show that is a decreasing function of : critical damping gives the fastest non-oscillating return to rest.
- (Energy) Let . Prove , and deduce that for the equation has no nonzero periodic solution (a period would force constant, hence ).
- Explain in two sentences why the center is structurally fragile: any , however small, destroys periodicity — and where that shows in the trace–determinant plane (the center line has empty interior).
Part III — Forced oscillations and resonance. Now with .
(: the steady state) Seek : show
and write with .
- Show that every solution is plus a transient from Part II, which tends to : whatever the initial data, the system locks onto the steady state — amplitude , phase lag .
(The resonance curve) Maximize : show that has an interior maximum iff , at
and that for small the peak amplifies the static response by the factor .
(, off resonance) For , show that the solution with is
bounded, with beats — a fast oscillation under a slow envelope — when is close to .
- (, resonance) For , show that is a solution, and recover it as the limit of question 14 as : the amplitude grows linearly forever — the resonance catastrophe.
- (Fourier link) A general periodic forcing decomposes into harmonics (the Fourier chapter); by linearity the steady state is the sum of the harmonic responses. For an undamped oscillator of frequency forced by the square wave of Exercise 14.1-type (harmonics at all odd integers), which harmonic resonates? One sentence on why engineers fear square waves.
Part IV — Sturm’s theorems. Consider on an interval , continuous. (Any equation reduces to this normal form by the substitution ; question 21 shows a variant of the trick in action.)
- For two solutions , show that the wronskian is constant, zero iff the solutions are proportional; and that a nonzero solution has only simple, isolated zeros.
- (Sturm separation) Let be independent solutions and two consecutive zeros of . Prove that vanishes exactly once in (evaluate the constant at and : there, and , have opposite signs): zeros of independent solutions interlace.
- (Sturm comparison) Let on , with , with , and consecutive zeros of . Show that vanishes in — strictly inside if somewhere on (if on , study with fixed signs for and compare the boundary values).
Deduce the spacing bounds: if on , then any two consecutive zeros of a nonzero solution of satisfy
(compare with and , whose zeros are spaced and ). Check on the harmonic oscillator.
- Transform (Exercise 16.7) by into , recover its solutions , instantly, and conclude that the zeros of every nonzero solution are spaced exactly : Sturm’s world view — zeros are controlled by the coefficient , formulas or not.
Part V — Duhamel and the boundedness frontier.
(Duhamel for the oscillator) Show that for continuous , the solution of with is
and re-derive the resonant solution of question 15 from it with (product-to-sum).
- (: bounded input, bounded output) Show that for and any bounded continuous , every solution of the damped equation is bounded on (variation of constants plus the exponential decay of Exercise 16.8).
- () Show that with no damping, bounded periodic forcing keeps all solutions bounded except exactly at resonance (, question 15 versus question 14): damping is what turns the boundedness frontier into uniform stability.
- Synthesis. In one sentence each: (i) how the trace–determinant plane organizes Parts I–II and where forcing (Part III) leaves it; (ii) the physical meaning of , and the factor ; (iii) what Sturm’s theorems say that explicit formulas cannot; (iv) which two results of this problem the rest of the book will quietly reuse (Liouville-constant wronskians; bounded-input stability).
Solution
Solution of Problem 16.1.
1. The characteristic polynomial is , with roots . If then and the two real roots have product : opposite signs. If and : real roots of product and sum : both of the sign of . If : conjugate pair with , .
2. . Orbits with (resp. ) run along the unstable (resp. stable) eigenline; all others have in both time directions, asymptotic to as and to as : the saddle picture. Boundedness on all of forces (else explosion at ) and (at ): only the origin.
3. With , both exponentials decay: . If , factor :
the direction of tends to , the slow eigendirection — all orbits but the fast axis arrive tangent to it (the right panel of the chapter’s phase portraits).
4. In the basis where (Exercise 16.5; for the oscillator systems of Part II this form is reached by an explicit real change of basis), the solution is times a rotation of angle : logarithmic spirals, contracting when , expanding when , and closed curves (ellipses in the original coordinates) when : the center.
5. gives the double eigenvalue ; by Cayley–Hamilton (Theorem 3.21), , so is nilpotent, commutes with , and . If : , all rays are orbits (star node). If : , and for the direction converges to the single eigendirection : improper node. This completes the trace–determinant picture.
6. , , . So: gives , : stable spiral; : : degenerate stable node; : , , : stable node; : , : center. A vertical journey in the plane at .
7. Roots . For : , :
For : . For : , both rates negative. Successive maxima of in the underdamped case occur at times separated by the pseudo-period (same phase of the cosine), and their ratio is : the logarithmic decrement, a damping meter readable on an oscilloscope.
8. Rationalizing,
whose denominator increases with : the decay rate is largest at , where it equals . An overdamped door closes without slamming but slowly; critical damping is the engineer’s optimum.
9. . If were periodic and nonconstant, would be periodic and nonincreasing, hence constant, forcing : constant, and then : . So for the only periodic solution is rest: damping kills every cycle.
10. The center lives on the line of the trace–determinant plane — a set with empty interior: an arbitrarily small perturbation of the matrix (any physical damping) moves off zero and turns the closed orbits into spirals. Periodicity of the undamped oscillator is thus a razor’s-edge phenomenon, not a robust one.
11. Substituting into the equation:
so with , i.e. , and the stated .
12. The difference of two solutions solves the homogeneous equation, which for decays to (question 7): every solution equals plus a transient vanishing at infinity. The steady state is a global attractor: initial conditions are forgotten, only and the phase lag remain.
13. Minimize over : at , interior iff . There
Against the static response : amplification for small — a lightly damped system near multiplies the input a hundredfold when .
14. The stated satisfies and
(the parts cancel). The product form follows from with , . For close to , the factor is a slow envelope modulating the fast oscillation : beats, with amplitude — large, but bounded.
15. For :
a solution. And at fixed , letting in question 14:
The amplitude grows linearly without bound: the resonance catastrophe — the reason soldiers break step on bridges.
16. The square wave carries harmonics at every odd frequency ; by linearity, each harmonic is amplified by the oscillator’s response at . For the third harmonic hits resonance exactly. Engineers fear square (and sawtooth) inputs because they excite all odd harmonics at once: whatever the natural frequency of the structure, some harmonic is waiting for it.
17. : is constant (Liouville with a trace-zero companion matrix). at one point makes the initial data of proportional to those of , hence proportional to (uniqueness); iff independent. If then (uniqueness): a nonzero solution has simple zeros, and a simple zero is isolated ( of fixed sign nearby).
18. Between consecutive zeros , keeps one sign, say on : then and (simple zeros). Evaluating the constant at and :
so and have opposite signs ( forbids either to vanish): vanishes in (intermediate values). It cannot vanish twice there: two zeros of would flank a zero of by the same argument with the roles exchanged, contradicting consecutiveness: exactly one zero — interlacing.
19. Suppose has no zero in ; replacing by their negatives, assume and on . Set : on : is nonincreasing. But (as , ) and (as , ): a nonincreasing function running from to vanishes identically, so on . If somewhere in , this is absurd ( there): must vanish strictly inside. In general (), either vanishes in , or forces proportional to , which vanishes at and : in all cases has a zero in .
20. Upper bound: compare (coefficient ) with (coefficient , so plays the role of in question 19): if had no zero in , the zeros and of would be consecutive with between them, contradicting question 19: consecutive zeros of are at distance . Lower bound: if two consecutive zeros of had , then (coefficient ) would have to vanish in , where its only zero is itself — but question 19 applied on with strictness at the endpoints gives a zero in , and on : contradiction. Hence ; for both bounds collapse to the exact spacing of the harmonic oscillator.
21. With : , so : , and recovers and (Exercise 16.7) with no lowering of order. The zeros of any nonzero solution are those of : spaced exactly — Sturm’s philosophy in action: the coefficient dictates the zeros, formula or no formula.
22. Set . Then ;
so ; and (differentiation of a parameter integral with variable limit, as in the integration chapter). With , product-to-sum gives
(the second piece integrates to zero), so : question 15 again, from Duhamel.
23. In system form with of negative real parts (): variation of constants and Exercise 16.8 () give
bounded input, bounded output — uniformly in the initial data after the transient.
24. For and , question 14’s solution is bounded, and adding any homogeneous solution (bounded: the center’s orbits are circles) keeps it bounded; at , question 15 grows linearly. So for the undamped oscillator, boundedness under periodic forcing fails at exactly one frequency — resonance — while question 23 shows any positive damping restores boundedness for all bounded inputs.
25. (i) The trace–determinant plane classifies all autonomous planar linear dynamics, and Part II’s oscillator walks a vertical line of it; forcing leaves the plane (non-autonomous), and Duhamel takes over. (ii) is the frequency the system prefers, the price of exciting it, and the amplification factor — the resonance sharpness engineers call the quality factor. (iii) Sturm’s theorems read oscillation off the sign and size of alone: they govern equations (Bessel, Schrödinger) whose solutions have no elementary formulas. (iv) Constant wronskians (question 17, via Liouville) and bounded-input stability (question 23) are reused silently whenever the book meets variable-coefficient equations or perturbed systems.