Euler checks velocity at the start of a step and freezes both direction and speed. Turning causes deviation, but even straight motion can overshoot or undershoot if speed changes.
We therefore need more than geometric curvature: how much velocity change did Euler miss, and what endpoint error can it cause?
Can we quantify velocity variation along a trajectory and bound its numerical error?
Interactive demo. Keep the field and starting point fixed while changing Euler’s step count. The fine numerical reference remains unchanged; coarse steps cut across turns and alter the endpoint.
What does one Euler step omit?
Follow the standard local-to-global Euler analysis [1].
Consider an exact ODE trajectory:
dtdxt=vt(xt).
Its exact displacement is
xt+h=xt+∫tt+hvτ(xτ)dτ.
Euler replaces the entire interval’s velocity with its initial value, yielding xt+hvt(xt).
Define acceleration along the exact trajectory:
as(xs):=dsdvs(xs).
Integrating acceleration gives the intermediate velocity change:
The final integral is the omitted local remainder. Its norm satisfies
∥xt+h−xt−hvt(xt)∥≤h∫tt+h∥aτ(xτ)∥dτ.
Expand acceleration using the chain rule:
at(xt)=dtdvt(xt)=field changes with time∂tvt(xt)+particle changes location(vt⋅∇)vt(xt).
One contribution comes from the field changing at a fixed position. The other comes from a particle moving through a spatially varying field. Their sum is the experienced acceleration.
SupplementAcceleration is not geometric curvature
Let ρt be speed, Tt the unit tangent, and s arc length. Geometric curvature is
κt=dsdTt,
It measures direction change per unit arc length. Acceleration instead decomposes as
at(xt)=dtdρtTt+ρt2κtNt.
The tangential term changes speed; the normal term changes direction. A straight path can have zero curvature but nonzero acceleration. Euler’s bound uses the full acceleration.
Constant-speed straight motion has zero acceleration and makes every Euler step exact. This is the trajectory property we seek, rather than straightness without a speed condition.
Figure: Euler retains the initial arrow while exact motion updates it continuously, through both temporal and spatial changes.
How does one-step error reach the endpoint?
A displaced numerical state also queries velocity at the wrong location. On a uniform grid, define its distance from the exact state:
The terms represent previous displacement, velocity mismatch from that displacement, and new local remainder. Control the second using a spatial Lipschitz assumption.
Then the field is L-Lipschitz in space. Two particles distance δ apart see velocities differing by at most Lδ. Larger L allows stronger sensitivity to position errors.
This compares positions at the same time. Temporal variation is already included in the local remainder.
Apply the pathwise Euler estimate to the shared-source coupling:
W22(p1,p1)≤E∥X1−X1∥2≤e2Lh2E[A(X0)2],
Thus
W2(p1,p1)≤eLh(E[A(X0)2])1/2.
This is the finite-step contribution, which decreases with refinement under the stated regularity.
Combining the terms gives
W2(p1,p1)≤eL[Ev+h(E[A(X0)2])1/2].
Increasing steps reduces numerical error but cannot remove a fixed model error. Conversely, small regression error does not ensure accurate coarse sampling if the learned trajectory has substantial velocity variation.
These shared-source couplings only give upper bounds. Small Wasserstein distance does not imply small error for a particular pairing of individual trajectories; the distance may find a cheaper pairing.