AX = B

If the coefficients of matrix A is non-singular, then A^{−1} exists.

A^{−1}(AX) = A^{−1}B

(A^{−1}A)X = A^{−1}B

IX = A^{−1}B

X = A^{−1}B