Mathematical Methods Handbook

First-order equations and existence theory

Elementary methods and the existence, uniqueness and stability of solutions.

In this chapter 3

Tick a unit to add it to your PDF basket.

  1. Methods and existence

Methods and existence

3

Method

Solving first-order equations

Adapted

Gives the six standard closed-form methods for a first-order first-degree equation — separation, exactness, integrating factors, the linear formula, the substitutions for homogeneous and for Bernoulli equations — each with the hypotheses it needs, the reason it works, and worked examples with checkable numbers.

Prerequisites: Partial derivatives and the chain rule, Differentiation under the integral sign, Implicit and inverse function theorems, Line integrals and conservative fields

Note(What the six methods have in common)Original

There is no procedure that solves every first-order equation in closed form. What there is instead is a short list of shapes that can be recognised by inspection, each of which collapses to an integration. Two ideas do all the work.

  • Separate. If the xx-dependence and the yy-dependence can be pushed to opposite sides of the equation, each side is integrated on its own and the solution is the resulting relation between xx and yy.
  • Make exact. If the left-hand side of A dx+B dy=0A\,dx + B\,dy = 0 is the total differential dUdU of a single function UU, the equation says dU=0dU = 0, so the solution curves are the level curves U=constU = \text{const}. When it is not such a differential, multiplying by an integrating factor can make it one.

The other four types are reductions to these two: a linear equation is made exact by an integrating factor that can always be written down, and the homogeneous and Bernoulli substitutions turn their equations into a separable and a linear one respectively. All of them but one involve a division — by a factor σ(y)\sigma(y), by BB or AA, by F(v)−vF(v) - v, by yny^n — and each division can discard solutions or shrink the region where the work is valid. The exception is the exact-equation method as given below, which divides by nothing and loses nothing; that is part of why it is the shape the others are reduced to. For the rest, keeping track of what was divided by is part of the method, not an afterthought.

Definition(First-order first-degree equations and their solutions)AdaptedAdapted from Riley, Hobson & Bence (2006), §14.2, p. 470; Arfken, Weber & Harris (2013), §7.2, Eq. (7.2), p. 331; Coddington (1989), §5.4, p. 200

A first-order equation contains no derivative of yy beyond dy/dxdy/dx, and it is of first degree when dy/dxdy/dx appears to the first power only. Such an equation can be written in either of two interchangeable ways,

dydx=F(x,y),A(x,y) dx+B(x,y) dy=0,\frac{dy}{dx} = F(x,y) , \qquad\qquad A(x,y)\,dx + B(x,y)\,dy = 0 ,

related by F=−A/BF = -A/B wherever B≠0B \neq 0. The first form is the one to use when yy is to be found as a function of xx; the second treats the two variables alike, which is what the exactness methods below need. Riley, Hobson and Bence call these the two standard forms and choose between them according to the type of equation at hand.

A solution on an interval II is a differentiable function φ:I→R\varphi : I \to \mathbb{R} whose graph lies in the region where the data are defined and which satisfies φ′(x)=F(x,φ(x))\varphi'(x) = F(x, \varphi(x)) at every x∈Ix \in I. A solution of the initial-value problem y′=F(x,y)y' = F(x,y), y(x0)=y0y(x_0) = y_0 is a solution on an interval containing x0x_0 with φ(x0)=y0\varphi(x_0) = y_0.

The general solution carries one arbitrary constant. (Riley, Hobson and Bence take the general solution of an nnth-order equation to contain nn arbitrary parameters, or constants; they say explicitly that they assume this rather than prove it, a fully general proof being difficult, p. 470.) Fixing the constant from an initial condition gives a particular solution.

Most of the methods below deliver the answer not as y=φ(x)y = \varphi(x) but as an implicit solution: a relation

U(x,y)=kU(x,y) = k

together with the statement that every differentiable function defined implicitly by that relation is a solution. Where ∂U/∂y≠0\partial U/\partial y \neq 0 the implicit function theorem converts the relation into a function y=φ(x)y = \varphi(x) locally; where ∂U/∂y=0\partial U/\partial y = 0 the solution curve has a vertical tangent and yy cannot be solved for, although xx may be solvable as a function of yy. This is why the differential form, which is symmetric in the two variables, is often the honest place to stop.

Method(Separable equations)AdaptedAdapted from Coddington (1989), §5.2, Theorem 1, p. 188; Riley, Hobson & Bence (2006), §14.2.1, Eq. (14.3), p. 471

An equation has separated variables when it can be written

h(y) dydx=g(x),h(y)\,\frac{dy}{dx} = g(x) ,

Coddington defines the class by the quotient instead, calling y′=f(x,y)y' = f(x,y) separated when ff can be written as g(x)/h(y)g(x)/h(y) (p. 186), and then multiplies up to the displayed form. The two forms pick out the same equations but not the same solutions: where hh vanishes or is undefined the displayed form can hold and the quotient form cannot, which is the content of the proviso at the end of this block. Riley, Hobson and Bence write the same class as a product, dy/dx=f(x) σ(y)dy/dx = f(x)\,\sigma(y), which is the case h=1/σh = 1/\sigma.

Theorem (Coddington, Theorem 1). Assume gg is continuous and real-valued on a<x<ba < x < b and hh is continuous and real-valued on c≤y≤dc \le y \le d. Pick antiderivatives: any GG with G′=gG' = g and any HH with H′=hH' = h. The solutions are then exactly the functions cut out by the relation

H(y)=G(x)+k,k constant,H(y) = G(x) + k , \qquad k \ \text{constant},

