A robot simulation can contain a perfectly solvable linear system and still produce a divergent sequence when a particular iterative solver is applied. A short example makes the distinction unusually visible: exchange the order of two equations, keep every physical unknown and right-hand-side pairing intact, and the exact answer stays fixed while Jacobi iteration changes from convergence to divergence. The cause is the diagonal splitting used to construct the iteration, rather than any change to the underlying pair of constraints.
This article uses a dimensionless, invented two-variable subsystem. It is an arithmetic teaching example, not a measured robot model, controller setting, or recommendation to deploy Jacobi in a particular application. Netlib's Templates description supplies the old-value update convention. Bielefeld's Computational Physics notes for summer semester 2026 supply the stationary-iteration convergence framework. The equations, row comparison, and numerical sequence below are independently constructed here.
Start with 4x + y = 6 and 2x + 3y = 8. Substituting x = 1 and y = 2 satisfies both equations. The coefficient matrix A has rows [4, 1] and [2, 3], with determinant 10, so this solution is unique. For a subsystem extracted from a larger numerical calculation, that fact establishes algebraic solvability. It does not specify which update sequence will approach the answer.
Jacobi solves the first equation for the next x and the second for the next y, always using the previous sweep's values on the right. Therefore x_next = 1.5 - y_old/4 and y_next = 8/3 - 2x_old/3. Both expressions read the same old pair. Writing the new x back into storage and then using it immediately in the y expression would create a different iteration. A handwritten trace must preserve this distinction before it can be compared with software.
Beginning at (0, 0), the first pair is (1.5, 2.666667), with the second component rounded for display. The second pair is (0.833333, 1.666667). The third is (1.083333, 2.111111), and the fourth is (0.972222, 1.944444). The estimates cross the exact answer in a structured pattern. These values are direct arithmetic evaluations of the displayed rules; no robotics software package or hardware experiment was run to obtain them.
The pattern becomes exact when expressed through error. Define e = [x - 1, y - 2]. Its next value is J e, where J has rows [0, -1/4] and [-2/3, 0]. Multiplication gives J squared = (1/6) I. Consequently, after any two sweeps each error component is exactly one sixth of its previous value in exact arithmetic. The eigenvalues are plus and minus sqrt(1/6), so the spectral radius, the largest eigenvalue magnitude, is about 0.408248.
Now write the same constraints in the opposite row order: 2x + 3y = 8, followed by 4x + y = 6. Keep the unknown order [x, y]. A row swap does not change the solution set, and (1, 2) still satisfies both equations. The reordered determinant is -10, again nonzero. This changes which equation supplies each diagonal update; merely visiting the unchanged original update expressions in a different order would not change Jacobi. However, the diagonal entries used by Jacobi are now 2 and 1, instead of 4 and 3.
Solving each reordered row for its corresponding diagonal unknown gives x_next = 4 - 1.5y_old and y_next = 6 - 4x_old. From (0, 0), the first pair becomes (4, 6), the second (-5, -10), and the third (19, 26). A second attempt from the same zero guess reproduces the same sequence. More iterations of this unchanged rule do not repair the splitting.
Here the error matrix K has rows [0, -1.5] and [-4, 0]. Its square is 6 I, so every two sweeps multiply the error by six. The eigenvalues have magnitudes sqrt(6), about 2.449490. The exact solution itself would remain fixed if used as the initial guess. Thus the appropriate convergence statement concerns all initial guesses; a fixed-point initialization cannot prove that an iteration is generally convergent.
For a stationary linear iteration with a unique target fixed point, convergence from every starting vector requires the iteration matrix's spectral radius to be less than one. That criterion refers to J or K, not simply to the determinant of A. Nor does a spectral radius below one promise that every individual sweep reduces every possible norm for every matrix. The stronger two-sweep statements in this example follow from the explicitly computed squares, which are scalar multiples of the identity.
Strict row diagonal dominance provides another visible check for the original ordering: 4 exceeds 1, and 3 exceeds 2. The swapped ordering lacks that property. This observation supports the example, but failure of diagonal dominance is not a universal proof of divergence. The decisive calculation here is K squared = 6 I. An engineer examining a different system needs that system's own mathematical justification rather than a rule inferred from two rows.
A useful numerical record keeps the variable order, equation order, diagonal splitting, initial vector, and update-storage convention together. A residual formed from the original equations can then be evaluated independently of the update implementation. This separates three questions: whether the equations have a solution, whether the chosen iteration approaches it, and whether a finite computed approximation satisfies the intended tolerance. None of those questions alone validates a physical model of a robot.
Concept image: an existing site-library robot-and-laptop workspace illustrates numerical model development. It does not depict this equation system, a solver benchmark, or a verified robot deployment.
Sources checked October 24, 2026: Netlib Templates, The Jacobi Method, https://netlib.org/linalg/old_html_templates/subsection2.6.2.1.html ; Bielefeld Computational Physics, SoSe 2026, Jacobi and Gauss–Seidel Iteration, https://roesner.pages.ub.uni-bielefeld.de/lectures/computational-physics/semester/sose2026/lecture/04_linear_systems/02_jacobi_gauss_seidel.html .