M2.0 Arrows on a River: Vector Fields and ODEs
Builds on1 note
A river and a leaf
A river map gives velocity at every location and time over the next minute. One present-time snapshot alone would not suffice if the current changes later.
Where will a leaf released now be in one minute?
Following local arrows seems natural. Does the rule determine one trajectory, including for two leaves released at the same state and time?
DiscussionQ1
What mathematical objects describe the current map, leaf position, and arrow-following rule?
Show the reasoning
Make the arrows into a function.
A vector field assigns each location and time a direction and speed. A field independent of time is autonomous.
The leaf position is a curve with a specified initial point.
Following the current means its derivative equals the field at its present position:
This is an ordinary differential equation with an initial condition. Given deterministic dynamics and a fixed start, no random variable is required in this model.
One map, one route?
Imagine moving a pen along local arrows, repeatedly checking at its new location. In the continuous limit its drawn line is a candidate trajectory.
One arrow per input is not alone enough for uniqueness. Even continuity can be insufficient; nearby arrows need suitable spatial regularity.
Figure: a trajectory’s derivative matches the local field.
Existence, uniqueness, and non-crossing
An initial-value problem seeks a differentiable curve satisfying and . The curve is its solution or trajectory.
Picard–Lindelöf. Continuous time dependence and local spatial Lipschitz regularity give a unique local solution. Suitable linear-growth bounds permit extension over the full finite interval.
The Lipschitz inequality bounds output differences by input distance. Bounded spatial Jacobians suffice. In integral form, repeatedly replacing a guessed curve by contracts differences on a short interval with , motivating the theorem.
Consequence. Two solutions meeting at the same time must coincide throughout their common interval under forward and backward uniqueness.
Treat the meeting state and time as a new initial condition. Both curves solve that problem, and uniqueness identifies them. Reversing time retains the required regularity.
This forbids meeting and then separating at the same time. Spatial routes may overlap at different times. In an autonomous field, time-shifted solutions visiting the same point trace the same orbit where defined.
DetailsNon-uniqueness: a continuous field need not be Lipschitz
For and , both and solve the equation for nonnegative time. Waiting at zero before taking the latter branch gives more solutions. The field is not Lipschitz near zero.
Local uniqueness also does not prevent finite-time escape. For with positive initial value, diverges at . Local Lipschitz regularity guarantees local, rather than unlimited, existence.
State the conditions behind the intuitive route
Under existence and uniqueness, the map and start determine the endpoint. A computer’s finite-step polygon is only an approximation and needs a convergent numerical method.
A large Lipschitz constant can permit uniqueness while worsening sensitivity bounds. Failure of a sufficient Lipschitz condition alone does not prove non-uniqueness; the explicit example demonstrates it separately.
Release a leaf numerically
The simplest stepping rule repeatedly updates position by time interval times current velocity:
import numpy as np
def u(x, t):
return np.array([1.0, 0.5*np.cos(x[0])])
def drift(x0, T=60.0, h=0.1):
x, t = np.array(x0, float), 0.0
while t < T - 1e-12:
dt = min(h, T-t)
x = x + dt*u(x, t); t += dt
return x
print(drift([0.0, 0.0]))
For the given start the exact solution is . Compare numerical endpoints while refining the step; the following numerical-analysis notes explain the convergence rate.
Check your understanding
References
- Strogatz, S. H. Nonlinear Dynamics and Chaos: With Applications to Physics, Biology, Chemistry, and Engineering. Westview Press, 2nd ed., 2015.
- Hirsch, M. W., Smale, S., Devaney, R. L. Differential Equations, Dynamical Systems, and an Introduction to Chaos. Academic Press, 3rd ed., 2013.
- Hairer, E., Nørsett, S. P., Wanner, G. Solving Ordinary Differential Equations I: Nonstiff Problems. Springer, 2nd ed., 1993.