Define upper triangular matrix and lower triangular matrix.
A square matrix in which all the elements below the principal diagonal are zero is called an upper triangular matrix.
Example:⎡⎢⎣1140−630045⎤⎥⎦
A square matrix in which all the elements above the principal diagonal are zero is called a lower triangular matrix.
Example:⎡⎢⎣20034021−287⎤⎥⎦