A14 · Lesson 34 · Existence and uniqueness for ODEs
Why a circuit's differential equation has exactly one solution
Every simulation of a circuit assumes its differential equations have a solution, and only one, for each starting state. That's not automatic: with y(0) = 0 has two different solutions, and runs off to infinity in finite time. The Picard–Lindelöf theorem says when it's safe: if the right-hand side doesn't change faster than linearly in the state (it's Lipschitz), a unique solution exists. The proof turns the ODE into an integral equation and applies the contraction mapping theorem on a space of functions, and its iteration, Picard's method, actually builds the solution.
- For , y(0) = 1, Picard's iteration starting from produces , then , and so on: the Taylor polynomials of .
- Raise n: the iterates close in on uniformly on [0, 2]. The readout compares the error at t = 2 with the bound .
- Each iterate is computed from the previous one by integration alone: no derivatives, no guessing.
Predict
, y(0) = 0. Besides y = 0, which function is also a solution?
: its derivative equals . Two solutions from one starting point, because isn't Lipschitz at 0: its slope is infinite there. Picard–Lindelöf doesn't apply, and uniqueness genuinely fails.
Name it
The setting
The initial value problem , is equivalent to the integral equation
A solution is a fixed point of the Picard operator .
The theorem
If f is continuous and Lipschitz in y with constant L, , then the problem has exactly one solution on an interval around .
On with the sup norm,
so T is a contraction when , and the space of continuous functions with the sup norm is complete (lesson 33). Repeating the argument from the endpoint extends the solution; if f is Lipschitz for all y, it exists for all t.
When it fails
- Not Lipschitz: , y(0) = 0 has solutions 0 and (and many more).
- Lipschitz only locally: , , has the unique solution , which blows up at .
For circuits
Linear circuits and smooth device models (diode exponentials, MOSFET square laws) are locally Lipschitz, so solutions exist and are unique as long as they stay bounded. Idealized models (a perfect switch, a perfect diode) break the hypotheses, which is one reason simulators use smooth models.
Worked example
Compute the first three Picard iterates for , y(0) = 1.
Show the solution
- Start.
- First iterate.
- Second iterate.
- Third iterate.
- Check at t = 1. , against e = 2.7183.
Answer , and , which is 2.6667 at t = 1 against e = 2.7183.
Worked example
For , on what length of interval does the Picard operator contract?
Show the solution
- Lipschitz constant. so L = 3.
- Contraction interval. T contracts for .
- What that does and doesn't say. That's only a statement about one step of the proof; since f is Lipschitz for all y, the solution exists for all t.
Answer the Picard operator contracts on intervals shorter than .
Worked example
Compute three Picard iterates for , y(0) = 0, and compare with the solution at t = 1.
Show the solution
- The iteration.
- First iterate. From :
- Second iterate.
- Third iterate.
- Compare with the solution. The exact solution is , whose Taylor series these iterates build term by term. At t = 1, against .
- How the error shrinks. Each iterate adds the next power, and the error shrinks like the tail of the exponential series.
Answer , which is 0.70833 at t = 1 against the exact .
Check
Picard's iteration for , y(0) = 1, from : what's at t = 1?
Check
. Below what interval length h is the Picard operator a contraction?
Check
with y(0) = 2. When does the solution blow up?
Check
, y(0) = 0, has a nonzero solution. What's its value at t = 3?
Check
Bound the error of Picard iterate for , y(0) = 1, at t = 1.
Check
Which right-hand side guarantees a unique solution through every starting point, for all time?
Check
Picard's iteration for , y(0) = 1, from .
(a)
What is at t = 0.5?
(b)
How far is it below the solution there?
Check
with (write as y).
Step 1
What is the solution?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
When does it blow up?
Explain why
How does the contraction mapping theorem prove that an ODE has a unique solution?
Rewrite the ODE with its initial condition as the integral equation , and think of the right side as a map T that takes a whole function y and returns a new function. A solution is exactly a function that T leaves unchanged. If f is Lipschitz in y with constant L, then over a short interval of length h, T moves any two functions closer together by at least the factor hL; with hL < 1 it's a contraction. The continuous functions on the interval, measured by the sup norm, form a complete space, so the theorem gives exactly one fixed point, the unique solution, and the iterates of T converge to it.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.