Example
Reduce [A|I] to [I|A inverse].
highlighted = computed this step
Step 1 — Set up augmented matrix
Set up the augmented matrix for row reduction.
R=[13271001]
Step 2 — Update row 2
Row-reduce with R2 <- R2 - 3*R1.
R=[10211-301]
Step 3 — Update row 1
Row-reduce with R1 <- R1 - 2*R2.
R=[10017−3-21]
Step 4 — Read inverse
Read the inverse matrix A inverse.
Ainv=[7−3−21],A inverse complete
Gauss-Jordan method
Augment: [A|I]. Row-reduce the left block to I using elimination and back-substitution. The right block transforms into A⁻¹ in lockstep.