Numerical Matrix Inverse, Orders 2–6

Invert a small square matrix and inspect its condition estimate and residual.

Inverse matrix
1 0 0 0 1 0 0 0 1
Determinant
1
Infinity-norm condition estimate
1
Infinity-norm residual of A·inverse(A)−I
0

Calculation and assumptions

AX=I; κ∞≈norm∞(A) norm∞(X); r∞=norm∞(AX−I).

Orders 2–6 only; entries must be finite with magnitude at most 1e12. Gauss–Jordan elimination uses scaled partial pivoting. Singular or numerically unresolved pivots fail; condition estimates above 1e12 and residuals above 1e−6 are rejected. Residual uses unrounded values; displayed inverse is rounded. No exact rational arithmetic, symbolic inverse or guarantee for ill-conditioned matrices.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

AX=I; κ∞≈norm∞(A) norm∞(X); r∞=norm∞(AX−I).

What assumptions apply?

Orders 2–6 only; entries must be finite with magnitude at most 1e12. Gauss–Jordan elimination uses scaled partial pivoting. Singular or numerically unresolved pivots fail; condition estimates above 1e12 and residuals above 1e−6 are rejected. Residual uses unrounded values; displayed inverse is rounded. No exact rational arithmetic, symbolic inverse or guarantee for ill-conditioned matrices.

How precise are the results?

Results show up to ten significant digits. Display precision does not improve the accuracy of the measurements or model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Also try:

Back to category →