Triangular matrices are diagonal matrix plus some elements on the upper side or lower side of the main diagonal. Here we discuss about types, interesting properties of triangular matrix. Later we will find ways to determine the invertibility and how to find inverse of a triangular matrix with examples.

### What Are Triangular Matrices ?

If a square matrix has all zeros below its main diagonal entries then it is called **upper triangular matrix **and if the square matrix has all zeros above the main diagonal entries then it is called **lower triangular matrix.** Therefore, a **triangular matrix **has either all zero entries above or below main diagonal.

**Examples of Upper Triangular Matrix**

```
```

**Examples of Lower Triangular Matrix**

```
```

**Rules Regarding Triangular Matrices**

Here are some basic rules regarding the upper or lower triangular matrices.

- If a square matrix is upper triangular matrix then and .
- If a square matrix is lower triangular matrix then and .
- If a square matrix is upper triangular matrix then row has and starts with zeros.
- If a square matrix is lower triangular matrix then row has and starts with zeros.

### Strict Triangular Matrix

A **strict triangular matrix** is a square matrix which has all entries zero below or above the main diagonal including the main diagonal.

**Strict Upper Triangular Matrix**

If a strict triangular matrix has all zero entries below the main diagonal including the main diagonal then it is called **strict upper triangular matrix.**

**Example of Strict Upper Triangular Matrix**

```
```

**Examples of Strict Lower Triangular Matrix**

```
```

The basic rules for constructing strict upper or strict lower triangular matrix are

- If a square matrix is strict upper triangular matrix when and .
- If a square matrix is strict lower triangular matrix when and .

### Properties Of Triangular Matrix

There are some interesting properties of triangular matrices which we will explore each type of triangular matrices with examples.

**Properties of Upper Triangular Matrices**

The upper triangular matrix is in row-echelon form. Here are the properties of upper triangular matrices.

- Adding two upper triangular matrices of same order will result in a upper triangular matrix of same order.
- Product of two defined ( eligible for multiplication) upper triangular matrices is upper triangular matrix.
- Transpose of upper triangular matrix is lower triangular matrix.
- Inverse of upper triangular matrix is also upper triangular matrix.

Let us verify each claim with examples.

**Addition of Two Upper Triangular Matrices **

```
Let and be two upper triangular matrices of order .
```

Therefore, sum of two upper triangular matrices is an upper triangular matrix.

**Product of Two Upper Triangular Matrix**

```
Let and be two matrices of order .
Let the product of
```

The product of two defined upper triangular matrices is an upper triangular matrix.

**Transpose of Upper Triangular Matrix**

The transpose of a matrix can be obtained by changing all rows into columns or all columns into rows.

```
Then the transpose of matrix is
```

**Inverse of Upper Triangular Matrix **

Like diagonal matrix, if the main diagonal of upper triangular matrix is non-zero then it is invertible. To be invertible a square matrix must has determinant not equal to 0. Since, determinant of a upper triangular matrix is product of diagonals if it is nonzero, then the matrix is invertible.

```
Let be a upper triangular matrix of order .
The determinant is nonzero, therefore, matrix is invertible.
```

**Properties of Lower Triangular Matrices**

The properties of lower triangular matrices are similar to that of upper triangular matrices,but we decided to discuss it separately. Here are the basic properties

- Adding two lower triangular matrices of same order will result in a lower triangular matrix of same order.
- Product of two defined ( eligible for multiplication) lower triangular matrices is lower triangular matrix.
- Transpose of lower triangular matrix is upper triangular matrix.
- Inverse of lower triangular matrix is also lower triangular matrix.

Let us verify each statement with examples.

**Addition of Lower Triangular Matrix**

```
Let and be two lower triangular matrices of order .
The addition of matrix is stored in matrix
```

Therefore, above results shows that sum of two lower triangular matrix is a lower triangular matrix of same order.

**Product of Two Lower Triangular Matrix **

Similar to upper triangular matrix, the product of two defined lower triangular matrix is a lower triangular matrix.

```
Let and be two lower triangular matrix of order and the product matrix is of same order.
```

**Transpose of Lower Triangular Matrix**

The transpose of lower triangular matrix will change all rows to columns or columns to rows which result in an upper triangular matrix. Consider the following example.

```
Let be a lower triangular matrix of order . The transpose of matrix is denoted as .
Transpose of matrix
```

**Inverse of Lower Triangular Matrix**

The invertibility requirement of lower triangular matrix is same as that of upper triangular matrix. The main diagonal element should not be zero because the determinant of the lower triangular matrix must not be a zero; otherwise there is no inverse matrix.

```
Let be a lower triangular matrix of order .
Since the diagonals are non-zero, the matrix is invertible and its determinant is
The minor matrix of
,
,
,
,
,
,
,
,
```

From the minor matrix we can obtain the cofactor matrix. Each cofactor value can be obtained using

```
```

The adjoint matrix can be obtained from the cofactor matrix and we can find the inverse of the matrix.

```
Therefore, The inverse of matrix is and obtained using
```

Therefore, lower triangular matrix has a lower triangular inverse matrix. Let us verify the inverse matrix.

```
```

In the next article, we will discuss some interesting way to solve Ax = b using triangular matrices.