Learning Objectives
By the end of this section you will be able to:
- Diagnose whether an initial value problem has a unique solution by inspecting the right-hand side .
- State and apply the Picard–Lindelöf theorem and the weaker Peano existence theorem, and tell which one you need.
- Recognize Lipschitz continuity geometrically, as a finite slope cone bounding in the direction.
- Run Picard's iteration by hand on a small problem and watch it converge to the true solution.
- Predict how a small perturbation of the initial condition spreads through time, using the Grönwall-style bound .
- Identify the maximal interval of existence and recognize when a solution blows up in finite time.
The Big Picture: Why We Need Two Theorems
Up to this section we have happily written equations like and gone looking for a solution. A natural and slightly alarming question is:
Does a solution exist at all? And if it does, is there only one?
These two questions are not academic. If a numerical integrator can legally land on two completely different solution curves passing through the same initial condition, then every prediction it makes is suspect. If no solution exists at all, the equation is not a model — it is a nonsense statement.
The two milestone theorems
Peano (1886): if is continuous near the initial point, at least one solution exists locally.
Picard–Lindelöf (1893): if is also Lipschitz in y, then the solution is unique on some interval.
The gap between "continuous" and "Lipschitz in " is small but consequential — it is exactly the gap between "solutions exist" and "the world is deterministic." The rest of this section is built around making that gap visible.
The Motivating Disaster: Many Solutions From One Point
Consider the perfectly innocent-looking initial value problem:
The right-hand side is continuous everywhere — there are no poles, no logs, no divisions. We can separate variables:
Plug in and we get , so is one solution. Great — done?
Not quite. Watch:
- is also a solution. It satisfies everywhere and passes through .
- Worse, for any the piecewise function for and for is also a perfectly valid solution.
- That gives us an entire uncountable family of solutions through the single point : the trivial zero solution sits on the x-axis as long as it likes, then leaps off into a cubic at any moment.
Determinism just died
For this IVP the future is not determined by the present. The system can choose, at any time, whether to keep sitting at zero or to leap off. No physical theory built on this equation could ever be reproducible.
The root cause is local: at the partial derivative blows up to . The right-hand side is continuous, but it is far too steep in the direction near the x-axis. The interactive visualiser below lets you feel this failure with your own mouse.
Interactive: When Does Uniqueness Fail?
Switch between equations using the buttons above the canvas. For the cube-root and square-root cases, watch the dashed purple family of "branching" solutions passing through the highlighted yellow point. Click anywhere to launch your own numerical solution — for the Lipschitz case () every click follows the same exponential law; for the non-Lipschitz cases nearby clicks can split apart dramatically.
What to look for
- On , two clicks at the same point trace the same curve up to numerical noise.
- On , every dashed line is a perfectly legal solution through . Determinism is locally broken on an entire interval.
- The slope field looks tame everywhere — the catastrophe is hidden in how fast slopes change with y, not in their absolute size.
Lipschitz Continuity: The Fix
The mathematical patch that pins down a unique solution is a mild but crucial smoothness assumption on in the direction.
Definition (Lipschitz in y)
The function is Lipschitz in y on a region if there exists a constant such that for every two points :
The smallest such is called the Lipschitz constant.
What Lipschitz Means Geometrically
Lipschitz means that the secant slope between two points stacked vertically can never be larger than . Equivalently — if is differentiable in — it just means .
| Right-hand side | ∂f/∂y | Lipschitz in y on ℝ²? |
|---|---|---|
| f(x, y) = y | 1 | Yes (L = 1) |
| f(x, y) = sin(xy) | x cos(xy) → bounded only when x is bounded | Locally yes; globally no |
| f(x, y) = y² | 2y → unbounded | Locally yes (any bounded box); globally no |
| f(x, y) = 3 y^(2/3) | 2 y^(−1/3) → ∞ at y = 0 | No — fails at the x-axis |
Lipschitz vs continuously differentiable
Every function with bounded partial derivative is Lipschitz, but the converse fails: is Lipschitz with even though it is not differentiable at zero. Lipschitz is the right hypothesis for uniqueness; it allows kinks.
Interactive: The Lipschitz Cone
For each in the picker, the visualiser below draws the steepest pair of lines that could possibly produce on a yellow disk around the clicked point. If those cyan lines stay finite as you slide the radius, is Lipschitz there. If the local shoots to infinity as the disk crosses a bad point, you have just witnessed uniqueness failing.
The Picard–Lindelöf Theorem
Theorem (Picard–Lindelöf)
Suppose is continuous on a rectangle and is Lipschitz in y on R with constant . Let and . Then the IVP
has a unique solution defined on .
Three pieces of information come bundled in the theorem:
- Existence. The solution exists.
- Uniqueness. Two solutions of the same IVP must agree on the entire interval .
- Length estimate. The interval has length , where . Steep right-hand sides (large ) shrink the guaranteed interval.
A useful sufficient condition
If and are continuous on a rectangle around , then the Picard–Lindelöf hypothesis is automatically satisfied. This is what you usually check in practice.
Picard Iteration: Solving by Successive Approximation
Picard's proof is constructive — it tells you how to build the unique solution, not just that it exists. The trick is to convert the differential equation into an integral equation:
This identity holds for any candidate solution. It motivates the recursion:
On the interval where Picard–Lindelöf applies, this sequence converges uniformly to the (unique) solution. The mechanism is a contraction: the operator that maps shrinks the gap between any two candidates by a factor of per step, and is chosen small enough that .
Interactive: Watching Picard Converge
For the canonical example , the recursion produces — the partial sums of the Taylor series for . Slide the iteration index to watch the cyan curve climb to the dashed white truth line.
Worked Example by Hand
Apply Picard's recursion to step by step. The Lipschitz constant on any rectangle is , so the Picard–Lindelöf hypothesis holds — uniqueness is guaranteed, and our successive iterates must all converge to the same limit.
▶ Solution (click to expand and work it by hand)
Step 0 — initial guess. Take . This already satisfies ; it just does not solve the ODE yet.
Step 1.
Step 2.
Step 3.
Pattern. By induction — the partial Taylor sum of . Letting gives , the unique solution.
Numerical check at x = 1.
| n | y_n(1) | e ≈ 2.718282 | |error| |
|---|---|---|---|
| 0 | 1.000000 | 2.718282 | 1.7183 |
| 1 | 2.000000 | 2.718282 | 0.7183 |
| 2 | 2.500000 | 2.718282 | 0.2183 |
| 3 | 2.666667 | 2.718282 | 0.0516 |
| 4 | 2.708333 | 2.718282 | 0.0099 |
| 5 | 2.716667 | 2.718282 | 1.6 × 10⁻³ |
| 6 | 2.718056 | 2.718282 | 2.3 × 10⁻⁴ |
Sanity check. The error from step is the Taylor remainder, which is at most . For this gives ; our observed error sits comfortably below the bound.
Now apply uniqueness. Because is Lipschitz in (constant ), Picard–Lindelöf says is the only solution. So if you ever spot a paper that proposes another solution to this IVP — it is wrong.
Peano's Theorem: Existence Without Uniqueness
Theorem (Peano)
If is continuous on a rectangle around , then the IVP has at least one solution defined on some interval .
Peano's theorem is what saves the cube-root example from being nonsense. There, is continuous everywhere, so a solution exists through every initial point. Peano simply does not promise it is unique.
| Hypothesis on f | Existence? | Uniqueness? | Theorem |
|---|---|---|---|
| Continuous | Yes | Maybe not | Peano |
| Continuous + Lipschitz in y | Yes | Yes | Picard–Lindelöf |
| Discontinuous | Not guaranteed | — | — |
Choose the right theorem
When modelling, always reach for Picard–Lindelöf first — uniqueness is what makes a model predictive. Fall back to Peano only when your is genuinely non-Lipschitz, and then investigate why: physical models almost never want non-uniqueness, so a failure of Lipschitz is usually a flag that the model is missing something.
Continuous Dependence on Initial Conditions
Uniqueness is great in theory, but in practice we never know exactly. Measurement noise, rounding, and missing decimals all wiggle it. The same proof that gives uniqueness also tells us how much our solution wiggles back:
This is sometimes called the Grönwall estimate. The Lipschitz constant controls how fast nearby trajectories can diverge. For with , two trajectories starting apart can be a factor of apart after only ten time units. This is the inequality behind every numerical error bound you ever encounter in scientific computing.
Lyapunov exponents and chaos
When the local Lipschitz constant is large, neighbouring trajectories spread quickly. The long-time average of along an orbit is the Lyapunov exponent. A positive exponent is the mathematical definition of deterministic chaos.
The Maximal Interval of Existence
Picard–Lindelöf is a local theorem. It guarantees a unique solution on a possibly tiny interval. The natural question is: how far can we extend it?
Solving by separation: . The right-hand side is smooth — but the solution blows up at x = 1. We say the solution escapes in finite time.
The maximal interval of existence is the largest open interval on which the unique solution lives. Picard–Lindelöf can be iterated repeatedly to extend the local interval as long as stays in the region where is Lipschitz. The solution can only stop existing for two reasons:
- Blow-up: as .
- Boundary escape: the trajectory reaches the boundary of the domain where is defined.
Reading the maximal interval off a solution
The interval depends on the initial condition. For with the solution is and the blow-up time is . Bigger initial condition → faster escape.
Python: Picard Iteration From Scratch
Let's implement Picard's recursion in plain Python so you can see every quadrature node and every iterate. We'll apply it to — the same example we worked by hand — and print the convergence table.
Run this and you reproduce the table from the worked example to six decimal places. The convergence is roughly factorial: each step kills about one more decimal because the next dropped Taylor term is .
PyTorch: Sensitivity via Autograd
The Grönwall estimate is an inequality. For , equality is achieved — and we can verify it experimentally by asking PyTorch to differentiate the numerical solution with respect to the initial condition.
The autograd answer reproduces the Grönwall bound exactly. This is precisely how neural-ODE training propagates gradients — the only difference is that is a neural network instead of an elementary function.
Why This Matters in Practice
| Field | What existence/uniqueness buys you |
|---|---|
| Physics simulation | Knowing the trajectory is uniquely determined means a higher-order integrator is safe to use; otherwise it can fork between numerically equivalent branches. |
| Control theory | The state feedback law u = K(x) plus dynamics x' = f(x, u) yields a well-posed closed-loop system only if the combined right-hand side is Lipschitz. |
| Neural ODEs | Backpropagation through an ODE solver requires the right-hand side neural network to be Lipschitz. The Lipschitz constant of f directly controls how stable training is. |
| Optimization (gradient flow) | Gradient descent θ' = -∇L(θ) is well-posed when ∇L is Lipschitz — i.e. when the loss is L-smooth. This is the assumption behind every convergence theorem. |
| Population biology | Logistic growth y' = ry(1-y/K) has bounded ∂f/∂y on any compact set, so populations have well-defined trajectories. Models that violate Lipschitz are usually missing a regularising effect. |
Common Pitfalls
Continuous ≠ Lipschitz
A function can be perfectly continuous and still fail Lipschitz at a single point — and are the canonical examples. Always check the -direction smoothness separately.
Local vs global
Picard–Lindelöf gives existence on only. Even when is smooth everywhere, the solution may blow up at finite time (as in ). Do not extrapolate uniqueness past the maximal interval.
Forgetting initial conditions
Without there is nothing for either theorem to act on — they pin down a unique solution to the IVP, not a unique solution to the bare ODE.
When uniqueness fails, ask why
A non-unique IVP is almost always a sign that the model is missing something. Adding a small viscosity term, a tiny noise, or a higher derivative usually restores Lipschitz — and physical reality.
Summary
| Concept | What it says |
|---|---|
| Peano's theorem | Continuous f ⇒ at least one local solution |
| Picard–Lindelöf | Continuous + Lipschitz in y ⇒ unique local solution |
| Lipschitz constant L | Bounds |f(x, y₁) − f(x, y₂)| by L|y₁ − y₂| |
| Picard iteration | Constructive scheme that converges to the unique solution |
| Grönwall estimate | |y(x; y₀) − y(x; ỹ₀)| ≤ |y₀ − ỹ₀| e^{L|x − x₀|} |
| Maximal interval | Largest open interval on which the unique solution lives |
| Blow-up time | Finite time at which |y(x)| → ∞ — endpoint of maximal interval |
Key Takeaways
- Existence and uniqueness are separate guarantees. Peano delivers the first; Picard–Lindelöf delivers both — and the second is what makes a differential equation a predictive model.
- The decisive hypothesis is Lipschitz in y, which really means "the partial derivative is locally bounded." Smoothness in is not enough.
- Picard's constructive proof is also a numerical algorithm. For the iterates are exactly the Taylor partial sums of .
- The same Lipschitz constant that guarantees uniqueness also bounds how fast nearby trajectories can spread. This is the Grönwall estimate and it is the root of every stability bound in numerical ODE solving and chaos theory.
- Smooth right-hand sides can still produce solutions with finite maximal intervals. Uniqueness is local; always check whether your solution survives to the time you care about.
Coming Next: Chapter 21 begins our toolbox of explicit solution techniques. We'll start with Linear First-Order Equations, where the integrating factor method turns every such ODE into a single antiderivative — cleanly, and with uniqueness automatically guaranteed.