A1434 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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: y˙=|y| with y(0) = 0 has two different solutions, and y˙=y2 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˙=y, y(0) = 1, Picard's iteration yn+1(t)=1+∫0tyn(s)ds starting from y0=1 produces 1+t, then 1+t+t22, and so on: the Taylor polynomials of et.
  • Raise n: the iterates close in on et uniformly on [0, 2]. The readout compares the error at t = 2 with the bound e22n+1(n+1)!.
  • Each iterate is computed from the previous one by integration alone: no derivatives, no guessing.

Predict

y˙=y, y(0) = 0. Besides y = 0, which function is also a solution?

Name it

The setting

The initial value problem y˙=f(t,y), y(t0)=y0 is equivalent to the integral equation

y(t)=y0+∫t0tf(s,y(s))ds

A solution is a fixed point of the Picard operator (Ty)(t)=y0+∫t0tf(s,y(s))ds.

The theorem

If f is continuous and Lipschitz in y with constant L, |f(t,y)−f(t,z)|≤L|y−z|, then the problem has exactly one solution on an interval around t0.

On [t0,t0+h] with the sup norm,

‖Ty−Tz‖∞≤hL‖y−z‖∞

so T is a contraction when hL<1, 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˙=|y|, y(0) = 0 has solutions 0 and t24 (and many more).
  • Lipschitz only locally: y˙=y2, y(0)=y0>0, has the unique solution y01−y0t, which blows up at t=1y0.

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˙=y, y(0) = 1.

Show the solution
  1. Start. y0=1
  2. First iterate. y1=1+∫0t1ds=1+t
  3. Second iterate. y2=1+∫0t(1+s)ds=1+t+t22
  4. Third iterate. y3=1+t+t22+t36
  5. Check at t = 1. y3=2.6667, against e = 2.7183.

Answer y1=1+t, y2=1+t+t22 and y3=1+t+t22+t36, which is 2.6667 at t = 1 against e = 2.7183.

Worked example

For y˙=3sin⁡y+t, on what length of interval does the Picard operator contract?

Show the solution
  1. Lipschitz constant. |∂f/∂y|=|3cos⁡y|≤3 so L = 3.
  2. Contraction interval. T contracts for h<13.
  3. 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 13.

Worked example

Compute three Picard iterates for y˙=t+y, y(0) = 0, and compare with the solution at t = 1.

Show the solution
  1. The iteration. yn+1(t)=∫0t(s+yn(s))ds
  2. First iterate. From y0=0: y1=t22
  3. Second iterate. y2=t22+t36
  4. Third iterate. y3=t22+t36+t424
  5. Compare with the solution. The exact solution is et−1−t, whose Taylor series these iterates build term by term. At t = 1, y3=0.70833 against e−2=0.71828.
  6. How the error shrinks. Each iterate adds the next power, and the error shrinks like the tail of the exponential series.

Answer y3=t22+t36+t424, which is 0.70833 at t = 1 against the exact e−2=0.71828.

Check

Picard's iteration for y˙=y, y(0) = 1, from y0=1: what's y2 at t = 1?

Check

y˙=5sin⁡y+t2. Below what interval length h is the Picard operator a contraction?

Check

y˙=y2 with y(0) = 2. When does the solution blow up?

Check

y˙=y, y(0) = 0, has a nonzero solution. What's its value at t = 3?

Check

Bound the error of Picard iterate y3 for y˙=y, 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˙=1y, y(0) = 1, from y0=1.

(a)

What is y2 at t = 0.5?

(b)

How far is it below the solution there?

Check

y˙=y2 with y(0)=y0 (write y0 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°.

Explain why

How does the contraction mapping theorem prove that an ODE has a unique solution?

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.