Linear system

Row 1
Row 2

TSV: tabs between columns, newlines between rows. Blank cells are errors.

Columns keep the original unknown order. Use one b value per row of A. Rectangular systems are supported, up to 10 rows and 10 unknowns; no least-squares fallback.

Reduce the augmented matrix and check the original equations

Each row is one equation; each column of A keeps the same unknown throughout. Enter one b value for each row of A. Rectangular systems are supported up to 10 rows and 10 unknowns. The augmented matrix [A|b] undergoes the actual ordered row operations shown in Step details.

With exact coefficients, a zero coefficient row and a nonzero right-hand side means no solution. A pivot for every unknown gives a unique solution. Otherwise, a consistent system gives a particular solution plus directions multiplied by free parameters. Coefficient unit U and right-hand-side unit V give unknowns and free parameters unit V/U.

Standard 64 reports a numerical candidate only after its scaling, pivot, conditioning and original-row residual checks pass. An indeterminate result does not prove that a system is inconsistent. Exact candidate checks use the original rows; if their arithmetic bounds prevent a numerical check, the frozen substitution relation is shown as unverified. The solver does not silently replace an inconsistent system with a least-squares answer.

Worked example: 2x+y=5 and x−y=1

Divide the first row by 2: x+y/2=5/2. Subtract it from the second row to get −3y/2=−3/2, hence y=1. Subtract half of this y row from the first reduced row to get x=2. The solution stays in the original (x,y) order: (2,1).

Check both original equations: 2×2+1=5 and 2−1=1. For the dependent pair x+2y=2 and 2x+4y=4, the family is (2,0)+t(−2,1); its direction gives zero in both original left-hand sides. Changing the second right-hand side to 5 makes the exact pair inconsistent.

Load example fills the form without calculating. Choose its primary action to work it out.

Sources and related calculators

The method and worked example here are original. Sources describe the underlying mathematics or notation; calculation choices and limits are in the precision and syntax guide.