Linear systems / Methods
How these methods work
A short primer before you touch a matrix. Skip ahead if you already know rank, elimination, and convergence.
Start solving →What "solving" means here
A linear system is an augmented matrix — coefficients on the left, right-hand-side values on the right. Solving it means finding the values that satisfy every row at once, or showing precisely why no such values exist, or why more than one set of values does.
Enter linear equation coefficients and right-hand-side values in the solver.
Direct methods
Gaussian elimination
Reduces the augmented matrix to row-echelon form using partial pivoting, then back-substitutes. Deterministic, finishes in a fixed number of steps, and is the reference method for square, well-posed systems.
Gauss–Jordan elimination
Continues past row-echelon form to reduced row-echelon form (RREF), reading the solution — or the parametric form of infinitely many solutions — directly off the final matrix.
Partial pivoting applies in float64 mode. Exact mode uses rational row operations. Both direct methods also support rectangular systems, subject to resource limits.
Iterative methods
Jacobi iteration
Starts from an initial guess and repeatedly refines every variable using the previous iteration's values, all at once. Converges when the iteration matrix's spectral radius is under 1 — not guaranteed for every system, and the app tells you the spectral radius before you run it.
Gauss–Seidel iteration
Same idea as Jacobi, but each variable update uses the newest values already computed in the current sweep. Usually converges faster than Jacobi when it converges at all, but "usually" is not "always" — Augmentr won't claim one method is faster than the other as a general rule, only for the matrix in front of you.
Spectral radius is a floating diagnostic and may be unavailable. Compare the returned histories for your system; no speed ranking is implied by method availability.
Why a system might not have one clean answer
Rank tells the story. If the coefficient matrix and the augmented matrix have the same rank, and that rank equals the number of unknowns, there's exactly one solution. If the ranks match but fall short of the unknown count, there are infinitely many — described by free parameters. If the ranks don't match, no solution satisfies every row simultaneously. Augmentr classifies your system this way before offering you a method, not after you've run one and gotten a strange answer.
Diagonal dominance, briefly
Strict diagonal dominance guarantees Jacobi and Gauss–Seidel will converge — but it's a sufficient condition, not a necessary one. Plenty of systems that aren't diagonally dominant still converge fine. Augmentr can attempt to reorder your equations (not your variables) into a diagonally dominant arrangement if one exists, and will always show you which reordering it used — your original system is never silently replaced.
Iteration uses unrounded float64 values and requires both backward error and normalized step change to meet the tolerance. SPD is sufficient for Gauss–Seidel, but does not by itself guarantee Jacobi convergence.