How to calculate
Replace one coefficient column with the right side to obtain the numerator determinant. Divide by det(A). When det(A) is zero, inspect consistency by row reduction.
Worked example
Use Matrix A 2, 1 / 1, -1 · Right side b 5, 1. The result is (2, 1).
Input and result notes
Enter a square coefficient matrix and one right side value per row. The solution is in coefficient column order.
Margalit and Rabinoff on determinants and cofactors