Recall that any nonsingular matrix can be reduced to upper triangular matrix with all non-zero diagonal elements by elementary row operations.
Recall also that the elementary row operations can be realized by multiplication of the original matrix by the so called elementary matrices.
Moreover, we can reduce to by first applying elementary row operations of the second type (permutation of rows), and then applying elementary row operations of type 1. In other words, and such that .
Denoting , we obtain the well known permuted factorization of a nonsingular matrix:
is upper triangular
is special lower triangular
is a permutation matrix
Once the permuted factorization is obtained, it is easy to solve .