Inversion — the series
-
The inverse that is never formed
x = A⁻¹b is how the solution of a linear system is written and it is not how it is computed. The usual reason given is cost — three times the arithmetic. The real reason is that one of the two routes is backward stable and the other is not, and at κ = 10¹⁴ they differ by twelve orders of magnitude in the number that says whose fault a wrong answer is.
-
The gap refinement can close
Multiplying by a computed inverse is not backward stable, and refinement at the working precision repairs it. That much is settled. The claim beside it — that the forward error does not move — was read at one conditioning and four corrections too late. Swept over ten, it moves at every one, and it lands on the LU route's own number after a single correction.
-
The test that made the answer small
Solving by a computed inverse was measured twelve orders of magnitude less backward stable than solving by LU at a condition number of 10¹⁴, on a right-hand side built as b = Ax from a random x. That construction is how a known answer is arranged, and it makes the answer about as small as it can be. On a random right-hand side the inverse route's backward error is 2·10⁻¹⁷, the same as LU's, at every condition number measured. The backward error is about a tenth of the roundoff over ρ, the answer's size over its largest possible, and across 200 random right-hand sides ρ never falls below 0.016. The instability is real, and it belongs to right-hand sides whose answers are small, which is a class that includes most tests and many applications.
-
The other side was small too
An inverse formed by columns, from AX = I, leaves AX̂ − I at a tenth of a unit of roundoff, and that tenth turns out to be the constant in the law that put the inverse route's backward error at about u/ρ. Formed the mirror way, from the transpose, the two sides swap: X̂A − I goes to a tenth and AX̂ − I to almost seven units, so the backward error on a random right-hand side rises forty-fold, as predicted, and the forward error on b = Ax falls from fourteen times LU's to 1.7. LAPACK's way, U⁻¹ then W L = U⁻¹, was the form the prediction was about, and it does not trade at all: both sides stay under half a unit at every condition number, so it has the forward error of the one and nearly the backward error of the other. Partial pivoting keeps L at a condition number near two hundred whatever A is, and that is the only factor this form solves against on the side it did not ask for.