Differential equations and well-posed evolution
Connect local laws, initial and boundary data, stability, and the limits of numerical time stepping.
On this page
The question for today
What you’ll understand
- Separate existence, uniqueness, and continuous dependence in a well-posed problem.
- Use a mode calculation to compare diffusion and wave propagation.
- Distinguish the stability of an exact equation from a chosen numerical scheme.
A differential equation describes a local relation, but a prediction requires more: a class of admissible solutions, initial or boundary data, and a reason that small input errors do not cause uncontrollable output errors. This is the idea of well-posedness. It organizes dynamical systems, field equations, and the numerical methods used to train and serve models. We will keep the continuous mathematical problem separate from the discretized algorithm used to approximate it.
An equation does not specify its own initial data
An ordinary differential equation follows a state as one variable, usually time, changes. For a first-order equation, initial data select a trajectory from a family of solutions. A standard local existence-and-uniqueness theorem assumes the vector field is continuous in time and locally Lipschitz in the state. Local means that the theorem provides a solution for a sufficiently short time near the starting point. It does not exclude later blow-up or guarantee boundedness forever.
Uniqueness can fail when the Lipschitz condition fails. Starting at zero, the equation y'=2√|y| admits the zero solution and solutions that wait until an arbitrary nonnegative time before following a squared ramp. Conversely, uniqueness does not imply numerical ease. The equation y'=−1000y has a unique smooth decaying solution, yet an explicit time integrator can produce exploding oscillations if its step is too large. Logical solvability and practical computability are different questions.
Different equations carry information differently
A partial differential equation relates changes across several coordinates. The heat equation diffuses information and damps high-frequency modes. The wave equation propagates disturbances with a finite characteristic speed in the ideal continuum model. The Poisson equation instead constrains a spatial profile from sources and boundary data. These examples motivate the broad parabolic, hyperbolic, and elliptic classifications, though nonlinear systems and variable coefficients can require a more careful local analysis than a single label suggests.
Initial and boundary conditions must match the problem. A vibrating string needs initial displacement and velocity, plus endpoint behavior. A diffusion problem generally needs one initial profile and compatible boundary information. On a periodic interval, Fourier modes make this visible: the wave amplitude obeys a second-order oscillator equation, while the heat amplitude obeys a first-order decay equation. The number and kind of data follow from the evolution law rather than an arbitrary preference of the solver.
Approximation requires consistency, stability, and the right solution space
Forward Euler approximates a time derivative by a forward difference. Substituting a smooth exact solution shows the local truncation error shrinks as the step shrinks, but this consistency statement does not control accumulated error. For the decaying test equation y'=−λy, Euler multiplies the state by 1−λh at every step. The method damps errors only when the multiplier has magnitude below one. A stable physical law can therefore have an unstable discrete approximation.
For PDEs, refining a spatial mesh often introduces faster modes and tighter explicit time-step restrictions. Implicit methods can improve stability but require solving algebraic systems and do not erase accuracy requirements. Some problems also develop shocks or lack classical derivatives, so the proper target is a weak solution with admissibility conditions. Always ask which equation, which solution concept, which norm of error, and which discretization are being validated. Agreement between two plots at one resolution answers only a small part of that checklist.
Work it through
A decaying system with an exploding approximation
Apply forward Euler to y'=−4y, y(0)=1, using h=0.6. Compare it with h=0.2.
The exact solution is , which is positive and decays smoothly. The exact mathematical model has no growing mode.
With h=0.6, Euler's multiplier is 1−4(0.6)=−1.4. The iterates alternate signs and their magnitudes grow as 1.4^n. The method violates h<2/4=0.5.
With h=0.2, the multiplier is 0.2. The iterates decay and stay positive. They are stable, but the one-step result 0.2 still differs considerably from .
Stability rules out explosive error amplification; it does not prove acceptable accuracy at this step size. Reduce the step and compare an error norm at matched physical times to assess convergence.
The large-step explosion is an artifact of the numerical scheme. A stable step is necessary for this method, but further refinement is needed for accurate prediction.
The living notebook
Explore the model
Interactive lab · oscillator
Evolution is more than a still curve
Change damping ratio ζ and natural frequency ω₀ for the analytic unit-mass oscillator with initial displacement one and velocity zero. Compare underdamped, critical, and overdamped responses using playback. This solves that specified linear oscillator; it does not implement Euler time stepping or solve arbitrary ODEs or PDEs.
- Displacement x(t)
- 1
- Velocity v(t)
- 0
- Regime
- underdamped
Unit mass, x(0) = 1 and v(0) = 0. The analytic solution includes underdamped, critically damped and overdamped cases; time is measured in seconds. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forUse trajectories to form a hypothesis, then test existence, data requirements, and numerical stability separately.
Pause & reason
Check your understanding
Your turn
Try it yourself
For y'=−5y, find the forward-Euler range that damps errors, then the smaller range that keeps a positive initial state from alternating signs.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Use both the magnitude and sign of 1−5h.
Compare with the solution
Strict damping requires |1−5h|<1, giving 0<h<0.4. Nonnegative multipliers require h≤0.2, so 0<h≤0.2 preserves nonnegativity. At h=0.2 Euler reaches zero in one step, which is not the exact exponential; sign preservation still does not certify accuracy.
Keep the idea
Take it with you
- Well-posedness combines existence, uniqueness, and continuous dependence in specified spaces.
- Initial and boundary data are part of the mathematical problem.
- An unstable numerical method can manufacture growth absent from the exact dynamics.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.