advanced27 min studyLesson 25 in Mathematics

Differential equations and well-posed evolution

Connect local laws, initial and boundary data, stability, and the limits of numerical time stepping.

On this page

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.

y′(t)=F(t,y(t)),y(t0)=y0,∥F(t,u)−F(t,v)∥≤L∥u−v∥y'(t)=F(t,y(t)),\qquad y(t_0)=y_0,\qquad \|F(t,u)-F(t,v)\|\le L\|u-v\|
Continuity in t and a local Lipschitz bound in y near the initial data ensure local existence and uniqueness. A global-in-time claim needs additional control.↔ Scroll wide equations horizontally.

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.

ut=κuxx⇒ak′(t)=−κk2ak(t),utt=c2uxx⇒ak′′(t)=−c2k2ak(t)u_t=\kappa u_{xx}\Rightarrow a_k'(t)=-\kappa k^2a_k(t),\qquad u_{tt}=c^2u_{xx}\Rightarrow a_k''(t)=-c^2k^2a_k(t)
Take a periodic spatial domain, mode e^{ikx} with allowed integer k after choosing period 2π, κ>0, and c>0. For nonzero k the heat amplitude decays and the wave amplitude oscillates. At k=0, heat is constant and the wave amplitude is affine in time.↔ Scroll wide equations horizontally.

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.

yn+1=(1−λh)yn,∣1−λh∣<1  ⟺  0<h<2λ(λ>0)y_{n+1}=(1-\lambda h)y_n,\qquad |1-\lambda h|<1\iff0<h<\frac2\lambda\quad(\lambda>0)
This is the strict absolute-stability condition for forward Euler on the real decay test equation. The boundary values do not provide strict damping, and accuracy may require much smaller h.↔ Scroll wide equations horizontally.

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.

  1. The exact solution is y(t)=e−4ty(t)=e^{-4t}, which is positive and decays smoothly. The exact mathematical model has no growing mode.

  2. 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.

  3. 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 e−0.8≈0.4493e^{-0.8}\approx0.4493.

  4. 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 result

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.

Explore the model

Interactive lab

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.

Evolution is more than a still curveUnit mass, x(0) = 1 and v(0) = 0. The analytic solution includes underdamped, critically damped and overdamped cases; time is measured in seconds. Current readings: Displacement x(t): 1; Velocity v(t): 0; Regime: underdamped. All parameters are adjustable with the labeled controls below.02.557.510−1.15−0.5700.571.15Time · sDisplacementunderdamped
Displacement x(t)Current time
Displacement x(t)
1
Velocity v(t)
0
Regime
underdamped
t = 0 s

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.

Check your understanding

Forward Euler produces growing oscillations for y′=−10y with h=0.3. What is the correct diagnosis?

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.

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.