in the following two senses, for an interval II contained in a≤x≤ba \le x \le b (Coddington's wording: he assumes gg continuous on the open interval but allows II inside the closed one).

  1. Suppose that, for one such kk, the relation determines implicitly a differentiable real-valued φ\varphi throughout II. Then h(y)y′=g(x)h(y)y' = g(x) holds along φ\varphi on II.
  2. Suppose instead that φ\varphi is given as a solution of h(y)y′=g(x)h(y)y' = g(x) on II. Then some constant kk makes the relation hold along φ\varphi throughout II.

For the quotient form of the equation Coddington adds a proviso, since dividing by hh is dividing: such a φ\varphi solves y′=g(x)/h(y)y' = g(x)/h(y) on II as long as h(φ(x))h(\varphi(x)) is non-zero at each point of II.

Idea of the proof(Separable equations)Original

Both directions are the chain rule, read forwards and backwards. The function x↦H(φ(x))−G(x)x \mapsto H(\varphi(x)) - G(x) has derivative h(φ(x))φ′(x)−g(x)h(\varphi(x))\varphi'(x) - g(x), which is exactly the left side minus the right side of the equation. So "φ\varphi solves the equation" and "H(φ)−GH(\varphi) - G is constant" are two ways of saying that one function has zero derivative. Writing h(y) dy=g(x) dxh(y)\,dy = g(x)\,dx and integrating each side separately is a shorthand for the substitution u=φ(t)u = \varphi(t) in the integral of the left-hand side.

Proof(Separable equations)AdaptedAdapted from Coddington (1989), §5.2, pp. 187-188
  1. The relation gives a solution. Suppose H(y)=G(x)+kH(y) = G(x) + k defines a differentiable φ\varphi on II, so that H(φ(x))=G(x)+kH(\varphi(x)) = G(x) + k for all x∈Ix \in I. Differentiate in xx: the left side is differentiable because HH is (its derivative hh is continuous) and φ\varphi is, and the chain rule gives

    H′(φ(x)) φ′(x)=G′(x),that ish(φ(x)) φ′(x)=g(x),H'(\varphi(x))\,\varphi'(x) = G'(x), \qquad\text{that is}\qquad h(\varphi(x))\,\varphi'(x) = g(x) ,

    which is the equation h(y)y′=g(x)h(y)y' = g(x) satisfied by φ\varphi on II. If moreover h(φ(x))≠0h(\varphi(x)) \neq 0 throughout II, dividing gives φ′=g/h(φ)\varphi' = g/h(\varphi), the equation in the form y′=g(x)/h(y)y' = g(x)/h(y). This is where Coddington's proviso is used, and it is the only place it is needed.

  2. A solution satisfies the relation. Conversely let φ\varphi solve h(φ)φ′=gh(\varphi)\varphi' = g on II and fix x0∈Ix_0 \in I. By step 1 read backwards, h(φ(t))φ′(t)h(\varphi(t))\varphi'(t) is the derivative of t↦H(φ(t))t \mapsto H(\varphi(t)), so the equation says that H∘φH \circ \varphi and GG have the same derivative on II. Integrating from x0x_0 to xx and using the fundamental theorem of calculus — legitimate because both derivatives are continuous on II —

    H(φ(x))−H(φ(x0))=G(x)−G(x0).H(\varphi(x)) - H(\varphi(x_0)) = G(x) - G(x_0) .

    Setting k=H(φ(x0))−G(x0)k = H(\varphi(x_0)) - G(x_0) gives H(φ(x))=G(x)+kH(\varphi(x)) = G(x) + k on II.

  3. Why "separating" is the same computation. In step 2 the integral ∫x0xh(φ(t))φ′(t) dt\int_{x_0}^{x} h(\varphi(t))\varphi'(t)\,dt was evaluated by recognising the integrand as a derivative; the substitution u=φ(t)u = \varphi(t), du=φ′(t) dtdu = \varphi'(t)\,dt turns it into ∫φ(x0)φ(x)h(u) du\int_{\varphi(x_0)}^{\varphi(x)} h(u)\,du. That substitution is precisely what the formal manipulation h(y) dy=g(x) dxh(y)\,dy = g(x)\,dx records. □\square

Method(Separating the variables)AdaptedAdapted from Riley, Hobson & Bence (2006), §14.2.1, p. 471
  1. Try to factor the right-hand side as f(x) σ(y)f(x)\,\sigma(y). Equations that do not look separable often become so after one factorisation.
  2. Record the zeros of σ\sigma. Each root y∗y_\ast of σ(y∗)=0\sigma(y_\ast) = 0 gives a constant solution y≡y∗y \equiv y_\ast. These are exactly the solutions that the next step may destroy.
  3. Divide by σ(y)\sigma(y), multiply by dxdx, and integrate each side with respect to its own variable, remembering a single constant of integration.
  4. Solve the resulting relation for yy if it can be solved; otherwise leave it implicit. Impose the initial condition to fix the constant, and check by substitution.
  5. State the interval on which the answer is valid: it ends where the denominator σ(y(x))\sigma(y(x)) reaches zero, where an integral diverges, or where yy itself ceases to exist.
Remark(Solutions lost by dividing)AdaptedAdapted from Coddington (1989), §5.2, pp. 189-190

Separation can miss solutions, and Coddington makes the point with two examples.

  • For y′=y2y' = y^2, separating gives y=−1/(x+k)y = -1/(x + k). The identically zero function also solves the equation and is not of that form for any kk.
  • For y′=3y2/3y' = 3y^{2/3}, separating gives y=(x+k)3y = (x+k)^3, and again y≡0y \equiv 0 is a solution outside the family. This equation has worse behaviour still, and Existence and uniqueness of solutions returns to it.

The remedy is the bookkeeping in step 2 of the method: list the roots of σ\sigma before dividing. In Example 1 below, the two constant solutions found that way turn out to be the asymptotes that every other solution approaches, so the lost solutions are not a technicality but the main features of the phase picture.

Method(Exact equations and the criterion for exactness)AdaptedAdapted from Coddington (1989), §5.3, Theorems 2 and 3, pp. 193, 195; Riley, Hobson & Bence (2006), §5.3, Eq. (5.9), p. 156, and §14.2.2, Eqs. (14.4)-(14.7), p. 472; Arfken, Weber & Harris (2013), §7.2, Eqs. (7.6)-(7.9), p. 333

The equation A(x,y)+B(x,y)y′=0A(x,y) + B(x,y)y' = 0, written in differential form as A dx+B dy=0A\,dx + B\,dy = 0, is exact in a region RR if there is a function UU with continuous first partial derivatives in RR such that

∂U∂x=A,∂U∂y=Bthroughout R.\frac{\partial U}{\partial x} = A , \qquad \frac{\partial U}{\partial y} = B \qquad\text{throughout } R .

Equivalently, A dx+B dyA\,dx + B\,dy is the total differential dUdU of a single function — an exact differential in the sense of Riley, Hobson and Bence, §5.3. (Coddington writes MM and NN where we write AA and BB, and FF where we write UU; the two theorems below are his, in our letters.)

Theorem (solutions of an exact equation; Coddington, Theorem 2). Let A+By′=0A + By' = 0 be exact in a rectangle RR, and let UU be real-valued with Ux=AU_x = A and Uy=BU_y = B throughout RR. Then every differentiable function defined implicitly by a relation

U(x,y)=k(k constant)U(x,y) = k \qquad (k \text{ constant})

is a solution; and conversely, no solution with graph in RR is of any other kind. In short, the solutions in RR are exactly the differentiable functions that the level relations of UU define implicitly.

Theorem (criterion; Coddington, Theorem 3). Let AA and BB be real-valued functions with continuous first partial derivatives on a rectangle

R: ∣x−x0∣≤a,∣y−y0∣≤b(a,b>0).R : \ \lvert x - x_0\rvert \le a , \quad \lvert y - y_0 \rvert \le b \qquad (a, b > 0) .

Then A+By′=0A + By' = 0 is exact in RR if and only if

∂A∂y=∂B∂xin R.\frac{\partial A}{\partial y} = \frac{\partial B}{\partial x} \qquad \text{in } R .
Remark(Which form of the criterion we follow)AdaptedAdapted from Coddington (1989), §5.3, Theorem 3, p. 195; Riley, Hobson & Bence (2006), §5.3, p. 156; Arfken, Weber & Harris (2013), §7.2, p. 333

The three sources state the criterion with different amounts of hypothesis, and this unit follows Coddington's version, where both the differentiability assumptions and the shape of the region are named.

  • Coddington asks for continuous first partial derivatives of AA and BB on a rectangle and gets an "if and only if".
  • Riley, Hobson and Bence derive ∂A/∂y=∂B/∂x\partial A/\partial y = \partial B/\partial x from the equality of mixed partials and then record that the criterion is sufficient as well as necessary (p. 156), without naming a region on which that holds.
  • Arfken, Weber and Harris are more cautious in the other direction: they draw only the one-way conclusion, that exactness forces the criterion (p. 333), and obtain the potential afterwards by integration.

The region matters. On a region that is not simply connected the criterion can hold without a single-valued UU existing: on R2\mathbb{R}^2 minus the origin,

A=−yx2+y2,B=xx2+y2A = \frac{-y}{x^2+y^2} , \qquad B = \frac{x}{x^2+y^2}

satisfy Ay=Bx=(y2−x2)/(x2+y2)2A_y = B_x = (y^2 - x^2)/(x^2+y^2)^2, yet A dx+B dy=dθA\,dx + B\,dy = d\theta and the polar angle θ\theta gains 2π2\pi around a loop enclosing the origin, so no continuous UU exists on the whole punctured plane. This is the same phenomenon as a curl-free field that is not a gradient field (Line integrals and conservative fields); a rectangle is convex, so every loop inside it bounds a region also inside it, and the obstruction cannot arise there. Taking the criterion as sufficient without a hypothesis on the region, as the shortest statements of it do, is therefore a genuine restriction on where it may be applied.

Idea of the proof(The criterion for exactness)Original

One direction is just that mixed partial derivatives commute: if AA and BB are a gradient's two components then AyA_y and BxB_x are both the mixed second derivative of UU.

The other direction has to produce UU out of nothing. Integrate AA in xx along the horizontal segment that runs from the rectangle's vertical centre line x=x0x = x_0 out to (x,y)(x,y); that forces Ux=AU_x = A but leaves an unknown function of yy, which is fixed by integrating BB along the centre line itself, from the centre (x0,y0)(x_0,y_0) up to (x0,y)(x_0,y). The resulting UU then has Uy=BU_y = B for one reason only: differentiating the horizontal integral under the integral sign produces ∫Ay\int A_y, the hypothesis replaces AyA_y by BxB_x, and the fundamental theorem of calculus turns ∫Bx\int B_x back into BB. The rectangle is what guarantees that the two segments used lie inside the region.

Proof(The criterion for exactness, and Theorem 2)AdaptedAdapted from Coddington (1989), §5.3, pp. 193-196, Eq. (3.8)

Necessity. Suppose the equation is exact in RR, with Ux=AU_x = A and Uy=BU_y = B. By the hypothesis of Theorem 3 the two first partials of UU are then C1C^1 on RR, so UU is C2C^2 there, and the equality of mixed partials for a C2C^2 function (Partial derivatives and the chain rule) gives Ay=Uxy=Uyx=BxA_y = U_{xy} = U_{yx} = B_x in RR.

Sufficiency. Assume Ay=BxA_y = B_x in RR and define, for (x,y)∈R(x,y) \in R,

U(x,y)=∫x0xA(s,y) ds+∫y0yB(x0,t) dt.U(x,y) = \int_{x_0}^{x} A(s,y)\,ds + \int_{y_0}^{y} B(x_0,t)\,dt .

Both integrals are defined: RR is a rectangle centred at (x0,y0)(x_0,y_0), so the horizontal segment from (x0,y)(x_0,y) to (x,y)(x,y) and the vertical segment from (x0,y0)(x_0,y_0) to (x0,y)(x_0,y) both lie in RR, where AA and BB are continuous.

  1. Ux=AU_x = A. The second integral does not involve xx, and A(⋅,y)A(\cdot,y) is continuous, so the fundamental theorem of calculus gives ∂U/∂x=A(x,y)\partial U/\partial x = A(x,y) at every point of RR, the derivative being the one-sided one at the two vertical edges.

  2. Uy=BU_y = B, first at interior points. Fix xx and let yy range over the open interval ∣y−y0∣<b\lvert y - y_0\rvert < b, which is the form in which the prerequisite is stated: its parameter set must be open, whereas our yy runs over a closed interval. On that open interval we may differentiate the first integral with respect to yy under the integral sign, because AA and AyA_y are continuous on the product of it with the closed ss-interval between x0x_0 and xx (Differentiation under the integral sign); the second integral is differentiated by the fundamental theorem. Hence, for ∣y−y0∣<b\lvert y - y_0\rvert < b,

    ∂U∂y=∫x0x∂A∂y(s,y) ds+B(x0,y)=∫x0x∂B∂x(s,y) ds+B(x0,y)=B(x,y),\frac{\partial U}{\partial y} = \int_{x_0}^{x} \frac{\partial A}{\partial y}(s,y)\,ds + B(x_0,y) = \int_{x_0}^{x} \frac{\partial B}{\partial x}(s,y)\,ds + B(x_0,y) = B(x,y) ,

    where the middle equality is the hypothesis Ay=BxA_y = B_x — the only step that uses it — and the last is the fundamental theorem applied to s↦B(s,y)s \mapsto B(s,y).

    The two edges. To reach the top and bottom of RR, integrate what has just been proved: for ∣y−y0∣<b\lvert y - y_0 \rvert < b the function y↦U(x,y)y \mapsto U(x,y) has the continuous derivative B(x,y)B(x,y), so U(x,y)=U(x,y0)+∫y0yB(x,t) dtU(x,y) = U(x,y_0) + \int_{y_0}^{y}B(x,t)\,dt there. Both sides are continuous in yy on the closed interval ∣y−y0∣≤b\lvert y - y_0\rvert \le b — the left because AA and BB are continuous on RR, the right because BB is — so the identity holds at y=y0±by = y_0 \pm b as well, and differentiating it with the fundamental theorem gives ∂U/∂y=B(x,y)\partial U/\partial y = B(x,y) throughout RR, one-sidedly on the two horizontal edges.

  3. Since Ux=AU_x = A and Uy=BU_y = B are continuous, UU has continuous first partials, so the equation is exact in RR.

    (Coddington reaches Uy=BU_y = B differently: he writes down a second integral formula for UU, with the roles of the two variables exchanged, and verifies that it agrees with the first by an identity between two iterated integrals. The computation in step 2 does the same work by differentiating the first formula directly.)

Theorem 2. Let Ux=AU_x = A, Uy=BU_y = B in RR and let φ\varphi be differentiable on an interval II with graph in RR. The chain rule gives

ddx U(x,φ(x))=A(x,φ(x))+B(x,φ(x))φ′(x)(x∈I).\frac{d}{dx}\,U\bigl(x,\varphi(x)\bigr) = A\bigl(x,\varphi(x)\bigr) + B\bigl(x,\varphi(x)\bigr)\varphi'(x) \qquad (x \in I) .

Read from right to left: if φ\varphi solves A+By′=0A + By' = 0 on II, the right side vanishes identically, so x↦U(x,φ(x))x \mapsto U(x,\varphi(x)) has zero derivative on the interval II and is therefore a constant kk; thus φ\varphi is defined implicitly by U=kU = k. Read from left to right: if U(x,φ(x))=kU(x,\varphi(x)) = k on II, the left side vanishes, so φ\varphi solves the equation. □\square

Method(Solving an exact equation)AdaptedAdapted from Riley, Hobson & Bence (2006), §14.2.2, Eqs. (14.7)-(14.8), pp. 472-473; Arfken, Weber & Harris (2013), §7.2, Eq. (7.10), p. 333
  1. Write the equation as A dx+B dy=0A\,dx + B\,dy = 0.
  2. Test. Compute ∂A/∂y\partial A/\partial y and ∂B/∂x\partial B/\partial x. If they differ, the equation is inexact; go to the integrating-factor method below.
  3. Integrate in xx with yy held fixed: U(x,y)=∫A(x,y) dx+f(y)U(x,y) = \int A(x,y)\,dx + f(y), the "constant" of integration being allowed to depend on yy.
  4. Fix ff: differentiate the result with respect to yy, set it equal to B(x,y)B(x,y), and solve for f′(y)f'(y). Every xx must cancel at this point; if it does not, step 2 was wrong. Integrate f′f'.
  5. The solution is U(x,y)=kU(x,y) = k. Fix kk from the initial condition and solve for yy if possible.

Arfken, Weber and Harris give the result of steps 3 and 4 in closed form,

U(x,y)=∫x0xA(s,y) ds+∫y0yB(x0,t) dt,U(x,y) = \int_{x_0}^{x} A(s,y)\,ds + \int_{y_0}^{y} B(x_0,t)\,dt ,

which is the function constructed in the proof above; their Eq. (7.10). They also note that separability and exactness are independent properties: every separable equation is exact, but an exact equation need not be separable (p. 333).

Method(Integrating factors)AdaptedAdapted from Riley, Hobson & Bence (2006), §14.2.3, Eqs. (14.9)-(14.12), pp. 473-474; Coddington (1989), §5.3, Exs. 2, 3, 4 and 5, pp. 198-199, and Theorem 3, p. 195

Standing hypotheses. Throughout this block AA and BB are real-valued with continuous first partial derivatives on a rectangle

R: ∣x−x0∣≤a,∣y−y0∣≤b(a,b>0),R : \ \lvert x - x_0\rvert \le a , \quad \lvert y - y_0 \rvert \le b \qquad (a, b > 0) ,

which are the conditions Coddington imposes for his integrating-factor exercises (Ex. 3, p. 198), and μ\mu is a function on RR with continuous first partial derivatives and nowhere zero there. Call such a μ\mu an integrating factor on RR for A dx+B dy=0A\,dx + B\,dy = 0 if

μA dx+μB dy=0is exact in R.\mu A\,dx + \mu B\,dy = 0 \quad\text{is exact in } R .

The case of interest is the one in which the original equation is inexact, ∂A/∂y≠∂B/∂x\partial A/\partial y \neq \partial B/\partial x somewhere in RR; nothing in the definition requires it, and Coddington's definition (Ex. 2, p. 198) does not either.

Because μA\mu A and μB\mu B again have continuous first partial derivatives on RR, the criterion theorem above applies to them, so on this rectangle exactness of the multiplied equation is equivalent to a computable condition:

μ is an integrating factor on R  ⟺  ∂(μA)∂y=∂(μB)∂xin R.\mu \ \text{is an integrating factor on } R \iff \frac{\partial (\mu A)}{\partial y} = \frac{\partial(\mu B)}{\partial x} \quad\text{in } R .

(This is Coddington's Ex. 3, p. 198, which writes the right-hand condition out as μ(Ay−Bx)=Bμx−Aμy\mu(A_y - B_x) = B\mu_x - A\mu_y and refers it to his Theorem 3.) The hypothesis that the region is a rectangle is doing real work in this equivalence: on a region that is not of this kind the criterion can hold with no potential existing, as the remark above shows.

Riley, Hobson and Bence assert that the differential A dx+B dyA\,dx + B\,dy can always be made exact in this way, but that when μ\mu depends on both variables there is no general method for finding it; it must then be found by inspection or trial (p. 473). Two cases are systematic.

  1. A factor of xx alone. Suppose BB is nowhere zero on RR, so that α=1B(∂A∂y−∂B∂x)\alpha = \frac{1}{B}\left(\frac{\partial A}{\partial y} - \frac{\partial B}{\partial x}\right) is defined and continuous on RR, and suppose α\alpha is independent of yy. Being continuous, α\alpha has an antiderivative, and μ(x)=exp⁡ ⁣(∫α(x) dx)\mu(x) = \exp\!\left(\int \alpha(x)\,dx\right) — the exponential of any one of them — is an integrating factor on RR. (Coddington, Ex. 4(b), p. 199, whose hypothesis is exactly that the test quantity be continuous and independent of yy.)
  2. A factor of yy alone. Suppose AA is nowhere zero on RR, so that β=1A(∂B∂x−∂A∂y)\beta = \frac{1}{A}\left(\frac{\partial B}{\partial x} - \frac{\partial A}{\partial y}\right) is defined and continuous on RR, and suppose β\beta is independent of xx. Then, for the same reason, μ(y)=exp⁡ ⁣(∫β(y) dy)\mu(y) = \exp\!\left(\int \beta(y)\,dy\right) is an integrating factor on RR. (Coddington, Ex. 5(b), p. 199.)

(Riley, Hobson and Bence call these two test quantities f(x)f(x) and g(y)g(y); they are renamed here because ff, gg and hh already have other meanings in the separable-equation blocks above.) Computing α\alpha and β\beta is therefore also the test for whether a one-variable factor exists at all. Coddington's exercises state the converses: under the same standing hypotheses, if the equation has an integrating factor depending on xx alone, then α\alpha above is a continuous function of xx alone (Ex. 4(a), p. 199), and correspondingly for yy (Ex. 5(a)).

Idea of the proof(Integrating factors)Original

Write out the exactness condition for μA dx+μB dy\mu A\,dx + \mu B\,dy and all the unknown-function terms collect into one: a single term μyA\mu_y A on the left and a single term μxB\mu_x B on the right. If μ\mu is allowed to depend on both variables that leaves one partial differential equation for one unknown function, which is underdetermined — hence infinitely many integrating factors and no procedure. If μ\mu is restricted to one variable, one of the two terms disappears and what is left is an ordinary separable equation for μ\mu, solvable exactly when its right-hand side happens to involve that one variable only.

Proof(Integrating factors)AdaptedAdapted from Riley, Hobson & Bence (2006), §14.2.3, pp. 473-474; Coddington (1989), §5.3, Theorem 3, p. 195, and Exs. 3, 4 and 5, pp. 198-199

Throughout, AA, BB and RR satisfy the standing hypotheses of the statement, so that a μ\mu with continuous first partials and no zero on RR is an integrating factor there precisely when ∂(μA)/∂y=∂(μB)/∂x\partial(\mu A)/\partial y = \partial(\mu B)/\partial x on RR — the equivalence recorded in the statement, which is the criterion theorem applied to μA\mu A and μB\mu B.

Case 1: μ=μ(x)\mu = \mu(x). Then ∂(μA)/∂y=μAy\partial(\mu A)/\partial y = \mu A_y, because μ\mu does not depend on yy, while the product rule gives ∂(μB)/∂x=μBx+μ′B\partial(\mu B)/\partial x = \mu B_x + \mu' B. So μ\mu is an integrating factor exactly when

μAy=μBx+μ′B,that isμ′μ=Ay−BxB=α,\mu A_y = \mu B_x + \mu' B , \qquad\text{that is}\qquad \frac{\mu'}{\mu} = \frac{A_y - B_x}{B} = \alpha ,

the division by BB being legitimate because BB is nowhere zero on RR, and the division by μ\mu because μ\mu is not either.

The left side of that equation depends on xx alone, so it can have a solution μ(x)\mu(x) only if α\alpha too is independent of yy — which is the hypothesis of case 1, and which also proves the converse quoted in the statement: for an integrating factor μ(x)\mu(x) as above, (Ay−Bx)/B(A_y - B_x)/B equals μ′/μ\mu'/\mu and is therefore a continuous function of xx alone. Granted the hypothesis, α\alpha is continuous on RR (AyA_y, BxB_x and BB are continuous there and B≠0B \neq 0), so it has an antiderivative; μ′/μ=α\mu'/\mu = \alpha is separable, with solution ln⁡∣μ∣=∫α\ln\lvert\mu\rvert = \int\alpha, that is μ=exp⁡ ⁣(∫α)\mu = \exp\!\left(\int\alpha\right). This μ\mu is positive, hence nowhere zero, and continuously differentiable, since its logarithmic derivative α\alpha is continuous — so it meets the conditions a factor must meet. Reading the display backwards, it does satisfy the criterion, hence makes the equation exact on RR. This is Coddington's Ex. 4 in both directions.

Case 2: μ=μ(y)\mu = \mu(y). Identical with the roles of the variables exchanged, under the hypothesis that AA is nowhere zero on RR and β\beta is independent of xx: now ∂(μB)/∂x=μBx\partial(\mu B)/\partial x = \mu B_x and ∂(μA)/∂y=μAy+μ′A\partial(\mu A)/\partial y = \mu A_y + \mu' A, so the criterion reads μ′/μ=(Bx−Ay)/A=β\mu'/\mu = (B_x - A_y)/A = \beta and μ=exp⁡ ⁣(∫β)\mu = \exp\!\left(\int \beta\right). □\square

Remark(What an integrating factor can cost)Original
  • It must not vanish. Multiplying by μ\mu does not change the solution set as long as μ≠0\mu \neq 0, since A+By′=0A + By' = 0 and μA+μBy′=0\mu A + \mu B y' = 0 then have the same solutions pointwise. Where μ\mu vanishes the second equation is satisfied automatically and can acquire solutions the first does not have; this is why "nowhere zero" is part of the definition.
  • It is not unique. If μ1\mu_1 and μ2\mu_2 are both integrating factors with potentials U1U_1 and U2U_2, then both families of level curves consist of the same solution curves, so U2U_2 is constant along every curve on which U1U_1 is: locally, each potential is a function of the other. The application below exhibits two different integrating factors for the same differential and checks that relation explicitly.
  • The tests divide. The expression α=(Ay−Bx)/B\alpha = (A_y - B_x)/B is undefined where B=0B = 0, and β\beta where A=0A = 0. A one-variable factor may exist and still be invisible to the tests on a region meeting such a curve, so apply the tests on a region where the relevant denominator keeps a fixed sign.
Method(The linear equation)AdaptedAdapted from Riley, Hobson & Bence (2006), §14.2.4, Eqs. (14.14)-(14.17), pp. 474-475; Arfken, Weber & Harris (2013), §7.2, Eqs. (7.11)-(7.17) and the two theorems, pp. 336-337

A linear first-order equation is one of the form

dydx+P(x) y=Q(x),\frac{dy}{dx} + P(x)\,y = Q(x) ,

with PP and QQ continuous on an interval II. Fix x0∈Ix_0 \in I and set

μ(x)=exp⁡ ⁣(∫x0xP(t) dt)>0.\mu(x) = \exp\!\left(\int_{x_0}^{x} P(t)\,dt\right) > 0 .

Then:

  1. Multiplying the equation by μ\mu turns its left-hand side into the derivative of a single function: ddx[μ(x)y]=μ(x)Q(x).\frac{d}{dx}\bigl[\mu(x)y\bigr] = \mu(x)Q(x) . This is what calling μ\mu an integrating factor means here. (Only continuity of PP and QQ is assumed, so this is one step short of the statement above, whose standing hypotheses ask for A=Py−QA = Py - Q and B=1B = 1 to have continuous first partials and hence for PP and QQ to be C1C^1; when they are, that statement applies verbatim on any rectangle lying over II, since B≡1B \equiv 1 is nowhere zero and the test quantity is (Ay−Bx)/B=P(A_y - B_x)/B = P, a function of xx alone. This includes the case P≡0P \equiv 0, where the original equation is already exact and μ≡1\mu \equiv 1 — an integrating factor by that definition, which does not ask the equation to be inexact.)
  2. The general solution on II is y(x)=1μ(x)[C+∫x0xμ(t)Q(t) dt],C an arbitrary constant.y(x) = \frac{1}{\mu(x)}\left[C + \int_{x_0}^{x}\mu(t)Q(t)\,dt\right] , \qquad C \text{ an arbitrary constant}.
  3. Through every point (x1,y1)(x_1, y_1) of the strip x1∈Ix_1 \in I, y1∈Ry_1 \in \mathbb{R} there passes exactly one solution, and that solution is defined on the whole of II — not merely near x1x_1.
  4. (Arfken, Weber and Harris, p. 337.) The general solution of the inhomogeneous equation is any one particular solution plus the general solution C/μ(x)C/\mu(x) of the homogeneous equation y′+Py=0y' + Py = 0; equivalently, the solution is unique up to an arbitrary multiple of the homogeneous solution. The homogeneous equation has only one linearly independent solution.
Idea of the proof(The linear equation)Original

In differential form the equation is (P(x)y−Q(x))dx+dy=0\bigl(P(x)y - Q(x)\bigr)dx + dy = 0, so B≡1B \equiv 1 and the test quantity (Ay−Bx)/B(A_y - B_x)/B equals P(x)P(x) — automatically a function of xx alone. The linear equation is thus the one case where the one-variable recipe never fails, and its integrating factor can be written down from the coefficient. After multiplying, the whole left side is the derivative of the single product μy\mu y, so one integration finishes the problem. Because the integrals involved exist across the entire interval of continuity, nothing stops the solution part-way: linear equations have no finite-time breakdown.

Proof(The linear equation)AdaptedAdapted from Arfken, Weber & Harris (2013), §7.2, Eqs. (7.12)-(7.17) and p. 337; Riley, Hobson & Bence (2006), §14.2.4, pp. 474-475
  1. What the factor must satisfy. Let μ\mu be differentiable and positive on II. By the product rule,

    ddx[μy]=μy′+μ′y,\frac{d}{dx}\bigl[\mu y\bigr] = \mu y' + \mu' y ,

    while multiplying the equation by μ\mu gives μy′+μPy=μQ\mu y' + \mu P y = \mu Q. The two left sides agree for every differentiable yy precisely when μ′=μP\mu' = \mu P. So the search for an integrating factor is the search for a solution of that one equation; this is Arfken's route, and it bypasses the general theory above.

  2. Solving for the factor. μ′=μP\mu' = \mu P is separable, and PP is continuous on II, so t↦P(t)t \mapsto P(t) has an antiderivative there and μ(x)=exp⁡(∫x0xP)\mu(x) = \exp\bigl(\int_{x_0}^{x}P\bigr) is a solution with μ(x0)=1\mu(x_0) = 1. Being an exponential it is positive on all of II, so dividing by it later is always legal. (Any constant multiple of this μ\mu serves equally well; the constant cancels in step 3, which is why the constant of integration in ∫P\int P is conventionally dropped.)

  3. One integration. With that μ\mu, the equation is equivalent to [μy]′=μQ\bigl[\mu y\bigr]' = \mu Q on II. The right side is continuous, hence integrable, and integrating from x0x_0 to xx,

    μ(x)y(x)−y(x0)=∫x0xμ(t)Q(t) dt,\mu(x)y(x) - y(x_0) = \int_{x_0}^{x}\mu(t)Q(t)\,dt ,

    using μ(x0)=1\mu(x_0) = 1. Writing C=y(x0)C = y(x_0) and dividing by μ(x)>0\mu(x) > 0 gives the formula in part 2. Conversely, differentiating that formula returns [μy]′=μQ\bigl[\mu y\bigr]' = \mu Q, so every member of the family is a solution: the family is exactly the set of solutions, which is what part 1 and part 2 assert.

  4. Existence and uniqueness on the whole interval. Given (x1,y1)(x_1,y_1) with x1∈Ix_1 \in I, part 3 shows that a solution with y(x1)=y1y(x_1) = y_1 must have C=μ(x1)y1−∫x0x1μQC = \mu(x_1)y_1 - \int_{x_0}^{x_1}\mu Q, one value and no other, and that this choice does produce such a solution. Its formula is defined and differentiable at every point of II, because μ\mu is positive and continuous there and μQ\mu Q is integrable on every subinterval. Hence exactly one solution, on all of II. For a nonlinear equation neither conclusion holds in general: see Existence and uniqueness of solutions.

  5. The structure statements. If uu and ww both solve the inhomogeneous equation, subtracting the two equations gives (u−w)′+P(u−w)=0(u-w)' + P(u-w) = 0, so the difference solves the homogeneous equation; and by part 2 with Q≡0Q \equiv 0 the homogeneous solutions are exactly the multiples C/μC/\mu. Two of them, C1/μC_1/\mu and C2/μC_2/\mu, are proportional, so the homogeneous equation has a one-dimensional solution space: at most one linearly independent solution, Arfken's second theorem. □\square

Method(Solving a linear equation)AdaptedAdapted from Riley, Hobson & Bence (2006), §14.2.4, p. 475
  1. Divide through by the coefficient of y′y' to reach y′+P(x)y=Q(x)y' + P(x)y = Q(x), and note the interval II on which PP and QQ are continuous — in particular, exclude the points where the original coefficient of y′y' vanishes.
  2. Compute μ(x)=exp⁡ ⁣(∫P(x) dx)\mu(x) = \exp\!\left(\int P(x)\,dx\right), dropping the constant of integration.
  3. Multiply by μ\mu and recognise the left side as (μy)′(\mu y)'.
  4. Integrate once and divide by μ\mu: y=μ−1[C+∫μQ]y = \mu^{-1}\bigl[C + \int \mu Q\bigr]. Fix CC from the initial condition.
Note(The same theorem without normalising)AdaptedAdapted from Hassani (2013), §14.2, Theorem 14.2.1, Eqs. (14.7)-(14.8), p. 420

Hassani states the solution formula for the unnormalised equation p1(x)y′+p0(x)y=q(x)p_1(x)y' + p_0(x)y = q(x), requiring p0p_0, p1p_1 and qq to be continuous on an open interval (his (a,b)(a,b), which has nothing to do with the rectangle dimensions aa, bb used in the exactness criterion above), and obtains the general solution

y=1μ(x)p1(x)[C+∫x1xμ(t)q(t) dt],μ(x)=1p1(x)exp⁡ ⁣(∫x0xp0(t)p1(t) dt).y = \frac{1}{\mu(x)p_1(x)}\left[C + \int^{x}_{x_1}\mu(t)q(t)\,dt\right] , \qquad \mu(x) = \frac{1}{p_1(x)}\exp\!\left(\int_{x_0}^{x}\frac{p_0(t)}{p_1(t)}\,dt\right) .

This is the same result as part 2 above, with a differently scaled integrating factor: his μ\mu carries an extra factor 1/p11/p_1, so his μp1\mu p_1 plays the role of our μ\mu. His theorem is stated with no separate hypothesis that p1p_1 is non-vanishing, although the formulas divide by p1p_1; a point where p1p_1 vanishes is a singular point of the equation, and there step 1 of the method above cannot be carried out. We use the normalised form throughout.

Method(Homogeneous equations)AdaptedAdapted from Riley, Hobson & Bence (2006), §14.2.5, Eqs. (14.18)-(14.19), pp. 475-476; Arfken, Weber & Harris (2013), §7.2, p. 334; Coddington (1989), §5.2, Ex. 4, p. 191

A function ww is homogeneous of degree nn if w(λx,λy)=λnw(x,y)w(\lambda x, \lambda y) = \lambda^{n}w(x,y) for all λ\lambda and all x,yx,y. The equation y′=F(x,y)y' = F(x,y) is called homogeneous when its right-hand side can be written as a quotient

F(x,y)=N(x,y)D(x,y)F(x,y) = \frac{N(x,y)}{D(x,y)}

in which NN and DD are homogeneous of one and the same degree nn. (The name clashes with "homogeneous" as applied to a linear equation with zero right-hand side; Arfken, Weber and Harris (p. 334) and Coddington (p. 191) both warn about the collision, which is standard and unavoidable. Riley, Hobson and Bence write the quotient as A/BA/B, with the opposite sign convention to the differential form A dx+B dy=0A\,dx + B\,dy = 0 of the definition block above, where F=−A/BF = -A/B; the neutral letters NN and DD are used here to keep the two apart.) Riley, Hobson and Bence point out the practical test: in each term of the numerator and of the denominator, the powers of xx and yy must add up to the same number.

Why the substitution works. With NN and DD homogeneous of degree nn, the quotient F=N/DF = N/D satisfies F(λx,λy)=F(x,y)F(\lambda x, \lambda y) = F(x,y): it is homogeneous of degree 00. Taking λ=1/x\lambda = 1/x on the half-plane x>0x > 0,

F(x,y)=F ⁣(1,yx),F(x,y) = F\!\left(1, \frac{y}{x}\right) ,

so the right-hand side depends on xx and yy only through the ratio v=y/xv = y/x; write it F(v)F(v), reusing the letter for the one-variable function. (For x<0x<0 take λ=−1/x\lambda = -1/x and repeat with F(−1,⋅)F(-1,\cdot).) Substituting y=vxy = vx, so that y′=v+xv′y' = v + xv',

v+xdvdx=F(v)⟹dvF(v)−v=dxx,v + x\frac{dv}{dx} = F(v) \qquad\Longrightarrow\qquad \frac{dv}{F(v) - v} = \frac{dx}{x} ,

which has separated variables.

Recipe.

  1. Check that every term of the numerator and of the denominator has the same total degree.
  2. Record the roots of F(v)−vF(v) - v: each root v∗v_\ast gives a straight-line solution y=v∗xy = v_\ast x through the origin, and these are the solutions the next step divides away.
  3. Substitute y=vxy = vx, separate as displayed, and integrate both sides.
  4. Replace vv by y/xy/x.
Method(Bernoulli's equation)AdaptedAdapted from Riley, Hobson & Bence (2006), §14.2.7, Eq. (14.21), pp. 477-478

Bernoulli's equation is

dydx+P(x) y=Q(x) yn,n≠0,1.\frac{dy}{dx} + P(x)\,y = Q(x)\,y^{n} , \qquad n \neq 0, 1 .

The two excluded values are the ones for which it is already linear. The extra factor yny^n makes it nonlinear, but the substitution

v=y1−nv = y^{1-n}

removes the nonlinearity. Indeed v′=(1−n)y−ny′v' = (1-n)y^{-n}y', so dividing the equation by yny^{n} and substituting,

y−ny′+P y1−n=Q⟹11−n v′+P v=Q⟹dvdx+(1−n)P(x) v=(1−n)Q(x),y^{-n}y' + P\,y^{1-n} = Q \qquad\Longrightarrow\qquad \frac{1}{1-n}\,v' + P\,v = Q \qquad\Longrightarrow\qquad \frac{dv}{dx} + (1-n)P(x)\,v = (1-n)Q(x) ,

a linear equation in vv, to be solved by the method above and then inverted through y=v1/(1−n)y = v^{1/(1-n)}.

Recipe.

  1. Arrange the equation in the displayed form and read off nn.
  2. Note the division by yny^{n}: for n>0n > 0 the function y≡0y \equiv 0 solves the original equation and is lost, and for non-integer nn the work is confined to y>0y > 0, where yny^{n} and y1−ny^{1-n} are defined.
  3. Solve the linear equation for v=y1−nv = y^{1-n}.
  4. Return to yy and impose the initial condition.
Example(Separation, with the lost solutions as asymptotes)Original

Solve dydx=x (y2−1)\displaystyle \frac{dy}{dx} = x\,(y^{2}-1) with y(0)=0y(0) = 0.

Step 1: the constant solutions. The right-hand side factors as f(x) σ(y)f(x)\,\sigma(y) with f(x)=xf(x) = x and σ(y)=y2−1\sigma(y) = y^2-1, so the equation is separable. The roots of σ\sigma are y=1y = 1 and y=−1y = -1, giving the two constant solutions y≡1y \equiv 1 and y≡−1y \equiv -1. Neither satisfies the initial condition, but they are recorded before dividing.

Step 2: separate and integrate. On the strip −1<y<1-1 < y < 1, where σ≠0\sigma \neq 0,

dyy2−1=x dx,1y2−1=12(1y−1−1y+1),\frac{dy}{y^{2}-1} = x\,dx , \qquad \frac{1}{y^2-1} = \frac{1}{2}\left(\frac{1}{y-1} - \frac{1}{y+1}\right) ,

so integrating both sides gives 12ln⁡∣y−1y+1∣=x22+c\tfrac12 \ln\left\lvert\dfrac{y-1}{y+1}\right\rvert = \dfrac{x^{2}}{2} + c, that is

y−1y+1=Λ ex2,Λ=±e2c a non-zero constant.\frac{y-1}{y+1} = \Lambda\, e^{x^{2}} , \qquad \Lambda = \pm e^{2c} \text{ a non-zero constant}.

Step 3: the initial condition. Putting x=0x = 0, y=0y = 0 gives −1=Λ-1 = \Lambda. Hence y−1=−ex2(y+1)y - 1 = -e^{x^2}(y+1), and solving for yy,

y(x)=1−ex21+ex2=−tanh⁡ ⁣(x22),y(x) = \frac{1 - e^{x^{2}}}{1 + e^{x^{2}}} = -\tanh\!\left(\frac{x^{2}}{2}\right) ,

the last step by multiplying numerator and denominator by e−x2/2e^{-x^2/2}.

Step 4: check. Differentiating, y′=−x sech⁡2(x2/2)y' = -x\,\operatorname{sech}^2(x^2/2), while x(y2−1)=x(tanh⁡2(x2/2)−1)=−xsech⁡2(x2/2)x(y^2-1) = x\bigl(\tanh^2(x^2/2) - 1\bigr) = -x\operatorname{sech}^2(x^2/2). They agree, and y(0)=−tanh⁡0=0y(0) = -\tanh 0 = 0. Numerically y(1)=−tanh⁡(1/2)=−0.4621171573y(1) = -\tanh(1/2) = -0.4621171573 and y(2)=−tanh⁡2=−0.9640275801y(2) = -\tanh 2 = -0.9640275801.

Step 5: where the lost solutions went. The solution exists for all real xx and satisfies y(x)→−1y(x) \to -1 as x→±∞x \to \pm\infty, approaching the constant solution y≡−1y \equiv -1 discarded in step 2. The other discarded solution, y≡1y \equiv 1, is the repelling one: any initial value y(0)>1y(0) > 1 gives, by the same formula with Λ>0\Lambda > 0, a solution that blows up at a finite xx. The two constant solutions are therefore the organising features of the picture, which is the practical reason for step 2 of the method.

Example(An inexact equation solved with an integrating factor)Original

Solve (2y2+2x+1) dx+2y dy=0\bigl(2y^{2} + 2x + 1\bigr)\,dx + 2y\,dy = 0 with y(0)=1y(0) = 1, on the half-plane y>0y > 0.

Step 1: it is inexact. With A=2y2+2x+1A = 2y^2 + 2x + 1 and B=2yB = 2y,

∂A∂y=4y,∂B∂x=0,\frac{\partial A}{\partial y} = 4y , \qquad \frac{\partial B}{\partial x} = 0 ,

which differ wherever y≠0y \neq 0, so the equation is not exact on any rectangle in y>0y > 0. Nor is it separable, since y′=−(2y2+2x+1)/(2y)y' = -(2y^2+2x+1)/(2y) does not factor, and it is not linear in yy.

Step 2: a factor of xx alone. Take as the region a rectangle RR inside y>0y > 0, where B=2yB = 2y is nowhere zero, so that the test quantity of case 1 is defined:

α=1B(∂A∂y−∂B∂x)=4y−02y=2,\alpha = \frac{1}{B}\left(\frac{\partial A}{\partial y} - \frac{\partial B}{\partial x}\right) = \frac{4y - 0}{2y} = 2 ,

a constant, hence certainly a continuous function independent of yy. Case 1 therefore applies and

μ(x)=exp⁡ ⁣(∫2 dx)=e2x\mu(x) = \exp\!\left(\int 2\,dx\right) = e^{2x}

is an integrating factor on RR; it is positive, hence nowhere zero, as required.

Step 3: the multiplied equation is exact. Multiplying through by e2xe^{2x},

e2x(2y2+2x+1)dx+2y e2x dy=0,∂∂y[e2x(2y2+2x+1)]=4y e2x=∂∂x(2y e2x),e^{2x}\bigl(2y^{2} + 2x + 1\bigr)dx + 2y\,e^{2x}\,dy = 0 , \qquad \frac{\partial}{\partial y}\Bigl[e^{2x}(2y^2+2x+1)\Bigr] = 4y\,e^{2x} = \frac{\partial}{\partial x}\bigl(2y\,e^{2x}\bigr) ,

confirming exactness.

Step 4: the potential. Integrating the dxdx coefficient in xx at fixed yy, with ∫2x e2xdx=xe2x−12e2x\int 2x\,e^{2x}dx = x e^{2x} - \tfrac12 e^{2x},

U(x,y)=12(2y2+1)e2x+xe2x−12e2x+h(y)=e2x(y2+x)+h(y).U(x,y) = \tfrac12 (2y^2+1)e^{2x} + x e^{2x} - \tfrac12 e^{2x} + h(y) = e^{2x}\bigl(y^{2} + x\bigr) + h(y) .

Differentiating in yy gives 2y e2x+h′(y)2y\,e^{2x} + h'(y), which must equal 2y e2x2y\,e^{2x}; so h′=0h' = 0 and hh is a constant, absorbed into kk. The solution is therefore

e2x(y2+x)=C.e^{2x}\bigl(y^{2}+x\bigr) = C .

Step 5: the initial condition and the answer. At (0,1)(0,1) the left side is 11, so C=1C = 1 and

y(x)=e−2x−x(y>0).y(x) = \sqrt{e^{-2x} - x} \qquad (y > 0) .

Check: y(0)=1y(0) = 1; and differentiating, 2yy′=−2e−2x−1=−2(y2+x)−1=−(2y2+2x+1)2yy' = -2e^{-2x} - 1 = -2(y^2 + x) - 1 = -(2y^2+2x+1), which is the equation. Numerically y(0.2)=e−0.4−0.2=0.6857988379y(0.2) = \sqrt{e^{-0.4}-0.2} = 0.6857988379.

An independent check. The substitution u=y2u = y^2 turns the equation into u′+2u=−(2x+1)u' + 2u = -(2x+1), a linear equation whose integrating factor is the same e2xe^{2x}; since ∫(2x+1)e2xdx=xe2x\int (2x+1)e^{2x}dx = x e^{2x}, it gives e2xu=−xe2x+Ce^{2x}u = -xe^{2x} + C, that is u=y2=Ce−2x−xu = y^2 = Ce^{-2x} - x, and u(0)=1u(0)=1 fixes C=1C = 1 again.

Step 6: the interval. The expression under the root is positive for every x≤0x \le 0 and vanishes where e−2x=xe^{-2x} = x, that is at x∗=0.4263027510x_\ast = 0.4263027510; so the solution exists on −∞<x<x∗-\infty < x < x_\ast, with y→0y \to 0 at the right end and y∼e−x→∞y \sim e^{-x} \to \infty as x→−∞x \to -\infty. At x∗x_\ast the curve has dy/dx=−(2y2+2x+1)/(2y)→−∞dy/dx = -(2y^2+2x+1)/(2y) \to -\infty: it meets the line y=0y = 0 with a vertical tangent, which is what the differential form predicts, since at y=0y = 0 the equation reads (2x+1) dx=0(2x+1)\,dx = 0 and so forces dx=0dx = 0 as long as x≠−12x \neq -\tfrac12. The level curve e2x(y2+x)=1e^{2x}(y^2+x) = 1 continues smoothly into y<0y < 0, but the solution as a function y=φ(x)y = \varphi(x) with φ>0\varphi > 0 ends at x∗x_\ast — which is also where the rectangle of step 2, which had to stay inside y>0y > 0, runs out.

Example(A linear equation: a driven relaxation)Original

A body with a single thermal time constant exchanges heat with surroundings at temperature Tout(t)T_{\mathrm{out}}(t) according to Newton's law of cooling,

dTdt=−κ(T−Tout(t)),κ>0.\frac{dT}{dt} = -\kappa\bigl(T - T_{\mathrm{out}}(t)\bigr) , \qquad \kappa > 0 .

Take κ=0.25 h−1\kappa = 0.25\ \mathrm{h}^{-1}, a daily outdoor cycle Tout(t)=10+8cos⁡(ωt) ∘CT_{\mathrm{out}}(t) = 10 + 8\cos(\omega t)\ {}^{\circ}\mathrm{C} with ω=2π/24=0.2617993878 h−1\omega = 2\pi/24 = 0.2617993878\ \mathrm{h}^{-1}, and an initial temperature T(0)=20 ∘CT(0) = 20\,^{\circ}\mathrm{C}.

Step 1: put it in linear form. dTdt+κT=κ(10+8cos⁡ωt)\dfrac{dT}{dt} + \kappa T = \kappa\bigl(10 + 8\cos\omega t\bigr), so P≡κP \equiv \kappa and Q(t)=κ(10+8cos⁡ωt)Q(t) = \kappa(10 + 8\cos\omega t), both continuous on all of R\mathbb{R}. Part 3 of the linear theorem therefore gives a unique solution defined for all tt.

Step 2: the integrating factor. μ(t)=exp⁡ ⁣(∫κ dt)=eκt\mu(t) = \exp\!\left(\int \kappa\,dt\right) = e^{\kappa t}, and the equation becomes (eκtT)′=κ eκt(10+8cos⁡ωt)\bigl(e^{\kappa t}T\bigr)' = \kappa\,e^{\kappa t}\bigl(10 + 8\cos\omega t\bigr).

Step 3: integrate. With ∫eκtcos⁡ωt dt=eκt κcos⁡ωt+ωsin⁡ωtκ2+ω2\int e^{\kappa t}\cos\omega t\,dt = e^{\kappa t}\,\dfrac{\kappa\cos\omega t + \omega\sin\omega t}{\kappa^{2}+\omega^{2}} (check by differentiating),

eκtT=10 eκt+8κ(κcos⁡ωt+ωsin⁡ωt)κ2+ω2 eκt+C,e^{\kappa t}T = 10\,e^{\kappa t} + \frac{8\kappa\bigl(\kappa\cos\omega t + \omega \sin\omega t\bigr)}{\kappa^{2}+\omega^{2}}\,e^{\kappa t} + C ,

so, writing the bracket as a single cosine with a phase,

T(t)=10+8κκ2+ω2cos⁡(ωt−ϕ)+Ce−κt,tan⁡ϕ=ωκ.T(t) = 10 + \frac{8\kappa}{\sqrt{\kappa^{2}+\omega^{2}}}\cos(\omega t - \phi) + C e^{-\kappa t} , \qquad \tan\phi = \frac{\omega}{\kappa} .

Step 4: the numbers. Here ω/κ=1.047197551\omega/\kappa = 1.047197551, so

ϕ=arctan⁡(1.047197551)=0.8084487926 rad,κκ2+ω2=0.6906211226,\phi = \arctan(1.047197551) = 0.8084487926\ \mathrm{rad} , \qquad \frac{\kappa}{\sqrt{\kappa^2+\omega^2}} = 0.6906211226 ,

giving a driven amplitude 8×0.6906211226=5.524968980 ∘C8 \times 0.6906211226 = 5.524968980\,^{\circ}\mathrm{C}. The initial condition fixes C=20−10−5.524968980cos⁡ϕ=6.184339721C = 20 - 10 - 5.524968980\cos\phi = 6.184339721.

Step 5: read the answer. After the transient Ce−κtCe^{-\kappa t} has died away (a few multiples of 1/κ=41/\kappa = 4 h), the body oscillates about 10 ∘C10\,^{\circ}\mathrm{C} with amplitude 5.52 ∘C5.52\,^{\circ}\mathrm{C} instead of the outdoor 8 ∘C8\,^{\circ}\mathrm{C}, and its extremes lag the outdoor ones by

ϕω=0.80844879260.2617993878=3.088046918 h.\frac{\phi}{\omega} = \frac{0.8084487926}{0.2617993878} = 3.088046918\ \mathrm{h} .

Checks on the formula: T(0)=20.00000000T(0) = 20.00000000 as imposed; T(6)=15.37566281T(6) = 15.37566281, T(12)=6.492239865T(12) = 6.492239865, and after two days T(48)=13.81569828T(48) = 13.81569828. Since 48ω=4π48\omega = 4\pi, the purely periodic part there is 10+5.524968980cos⁡(−ϕ)=13.8156602810 + 5.524968980\cos(-\phi) = 13.81566028, and the gap between the two is 3.79979×10−53.79979\times10^{-5} — exactly the surviving transient Ce−12Ce^{-12}, as it must be.

Example(A homogeneous equation: a logarithmic spiral)Original

Solve dydx=x+2y2x−y\displaystyle \frac{dy}{dx} = \frac{x + 2y}{2x - y} with y(1)=0y(1) = 0.

Step 1: degrees. Every term of the numerator and of the denominator is of total degree 11, so the equation is homogeneous of degree 11 and the substitution y=vxy = vx applies on x>0x > 0.

Step 2: the straight-line solutions. Here F(v)=(1+2v)/(2−v)F(v) = (1+2v)/(2-v), and

F(v)−v=1+2v−v(2−v)2−v=1+v22−v,F(v) - v = \frac{1 + 2v - v(2-v)}{2-v} = \frac{1 + v^{2}}{2 - v} ,

whose numerator never vanishes. So there are no straight-line solutions to lose; the division in the next step costs nothing. (At v=2v = 2, that is on the line y=2xy = 2x, the original right-hand side is undefined.)

Step 3: separate and integrate. With y=vxy = vx,

xdvdx=1+v22−v⟹2−v1+v2 dv=dxx,x\frac{dv}{dx} = \frac{1+v^{2}}{2-v} \qquad\Longrightarrow\qquad \frac{2-v}{1+v^{2}}\,dv = \frac{dx}{x} ,

and integrating each side,

2arctan⁡v−12ln⁡(1+v2)=ln⁡x+c.2\arctan v - \tfrac12 \ln\bigl(1+v^{2}\bigr) = \ln x + c .

Step 4: the initial condition. At x=1x = 1, y=0y = 0 we have v=0v = 0, and both sides vanish, so c=0c = 0.

Step 5: recognise the curve. Put v=y/x=tan⁡θv = y/x = \tan\theta and r=x2+y2r = \sqrt{x^2+y^2}, so that 1+v2=sec⁡2θ1 + v^2 = \sec^2\theta and x=rcos⁡θx = r\cos\theta. Then 12ln⁡(1+v2)=−ln⁡cos⁡θ\tfrac12\ln(1+v^2) = -\ln\cos\theta and the relation becomes

2θ+ln⁡cos⁡θ=ln⁡x=ln⁡r+ln⁡cos⁡θ,that isr=e2θ:2\theta + \ln\cos\theta = \ln x = \ln r + \ln\cos\theta , \qquad\text{that is}\qquad r = e^{2\theta} :

a logarithmic spiral through (1,0)(1,0). Check: on r=e2θr = e^{2\theta} one has dr/dθ=2rdr/d\theta = 2r, so

dydx=r′sin⁡θ+rcos⁡θr′cos⁡θ−rsin⁡θ=2sin⁡θ+cos⁡θ2cos⁡θ−sin⁡θ=rcos⁡θ+2rsin⁡θ2rcos⁡θ−rsin⁡θ=x+2y2x−y,\frac{dy}{dx} = \frac{r'\sin\theta + r\cos\theta}{r'\cos\theta - r\sin\theta} = \frac{2\sin\theta+\cos\theta}{2\cos\theta - \sin\theta} = \frac{r\cos\theta + 2r\sin\theta}{2r\cos\theta - r\sin\theta} = \frac{x+2y}{2x-y} ,

as required. At θ=π/4\theta = \pi/4 the curve is at r=eπ/2=4.810477381r = e^{\pi/2} = 4.810477381, that is x=y=3.401521177x = y = 3.401521177, and 2arctan⁡(y/x)=π/2=ln⁡r2\arctan(y/x) = \pi/2 = \ln r confirms the implicit relation.

Step 6: where yy stops being a function of xx. The denominator 2x−y2x - y vanishes when tan⁡θ=2\tan\theta = 2, that is at θ=arctan⁡2=1.107148718\theta = \arctan 2 = 1.107148718, where r=9.154974892r = 9.154974892 and xx attains its largest value 4.0942292384.094229238 on this arc. The spiral continues happily past that point, but as a solution of the equation in the form y=φ(x)y = \varphi(x) the answer ends there, with a vertical tangent — the situation anticipated in the definition block.

Example(A Bernoulli equation: logistic growth)Original

Solve dydt=ay−aKy2\displaystyle \frac{dy}{dt} = a y - \frac{a}{K}y^{2} with a=0.5 yr−1a = 0.5\ \mathrm{yr}^{-1}, K=1000K = 1000 and y(0)=50y(0) = 50.

Step 1: identify it. Written as y′−ay=−(a/K)y2y' - ay = -(a/K)y^{2} this is Bernoulli's equation with P=−aP = -a, Q=−a/KQ = -a/K and n=2n = 2, so n≠0,1n \neq 0,1 and the substitution is v=y1−n=y−1v = y^{1-n} = y^{-1}. Since n=2>0n = 2 > 0, the function y≡0y \equiv 0 solves the original equation and will be lost; it is the extinct state, and the initial value 5050 is not it.

Step 2: linearise. With v=1/yv = 1/y one has v′=−y′/y2v' = -y'/y^{2}, so dividing the equation by y2y^{2} and substituting,

y′y2=ay−aK⟹−v′=av−aK⟹dvdt+av=aK,\frac{y'}{y^{2}} = \frac{a}{y} - \frac{a}{K} \qquad\Longrightarrow\qquad -v' = av - \frac{a}{K} \qquad\Longrightarrow\qquad \frac{dv}{dt} + a v = \frac{a}{K} ,

which is the general Bernoulli reduction v′+(1−n)Pv=(1−n)Qv' + (1-n)Pv = (1-n)Q with 1−n=−11-n = -1.

Step 3: solve the linear equation. The integrating factor is μ=eat\mu = e^{at}, so (eatv)′=(a/K)eat\bigl(e^{at}v\bigr)' = (a/K)e^{at} and

eatv=eatK+C,v(t)=1K+C e−at.e^{at}v = \frac{e^{at}}{K} + C , \qquad v(t) = \frac{1}{K} + C\,e^{-at} .

Step 4: back to yy, with the initial condition. v(0)=1/50v(0) = 1/50 gives C=1/50−1/1000=19/1000C = 1/50 - 1/1000 = 19/1000, so

y(t)=1v(t)=K1+19 e−at=10001+19 e−t/2.y(t) = \frac{1}{v(t)} = \frac{K}{1 + 19\,e^{-at}} = \frac{1000}{1 + 19\,e^{-t/2}} .

Step 5: check the numbers. Substituting back into y′=ay(1−y/K)y' = ay(1 - y/K) gives zero identically. The values are y(0)=50y(0) = 50, y(5)=390.6837592y(5) = 390.6837592, y(10)=886.5083241y(10) = 886.5083241 and y(20)=999.1381448y(20) = 999.1381448; the population passes half the carrying capacity at t=ln⁡(19)/a=5.888877958t = \ln(19)/a = 5.888877958 yr, and y→K=1000y \to K = 1000 as t→∞t \to \infty — approaching the other constant solution, y≡Ky \equiv K, which separation would have discarded at the same point in the argument. Note that the equation is separable too; the Bernoulli route is preferable here because it replaces a partial-fraction integration by a linear equation that can be solved in one line.

Application(Integrating factors in thermodynamics: entropy and the adiabatic invariant)Original

The clearest physical appearance of these methods is not as a way of solving an equation but as a way of recognising a state function. For a simple compressible system the first law says that the heat absorbed along a path is

δQ=dE+p dV,\delta Q = dE + p\,dV ,

where EE is the internal energy (written UU in most thermodynamics texts, and renamed here because UU already denotes the potential of an exact differential). The central fact of thermodynamics is that δQ\delta Q is not the differential of any function of state: heat absorbed depends on the path, not only on its endpoints. In the language above, δQ\delta Q is an inexact differential, and the content of the second law is that a particular integrating factor makes it exact.

The ideal gas, explicitly. Take a fixed amount of ideal gas, nn moles, with constant heat capacity CVC_V, so that E=CVTE = C_V T and p=nRT/Vp = nRT/V, and use (T,V)(T,V) as the two state variables. Then

δQ=CV dT+nRTV dV,\delta Q = C_V\,dT + \frac{nRT}{V}\,dV ,

so in the notation of this unit A=CVA = C_V and B=nRT/VB = nRT/V with x=Tx = T, y=Vy = V. The exactness test fails:

∂A∂V=0,∂B∂T=nRV≠0.\frac{\partial A}{\partial V} = 0 , \qquad \frac{\partial B}{\partial T} = \frac{nR}{V} \neq 0 .

So no function of the state (T,V)(T,V) has δQ\delta Q as its differential, which is the precise sense in which "the heat content of a state" does not exist.

Both one-variable tests succeed. This differential is unusual in that the two tests of the integrating-factor statement both apply. With x=Tx = T and y=Vy = V,

α=1B(∂A∂V−∂B∂T)=VnRT(0−nRV)=−1T,β=1A(∂B∂T−∂A∂V)=nRCVV,\alpha = \frac{1}{B}\left(\frac{\partial A}{\partial V} - \frac{\partial B}{\partial T}\right) = \frac{V}{nRT}\left(0 - \frac{nR}{V}\right) = -\frac{1}{T} , \qquad \beta = \frac{1}{A}\left(\frac{\partial B}{\partial T} - \frac{\partial A}{\partial V}\right) = \frac{nR}{C_V V} ,

the first a function of TT alone and the second a function of VV alone. Case 1 therefore gives μ=exp⁡ ⁣(∫(−1/T) dT)=1/T\mu = \exp\!\left(\int(-1/T)\,dT\right) = 1/T and case 2 gives μ=exp⁡ ⁣(∫nR/(CVV) dV)=VnR/CV\mu = \exp\!\left(\int nR/(C_VV)\,dV\right) = V^{nR/C_V}. The two factors compute two different things, and both are physically familiar.

First integrating factor: 1/T1/T. Multiplying by 1/T1/T gives (CV/T) dT+(nR/V) dV(C_V/T)\,dT + (nR/V)\,dV, and now

∂∂V(CVT)=0=∂∂T(nRV),\frac{\partial}{\partial V}\left(\frac{C_V}{T}\right) = 0 = \frac{\partial}{\partial T}\left(\frac{nR}{V}\right) ,

so the multiplied differential is exact, with potential

S(T,V)=CVln⁡T+nRln⁡V,S(T,V) = C_V\ln T + nR\ln V ,

the entropy of the ideal gas, up to the additive constant that no potential of a differential ever fixes; we set that constant to zero, which is the choice used below. One checks directly that ∂S/∂T=CV/T\partial S/\partial T = C_V/T and ∂S/∂V=nR/V\partial S/\partial V = nR/V.

Second integrating factor: VnR/CVV^{nR/C_V}, and what it computes. Following case 2 with the β\beta just computed,

μ(V)=exp⁡ ⁣(∫nRCVV dV)=VnR/CV=Vγ−1,\mu(V) = \exp\!\left(\int \frac{nR}{C_V V}\,dV\right) = V^{nR/C_V} = V^{\gamma-1} ,

using nR=Cp−CVnR = C_p - C_V and γ=Cp/CV\gamma = C_p/C_V, so that nR/CV=γ−1nR/C_V = \gamma - 1. Multiplying δQ\delta Q by it gives CVVγ−1dT+nR T Vγ−2dVC_V V^{\gamma-1}dT + nR\,T\,V^{\gamma-2}dV, whose two mixed derivatives are both nRVγ−2nRV^{\gamma-2}, and whose potential is

Φ(T,V)=CV T Vγ−1.\Phi(T,V) = C_V\,T\,V^{\gamma-1} .

The level curves Φ=const\Phi = \text{const} are TVγ−1=constTV^{\gamma-1} = \text{const}: the adiabats of the ideal gas. This is exactly what the theory predicts, in two ways. First, δQ=0\delta Q = 0 is a first-order equation in the differential form A dT+B dV=0A\,dT + B\,dV = 0, and once an integrating factor is found, its potential is constant along the solution curves — so an adiabatic process is a solution curve of δQ=0\delta Q = 0, and TVγ−1TV^{\gamma-1} is the quantity conserved along it. Second, the remark on non-uniqueness above says that two potentials of the same differential must be functions of one another, and indeed

Φ=CV T Vγ−1=CVexp⁡ ⁣(CVln⁡T+nRln⁡VCV)=CV eS/CV,\Phi = C_V\,T\,V^{\gamma-1} = C_V\exp\!\left(\frac{C_V\ln T + nR\ln V}{C_V}\right) = C_V\,e^{S/C_V} ,

with SS normalised as above; a different additive constant S0S_0 in SS only replaces this by Φ=CVe(S−S0)/CV\Phi = C_V e^{(S-S_0)/C_V}. Either way Φ\Phi is a function of SS alone, as it must be: the adiabats are the curves of constant entropy.

What the mathematics does and does not deliver. Riley, Hobson and Bence's assertion that an inexact differential in two variables can always be made exact (p. 473) is what makes a function like SS available at all for a system with two independent state variables; it says nothing about which factor to choose, and here it offers two with equal ease. The physical content of the second law is that one of them, 1/T1/T with TT the absolute temperature, works simultaneously for every system and for systems with more state variables than two, where the mere existence of an integrating factor is no longer automatic. The first-order theory supplies the framework and the bookkeeping; the universality of 1/T1/T is physics.

A second, more mundane use of the same machinery is the driven relaxation of the third example: Newton's law of cooling, an RCRC or RLRL circuit, a first-order sensor, and the linearised response of any system with a single relaxation time all have the form y′+y/τ=u(t)/τy' + y/\tau = u(t)/\tau, where uu is the input — the ambient temperature, the applied voltage, the true gas temperature. In the notation of the linear-equation statement above this is P≡1/τP \equiv 1/\tau and Q=u/τQ = u/\tau, the whole right-hand side. The integrating factor et/τe^{t/\tau} turns it into one integral, and the answer always has the same two parts — a transient ∝e−t/τ\propto e^{-t/\tau} that remembers the initial condition, and a driven response that does not. For sinusoidal forcing at angular frequency ω\omega the driven part has its amplitude reduced by the factor (1+ω2τ2)−1/2(1 + \omega^2\tau^2)^{-1/2} and is delayed by arctan⁡(ωτ)/ω\arctan(\omega\tau)/\omega: a first-order low-pass filter. For a thermocouple with τ=4 s\tau = 4\ \mathrm{s} reading a gas temperature that oscillates at 0.1 Hz0.1\ \mathrm{Hz}, ωτ=2.513274123\omega\tau = 2.513274123, so the recorded swing is only 0.36969784760.3696978476 of the true swing and arrives 1.897306001 s1.897306001\ \mathrm{s} late out of a 10 s10\ \mathrm{s} period. Reading those two numbers backwards is how such an instrument is calibrated.

Theorem

Existence and uniqueness of solutions

Adapted

Proves that an initial-value problem y′=f(x,y)y' = f(x,y), y(x0)=y0y(x_0)=y_0 has exactly one solution on an explicit interval around x0x_0 when ff is continuous and Lipschitz in yy, by showing that Picard's successive approximations converge uniformly, and shows by example what fails when the Lipschitz condition is dropped.

Prerequisites: Uniform convergence, Compactness, Solving first-order equations

Note(What is at stake)Original

Almost no differential equation of practical interest can be solved in closed form, so almost everything done with one — drawing its phase portrait, integrating it numerically, expanding it in a small parameter, arguing from its symmetries — presupposes that "the solution" exists and that the phrase refers to one object. That presupposition is a theorem, and it is not free: it needs a hypothesis slightly stronger than continuity, and it delivers less than one might hope, namely a solution on an interval that may be much shorter than the one of interest. This unit gives the hypothesis, the interval, the proof, and the two examples that show why nothing weaker will do.

Definition(The initial-value problem, Picard's approximations, and the Lipschitz condition)AdaptedAdapted from Coddington (1989), §5.4, pp. 200-202, and §5.5, p. 208; Hassani (2013), §14.2, Definition 14.2.3, p. 420

Let ff be a real-valued function defined on a rectangle

R: ∣x−x0∣≤a,∣y−y0∣≤b(a,b>0).R : \ \lvert x - x_0 \rvert \le a , \quad \lvert y - y_0 \rvert \le b \qquad (a, b > 0) .

Given an interval II that contains x0x_0, a solution on II of the initial-value problem

y′=f(x,y),y(x0)=y0y' = f(x,y) , \qquad y(x_0) = y_0

means a differentiable real-valued φ\varphi on II with φ(x0)=y0\varphi(x_0) = y_0, with (x,φ(x))∈R(x,\varphi(x)) \in R for every x∈Ix \in I, and with φ′(x)=f(x,φ(x))\varphi'(x) = f(x,\varphi(x)) for every x∈Ix \in I.

The integral equation attached to the problem is

φ(x)=y0+∫x0xf(t,φ(t)) dt,\varphi(x) = y_0 + \int_{x_0}^{x} f\bigl(t, \varphi(t)\bigr)\,dt ,

a solution of which means a continuous φ\varphi on II whose graph lies in RR and which satisfies the displayed identity at every x∈Ix \in I. The successive approximations, or Picard iterates, are the functions

φ0(x)=y0,φk+1(x)=y0+∫x0xf(t,φk(t)) dt(k=0,1,2,… ).\varphi_0(x) = y_0 , \qquad \varphi_{k+1}(x) = y_0 + \int_{x_0}^{x} f\bigl(t, \varphi_k(t)\bigr)\,dt \qquad (k = 0, 1, 2, \dots) .

Each one is obtained by feeding the previous one through the right-hand side of the integral equation; a solution of that equation is exactly a function left unchanged by the process.

Finally, let ff be defined on a set SS. Then ff satisfies a Lipschitz condition on SS if there is a constant K>0K > 0 with

∣f(x,y1)−f(x,y2)∣≤K ∣y1−y2∣for all (x,y1),(x,y2)∈S,\bigl\lvert f(x,y_1) - f(x,y_2) \bigr\rvert \le K\,\lvert y_1 - y_2 \rvert \qquad \text{for all } (x,y_1), (x,y_2) \in S ,

and KK is called a Lipschitz constant. The condition constrains ff in its second argument only, uniformly in the first; it says nothing about how ff varies with xx beyond the continuity assumed separately.

Theorem(Picard-Lindelöf: local existence, uniqueness and an error bound)AdaptedAdapted from Coddington (1989), §5.4, Theorem 5, p. 203, §5.6, Theorems 7 and 8, pp. 210, 214, and §5.8, Theorem 10 with Corollary 1, pp. 222-223

Let the real-valued ff be continuous on the rectangle

R: ∣x−x0∣≤a,∣y−y0∣≤b(a,b>0),R : \ \lvert x - x_0 \rvert \le a , \quad \lvert y - y_0 \rvert \le b \qquad (a, b > 0) ,

let

∣f(x,y)∣≤Mfor all (x,y)∈R,M>0,\lvert f(x,y)\rvert \le M \quad\text{for all } (x,y) \in R , \qquad M > 0 ,

and suppose ff satisfies a Lipschitz condition with constant KK in RR. Put

α=min⁡{ a, b/M },I: ∣x−x0∣≤α.\alpha = \min\{\,a,\ b/M\,\} , \qquad I : \ \lvert x - x_0 \rvert \le \alpha .

Then:

  1. (Existence; Coddington, Theorems 5 and 7.) The successive approximations φk\varphi_k all exist as continuous functions on II and their graphs lie in RR (his Theorem 5, p. 203), and on II they converge to a limit φ\varphi which solves y′=f(x,y)y' = f(x,y), y(x0)=y0y(x_0) = y_0 there (his Theorem 7, p. 210). The convergence is moreover uniform on II: Coddington's statement says only "converge", but his proof and ours both produce a bound on ∣φ−φk∣\lvert \varphi - \varphi_k\rvert that is independent of xx, and step 4 of the proof below uses the uniformity.
  2. (Uniqueness; Coddington, Theorem 10 and its Corollary 1.) If φ\varphi and ψ\psi are two solutions of that initial-value problem on an interval I′I' containing x0x_0, with graphs contained in RR, then φ(x)=ψ(x)\varphi(x) = \psi(x) for every x∈I′x \in I'. In particular the solution produced in part 1 is the only one on II.
  3. (Error bound; Coddington, Theorem 8.) The kkth approximation satisfies ∣φ(x)−φk(x)∣ ≤ MK (Kα)k+1(k+1)! eKαfor all x∈I.\bigl\lvert \varphi(x) - \varphi_k(x) \bigr\rvert \ \le \ \frac{M}{K}\,\frac{(K\alpha)^{k+1}}{(k+1)!}\,e^{K\alpha} \qquad \text{for all } x \in I .

The hypothesis ∣f∣≤M\lvert f \rvert \le M is stated separately by Coddington, who notes that it is in fact automatic: a continuous function on the closed bounded rectangle RR is bounded there (p. 203 and Compactness), and he allows the reader to take the bound as an extra assumption instead. Where he produces the bound he takes it positive, "there exists a constant M>0M > 0" (p. 203); his Theorem 7 writes the hypothesis as ∣f∣≤M\lvert f\rvert \le M without repeating the positivity, which the quotient b/Mb/M nevertheless needs, so we carry M>0M > 0 in the hypotheses above.

Idea of the proof(Picard-Lindelöf)Original

Differentiating is awkward to iterate and integrating is not, so the first move is to replace the differential equation by the equivalent integral equation; a solution is then a fixed point of the map that sends φ\varphi to y0+∫f(t,φ)y_0 + \int f(t,\varphi). Start with the constant function y0y_0 and apply the map over and over.

Two things must be controlled. The iterates must not wander out of the rectangle where ff is defined — this is what the number b/Mb/M buys, since the graphs can climb no faster than slope MM. And the differences between consecutive iterates must shrink fast enough to sum. The Lipschitz condition converts a difference of ff-values into a difference of the iterates themselves, so each application of the map integrates the previous difference; integrating kk times produces a factor ∣x−x0∣k/k!\lvert x-x_0\rvert^k/k!, and a factorial beats everything. The series of differences is then dominated by a convergent series of constants, so the Weierstrass M-test gives uniform convergence, uniform convergence preserves continuity, and the same Lipschitz estimate lets the limit be taken inside the integral. Uniqueness is the same estimate used once more: the difference of two solutions satisfies an integral inequality that forces it to vanish.

Proof(Picard-Lindelöf)AdaptedAdapted from Coddington (1989), §5.4, Theorems 4 and 5, pp. 200-205, §5.6, pp. 210-214, and §5.8, pp. 224-225

Step 0: the integral equation is equivalent. Let φ\varphi be continuous on II with graph in RR. If φ\varphi solves the initial-value problem, then φ′(t)=f(t,φ(t))\varphi' (t)= f(t,\varphi(t)) is continuous on II, being the composition of the continuous ff with the continuous map t↦(t,φ(t))t \mapsto (t,\varphi(t)); integrating from x0x_0 to xx and using φ(x0)=y0\varphi(x_0) = y_0 gives the integral equation. Conversely, if φ\varphi satisfies the integral equation, its integrand is continuous, so the fundamental theorem of calculus makes φ\varphi differentiable with φ′(x)=f(x,φ(x))\varphi'(x) = f(x,\varphi(x)), and setting x=x0x = x_0 kills the integral and gives φ(x0)=y0\varphi(x_0) = y_0. (Coddington's Theorem 4.) From here on we work with the integral equation.

Step 1: the iterates exist on II and stay in RR. We show by induction that each φk\varphi_k is defined and continuous on II and satisfies

∣φk(x)−y0∣≤M ∣x−x0∣(x∈I).\bigl\lvert \varphi_k(x) - y_0 \bigr\rvert \le M\,\lvert x - x_0 \rvert \qquad (x \in I) .

For k=0k = 0 the left side is zero. Assume it for φk\varphi_k. Then for x∈Ix \in I we have ∣x−x0∣≤α≤b/M\lvert x - x_0 \rvert \le \alpha \le b/M, so ∣φk(x)−y0∣≤Mα≤b\lvert \varphi_k(x) - y_0\rvert \le M\alpha \le b, and also ∣x−x0∣≤α≤a\lvert x - x_0\rvert \le \alpha \le a; hence (x,φk(x))∈R(x,\varphi_k(x)) \in R and the integrand t↦f(t,φk(t))t \mapsto f(t,\varphi_k(t)) is defined and continuous on II. Therefore φk+1\varphi_{k+1} is defined and continuous (indeed continuously differentiable) on II, and

∣φk+1(x)−y0∣=∣∫x0xf(t,φk(t)) dt∣≤M ∣x−x0∣,\bigl\lvert \varphi_{k+1}(x) - y_0 \bigr\rvert = \left\lvert \int_{x_0}^{x} f\bigl(t,\varphi_k(t)\bigr)\,dt \right\rvert \le M\,\lvert x - x_0\rvert ,

using ∣f∣≤M\lvert f \rvert \le M on RR. The absolute value outside the integral covers both x>x0x > x_0 and x<x0x < x_0. Both of α\alpha's two candidates are used here: aa keeps xx inside the rectangle horizontally, b/Mb/M keeps the graph inside it vertically. (Coddington's Theorem 5.)

Step 2: consecutive iterates differ by at most a factorial-sized amount. We claim that for every p≥1p \ge 1 and x∈Ix \in I,

∣φp(x)−φp−1(x)∣ ≤ MKp−1 ∣x−x0∣pp!.\bigl\lvert \varphi_p(x) - \varphi_{p-1}(x) \bigr\rvert \ \le \ \frac{M K^{p-1}\,\lvert x - x_0\rvert^{p}}{p!} .

For p=1p = 1 this is the estimate of step 1 with k=0k=0. Assume it for pp. Subtracting the defining formulas for φp+1\varphi_{p+1} and φp\varphi_p,

φp+1(x)−φp(x)=∫x0x[f(t,φp(t))−f(t,φp−1(t))]dt.\varphi_{p+1}(x) - \varphi_p(x) = \int_{x_0}^{x}\Bigl[f\bigl(t,\varphi_p(t)\bigr) - f\bigl(t,\varphi_{p-1}(t)\bigr)\Bigr]dt .

Both graphs lie in RR by step 1, so the Lipschitz condition applies to the integrand and gives ∣f(t,φp)−f(t,φp−1)∣≤K∣φp(t)−φp−1(t)∣\lvert f(t,\varphi_p) - f(t,\varphi_{p-1})\rvert \le K\lvert \varphi_p(t) - \varphi_{p-1}(t)\rvert. Hence, using the inductive hypothesis,

∣φp+1(x)−φp(x)∣ ≤ K∣∫x0xMKp−1∣t−x0∣pp! dt∣=MKp ∣x−x0∣p+1(p+1)!,\bigl\lvert \varphi_{p+1}(x) - \varphi_p(x)\bigr\rvert \ \le \ K\left\lvert \int_{x_0}^{x} \frac{MK^{p-1}\lvert t-x_0\rvert^{p}}{p!}\,dt\right\rvert = \frac{MK^{p}\,\lvert x-x_0\rvert^{p+1}}{(p+1)!} ,

which is the claim for p+1p+1. The Lipschitz condition enters here for the first time, and this is what it does: it converts the bound already in hand on φp−φp−1\varphi_p - \varphi_{p-1} into a bound on the next difference φp+1−φp\varphi_{p+1} - \varphi_p, one power of ∣x−x0∣\lvert x - x_0\rvert and one factor of KK further on. It is needed twice more, in step 4 and in step 5.

Step 3: the iterates converge uniformly on II. Telescoping,

φk(x)=φ0(x)+∑p=1k[φp(x)−φp−1(x)],\varphi_k(x) = \varphi_0(x) + \sum_{p=1}^{k}\bigl[\varphi_p(x) - \varphi_{p-1}(x)\bigr] ,

so φk\varphi_k is the kkth partial sum of the series φ0+∑p≥1(φp−φp−1)\varphi_0 + \sum_{p \ge 1}(\varphi_p - \varphi_{p-1}), and convergence of the sequence is convergence of the series. By step 2, on II,

∣φp(x)−φp−1(x)∣≤MK (Kα)pp!=:Mp,∑p≥1Mp=MK(eKα−1)<∞,\bigl\lvert \varphi_p(x) - \varphi_{p-1}(x)\bigr\rvert \le \frac{M}{K}\,\frac{(K\alpha)^{p}}{p!} =: M_p , \qquad \sum_{p \ge 1} M_p = \frac{M}{K}\bigl(e^{K\alpha} - 1\bigr) < \infty ,

and the constants MpM_p do not depend on xx. By the Weierstrass M-test the series converges uniformly on II; call its sum φ\varphi. Each φk\varphi_k is continuous on II, and a uniform limit of continuous functions is continuous, so φ\varphi is continuous on II. Letting k→∞k \to \infty in the estimate of step 1 gives ∣φ(x)−y0∣≤M∣x−x0∣≤b\lvert \varphi(x) - y_0\rvert \le M\lvert x - x_0\rvert \le b, so the graph of φ\varphi also lies in RR.

Step 4: the limit solves the integral equation. Fix x∈Ix \in I and subtract:

∣∫x0xf(t,φ(t))dt−∫x0xf(t,φk(t))dt∣≤K∣∫x0x∣φ(t)−φk(t)∣dt∣≤Kα sup⁡t∈I∣φ(t)−φk(t)∣,\left\lvert \int_{x_0}^{x} f\bigl(t,\varphi(t)\bigr)dt - \int_{x_0}^{x} f\bigl(t,\varphi_k(t)\bigr)dt \right\rvert \le K\left\lvert \int_{x_0}^{x}\bigl\lvert \varphi(t) - \varphi_k(t)\bigr\rvert dt\right\rvert \le K\alpha \, \sup_{t \in I}\bigl\lvert \varphi(t) - \varphi_k(t)\bigr\rvert ,

the first inequality by the Lipschitz condition (both graphs are in RR), the second by bounding the integrand by its supremum over an interval of length at most α\alpha. The right-hand side tends to 00 by step 3 — and this is exactly where uniform, as opposed to pointwise, convergence is needed, since the bound must be one number serving all tt at once. Letting k→∞k \to \infty in

φk+1(x)=y0+∫x0xf(t,φk(t)) dt\varphi_{k+1}(x) = y_0 + \int_{x_0}^{x} f\bigl(t,\varphi_k(t)\bigr)\,dt

therefore gives φ(x)=y0+∫x0xf(t,φ(t)) dt\varphi(x) = y_0 + \int_{x_0}^{x}f(t,\varphi(t))\,dt. By step 0, φ\varphi solves the initial-value problem on II. This proves part 1.

Step 5: uniqueness. Let φ\varphi and ψ\psi solve the same initial-value problem on an interval I′I' containing x0x_0, with graphs in RR. By step 0 both satisfy the integral equation, so subtracting and using the Lipschitz condition, for x≥x0x \ge x_0 in I′I',

∣φ(x)−ψ(x)∣≤∫x0x∣f(t,φ(t))−f(t,ψ(t))∣ dt≤K∫x0x∣φ(t)−ψ(t)∣ dt.\bigl\lvert \varphi(x) - \psi(x)\bigr\rvert \le \int_{x_0}^{x}\bigl\lvert f(t,\varphi(t)) - f(t,\psi(t))\bigr\rvert\,dt \le K\int_{x_0}^{x}\bigl\lvert \varphi(t)-\psi(t)\bigr\rvert\,dt .

Set E(x)=∫x0x∣φ−ψ∣ dtE(x) = \int_{x_0}^{x}\lvert \varphi - \psi\rvert\,dt. Then E(x0)=0E(x_0) = 0, E≥0E \ge 0, and EE is differentiable with E′=∣φ−ψ∣E' = \lvert \varphi - \psi\rvert because the integrand is continuous; the display says precisely E′≤KEE' \le KE. Hence

ddx[e−KxE(x)]=e−Kx[E′(x)−KE(x)]≤0,\frac{d}{dx}\Bigl[e^{-Kx}E(x)\Bigr] = e^{-Kx}\bigl[E'(x) - KE(x)\bigr] \le 0 ,

so e−KxE(x)e^{-Kx}E(x) is non-increasing and therefore at most its value 00 at x0x_0: E(x)≤0E(x) \le 0 for x≥x0x \ge x_0. Since also E≥0E \ge 0, we get E≡0E \equiv 0 and so ∣φ−ψ∣=E′≡0\lvert \varphi - \psi\rvert = E' \equiv 0 on I′∩[x0,∞)I' \cap [x_0,\infty). For x≤x0x \le x_0 apply the same argument to the functions φ~(x)=φ(2x0−x)\tilde\varphi(x) = \varphi(2x_0 - x) and ψ~(x)=ψ(2x0−x)\tilde\psi(x) = \psi(2x_0-x), which solve y′=−f(2x0−x,y)y' = -f(2x_0-x,y) with the same initial value and the same Lipschitz constant. Hence φ=ψ\varphi = \psi on all of I′I', which is part 2. (This is Coddington's route: he proves the general comparison estimate of his Theorem 10 by exactly this differential inequality and then reads uniqueness off as the special case in which the two equations and the two initial values coincide.)

Step 6: the error bound. Subtracting the series of step 3 from its kkth partial sum leaves the tail, so by step 2 and the same constants MpM_p,

∣φ(x)−φk(x)∣≤∑p=k+1∞MK(Kα)pp!≤MK (Kα)k+1(k+1)!∑q=0∞(Kα)qq!=MK (Kα)k+1(k+1)! eKα,\bigl\lvert \varphi(x) - \varphi_k(x)\bigr\rvert \le \sum_{p = k+1}^{\infty}\frac{M}{K}\frac{(K\alpha)^{p}}{p!} \le \frac{M}{K}\,\frac{(K\alpha)^{k+1}}{(k+1)!}\sum_{q = 0}^{\infty}\frac{(K\alpha)^{q}}{q!} = \frac{M}{K}\,\frac{(K\alpha)^{k+1}}{(k+1)!}\,e^{K\alpha} ,

where the middle step writes p=k+1+qp = k+1+q and uses (k+1+q)!≥(k+1)! q!(k+1+q)! \ge (k+1)!\,q!. That is part 3. Since (Kα)k+1/(k+1)!(K\alpha)^{k+1}/(k+1)! is a term of the convergent series for eKαe^{K\alpha}, it tends to 00, so the bound does too. □\square

Remark(Where the hypotheses are used, and what fails without them)AdaptedAdapted from Coddington (1989), §5.5, pp. 208-209, §5.6, p. 210, and §5.7, Theorem 9, pp. 217-219; Hassani (2013), §14.2, Theorems 14.2.2 and 14.2.4, pp. 420-421; Hirsch, Smale & Devaney (2013), §7.2, p. 143
  • Continuity of ff is used in step 0 (to differentiate the integral and to integrate the derivative) and in step 1 (to know the iterates are defined). Dropping it can destroy existence outright: Hirsch, Smale and Devaney give the vector field on R\mathbb{R} equal to 11 for x<0x<0 and −1-1 for x≥0x \ge 0, for which no solution passes through x=0x = 0, since the solution would have to decrease at 00 and increase just to the left of it (p. 143).
  • The bound MM and the number b/Mb/M first appear in step 1, where b/Mb/M is what keeps the graphs inside RR; that is where the locality of the conclusion comes from, and if ff is large the graph may run out of the rectangle quickly and the guaranteed interval shrinks accordingly. MM does not stop there: it is the leading factor in the difference estimate of step 2, in the constants MpM_p of step 3, and hence in the error bound of step 6 and part 3, all of which are proportional to it.
  • The Lipschitz condition is used in step 2 (to make the differences contract) and in steps 4 and 5. It is not needed for existence: Hassani states the Peano existence theorem (Theorem 14.2.2), that continuity of ff on the rectangle together with ∣f∣≤M\lvert f \rvert \le M already gives at least one solution on ∣x−x0∣≤min⁡(a,b/M)\lvert x - x_0\rvert \le \min(a, b/M) — the same interval. Coddington says the same in a note after his Theorem 7 and declines to prove it, the proof needing tools beyond his chapter. What the Lipschitz condition adds is uniqueness, and the method of successive approximations itself: Coddington's Ex. 3, pp. 215-216, exhibits a continuous ff with ∣f∣≤2\lvert f\rvert \le 2 for which the approximations alternate between x2x^2 and −x2-x^2, so that neither convergent subsequence tends to a solution — although the problem does have one.
  • How to check the Lipschitz condition. Coddington's Theorem 6: if SS is a rectangle ∣x−x0∣≤a\lvert x-x_0\rvert \le a, ∣y−y0∣≤b\lvert y - y_0\rvert\le b or a strip ∣x−x0∣≤a\lvert x - x_0\rvert \le a, ∣y∣<∞\lvert y\rvert < \infty, and ff is real-valued on SS with ∂f/∂y\partial f/\partial y existing, continuous on SS and satisfying ∣∂f/∂y∣≤K\lvert \partial f/\partial y\rvert \le K there, then ff satisfies a Lipschitz condition on SS with constant KK. The proof is one line — f(x,y1)−f(x,y2)=∫y2y1(∂f/∂y)(x,t) dtf(x,y_1) - f(x,y_2) = \int_{y_2}^{y_1}(\partial f/\partial y)(x,t)\,dt — and this is the test used in practice. (Coddington's Ex. 4, p. 210, notes that the continuity of ∂f/∂y\partial f/\partial y is not needed, the mean value theorem serving instead.) The converse of the test fails: f(x,y)=x2∣y∣f(x,y) = x^{2}\lvert y\rvert is Lipschitz on ∣x∣≤1\lvert x\rvert \le 1, ∣y∣≤1\lvert y\rvert \le 1 although ∂f/∂y\partial f/\partial y does not exist at (x,0)(x,0) when x≠0x \neq 0 (Coddington, Ex. 3, pp. 209-210).
  • Being Lipschitz is a property of the region. f(x,y)=xy2f(x,y) = xy^{2} satisfies a Lipschitz condition on the rectangle ∣x∣≤1\lvert x \rvert \le 1, ∣y∣≤1\lvert y\rvert \le 1, where ∣∂f/∂y∣=∣2xy∣≤2\lvert \partial f/\partial y\rvert = \lvert 2xy\rvert \le 2, but on no strip ∣x∣≤1\lvert x\rvert \le 1, ∣y∣<∞\lvert y \rvert < \infty: there the quotient ∣f(x,y1)−f(x,0)∣/∣y1∣\lvert f(x,y_1) - f(x,0)\rvert/\lvert y_1\rvert equals ∣x∣∣y1∣\lvert x\rvert\lvert y_1\rvert, which is unbounded in y1y_1 whenever x≠0x \neq 0 (Coddington, pp. 208-209).
  • Non-local existence. The locality is a consequence of the rectangle, not of the method. Coddington's Theorem 9: if ff is continuous on the strip ∣x−x0∣≤a\lvert x - x_0\rvert \le a, ∣y∣<∞\lvert y\rvert < \infty and satisfies a Lipschitz condition with constant KK there, the approximations exist and converge on the whole interval ∣x−x0∣≤a\lvert x - x_0\rvert \le a. The linear equation y′+g(x)y=h(x)y' + g(x)y = h(x) with gg, hh continuous and ∣g∣≤K\lvert g\rvert \le K on ∣x−x0∣≤a\lvert x - x_0\rvert \le a is of this kind, which recovers from this theory the global existence proved directly in Solving first-order equations.
  • The interval depends on the initial value. Hassani's Example 14.2.5: dy/dx=eydy/dx = e^{y} with y(0)=by(0) = b has the solution y=−ln⁡(e−b−x)y = -\ln(e^{-b} - x), defined for −∞<x<e−b-\infty < x < e^{-b}, so the right-hand end moves as bb is varied.
Note(The same theorem in the other sources' hypotheses)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §7.2, p. 144; Strogatz (1994), §2.5, p. 27; Hassani (2013), §14.2, Theorem 14.2.6, p. 421

The result is stated in this handbook with Coddington's hypotheses. Hassani assumes the same and reaches the same interval; the two dynamical-systems sources assume more and say less about the interval. The three read as follows.

  • Hassani (Theorem 14.2.6). Same statement as ours: F(x,y)F(x,y) defined and continuous on the rectangle ∣y−c∣≤K\lvert y - c\rvert \le K, ∣x−a∣≤N\lvert x - a \rvert \le N and satisfying a Lipschitz condition there, M=max⁡∣F∣M = \max\lvert F\rvert on the rectangle, gives a unique solution with f(a)=cf(a)=c on ∣x−a∣≤min⁡(N,K/M)\lvert x - a\rvert \le \min(N, K/M). His letters differ from ours — his KK is the half-height of the rectangle and his LL is the Lipschitz constant — but the content is identical.
  • Hirsch, Smale and Devaney (p. 144). For an autonomous system X′=F(X)X' = F(X), X(t0)=X0X(t_0) = X_0 in Rn\mathbb{R}^n with F:Rn→RnF : \mathbb{R}^n \to \mathbb{R}^n of class C1C^1, there exist an a>0a > 0 and a unique solution X:(t0−a,t0+a)→RnX : (t_0-a, t_0+a) \to \mathbb{R}^n. This is stronger in dimension and weaker in precision: C1C^1 implies a local Lipschitz condition by the derivative test above, but the number aa is not identified. They also observe (p. 146) that uniqueness is not merely local: if two solutions agree at one point and both are defined on an interval JJ, they agree on all of JJ, since the set where they agree is both open, by the local theorem, and closed, by continuity.
  • Strogatz (p. 27). For x˙=f(x)\dot x = f(x), x(0)=x0x(0) = x_0 with ff and f′f' both continuous on an open xx-interval RR that contains x0x_0, there is a solution on some interval (−τ,τ)(-\tau,\tau) and it is unique. Again C1C^1 in place of Lipschitz, and no formula for τ\tau.

Two conventions to note. Hirsch, Smale and Devaney and Strogatz both state the theorem for autonomous equations, where ff does not depend on the independent variable; Coddington and Hassani allow dependence on both. And where we use xx for the independent variable, the dynamical-systems sources use tt and reserve xx for the dependent one. Nothing is lost by the autonomous restriction in Hirsch, Smale and Devaney's nn-dimensional statement, since y′=f(x,y)y' = f(x,y) is the autonomous planar system x′=1x' = 1, y′=f(x,y)y' = f(x,y) in disguise; Strogatz's one-dimensional statement, which has no room for that extra variable, is genuinely the narrower one.

There is also a route that bypasses the successive approximations as such: observe that the Picard map φ↦y0+∫x0⋅f(t,φ) dt\varphi \mapsto y_0 + \int_{x_0}^{\cdot} f(t,\varphi)\,dt moves two functions no more than KαK\alpha times as far apart as they already are, in the supremum distance; when Kα<1K\alpha < 1 it is therefore a contraction on a complete space of continuous functions and has a unique fixed point by the contraction mapping theorem. The proof above avoids the extra hypothesis Kα<1K\alpha < 1: the factorial in step 2 makes the iterates contract eventually whatever the value of KαK\alpha.

Example(Without the Lipschitz condition: infinitely many solutions)AdaptedAdapted from Coddington (1989), §5.2, pp. 189-190, §5.5, p. 209, and §5.8, p. 223; Hirsch, Smale & Devaney (2013), §7.2, p. 143; Strogatz (1994), §2.5, Example 2.5.1, p. 27

Consider

y′=3y2/3,y(0)=0.y' = 3y^{2/3} , \qquad y(0) = 0 .

The right-hand side is continuous but not Lipschitz. f(x,y)=3y2/3f(x,y) = 3y^{2/3} is continuous on every rectangle. On a rectangle containing the origin, however, take y2=0y_2 = 0 and y1=η>0y_1 = \eta > 0:

∣f(x,η)−f(x,0)∣∣η−0∣=3η2/3η=3η1/3⟶∞(η→0+),\frac{\lvert f(x,\eta) - f(x,0)\rvert}{\lvert \eta - 0\rvert} = \frac{3\eta^{2/3}}{\eta} = \frac{3}{\eta^{1/3}} \longrightarrow \infty \qquad (\eta \to 0^{+}) ,

so no constant KK can serve: ff satisfies a Lipschitz condition on no rectangle containing a piece of the line y=0y = 0. (Coddington makes the same computation for y2/3y^{2/3} on ∣x∣≤1\lvert x\rvert \le 1, ∣y∣≤1\lvert y\rvert\le1, where the quotient is y1−1/3y_1^{-1/3}, p. 209; the derivative test fails for the same reason, ∂f/∂y=2y−1/3\partial f/\partial y = 2y^{-1/3} being unbounded near y=0y=0.)

Separation finds one family of solutions. For y≠0y \neq 0, separating as in Solving first-order equations gives 13∫y−2/3 dy=∫dx\tfrac13\int y^{-2/3}\,dy = \int dx, so y1/3=x+cy^{1/3} = x + c and y=(x+c)3y = (x+c)^3. The initial condition picks c=0c = 0 and the solution y=x3y = x^3.

But there are infinitely many. The constant function y≡0y \equiv 0 is also a solution with y(0)=0y(0)=0 — the solution lost by dividing by y2/3y^{2/3}. Worse, the two can be spliced. For any τ≥0\tau \ge 0 (Coddington splices at any positive kk, p. 190, and Hirsch, Smale and Devaney likewise take their parameter positive, p. 143; the member τ=0\tau = 0, which vanishes for x≤0x \le 0 and equals x3x^3 afterwards, is equally a solution and is our addition to their families) define

yτ(x)={0,x≤τ,(x−τ)3,x>τ.y_\tau(x) = \begin{cases} 0, & x \le \tau,\\[1mm] (x-\tau)^{3}, & x > \tau .\end{cases}

This is differentiable everywhere, including at x=τx = \tau, where the left derivative is 00 and the right derivative is lim⁡h→0+h3/h=0\lim_{h\to0^+} h^3/h = 0; and it satisfies the equation, since for x>τx > \tau we have yτ′=3(x−τ)2=3[(x−τ)3]2/3=3yτ2/3y_\tau' = 3(x-\tau)^2 = 3\bigl[(x-\tau)^3\bigr]^{2/3} = 3y_\tau^{2/3}, while for x<τx < \tau both sides vanish. Every one of these satisfies yτ(0)=0y_\tau(0) = 0. So the initial-value problem has a one-parameter family of solutions, together with y≡0y \equiv 0 and with the mirror-image solutions obtained by splicing on the left.

What this does and does not show. Existence is not the issue: ff is continuous, so Peano's theorem applies and solutions exist. The Lipschitz condition is what fails, and with it uniqueness — exactly the division of labour described in the remark above. The picture is of a solution that may rest at 00 for an arbitrary time and then set off, with nothing in the equation to say when. Hirsch, Smale and Devaney give the same example (p. 143), and Strogatz gives the companion x˙=x1/3\dot x = x^{1/3} from x0=0x_0 = 0, with the two solutions x≡0x \equiv 0 and x=(23t)3/2x = (\tfrac23 t)^{3/2} (p. 27).

Example(Picard iteration, and how sharp the error bound is)Original

Solve

y′=x2+y,y(0)=1y' = x^{2} + y , \qquad y(0) = 1

by successive approximations, and compare the result with the error bound of part 3.

Step 1: the data of the theorem. Take the rectangle R:∣x∣≤12R : \lvert x\rvert \le \tfrac12, ∣y−1∣≤2\lvert y - 1\rvert \le 2, so a=12a = \tfrac12 and b=2b = 2. On RR we have y∈[−1,3]y \in [-1,3] and

∣f(x,y)∣=∣x2+y∣≤14+3=134=:M,\lvert f(x,y)\rvert = \lvert x^2 + y\rvert \le \tfrac14 + 3 = \tfrac{13}{4} =: M ,

while ∂f/∂y=1\partial f/\partial y = 1 is continuous and bounded by 11, so by the derivative test ff is Lipschitz on RR with K=1K = 1. Hence

α=min⁡{12, 213/4}=min⁡{0.5, 0.6154}=12,\alpha = \min\Bigl\{\tfrac12,\ \tfrac{2}{13/4}\Bigr\} = \min\{0.5,\ 0.6154\} = \tfrac12 ,

and the theorem guarantees a unique solution on ∣x∣≤12\lvert x\rvert \le \tfrac12.

Step 2: iterate. With φ0≡1\varphi_0 \equiv 1 and φk+1(x)=1+∫0x(t2+φk(t)) dt\varphi_{k+1}(x) = 1 + \int_0^x (t^2 + \varphi_k(t))\,dt,

φ1(x)=1+x+13x3,φ2(x)=1+x+12x2+13x3+112x4,φ3(x)=1+x+12x2+12x3+112x4+160x5,φ4(x)=1+x+12x2+12x3+18x4+160x5+1360x6,φ5(x)=1+x+12x2+12x3+18x4+140x5+1360x6+12520x7.\begin{aligned} \varphi_1(x) &= 1 + x + \tfrac13 x^{3},\\ \varphi_2(x) &= 1 + x + \tfrac12 x^{2} + \tfrac13 x^{3} + \tfrac1{12}x^{4},\\ \varphi_3(x) &= 1 + x + \tfrac12 x^{2} + \tfrac12 x^{3} + \tfrac1{12}x^{4} + \tfrac1{60}x^{5},\\ \varphi_4(x) &= 1 + x + \tfrac12 x^{2} + \tfrac12 x^{3} + \tfrac18 x^{4} + \tfrac1{60}x^{5} + \tfrac1{360}x^{6},\\ \varphi_5(x) &= 1 + x + \tfrac12 x^{2} + \tfrac12 x^{3} + \tfrac18 x^{4} + \tfrac1{40}x^{5} + \tfrac1{360}x^{6} + \tfrac1{2520}x^{7} . \end{aligned}

Each iterate adds one more correct term and perturbs the tail: the coefficient of x4x^4, for instance, is wrong in φ2\varphi_2 and φ3\varphi_3 and settles at 18\tfrac18 from φ4\varphi_4 on.

Step 3: the exact solution, for comparison. The equation is linear, y′−y=x2y' - y = x^2, with integrating factor e−xe^{-x}; the method of Solving first-order equations gives the particular solution −(x2+2x+2)-(x^2+2x+2) and hence

y(x)=3ex−x2−2x−2,y(x) = 3e^{x} - x^{2} - 2x - 2 ,

whose value at x=0x=0 is 11 and whose derivative is 3ex−2x−2=x2+y3e^x - 2x - 2 = x^2 + y, as required. Its Taylor series is 1+x+12x2+12x3+18x4+140x5+⋯1 + x + \tfrac12x^2 + \tfrac12x^3 + \tfrac18x^4 + \tfrac1{40}x^5 + \cdots, which is what the iterates are converging to.

Step 4: numbers at the edge of the guaranteed interval. At x=α=12x = \alpha = \tfrac12 the exact value is y(12)=3e1/2−14−1−2=4.946163812−3.25=1.696163812y(\tfrac12) = 3e^{1/2} - \tfrac14 - 1 - 2 = 4.946163812 - 3.25 = 1.696163812. The bound of part 3, with M/K=3.25M/K = 3.25, Kα=0.5K\alpha = 0.5 and eKα=1.648721271e^{K\alpha} = 1.648721271, is 3.25 (0.5)k+1e0.5/(k+1)!3.25\,(0.5)^{k+1}e^{0.5}/(k+1)!.

kk φk(1/2)\varphi_k(1/2) actual error bound of part 3
1 1.5416666671.541666667 1.54×10−11.54\times10^{-1} 6.70×10−16.70\times10^{-1}
2 1.6718750001.671875000 2.43×10−22.43\times10^{-2} 1.12×10−11.12\times10^{-1}
3 1.6932291671.693229167 2.93×10−32.93\times10^{-3} 1.40×10−21.40\times10^{-2}
4 1.6958767361.695876736 2.87×10−42.87\times10^{-4} 1.40×10−31.40\times10^{-3}
5 1.6961402531.696140253 2.36×10−52.36\times10^{-5} 1.16×10−41.16\times10^{-4}

Every error is below its bound, by a factor of about five throughout, and both columns fall by roughly an order of magnitude per iteration — the factorial of step 2 at work. The bound is therefore pessimistic by a constant factor but correct in its rate, which is the useful property: it predicts in advance how many iterations are needed for a prescribed accuracy, before any of them is carried out.

Step 5: a caution about the interval. Nothing in the construction says the solution stops at x=12x = \tfrac12; here it is in fact an entire function. The rectangle was a device, and a different rectangle gives a different α\alpha. Enlarging bb raises MM, so increasing bb eventually stops helping: with a=12a = \tfrac12 and half-height bb, M=14+1+bM = \tfrac14 + 1 + b and b/M=b/(b+54)b/M = b/(b + \tfrac54), which increases to 11 as b→∞b \to \infty, so α=12\alpha = \tfrac12 for every b≥54b \ge \tfrac54 and the horizontal constraint aa is what binds. For this equation the strip theorem quoted in the remark does better: ff is Lipschitz with K=1K=1 on every strip ∣x∣≤a\lvert x\rvert \le a, so the solution in fact exists for all xx.

Remark(Why the theorem has to be local: blow-up)AdaptedAdapted from Strogatz (1994), §2.5, Example 2.5.2, p. 28; Hirsch, Smale & Devaney (2013), §7.2, p. 146

The previous example might suggest that α\alpha is always an underestimate of no consequence. It is not. Take

y′=1+y2,y(0)=0,y' = 1 + y^{2} , \qquad y(0) = 0 ,

whose right-hand side is a polynomial, hence continuous with continuous yy-derivative everywhere. Separating gives arctan⁡y=x\arctan y = x, so y=tan⁡xy = \tan x, which exists only for −π/2<x<π/2-\pi/2 < x < \pi/2 and runs to ±∞\pm\infty at the ends: the solution reaches infinity at a finite value of the independent variable. Strogatz calls this blow-up and notes its relevance to models of combustion and other runaway processes (p. 28); Hirsch, Smale and Devaney make the same point with x′=1+x2x' = 1+x^2 and its solutions tan⁡(t+c)\tan(t+c) (p. 146).

What does the theorem predict here? On R:∣x∣≤aR : \lvert x \rvert \le a, ∣y∣≤b\lvert y\rvert \le b we may take M=1+b2M = 1 + b^2, so

α=min⁡{a, b1+b2}≤max⁡b>0b1+b2=12,\alpha = \min\Bigl\{a, \ \frac{b}{1+b^{2}}\Bigr\} \le \max_{b>0}\frac{b}{1+b^{2}} = \frac12 ,

the maximum occurring at b=1b = 1. So no choice of rectangle gives a guaranteed interval longer than ∣x∣≤12\lvert x \rvert \le \tfrac12, against a true interval of half-length π/2=1.5708\pi/2 = 1.5708. The theorem is pessimistic by a factor of about three — but it is pessimistic about something real, since beyond π/2\pi/2 there is nothing to find. No local theorem can distinguish this equation from one whose solutions last forever, because the distinction is not visible in a neighbourhood of the initial point.

Application(Determinism, and where it fails)Original

Trajectories do not cross. Newton's equations for a system with coordinates qq become a first-order system for the state (q,q˙)(q,\dot q) in phase space: q˙=v\dot q = v, v˙=F(q,v)/m\dot v = F(q,v)/m. If FF is continuously differentiable, the theorem applies in the form quoted from Hirsch, Smale and Devaney, and through each phase point there passes exactly one trajectory. (A force that also depends on tt is covered by adjoining tt as an extra state variable with t˙=1\dot t = 1, which restores the autonomous form their statement assumes.) This is the mathematical content of classical determinism, and it is also the licence for every phase-portrait argument: the curves drawn in a phase plane cannot cross, because a crossing point would be an initial condition with two solutions. It is what makes the one-dimensional reasoning of Flows on the line valid.

A typical consequence, used constantly and rarely proved: an equilibrium cannot be reached in finite time. Let x˙=f(x)\dot x = f(x) be autonomous with a fixed point x∗x_\ast, so that the constant function x(t)≡x∗x(t) \equiv x_\ast is a solution, and assume — this is the hypothesis the argument needs, and it is exactly the one the theorem needs at x∗x_\ast — that ff satisfies a Lipschitz condition on some interval around x∗x_\ast, for instance because ff is C1C^1 there. Suppose some other solution satisfied x(t∗)=x∗x(t_\ast) = x_\ast at a finite time t∗t_\ast. Both would then solve the initial-value problem at t∗t_\ast, so by uniqueness they would be the same solution — and the other one is not constant. Hence a trajectory approaching an equilibrium takes infinitely long to arrive. That is why the separatrix of a pendulum takes forever to reach the inverted position, and why a linear stability analysis predicting ∣x−x∗∣∼e−λt\lvert x - x_\ast\rvert \sim e^{-\lambda t} never predicts arrival.

A mechanical system with no unique future. That argument is worth no more than its hypothesis, and the hypothesis can fail in a mechanical system. Consider a bead sliding without friction on a curve z=h(r)z = h(r) with an apex at r=0r = 0, where rr is horizontal distance from the apex. For small slopes the equation of motion along the surface reduces to r¨≈−g h′(r)\ddot r \approx -g\,h'(r). Choose the shape

h(r)=−23g r3/2,so that−g h′(r)=r(r≥0),h(r) = -\frac{2}{3g}\,r^{3/2} , \qquad\text{so that}\qquad -g\,h'(r) = \sqrt{r} \quad (r \ge 0) ,

and take the idealised model r¨=r\ddot r = \sqrt r, with the bead at rest exactly at the apex: r(0)=0r(0) = 0, r˙(0)=0\dot r(0) = 0. As a first-order system this is r˙=v\dot r = v, v˙=r\dot v = \sqrt r, whose right-hand side is continuous but, near r=0r = 0, not Lipschitz in the state, for the reason seen in the example above. And indeed the problem has infinitely many solutions: r≡0r \equiv 0, and for every T≥0T \ge 0

rT(t)={0,t≤T,(t−T)4144,t>T,r_T(t) = \begin{cases} 0, & t \le T, \\[1mm] \dfrac{(t-T)^{4}}{144}, & t > T, \end{cases}

since r¨T=12(t−T)2/144=(t−T)2/12\ddot r_T = 12(t-T)^2/144 = (t-T)^2/12 while rT=(t−T)2/12\sqrt{r_T} = (t-T)^2/12 for t>Tt > T, and both sides vanish for t<Tt<T; the two one-sided limits of rTr_T, r˙T\dot r_T and r¨T\ddot r_T agree at t=Tt = T. The bead may therefore sit motionless at the apex for any length of time and then slide off, with the equations of motion saying nothing about when. This construction is known in the philosophy-of-physics literature as Norton's dome, and it is the cleanest demonstration that classical determinism is a theorem about Lipschitz vector fields rather than an axiom about Newtonian mechanics. The reassurance is that the shape has unbounded curvature at the apex: h′′(r)=− r−1/2/(2g)→−∞h''(r) = -\,r^{-1/2}/(2g) \to -\infty as r→0+r \to 0^{+}, so the dome is not a smooth surface there, and smooth force laws do not produce this behaviour.

Why numerical work needs the theorem twice. Any integrator for y′=f(x,y)y' = f(x,y) (Integrators for ODEs) computes a sequence of approximate values and is silent about whether there is anything to approximate. Both halves of the theorem are therefore used before the first step is taken: existence, so that the computed sequence has a target, and uniqueness, so that two runs with different step sizes are approximating the same function. The Lipschitz constant is not merely a hypothesis here but an output of the analysis: the classical global error bound for a one-step method of order pp and step hh on an interval of length LL has the form Chp(eKL−1)/KC h^{p}\bigl(e^{KL}-1\bigr)/K, with KK the Lipschitz constant of ff, so the same number that makes the solution unique also measures how fast errors — numerical or physical — can be amplified. Finally, blow-up has a numerical signature worth recognising: integrating y′=1+y2y' = 1+y^2 from y(0)=0y(0)=0, an adaptive solver drives its step size towards zero as xx approaches π/2=1.5708\pi/2 = 1.5708 and stalls, which is not a bug but the solver detecting that the solution has ceased to exist.

Theorem · advanced

Dependence on initial data and Gronwall's inequality

Adapted

Gronwall's inequality turns the self-referential integral bound satisfied by the gap between two solutions into an explicit exponential, giving the separation estimate ∣Y(t)−Z(t)∣≤∣Y(t0)−Z(t0)∣eK(t−t0)|Y(t)-Z(t)| \le |Y(t_0)-Z(t_0)|e^{K(t-t_0)}, continuity of the flow in the initial point and in parameters, an error bound for a perturbed vector field, and the fact that a solution on a bounded maximal interval leaves every compact subset of its domain.

Prerequisites: Existence and uniqueness of solutions, Compactness

Definition(Lipschitz constants, maximal intervals, and the flow)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §17.2, p. 394, §17.4, pp. 397-398, and §17.5, p. 402

Throughout, ∣⋅∣|\cdot| is the Euclidean norm on Rn\mathbb{R}^n and OO is an open subset of Rn\mathbb{R}^n (of R×Rn\mathbb{R}\times\mathbb{R}^n where a nonautonomous field is meant).

A map F:O→RnF : O \to \mathbb{R}^n has Lipschitz constant KK on OO if

∣F(X)−F(Y)∣≤K ∣X−Y∣for all X,Y∈O,\bigl| F(X) - F(Y) \bigr| \le K\,|X - Y| \qquad \text{for all } X, Y \in O ,

and is locally Lipschitz if every point of OO has a neighbourhood on which FF has some Lipschitz constant. A C1C^1 map is locally Lipschitz. For a nonautonomous field F:O→RnF : O \to \mathbb{R}^n with O⊆R×RnO \subseteq \mathbb{R}\times\mathbb{R}^n, "FF is Lipschitz in XX with constant KK" means

∣F(t,X1)−F(t,X2)∣≤K ∣X1−X2∣for all (t,X1),(t,X2)∈O,\bigl| F(t, X_1) - F(t, X_2) \bigr| \le K\,|X_1 - X_2| \qquad \text{for all } (t, X_1), (t, X_2) \in O ,

with no requirement on how FF varies with tt beyond continuity.

Let F:O→RnF : O \to \mathbb{R}^n be C1C^1 and fix X0∈OX_0 \in O. Two solutions of X′=F(X)X' = F(X) that agree at one time agree on the whole intersection of their domains: the set where they agree is nonempty, closed by continuity, and open by the local uniqueness theorem of Existence and uniqueness of solutions, hence is all of the (connected) common interval. Consequently the solutions with X(0)=X0X(0) = X_0 can be glued into one, and there is a largest open interval

J(X0)=(α(X0), β(X0))∋0J(X_0) = \bigl(\alpha(X_0),\ \beta(X_0)\bigr) \ni 0

carrying a solution with that initial value; this is the maximal interval of existence, and the solution on it is the maximal solution. The flow of the system is

ϕ(t,X)=the value at time t of the maximal solution with ϕ(0,X)=X,\phi(t, X) = \text{the value at time } t \text{ of the maximal solution with } \phi(0, X) = X ,

defined for X∈OX \in O and t∈J(X)t \in J(X).

Theorem(Gronwall's inequality)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §17.3, p. 395

Let u:[0,α]→Ru : [0, \alpha] \to \mathbb{R} be continuous and nonnegative, and let C≥0C \ge 0 and K≥0K \ge 0 be constants such that

u(t) ≤ C+∫0tK u(s) dsfor all t∈[0,α].u(t) \ \le \ C + \int_0^{t} K\,u(s)\,ds \qquad \text{for all } t \in [0, \alpha] .

Then

u(t) ≤ CeKtfor all t∈[0,α].u(t) \ \le \ C e^{Kt} \qquad \text{for all } t \in [0, \alpha] .
Theorem(Dependence on initial data, on the field, and the shape of the maximal interval)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §17.3, pp. 394, 397, §17.4, pp. 398, 400, and §17.5, p. 402

Let O⊆RnO \subseteq \mathbb{R}^n be open.

  1. (Separation bound.) Suppose F:O→RnF : O \to \mathbb{R}^n has Lipschitz constant KK on OO. Suppose further that each of YY and ZZ solves X′=F(X)X' = F(X) throughout the interval [t0,t1][t_0, t_1], taking its values in OO. Then

    ∣Y(t)−Z(t)∣ ≤ ∣Y(t0)−Z(t0)∣ eK(t−t0)for all t∈[t0,t1].\bigl| Y(t) - Z(t) \bigr| \ \le \ \bigl| Y(t_0) - Z(t_0) \bigr|\, e^{K(t - t_0)} \qquad \text{for all } t \in [t_0, t_1] .
  2. (A bounded maximal interval forces escape.) Suppose F:O→RnF : O \to \mathbb{R}^n is C1C^1, and let YY solve X′=F(X)X' = F(X) on its maximal interval J=(α,β)J = (\alpha, \beta), whose right endpoint is assumed finite, β<∞\beta < \infty. Then YY leaves every compact subset of OO, and does so arbitrarily late: for every compact C⊂OC \subset O and every γ∈(α,β)\gamma \in (\alpha, \beta) there is a t∈[γ,β)t \in [\gamma, \beta) with Y(t)∉CY(t) \notin C. In particular no compact subset of OO holds the whole track.

  3. (Continuous dependence on the initial point, uniformly on a closed interval.) Suppose F:O→RnF : O \to \mathbb{R}^n is C1C^1, and suppose YY solves X′=F(X)X' = F(X) at every point of a closed interval [t0,t1][t_0, t_1], with Y(t0)=Y0Y(t_0) = Y_0. Some neighbourhood U⊆RnU \subseteq \mathbb{R}^n of Y0Y_0 and some constant KK then have this property: each Z0∈UZ_0 \in U is the initial value, at time t0t_0, of a unique solution ZZ that also survives to t1t_1, and

    ∣Y(t)−Z(t)∣ ≤ ∣Y0−Z0∣ eK(t−t0)for all t∈[t0,t1].\bigl| Y(t) - Z(t) \bigr| \ \le \ \bigl| Y_0 - Z_0 \bigr|\, e^{K(t - t_0)} \qquad \text{for all } t \in [t_0, t_1] .

    In particular the flow ϕ(t,X)\phi(t, X) of a C1C^1 field is a continuous function of XX.

  4. (Dependence on the field and on parameters.) Let O⊆R×RnO \subseteq \mathbb{R}\times\mathbb{R}^n be open and contain (0,X0)(0, X_0), and let F,G:O→RnF, G : O \to \mathbb{R}^n be C1C^1 in XX and continuous in tt, with

    ∣F(t,X)−G(t,X)∣<εfor all (t,X)∈O.\bigl| F(t, X) - G(t, X) \bigr| < \varepsilon \qquad \text{for all } (t, X) \in O .

    Write K>0K > 0 for a constant with respect to which FF is Lipschitz in its second argument. Suppose X(t)X(t) solves X′=F(t,X)X' = F(t, X) and Y(t)Y(t) solves Y′=G(t,Y)Y' = G(t, Y), both throughout an interval JJ that contains the origin, and both passing through X0X_0 there: X(0)=X0=Y(0)X(0) = X_0 = Y(0). Then

    ∣X(t)−Y(t)∣ ≤ εK(eK∣t∣−1)for all t∈J.\bigl| X(t) - Y(t) \bigr| \ \le \ \frac{\varepsilon}{K}\Bigl( e^{K|t|} - 1 \Bigr) \qquad \text{for all } t \in J .

    Separately, if X′=Fa(X)X' = F_a(X) is a system whose field is continuously differentiable in XX and in the parameter aa jointly, then its flow is continuous in aa as well as in XX.

Hirsch, Smale and Devaney state part 4 with the factor ε/K\varepsilon/K and do not say that KK is positive; since that quotient needs it, we carry K>0K > 0 in the hypotheses. They also state part 1 with exp⁡(K(t−t0))\exp(K(t - t_0)), that is, forward in time from t0t_0; see the remark below for the two-sided form.

Part 2 is printed there in the weaker form of its last sentence: given any compact C⊂OC \subset O, some t∈(α,β)t \in (\alpha, \beta) has Y(t)∉CY(t) \notin C, with no γ\gamma in the statement. We state the one-sided version because that is what the proof below — which is their proof — actually delivers, the track being used only on [γ,β)[\gamma, \beta), and because the weaker version is not enough for part 3, whose proof needs the escape to happen after t0t_0. Hirsch, Smale and Devaney's own proof of part 3 invokes the theorem in the same one-sided way; the gap between their statement and their use of it is logged in verification/discrepancies.md.

Idea of the proofOriginal

The gap between two solutions satisfies no equation anyone can solve, but it does satisfy an inequality about itself: subtracting the two integral equations and using the Lipschitz condition shows that the gap at time tt is at most its initial size plus KK times the integral of the gap up to tt. Gronwall's inequality says that a nonnegative function trapped by such a self-referential bound can do no better than the solution of the corresponding equation, which is the exponential CeKtCe^{Kt}. That single step yields every quantitative statement here.

The rest is bookkeeping. A perturbation of the field contributes an extra term εt\varepsilon t, which is absorbed by applying Gronwall to the shifted function u+ε/Ku + \varepsilon/K instead of to uu. A parameter becomes an extra coordinate once the equation a′=0a' = 0 is appended, so dependence on parameters is dependence on initial data for a larger system. And the escape statement is a compactness argument with no inequalities in it at all: a solution confined to a compact set over the last stretch of its interval moves at bounded speed there, so it has a limit at the end of a finite maximal interval, and that limit is an interior point from which the solution can be continued — which contradicts maximality.

Proof(Gronwall's inequality)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §17.3, pp. 395-396

The case C>0C > 0. Put

U(t)=C+∫0tK u(s) ds(0≤t≤α).U(t) = C + \int_0^{t} K\,u(s)\,ds \qquad (0 \le t \le \alpha) .

Since uu is continuous, the fundamental theorem of calculus makes UU differentiable with U′(t)=Ku(t)U'(t) = K u(t), and U′≥0U' \ge 0 because K≥0K \ge 0 and u≥0u \ge 0. Hence UU is nondecreasing, so U(t)≥U(0)=C>0U(t) \ge U(0) = C > 0 on the whole interval; in particular UU never vanishes and log⁡U\log U is defined. The hypothesis is exactly u≤Uu \le U.

Divide: for every tt,

U′(t)U(t)=K u(t)U(t)≤K,\frac{U'(t)}{U(t)} = \frac{K\,u(t)}{U(t)} \le K ,

where the inequality uses u(t)≤U(t)u(t) \le U(t) together with K≥0K \ge 0 and U(t)>0U(t) > 0. The left-hand side is (log⁡U)′(t)(\log U)'(t), so integrating from 00 to tt gives log⁡U(t)−log⁡C≤Kt\log U(t) - \log C \le Kt. Exponentiating, U(t)≤CeKtU(t) \le Ce^{Kt}, and therefore u(t)≤U(t)≤CeKtu(t) \le U(t) \le Ce^{Kt}.

The case C=0C = 0. For any c>0c > 0 the hypothesis still holds with CC replaced by cc, because 0≤c0 \le c. The case already proved gives u(t)≤ceKtu(t) \le c e^{Kt} for every c>0c > 0; letting c↓0c \downarrow 0 gives u(t)≤0u(t) \le 0, hence u≡0u \equiv 0, which is the asserted bound. □\square

Proof(Part 1: the separation bound)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §17.3, p. 396

Write v(t)=∣Y(t)−Z(t)∣v(t) = |Y(t) - Z(t)|, a continuous nonnegative function on [t0,t1][t_0, t_1]. Both solutions satisfy the integral form of the equation (Existence and uniqueness of solutions, step 0 of its proof), so subtracting,

Y(t)−Z(t)=Y(t0)−Z(t0)+∫t0t[F(Y(s))−F(Z(s))] ds.Y(t) - Z(t) = Y(t_0) - Z(t_0) + \int_{t_0}^{t} \Bigl[ F\bigl(Y(s)\bigr) - F\bigl(Z(s)\bigr) \Bigr]\, ds .

Take norms. The triangle inequality for integrals and then the Lipschitz hypothesis on FF — legitimate because Y(s)Y(s) and Z(s)Z(s) lie in OO for every ss, which is where KK is a Lipschitz constant — give

v(t) ≤ v(t0)+∫t0tK v(s) ds(t0≤t≤t1).v(t) \ \le \ v(t_0) + \int_{t_0}^{t} K\,v(s)\,ds \qquad (t_0 \le t \le t_1) .

Now translate the clock so that Gronwall's inequality applies in the form stated. Set u(τ)=v(t0+τ)u(\tau) = v(t_0 + \tau) for τ∈[0,t1−t0]\tau \in [0, t_1 - t_0]; substituting s=t0+σs = t_0 + \sigma in the integral turns the display into

u(τ) ≤ v(t0)+∫0τK u(σ) dσ.u(\tau) \ \le \ v(t_0) + \int_0^{\tau} K\,u(\sigma)\,d\sigma .

This is the hypothesis of Gronwall's inequality with C=v(t0)≥0C = v(t_0) \ge 0, so u(τ)≤v(t0)eKτu(\tau) \le v(t_0)e^{K\tau}. Reading τ=t−t0\tau = t - t_0 gives the claim. □\square

Proof(Part 2: a bounded maximal interval forces escape)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §17.4, pp. 398-399

Suppose the conclusion fails for some compact C⊂OC \subset O and some γ∈(α,β)\gamma \in (\alpha, \beta): that is, Y(t)∈CY(t) \in C for every t∈[γ,β)t \in [\gamma, \beta). We derive a contradiction with the maximality of J=(α,β)J = (\alpha, \beta). Only the late part of the track is assumed confined; what YY does on (α,γ)(\alpha, \gamma) plays no role below.

The solution has bounded speed. FF is continuous and CC is compact, so M=max⁡X∈C∣F(X)∣M = \max_{X \in C} |F(X)| is finite and attained (Compactness). For γ≤s≤t<β\gamma \le s \le t < \beta the track lies in CC, so

∣Y(t)−Y(s)∣=∣∫stF(Y(σ)) dσ∣≤M (t−s).\bigl| Y(t) - Y(s) \bigr| = \left| \int_s^{t} F\bigl(Y(\sigma)\bigr)\, d\sigma \right| \le M\,(t - s) .

So YY is Lipschitz, hence uniformly continuous, on [γ,β)[\gamma, \beta). Here the finiteness of β\beta matters: the interval has an endpoint to approach.

It therefore has a limit at β\beta. Given η>0\eta > 0, the display shows ∣Y(t)−Y(s)∣<η|Y(t) - Y(s)| < \eta whenever s,ts, t are within η/(M+1)\eta/(M+1) of β\beta, so Y(t)Y(t) satisfies the Cauchy criterion as t→β−t \to \beta^-. As Rn\mathbb{R}^n is complete the limit exists; call it Y(β)Y(\beta). Since CC is closed and contains Y(t)Y(t) for every t∈[γ,β)t \in [\gamma, \beta), the limit lies in CC, hence in OO.

The extension still solves the equation. On [γ,β)[\gamma, \beta) the solution satisfies

Y(t)=Y(γ)+∫γtF(Y(s)) ds.Y(t) = Y(\gamma) + \int_{\gamma}^{t} F\bigl(Y(s)\bigr)\, ds .

The integrand is continuous on [γ,β)[\gamma, \beta) and bounded there by MM, so the integral converges as t→β−t \to \beta^- and the identity passes to the limit: Y(β)=Y(γ)+∫γβF(Y(s)) dsY(\beta) = Y(\gamma) + \int_{\gamma}^{\beta} F(Y(s))\,ds. The extended Y:[γ,β]→CY : [\gamma, \beta] \to C is thus continuous and satisfies the integral equation on the closed interval, so by the fundamental theorem of calculus it is differentiable with Y′(t)=F(Y(t))Y'(t) = F(Y(t)) there, the derivative at β\beta being the left-hand one.

Maximality is contradicted. Y(β)Y(\beta) is a point of the open set OO, so the local existence theorem (Existence and uniqueness of solutions) supplies a solution WW on some [β,δ][\beta, \delta] with δ>β\delta > \beta and W(β)=Y(β)W(\beta) = Y(\beta). Splice: the function equal to YY on (α,β](\alpha, \beta] and to WW on [β,δ][\beta, \delta] is continuous, and at β\beta its left and right derivatives both equal F(Y(β))F(Y(\beta)), so it is differentiable there and solves the equation on (α,δ](\alpha, \delta]. That is a solution on an interval strictly larger than JJ, contradicting the assumption that JJ is maximal. □\square

Proof(Part 3: continuous dependence on the initial point)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §17.4, pp. 400-401

A lemma: a locally Lipschitz field is Lipschitz on a compact set. Let FF be locally Lipschitz on OO and let C⊂OC \subset O be compact. If no Lipschitz constant worked on CC, then for each m∈Nm \in \mathbb{N} there would be points Xm,Ym∈CX_m, Y_m \in C with

∣F(Xm)−F(Ym)∣>m ∣Xm−Ym∣.\bigl| F(X_m) - F(Y_m) \bigr| > m\,|X_m - Y_m| .

In particular Xm≠YmX_m \ne Y_m, since otherwise the right side is 00 and so is the left. Let M=max⁡C∣F∣M = \max_C |F|, finite by compactness. The display gives ∣Xm−Ym∣<2M/m→0|X_m - Y_m| < 2M/m \to 0. Passing to a subsequence (compactness of CC), we may assume Xm→X∗∈CX_m \to X^*\in C, and then Ym→X∗Y_m \to X^* as well. Because FF is locally Lipschitz there are a neighbourhood O′O' of X∗X^* and a constant K′K' with ∣F(X)−F(Y)∣≤K′∣X−Y∣|F(X) - F(Y)| \le K'|X - Y| on O′O'; for all large mm both XmX_m and YmY_m lie in O′O', so ∣F(Xm)−F(Ym)∣≤K′∣Xm−Ym∣|F(X_m) - F(Y_m)| \le K'|X_m - Y_m|. Taking m>K′m > K' contradicts the display, because ∣Xm−Ym∣>0|X_m - Y_m| > 0. So F∣CF|_C has a Lipschitz constant.

A compact tube around the given solution. The track Γ={ Y(t):t0≤t≤t1 }\Gamma = \{\,Y(t) : t_0 \le t \le t_1\,\} is the continuous image of a compact interval, hence compact, and Γ⊂O\Gamma \subset O. Some r>0r > 0 has the property that every point within distance rr of Γ\Gamma lies in OO: were there no such rr, we could pick Xm∉OX_m \notin O with dist⁡(Xm,Γ)≤1/m\operatorname{dist}(X_m, \Gamma) \le 1/m; these lie in a bounded set, so a subsequence converges, necessarily to a point of the closed set Γ\Gamma. But the complement of OO is closed, so the limit would lie outside OO while lying in Γ⊂O\Gamma \subset O — impossible. Fix such an rr, put ϵ=r/2\epsilon = r/2, and set

C={ X∈Rn:dist⁡(X,Γ)≤2ϵ }⊆O,W={ X∈Rn:dist⁡(X,Γ)<2ϵ }.C = \bigl\{\, X \in \mathbb{R}^n : \operatorname{dist}(X, \Gamma) \le 2\epsilon \,\bigr\} \subseteq O , \qquad W = \bigl\{\, X \in \mathbb{R}^n : \operatorname{dist}(X, \Gamma) < 2\epsilon \,\bigr\} .

The set CC is closed and bounded, hence compact, and WW is open because X↦dist⁡(X,Γ)X \mapsto \operatorname{dist}(X, \Gamma) is continuous; thus Γ⊂W⊆C⊆O\Gamma \subset W \subseteq C \subseteq O. Since FF is C1C^1 it is locally Lipschitz, so by the lemma FF has a Lipschitz constant KK on CC, hence also on the open set WW — which is the shape part 1 asks for, since part 1 is stated for an open set. This KK depends on the whole track, not only on Y0Y_0.

Choice of the neighbourhood. Pick δ>0\delta > 0 with

δ≤12ϵandδ eK(t1−t0)≤12ϵ,\delta \le \tfrac{1}{2}\epsilon \qquad\text{and}\qquad \delta\, e^{K(t_1 - t_0)} \le \tfrac{1}{2}\epsilon ,

and take for UU the open ball centred at Y0Y_0 whose radius is δ\delta; since Y0∈ΓY_0 \in \Gamma and δ<2ϵ\delta < 2\epsilon, we have U⊆W⊆OU \subseteq W \subseteq O. Fix Z0∈UZ_0 \in U and let ZZ be the maximal solution with Z(t0)=Z0Z(t_0) = Z_0, defined on [t0,β)[t_0, \beta) to the right, where (αZ,β)(\alpha_Z, \beta) is its maximal interval.

Bootstrap: ZZ stays in the tube. Write I=[t0,t1]∩[t0,β)I = [t_0, t_1] \cap [t_0, \beta) for the part of [t0,t1][t_0, t_1] on which both solutions are defined; it is [t0,t1][t_0, t_1] if β>t1\beta > t_1, and [t0,β)[t_0, \beta) otherwise. Let

S={ τ∈I : ∣Z(t)−Y(t)∣≤ϵ for all t∈[t0,τ] },T=sup⁡S.S = \bigl\{\, \tau \in I \ :\ |Z(t) - Y(t)| \le \epsilon \text{ for all } t \in [t_0, \tau] \,\bigr\} , \qquad T = \sup S .

The set SS contains t0t_0, because ∣Z(t0)−Y(t0)∣=∣Z0−Y0∣<δ≤ϵ|Z(t_0) - Y(t_0)| = |Z_0 - Y_0| < \delta \le \epsilon, so TT is well defined; and SS is an interval with left endpoint t0t_0, since its defining condition at τ\tau implies the same condition at every smaller τ\tau.

Let t∈[t0,T)t \in [t_0, T). Some τ∈S\tau \in S satisfies t≤τt \le \tau, so the gap is at most ϵ\epsilon at every point of [t0,t][t_0, t]. Then both solutions take their values in WW throughout [t0,t][t_0, t]: Y(s)∈ΓY(s) \in \Gamma, and dist⁡(Z(s),Γ)≤∣Z(s)−Y(s)∣≤ϵ<2ϵ\operatorname{dist}(Z(s), \Gamma) \le |Z(s) - Y(s)| \le \epsilon < 2\epsilon. So part 1 applies on the closed interval [t0,t][t_0, t] with the open set WW in place of OO and with the Lipschitz constant KK, and it gives

∣Z(s)−Y(s)∣≤∣Z0−Y0∣ eK(s−t0)<δ eK(t1−t0)≤12ϵ(t0≤s≤t),\bigl| Z(s) - Y(s) \bigr| \le |Z_0 - Y_0|\, e^{K(s - t_0)} < \delta\, e^{K(t_1 - t_0)} \le \tfrac{1}{2}\epsilon \qquad (t_0 \le s \le t) ,

the middle step using ∣Z0−Y0∣<δ|Z_0 - Y_0| < \delta together with s−t0≤t1−t0s - t_0 \le t_1 - t_0 and K≥0K \ge 0.

The gap is therefore at most 12ϵ\tfrac{1}{2}\epsilon on [t0,T)[t_0, T), and also at t0t_0 itself, where it equals ∣Z0−Y0∣<δ≤12ϵ|Z_0 - Y_0| < \delta \le \tfrac{1}{2}\epsilon (this covers the case T=t0T = t_0, where the previous display says nothing). By continuity it is then at most 12ϵ\tfrac{1}{2}\epsilon at TT as well whenever T∈IT \in I. Suppose TT were not the right endpoint of II. Then T∈IT \in I, the gap at TT is at most 12ϵ<ϵ\tfrac{1}{2}\epsilon < \epsilon, and by continuity the gap stays below ϵ\epsilon on [t0,T+h][t_0, T + h] for some small h>0h > 0 with T+h∈IT + h \in I; that puts T+hT + h in SS and contradicts T=sup⁡ST = \sup S. So SS exhausts II, and

∣Z(t)−Y(t)∣≤∣Z0−Y0∣ eK(t−t0)≤12ϵ,Z(t)∈W⊆C,\bigl| Z(t) - Y(t) \bigr| \le |Z_0 - Y_0|\, e^{K(t - t_0)} \le \tfrac{1}{2}\epsilon , \qquad Z(t) \in W \subseteq C ,

at every t∈It \in I.

ZZ survives to t1t_1. Suppose β≤t1\beta \le t_1. Then β<∞\beta < \infty, I=[t0,β)I = [t_0, \beta), and the bootstrap has just put Z(t)Z(t) in the compact set C⊂OC \subset O for every t∈[t0,β)t \in [t_0, \beta). Now t0t_0 lies in the maximal interval (αZ,β)(\alpha_Z, \beta) of ZZ, so part 2, applied to ZZ with this compact set and with γ=t0\gamma = t_0, produces a t∈[t0,β)t \in [t_0, \beta) with Z(t)∉CZ(t) \notin C — a contradiction. This is the step that needs the one-sided form of part 2: the bootstrap controls ZZ only after t0t_0, and nothing at all is known about its track before t0t_0, which may well leave every compact subset of OO backwards in time. Therefore β>t1\beta > t_1, so ZZ is defined on all of [t0,t1][t_0, t_1], it is unique there by Existence and uniqueness of solutions, and the estimate above holds on [t0,t1][t_0, t_1] in the stated form ∣Y(t)−Z(t)∣≤∣Y0−Z0∣eK(t−t0)|Y(t) - Z(t)| \le |Y_0 - Z_0|e^{K(t-t_0)}.

Continuity of the flow in XX. Given XX and t∈J(X)t \in J(X), apply what has just been proved to the solution Y=ϕ(⋅,X)Y = \phi(\cdot, X) on the closed interval with endpoints 00 and tt. For Z0∈UZ_0 \in U we get ϕ(t,Z0)\phi(t, Z_0) defined and

∣ϕ(t,Z0)−ϕ(t,X)∣≤∣Z0−X∣ eK∣t∣,\bigl| \phi(t, Z_0) - \phi(t, X) \bigr| \le |Z_0 - X|\, e^{K|t|} ,

whose right-hand side tends to 00 as Z0→XZ_0 \to X. So ϕ\phi is continuous in its second argument. □\square

Proof(Part 4: dependence on the field and on parameters)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §17.3, p. 397, and §17.5, p. 402

Forward time. Take t∈Jt \in J with t≥0t \ge 0. Both solutions satisfy their integral equations and start at the same point X0X_0, so that term cancels on subtraction:

X(t)−Y(t)=∫0t[F(s,X(s))−G(s,Y(s))]ds.X(t) - Y(t) = \int_0^{t} \Bigl[ F\bigl(s, X(s)\bigr) - G\bigl(s, Y(s)\bigr) \Bigr] ds .

Insert and remove F(s,Y(s))F(s, Y(s)) inside the bracket, so that one difference compares FF with itself at two points and the other compares the two fields at one point:

∣X(t)−Y(t)∣ ≤ ∫0t∣F(s,X(s))−F(s,Y(s))∣ds + ∫0t∣F(s,Y(s))−G(s,Y(s))∣ds.\bigl| X(t) - Y(t) \bigr| \ \le \ \int_0^{t} \bigl| F(s, X(s)) - F(s, Y(s)) \bigr| ds \ + \ \int_0^{t} \bigl| F(s, Y(s)) - G(s, Y(s)) \bigr| ds .

The first integrand is at most K∣X(s)−Y(s)∣K|X(s) - Y(s)| by the hypothesis that FF is Lipschitz in XX with constant KK; the second is at most ε\varepsilon by the hypothesis ∣F−G∣<ε|F - G| < \varepsilon on OO. Writing w(t)=∣X(t)−Y(t)∣w(t) = |X(t) - Y(t)|,

w(t) ≤ εt+∫0tK w(s) ds.w(t) \ \le \ \varepsilon t + \int_0^{t} K\,w(s)\,ds .

The inhomogeneous term εt\varepsilon t is not constant, so Gronwall's inequality does not apply to ww directly. Apply it instead to the shifted function u=w+ε/Ku = w + \varepsilon/K, which is continuous and nonnegative. Substituting w=u−ε/Kw = u - \varepsilon/K on both sides,

u(t)−εK ≤ εt+∫0tK u(s) ds−∫0tε ds=εt+∫0tK u(s) ds−εt,u(t) - \frac{\varepsilon}{K} \ \le \ \varepsilon t + \int_0^{t} K\,u(s)\,ds - \int_0^{t} \varepsilon\,ds = \varepsilon t + \int_0^{t} K\,u(s)\,ds - \varepsilon t ,

and the two copies of εt\varepsilon t cancel. This is exactly the hypothesis of Gronwall's inequality for uu with C=ε/KC = \varepsilon/K, so u(t)≤(ε/K)eKtu(t) \le (\varepsilon/K)e^{Kt}, that is

w(t) ≤ εK(eKt−1)(t≥0).w(t) \ \le \ \frac{\varepsilon}{K}\bigl(e^{Kt} - 1\bigr) \qquad (t \ge 0) .

The cancellation is where K>0K > 0 is used: the shift ε/K\varepsilon/K has to be a finite number.

Backward time. Reverse the clock. Put X~(τ)=X(−τ)\tilde X(\tau) = X(-\tau), Y~(τ)=Y(−τ)\tilde Y(\tau) = Y(-\tau), F~(τ,W)=−F(−τ,W)\tilde F(\tau, W) = -F(-\tau, W) and G~(τ,W)=−G(−τ,W)\tilde G(\tau, W) = -G(-\tau, W). By the chain rule X~′=F~(τ,X~)\tilde X' = \tilde F(\tau, \tilde X) and Y~′=G~(τ,Y~)\tilde Y' = \tilde G(\tau, \tilde Y), the two new fields again differ by less than ε\varepsilon, and F~\tilde F again has Lipschitz constant KK in its second argument, since negation changes neither a difference's norm nor the fields' separation. The forward case applied to the tilded system gives the bound for t≤0t \le 0 with ∣t∣|t| in place of tt, which is the statement.

Parameters. Let F(X,a)F(X, a) be C1C^1 in XX and aa jointly, with aa ranging over an open A⊆RmA \subseteq \mathbb{R}^m, and consider on the open set O×A⊆Rn+mO \times A \subseteq \mathbb{R}^{n+m} the augmented autonomous system

X′=F(X,a),a′=0.X' = F(X, a) , \qquad a' = 0 .

Its right-hand side is C1C^1, so part 3 applies to it. Its solutions are precisely the pairs t↦(ϕa(t,X),a)t \mapsto (\phi_a(t, X), a), where ϕa\phi_a is the flow of the original system at parameter value aa: the second equation freezes aa, and the first is then the original equation. The initial point of such a solution is (X,a)(X, a). Hence part 3 says that (X,a)↦(ϕa(t,X),a)(X, a) \mapsto (\phi_a(t, X), a) is continuous, that is, ϕa(t,X)\phi_a(t, X) is continuous in XX and aa together. A parameter has been turned into an initial condition. □\square

Remark(Where the hypotheses are used)Original
  • The Lipschitz condition carries part 1 alone. It is the only property of FF used, and nothing weaker will do. For F(x)=3x2/3F(x) = 3x^{2/3} on R\mathbb{R}, which is continuous but not Lipschitz near 00, the initial-value problem x′=F(x)x' = F(x), x(0)=0x(0) = 0 has both x≡0x \equiv 0 and x(t)=t3x(t) = t^3 as solutions (Existence and uniqueness of solutions). Their initial separation is 00 and their separation at t=1t = 1 is 11, so no bound of the form ∣Y0−Z0∣eKt|Y_0 - Z_0|e^{Kt} can hold for any KK. Continuous dependence is not a bonus attached to existence; it is attached to uniqueness.
  • u≥0u \ge 0 and K≥0K \ge 0 in Gronwall. Nonnegativity of uu gives U′≥0U' \ge 0, hence U≥C>0U \ge C > 0, which is what licenses dividing by UU and taking the logarithm. Nonnegativity of KK is what turns u≤Uu \le U into Ku/U≤KKu/U \le K. With K<0K < 0 the conclusion is false: take α=1\alpha = 1, u≡1u \equiv 1, C=2C = 2 and K=−1K = -1. The hypothesis reads 1≤2−t1 \le 2 - t, true on [0,1][0,1], while the asserted conclusion 1≤2e−t1 \le 2e^{-t} fails for t>log⁡2≈0.693t > \log 2 \approx 0.693.
  • β<∞\beta < \infty in part 2. Drop it and the conclusion fails outright. The equation x′=0x' = 0 on O=RO = \mathbb{R} has the solution x≡1x \equiv 1 on the maximal interval (−∞,∞)(-\infty, \infty), whose entire track {1}\{1\} sits inside the compact set [0,2]⊂O[0, 2] \subset O: this solution leaves no compact set at any time, late or early. Finiteness of β\beta enters the proof at the bounded-speed step, where it is what turns the estimate ∣Y(t)−Y(s)∣≤M(t−s)|Y(t) - Y(s)| \le M(t-s) into the Cauchy criterion as t→β−t \to \beta^-, and so produces the limit point from which the solution is continued.
  • Compactness, not boundedness, in part 2. "Leaves every compact subset of OO" is weaker than "blows up". On O=(0,∞)O = (0, \infty) the equation x′=−1x' = -1 with x(0)=1x(0) = 1 has maximal interval (−∞,1)(-\infty, 1) and the solution x(t)=1−tx(t) = 1 - t, which stays bounded as t→β−=1−t \to \beta^- = 1^- (on the whole maximal interval it is unbounded, since x→+∞x \to +\infty as t→−∞t \to -\infty; what matters is the approach to the finite endpoint); it escapes every compact C⊂OC \subset O by running into the boundary point 00, which is missing from OO. Only when O=RnO = \mathbb{R}^n does part 2 force ∣Y(t)∣→∞|Y(t)| \to \infty along a sequence.
  • The closed interval in part 3. The interval [t0,t1][t_0, t_1] must lie inside the maximal interval of the given solution YY, endpoints included. If t1t_1 is the blow-up time itself, no neighbourhood UU works: in the example below, Y0=1Y_0 = 1 for y′=y2y' = y^2 blows up at t=1t = 1, and every neighbourhood of 11 contains initial values z0>1z_0 > 1 whose solutions blow up at 1/z0<11/z_0 < 1.
  • KK is global in part 1 but manufactured in part 3. Part 1 assumes a Lipschitz constant on all of OO, which few interesting fields have. Part 3 assumes only C1C^1 and builds KK on a compact tube around the track of YY; this is why both UU and KK there depend on the entire solution Y∣[t0,t1]Y|_{[t_0,t_1]}, not just on Y0Y_0, and why the estimate degrades as t1t_1 grows.
Remark(Two-sided form, and the scalar statement)AdaptedAdapted from Hassani (2013), §14.2, Theorem 14.2.4, pp. 420-421

Part 1 as stated runs forward from t0t_0. The same bound holds backward, by the time reversal used in the proof of part 4: X↦−F(X)X \mapsto -F(X) has the same Lipschitz constant. Hassani states the scalar case in that two-sided form at once: if ff and gg both solve y′=F(x,y)y' = F(x, y) in a domain DD on which FF satisfies a Lipschitz condition with constant LL, then

∣f(x)−g(x)∣≤eL∣x−a∣ ∣f(a)−g(a)∣,\bigl| f(x) - g(x) \bigr| \le e^{L|x - a|}\,\bigl| f(a) - g(a) \bigr| ,

from which he reads off that at most one solution curve passes through a given point of DD — uniqueness as the special case f(a)=g(a)f(a) = g(a) of continuous dependence. Our part 1 and his theorem are the same statement, written for a system and for a scalar equation respectively.

Hassani also notes, with the example dy/dx=eydy/dx = e^y, that under continuity alone the interval on which a solution is defined moves with the initial value; that is the phenomenon parts 2 and 3 are built to handle, and it persists under the Lipschitz hypothesis, as the worked example here shows.

Method(Turning a Lipschitz constant into a stability estimate)Original

To bound how far two solutions of nearby problems can drift apart over a time TT:

  1. Write both as integral equations and subtract. The initial values appear as a constant term, the fields inside an integral.
  2. Name a region both solutions are known to stay in over [t0,t0+T][t_0, t_0 + T]: a tube of radius ϵ\epsilon around a track you already know, an invariant region supplied by the physics, or a sublevel set of a conserved quantity. Everything after this is conditional on that confinement, which the bootstrap in part 3 is the general way to justify.
  3. Compute a Lipschitz constant KK on that region. For C1C^1 fields on a convex region the mean value inequality gives K=sup⁡∥DF∥K = \sup \lVert DF \rVert, the supremum of the operator norm of the Jacobian. Use the smallest region that works: KK sits in an exponent, so a loose KK is expensive.
  4. Bound the mismatch of the data. Collect the initial-value gap ∣Y0−Z0∣|Y_0 - Z_0| and, if the fields differ, a uniform bound ε\varepsilon on ∣F−G∣|F - G| over the region.
  5. Apply Gronwall. With v=∣Y−Z∣v = |Y - Z| you will have v(t)≤v(t0)+ε(t−t0)+∫t0tKvv(t) \le v(t_0) + \varepsilon (t - t_0) + \int_{t_0}^{t} K v. If ε=0\varepsilon = 0, read off v(t)≤v(t0)eK(t−t0)v(t) \le v(t_0)e^{K(t-t_0)}. Otherwise apply Gronwall to v+ε/Kv + \varepsilon/K as in the proof of part 4, giving v(t) ≤ (v(t0)+εK)eK(t−t0)−εK.v(t) \ \le \ \Bigl( v(t_0) + \frac{\varepsilon}{K} \Bigr) e^{K(t - t_0)} - \frac{\varepsilon}{K} .
  6. Invert for the design question. To hold v≤ηv \le \eta out to time TT with ε=0\varepsilon = 0, start within ηe−KT\eta e^{-KT}; to hold it with v(t0)=0v(t_0) = 0, keep the field error below ηK/(eKT−1)\eta K/(e^{KT} - 1).
Example(A blow-up equation: how much slack is in the bound)Original

(a) Two initial values. Take n=1n = 1, O=RO = \mathbb{R} and F(y)=y2F(y) = y^2, which is C1C^1 and so locally Lipschitz, but has no Lipschitz constant on all of R\mathbb{R}. Separating variables gives the maximal solutions

Y(t)=11−t(Y(0)=1),Z(t)=1110−11 t(Z(0)=1110).Y(t) = \frac{1}{1 - t} \quad \bigl(Y(0) = 1\bigr) , \qquad Z(t) = \frac{11}{10 - 11\,t} \quad \Bigl(Z(0) = \tfrac{11}{10}\Bigr) .

Both check directly: Y′=(1−t)−2=Y2Y' = (1-t)^{-2} = Y^2 and Z′=121(10−11t)−2=Z2Z' = 121(10 - 11t)^{-2} = Z^2. Their maximal intervals are (−∞,1)(-\infty, 1) and (−∞,1011)(-\infty, \tfrac{10}{11}), so the right endpoint β(y0)=1/y0\beta(y_0) = 1/y_0 moves with the initial value, and each solution leaves every compact subset of R\mathbb{R} as tt approaches it — part 2 in the simplest possible instance.

Fix the window [t0,t1]=[0,25][t_0, t_1] = [0, \tfrac{2}{5}] and the open interval O′=(−2,2)O' = (-2, 2), on which part 1 will be applied in place of OO. Both solutions increase on this window, and

Y(25)=11−2/5=53,Z(25)=1110−22/5=5528,Y\bigl(\tfrac{2}{5}\bigr) = \frac{1}{1 - 2/5} = \frac{5}{3} , \qquad Z\bigl(\tfrac{2}{5}\bigr) = \frac{11}{10 - 22/5} = \frac{55}{28} ,

both smaller than 22, so both tracks lie in [1,5528]⊂O′[1, \tfrac{55}{28}] \subset O' — the containment part 1 needs, and the reason for taking O′O' open rather than the closed interval [−2,2][-2,2]. On O′O' the field has Lipschitz constant 44: for y,z∈O′y, z \in O',

∣y2−z2∣=∣y+z∣ ∣y−z∣≤4 ∣y−z∣,soK=4.\bigl| y^2 - z^2 \bigr| = |y + z|\,|y - z| \le 4\,|y - z| , \qquad\text{so}\qquad K = 4 .

Part 1 therefore predicts, with ∣Y(0)−Z(0)∣=110|Y(0) - Z(0)| = \tfrac{1}{10},

∣Y(t)−Z(t)∣ ≤ 110 e4t,so at t=25:110 e8/5=0.495303…\bigl| Y(t) - Z(t) \bigr| \ \le \ \tfrac{1}{10}\,e^{4t} , \qquad\text{so at } t = \tfrac{2}{5}: \quad \tfrac{1}{10}\,e^{8/5} = 0.495303\ldots

The true gap is

Z(25)−Y(25)=5528−53=165−14084=2584=0.297619…Z\bigl(\tfrac{2}{5}\bigr) - Y\bigl(\tfrac{2}{5}\bigr) = \frac{55}{28} - \frac{5}{3} = \frac{165 - 140}{84} = \frac{25}{84} = 0.297619\ldots

The bound holds, and is about 1.661.66 times the truth: the worst case allowed by the Lipschitz constant is attained only by a field that pushes the two solutions apart at the maximal rate everywhere, which y2y^2 does only at the top of the range.

(b) A perturbed field. Now take F(x)=−xF(x) = -x and G(x)=−x+1100G(x) = -x + \tfrac{1}{100} on O=R×RO = \mathbb{R}\times\mathbb{R}, both starting from X(0)=Y(0)=1X(0) = Y(0) = 1. Here FF is Lipschitz in xx with K=1K = 1, and ∣F−G∣=1100|F - G| = \tfrac{1}{100} identically. Part 4 asks for the strict bound ∣F−G∣<ε|F - G| < \varepsilon, so apply it with ε=1100+η\varepsilon = \tfrac{1}{100} + \eta for arbitrary η>0\eta > 0 and let η↓0\eta \downarrow 0; the conclusion is continuous in ε\varepsilon, so it holds with ε=1100\varepsilon = \tfrac{1}{100}. The exact solutions are

X(t)=e−t,Y(t)=1100+99100 e−t,X(t) = e^{-t} , \qquad Y(t) = \tfrac{1}{100} + \tfrac{99}{100}\,e^{-t} ,

the second because Y′=−99100e−t=−Y+1100Y' = -\tfrac{99}{100}e^{-t} = -Y + \tfrac{1}{100} and Y(0)=1Y(0) = 1. Their gap is Y(t)−X(t)=1100(1−e−t)Y(t) - X(t) = \tfrac{1}{100}(1 - e^{-t}), so at t=1t = 1

∣X(1)−Y(1)∣=1100(1−e−1)=0.0063212…,\bigl| X(1) - Y(1) \bigr| = \tfrac{1}{100}\bigl(1 - e^{-1}\bigr) = 0.0063212\ldots ,

while part 4 allows

εK(eK−1)=1100(e−1)=0.0171828…\frac{\varepsilon}{K}\bigl( e^{K} - 1 \bigr) = \tfrac{1}{100}(e - 1) = 0.0171828\ldots

The ratio of the two is (1−e−1)/(e−1)=e−1=0.367879…(1 - e^{-1})/(e - 1) = e^{-1} = 0.367879\ldots exactly. The slack has a clear cause: the bound assumes the perturbation always pushes away from the unperturbed solution, whereas here the field −x-x is contracting and pulls the two trajectories back together.

Application(Predictability horizons and the cost of a long integration)AdaptedAdapted from Strogatz (1994), §9.3, pp. 320-322

Gronwall's inequality is the reason "the solution depends continuously on the data" is a usable engineering statement rather than a reassurance. It says that the damage done by an uncertain initial state is at worst exponential in time with rate the Lipschitz constant, and it says so with a computable constant.

Reading the estimate as a forecast horizon. Suppose the state of a system is known to within δ\delta and a prediction is useful while the error stays below η\eta. Part 1 guarantees usefulness for a time at least

T=1K log⁡ηδ.T = \frac{1}{K}\,\log\frac{\eta}{\delta} .

The dependence on δ\delta is logarithmic. Reducing the initial uncertainty by a factor of 10001000 — a very expensive improvement in instrumentation — buys only log⁡(1000)/K\log(1000)/K extra units of time. This is the quantitative content of the complaint that better measurements do not buy proportionally better forecasts.

When the bound is sharp. For most systems the estimate is pessimistic, as in part (a) of the example above. Chaotic systems are exactly the ones where something like it is attained. On the Lorenz attractor, numerical experiment shows that a separation vector of initial length ∥δ0∥\lVert \delta_0 \rVert grows as ∥δ(t)∥≈∥δ0∥eλt\lVert \delta(t) \rVert \approx \lVert \delta_0 \rVert e^{\lambda t} with λ≈0.9\lambda \approx 0.9 Strogatz, §9.3 (Strogatz (1994), pp. 320-322), the rate now measured rather than bounded. Taking λ\lambda in place of KK and asking for 10610^{6}-fold initial accuracy to be spent down to order-one error gives a horizon of only log⁡(106)/0.9≈15.4\log(10^6)/0.9 \approx 15.4 time units. Strogatz is careful that the growth is not exactly exponential and must saturate once the separation reaches the diameter of the attractor, so the exponential law describes an initial transient; see Lyapunov exponents and sensitive dependence and The Lorenz equations.

Model error and numerical error. Part 4 is the same statement for an uncertainty in the equations rather than in the state. A solver integrates not X′=F(t,X)X' = F(t, X) but a perturbed field GG differing from FF by rounding, by a truncated force model, or by interpolation of tabulated coefficients; if ∣F−G∣≤ε|F - G| \le \varepsilon over the region visited, the trajectories can differ by no more than (ε/K)(eKT−1)(\varepsilon/K)(e^{KT} - 1) over a time TT. That is the characteristic shape of a global error bound for a one-step method, where ε\varepsilon plays the role of the local error per unit step (Integrators for ODEs). Its exponential growth in TT, with no way to improve the exponent without improving KK, is why long integrations of chaotic systems are reported as statistics over an ensemble rather than as single trajectories.

Why parameter continuity matters separately. Part 4's second half says that a model's output varies continuously with its parameters. Without it, fitting a parameter to data would be meaningless: the fitting procedure assumes that a small change in the parameter produces a small change in the predicted trajectory over the observation window, which is exactly the augmented-system statement proved above.