A simulated state alternates in sign and then grows, even though the differential equation used to define it describes a simple decay. The discrepancy can arise from the numerical update itself. A stable continuous model does not guarantee that every time-stepping approximation preserves its behavior.
Explicit Euler provides a particularly clear example. Its update turns a continuous rate equation into a repeated multiplier. The multiplier can be inspected directly, without attributing the resulting sequence to a physical oscillation or a faulty robot.
This article analyzes an invented scalar model in exact arithmetic. It does not simulate a particular machine, evaluate a controller, or prescribe an integration interval for an operating robot.
Begin with a continuously stable equation
Let x satisfy dx/dt = −a x, where a is a positive constant with units of inverse seconds. Choose initial value x(0) = 1 in arbitrary normalized units.
The exact solution is x(t) = exp(−at). It stays positive and approaches zero as time increases. Its sign does not alternate, and its magnitude never grows from that initial value.
For the original examples below, use a = 5 per second. The characteristic decay time is 1/a = 0.2 second. This is a mathematical model parameter rather than a measured actuator property.
The author-hosted Fundamentals of Numerical Computation text develops Euler's method from a forward step and separately analyzes absolute stability. Those two chapters establish why the numerical recurrence should be distinguished from the differential equation it approximates.
Derive the repeated multiplier
With positive fixed step size h, explicit Euler evaluates the derivative at the current state and updates:
x_(n+1) = x_n + h(−a x_n) = (1 − ah)x_n.
Let r = 1 − ah. After n steps, x_n = r to the power n times x_0. The product ah is dimensionless, so the multiplier does not depend on an inconsistent comparison between seconds and a bare rate number.
Decay of the magnitude requires |r| < 1. For a > 0 and h > 0, this becomes 0 < ah < 2.
That condition permits two visibly different behaviors. If 0 < ah < 1, r is positive and below one, so positive states decay without changing sign. If 1 < ah < 2, r is negative with magnitude below one, so signs alternate while magnitudes decay.
Alternation can therefore occur even within the decaying region of this numerical recurrence. Numerical stability in this sense is weaker than reproducing the exact solution's sign and shape.
A monotonic example
At h = 0.05 second, ah = 0.25 and r = 0.75. Starting from one, the first values are:
1, 0.75, 0.5625, 0.421875.
They remain positive and decrease. The exact multiplier over each same interval is exp(−0.25), approximately 0.778801, rather than 0.75. The numerical sequence is qualitatively plausible but decays faster than the exact solution.
Being inside a stability region has not made the calculation exact. It only establishes a property of repeated application of the specified update.
An alternating but decaying example
At h = 0.30 second, ah = 1.5 and r = −0.5. The sequence begins:
1, −0.5, 0.25, −0.125.
Its magnitude shrinks by half at each step. Its alternating sign has no counterpart in the exact positive exponential. Calling these sign reversals a measured vibration would misinterpret a numerical construction as physical evidence.
At the first step, the exact value is exp(−1.5), approximately 0.223130. The Euler value is −0.5. Both the sign and magnitude discrepancy are substantial despite eventual decay of the discrete sequence.
The boundary and the growing region
At h = 0.40 second, r = −1. The sequence is 1, −1, 1, −1 indefinitely. It is bounded but does not approach zero.
This boundary distinction matters when reading the term absolute stability. Boundedness and asymptotic decay are different properties. The strict inequality above was chosen to describe decay; the boundary multiplier of minus one does not satisfy it.
At h = 0.50 second, r = −1.5. The sequence begins:
1, −1.5, 2.25, −3.375.
Its magnitude grows by a factor of 1.5 per step even though the exact model continues toward zero. This is instability of the numerical recurrence. No physical negative damping or injected mechanical energy was included in the differential equation.
At another special value, h = 0.20 second, r = 0 and Euler reaches zero after one step. The exact solution at that time is exp(−1), approximately 0.367879. A result that decays very quickly can therefore also be inaccurate.
Compare accuracy at a common physical time
A meaningful comparison uses the same elapsed time rather than the same number of steps. At t = 1 second, the exact state is exp(−5), approximately 0.00673795.
Using h = 0.05 second requires twenty steps. Euler gives 0.75 to the power twenty, approximately 0.00317121.
Using h = 0.01 second requires one hundred steps, with multiplier 0.95. The result is approximately 0.00592053.
Both updates are in the monotonic decaying region, but their errors differ. Reducing the step improves this particular approximation, while increasing the number of arithmetic updates. That observation does not select a universal step for more complicated robot models.
What the scalar calculation does not establish
A multi-state system can contain several rates or coupled modes. Nonlinearities, changing parameters, events, and the chosen integration method can create additional restrictions. The inequality 0 < ah < 2 belongs to this explicit Euler scalar decay model; it is not a general rule for every solver.
The artifact also exists in exact arithmetic. Limited-precision storage may add other errors, but it is not required to produce the alternating or growing examples.
Finally, a physical sampled controller and a numerical integration scheme are different systems. Applying an Euler stability bound does not by itself establish the stability of a real closed loop.
For robot simulation interpretation, recording the continuous equation, numerical update, step size, and comparison time makes the source of a sequence explainable. The exact exponential and its discrete multiplier describe different objects. Keeping them distinct prevents a simulation artifact from becoming an unsupported claim about robot dynamics.
Sources checked October 23, 2026
Fundamentals of Numerical Computation, author-hosted online text, Section 6.2, Euler's Method:
https://fncbook.com/euler/
Fundamentals of Numerical Computation, author-hosted online text, Section 11.3, Absolute Stability:
https://fncbook.com/absstab-diffusion/
The opened web chapters do not display a page-specific revision date; none is inferred. All scalar parameters and numerical sequences above are original examples. No source figures, worked examples, or executed software results are reproduced.
Illustration note: The site-library concept image shows a robot beside a laptop in a workflow scene. It does not show measured oscillation, a verified simulation run, or physical instability.