Square, Diagonal, Unit, Triangular Matrices

Square Matrix

A matrix in which a number of rows are equal to the number of columns is called a square matrix. That is, a matrix of order is often referred to as a square matrix of order .
square matrix of order 3.
square matrix of order 3.

Diagonal Matrix

In a square matrix of order , the elements are called the principal diagonal or simply the diagonal or main diagonal or leading diagonal elements.
A square matrix is called a diagonal matrix if whenever
diagonal matrix of order 3.
diagonal matrix of order 3.

Unit matrix

A square matrix in which all the diagonal entries are 1 and the rest are all zero is called a unit matrix. Thus, a square matrix is said to be a unit matrix if if , and if .
unit matrix of order 3.
unit matrix of order 3.

Upper triangular matrix

A square matrix is said to be an upper triangular matrix if all the elements below the main diagonal are zero.
upper triangular matrix of order 3.
upper triangular matrix of order 3.

Lower triangular matrix

A square matrix is said to be a lower triangular matrix if all the elements above the main diagonal are zero.
lower triangular matrix of order 3.
lower triangular matrix of order 3.

Triangular matrix

A square matrix which is either upper triangular or lower triangular is called a triangular matrix.