Differential equations
Change described by equations, solved with linear algebra.
The story
Differential equations describe change. Existence and uniqueness (7.1) come from the fixed point theorem of Unit 4. Linear equations have solution sets that are vector spaces (7.2 and 7.3), so Unit 2 applies directly.
Systems are solved by the matrix exponential, computed with eigenvalues (7.4). Power series solve the equations that have no closed form (7.5), and phase portraits show long-run behaviour without solving anything (7.6).
Chapters
- 7.1Existence and uniqueness for differential equationsA differential equation with a starting value has exactly one solution, for a short time, as long as its right-hand side does not stretch distances too fast. The proof turns the equation into an integral equation and applies the contraction mapping theorem to the space of continuous functions.
- 7.2Linear differential equationsThe solutions of a homogeneous linear equation of order n form a vector space of dimension n, because "solution to starting values" is an isomorphism. Every solution of the inhomogeneous equation is one particular solution plus a homogeneous one. With constant coefficients, the roots of the characteristic polynomial write the whole solution space down.
- 7.3The Wronskian, variation of parameters and undetermined coefficientsThe Wronskian is a determinant of functions and their derivatives. A non-zero value proves independence; for solutions of one linear equation it is either zero everywhere or non-zero everywhere. The same determinant solves the inhomogeneous equation (variation of parameters), and for special right-hand sides a short guess does it faster (undetermined coefficients, annihilators).
- 7.4Systems of equations and the matrix exponentialThe system x' = Ax is solved by x(t) = e^(tA) x(0), where the matrix exponential is the exponential series with a matrix in place of the number. It always converges, and it is computed by diagonalizing, by splitting A into a scalar part and a nilpotent part (Jordan form), or by Putzer's method. The eigenvalues also decide the shape of the solution curves.
- 7.5Power series solutions, Legendre and BesselWhen the coefficients of a linear equation change with x, assume a power series (or a power series times a power of x) and the equation turns into a recurrence for the coefficients. At an ordinary point the series converges as far as the coefficients do. At a regular singular point the indicial equation says which power to start with. Legendre's equation gives orthogonal polynomials, Bessel's gives the function J0, and Airy's equation is the model of a turning point.
- 7.6Phase portraits, stability and linearizationAn autonomous system is studied by drawing its orbits in the plane. An equilibrium is stable if nearby solutions stay near it. For a linear system the trace and the determinant of the matrix decide the picture completely. For a nonlinear system, near a hyperbolic equilibrium the picture is that of the Jacobian matrix there. The pendulum and the predator-prey equations show both the power and the limits of this idea.
- 7.7Applications to springs, circuits, epidemics and qubitsFour real systems run on the machinery of Unit 7. Coupled masses split into independent oscillators along the eigenvectors of a symmetric matrix. An RLC circuit is a damped oscillator, so the same equation, the same roots and the same resonance. The SIR epidemic has a threshold R0 that is the sign of one eigenvalue at the disease-free equilibrium. The state of a two-level quantum system evolves by the matrix exponential of -iH/hbar.
The theorem chain
Every theorem in the unit, in the order it is proved. Each one is used by the ones after it. The label says whether it is on the 375/376 exams (T), an Apostol extra (A), or beyond both (B).
7.1 Existence and uniqueness for differential equations
- Fact · T A higher-order equation is a first-order system Put . Then is the same as for a vector function .
- Theorem · T An IVP is an integral equation A continuous function solves , on an interval exactly when for every in it.
- Theorem · B Derivative test for a Lipschitz condition If is differentiable in the real variable on a region where and the region contains the segment between any two positions at the same time, then satisfies a Lipschitz condition with constant .
- Theorem · T Picard–Lindelöf theorem If is continuous and Lipschitz in on a rectangle around , the IVP has exactly one solution on a short interval around , and Picard iteration converges to it.
- Fact · B The norm of an integral For a continuous curve , .
- Corollary · B Two solutions that meet are equal If is continuous and satisfies a Lipschitz condition on every closed rectangle inside its domain, then two solutions of the same IVP agree on every interval where both are defined.
- Theorem · B Linear systems have solutions on the whole interval If and are continuous on an interval , then , has exactly one solution, and it is defined on all of .
7.2 Linear differential equations
- Fact · T A linear differential operator is a linear map and , so the solutions of form the null space of a linear map.
- Theorem · T Homogeneous and inhomogeneous solution sets The solutions of form a vector space. If and is not the zero function, the solutions do NOT form a vector space: they are , where is any one solution.
- Theorem · T Existence and uniqueness for linear equations of order n For continuous coefficients and right-hand side on , any and any numbers , the equation has exactly one solution on all of with for .
- Theorem · T Dimension of the solution space of a linear ODE The solution space of a homogeneous linear equation of order has dimension exactly .
- Corollary · T General solution of a linear equation If is a basis of and solves , then every solution is .
- Theorem · T Constant-coefficient operators multiply like polynomials If and then . In particular .
- Fact · T Derivative of a complex exponential For a complex number , satisfies .
- Fact · T Shifting an exponential For a polynomial and a number : .
- Theorem · T Basis for repeated roots The functions are a basis of the solutions of .
- Fact · T Kernel of a factor lies in the kernel of the product If are constant-coefficient operators, then for every .
- Theorem · T Basis of solutions from the roots If with distinct roots , the functions (, ) are a basis of the solutions of .
- Theorem · T Real solutions from complex roots If has real coefficients and () is a root of multiplicity , then so is , and the functions and () replace the complex solutions and .
7.3 The Wronskian, variation of parameters and undetermined coefficients
- Theorem · T A non-zero Wronskian proves independence If at even one point of , then are linearly independent on .
- Theorem · T Wronskian of solutions of a linear equation For solutions of the following are equivalent: they are linearly independent; for every ; for some . So is either zero everywhere or non-zero everywhere.
- Theorem · A Abel's formula If solve , their Wronskian satisfies , so .
- Fact · T Wronskian of exponentials For distinct numbers , with non-zero, so the exponentials are independent.
- Theorem · T Wronskian test for power series If and are power series with radius of convergence , then are linearly independent on if and only if is not identically zero.
- Theorem · T Variation of parameters formula If is a basis of with Wronskian matrix , and , then solves .
- Theorem · A Shape of a particular solution If with a polynomial of degree and is a root of of multiplicity ( if is not a root), then has a particular solution with a polynomial of degree at most .
7.4 Systems of equations and the matrix exponential
- Fact · T Eigenvectors give solutions If with , then solves .
- Theorem · T The matrix norm is submultiplicative , hence .
- Theorem · T Absolutely convergent matrix series converge If converges as a series of numbers, then converges in the space of matrices.
- Theorem · T The matrix exponential always converges For every square matrix the series converges, and .
- Theorem · T The derivative of e^(tA) .
- Theorem · T The law of exponents for one matrix , , and is invertible with inverse .
- Theorem · T Solution of the linear system The IVP , has the unique solution , defined for all real .
- Theorem · T e^(A+B) equals e^A e^B when A and B commute If then . Without the equation can fail.
- Corollary · T e^A is always invertible For every square matrix , is invertible and . Moreover (a fact beyond the course).
- Fact · T The exponential of a diagonal matrix .
- Theorem · T Exponential of a diagonalizable matrix If with diagonal, then .
- Theorem · T Exponential of a rotation-scaling block For with : .
- Theorem · A Exponential of a 2 by 2 matrix For a matrix with eigenvalues : if , ; if , ; if , .
- Theorem · T Real and imaginary parts of a complex solution If is real and with , , and with real vectors, then and are two independent real solutions of .
- Theorem · T Exponential of a scalar plus a nilpotent matrix If with , then .
- Theorem · A Putzer's method With eigenvalues listed with multiplicity and , , one has , where , and , .
- Theorem · T Variation of constants for systems The IVP , has the unique solution .
- Theorem · T The Neumann series If for the matrix norm of this chapter, then is invertible and .
- Theorem · B Classification of planar linear systems
7.5 Power series solutions, Legendre and Bessel
- Theorem · T Matching coefficients If a power series equals at every point of an interval around , then every coefficient is .
- Theorem · A Series solutions at an ordinary point If and are analytic on , then has two independent solutions that are power series in converging on the whole interval. The coefficients come from a recurrence, with and free.
- Theorem · A Recurrence for Legendre's equation Series solutions of Legendre's equation satisfy . They converge for , and they stop (are polynomials) when is an integer of the right parity.
- Theorem · A Legendre polynomials solve Legendre's equation has degree and satisfies and .
- Theorem · A Orthogonality of the Legendre polynomials for , and .
- Corollary · A Expansion in Legendre polynomials is orthogonal to every polynomial of degree less than . A polynomial of degree at most equals with .
- Theorem · A The Frobenius recurrence The Frobenius series with solves exactly when and, for every , .
- Theorem · A The Frobenius theorem At a regular singular point with indicial roots , the larger root always gives a Frobenius series solution . If is not a whole number, the smaller root gives a second one. If the roots are equal, or differ by a whole number, a second solution contains .
- Theorem · A J0 solves Bessel's equation of order zero The series converges for every real and solves . The indicial equation is (a double root), so a second solution contains .
7.6 Phase portraits, stability and linearization
- Fact · B Orbits do not cross Two orbits of an autonomous system either coincide or never meet. A solution that comes back to its starting point is periodic, and its orbit is a closed curve.
- Theorem · B Classification of the origin by trace and determinant
- Theorem · B Stability of a linear system For with real : the origin is asymptotically stable if every eigenvalue has negative real part (and then ); unstable if some eigenvalue has positive real part. If all real parts are it is stable exactly when every eigenvalue with real part has only Jordan blocks.
- Theorem · B Hartman–Grobman theorem Near a hyperbolic equilibrium, a nonlinear system has the same phase portrait as its linearization, up to a continuous change of coordinates that preserves the direction of time.
- Theorem · B Linearization and stability If every eigenvalue of has negative real part, then is asymptotically stable for the nonlinear system. If some eigenvalue has positive real part, it is unstable.
- Theorem · B The Lotka–Volterra conservation law For , with positive constants, is constant along solutions in the open first quadrant. Every orbit there is a closed curve around the equilibrium , and the average of and of over a period equal its equilibrium value.
- Theorem · B Lyapunov's direct method If there is a Lyapunov function near , then is stable. If there is a strict one, is asymptotically stable.
7.7 Applications to springs, circuits, epidemics and qubits
- Theorem · B Normal-mode decomposition If is symmetric positive definite with orthonormal eigenvectors and eigenvalues , then every solution of is with and .
- Fact · B A passive circuit loses energy With no source, the stored energy satisfies . With a source, .
- Theorem · T Steady-state response of the driven RLC circuit For , every solution is a decaying transient plus the steady state , where is the impedance.
- Theorem · B The epidemic threshold
- Theorem · B Peak and final size of an epidemic Along every solution of the SIR system, is constant. Hence the infection peaks when at , and the epidemic ends with and where .
- Theorem · B Unitary evolution The solution of is with . For Hermitian the matrix is unitary, so for all : total probability stays .
- Theorem · B The Rabi formula For and : . Starting in level 1, the probability of level 2 is .
Terms this unit defines
Unit review
A mixed set of 12 quick checks drawn at random from the 53 in this unit's chapters. Each one says which chapter it comes from, so a miss tells you what to reread. Press "New set" for another mix.
Where it leads
Units that build on this one: Unit 15, Optimisation, dynamics and computation.