Why is Gauss preferred in practice? The reason is the computational cost, which grows much more slowly as the number of unknowns increases.

Observation — Comparison with Cramer

Cramer requires 44 determinants of size 3×33\times 3 (Δ,Δx,Δy,Δz\Delta,\Delta_x,\Delta_y,\Delta_z). Gauss requires n3/3\approx n^3/3 multiplications: for n=3n=3 it is 99 against 24\approx 24, but for n=10n=10 it is 330\approx 330 against 107\sim 10^7. Gauss always wins for large nn. It is the standard algorithm in linear algebra packages (NumPy, Matlab, R).

Topics: Linear systems
Concepts: Computational complexity · Gauss’s method · Cramer’s rule
Skills: Estimate
People: Gabriel Cramer · Carl Friedrich Gauss