Gaussian elimination
In fact Gaussian elimination shows there is a unique such that is upper triangular.