 Open in App
Not now

# Triangular Matrix

• Last Updated : 09 Jan, 2023

A matrix is defined as a rectangular array of numbers that are arranged in rows and columns. The size of a matrix can be determined by the number of rows and columns in it. A matrix is said to be an “m by n” matrix when it has “m” rows and “n” columns and is written as an “m × n” matrix. For example, a matrix of order “5 × 6” has five rows and six columns. We have different types of matrices, such as rectangular, square, triangular, symmetric, singular, etc.

## What is a Triangular Matrix?

A triangular matrix is a special case of a square matrix, where all elements above or below the principal diagonal are zeros. An upper triangular matrix is a square matrix, whose all elements below the principal diagonal are zeros. A lower triangular matrix is a square matrix, whose all elements above the principal diagonal are zeros. The matrices in the image given below are upper triangular and lower triangular matrices of order “4 × 4.” ## Types of Triangular Matrices

There are different types of matrices which are discussed below in this article:

• Upper Triangular Matrix: An upper triangular matrix is a square matrix, whose all elements below the principal diagonal are zeros. • Lower Triangular Matrix:  A lower triangular matrix is a square matrix, whose all elements above the principal diagonal are zeros. • Strictly Triangular Matrix: A triangular matrix is referred to as a strictly triangular matrix if all the elements of the principal diagonal are zero.
• Strictly Lower Triangular Matrix: A lower triangular matrix is referred to as a strictly lower triangular matrix if all the elements of the principal diagonal are zero. • Strictly Upper Triangular Matrix: An upper triangular matrix is referred to as a strictly upper triangular matrix if all the elements of the principal diagonal are zero. • Unit Triangular Matrix: A triangular matrix is referred to as a unit triangular matrix if all the elements of the principal diagonal are one.
• Unit Lower Triangular Matrix: A lower triangular matrix is referred to as a unit lower triangular matrix if all the elements of the principal diagonal are one. • Unit Upper Triangular Matrix: An upper triangular matrix is referred to as a unit upper triangular matrix if all the elements of the principal diagonal are one. ## Upper Triangular Matrix

An upper triangular matrix is a square matrix, whose all elements below the principal diagonal are zeros. A square matrix “A = [aij]” is said to be an upper triangular matrix when aij = 0 for all i > j.

If Un,n is a square matrix of order “n × n” and uij represents an element in the ith row and jth column of the given matrix, then ### Examples of Upper Triangular Matrix

The matrix given below is an upper triangular matrix of order “2 × 2.” We can see that the elements below the principal diagonal are zeros. The matrix given below is an upper triangular matrix of order “3 × 3.” ## Lower Triangular Matrix

A lower triangular matrix is a square matrix whose all elements above the principal diagonal are zeros. A square matrix “A = [aij]” is said to be a lower triangular matrix when aij = 0 for all i < j.

If L is a square matrix of order “n × n” and lij represents an element in the ith row and jth column of the given matrix, then the condition for the given matrix to be a lower triangular matrix is given as follows:

If L is a square matrix of order “n × n” and lij represents an element in the ith row and jth column of the given matrix, then the condition for the given matrix to be a lower triangular matrix is given as follows: ### Examples of Lower Triangular Matrix

The matrix given below is a lower triangular matrix of order “2 × 2.” The matrix given below is a lower triangular matrix of order “3 × 3.” We can see that the elements above the principal diagonal are zeros. ## Properties of a Triangular Matrix

Various properties of the Triangular Matrix are discussed below in this article:

• The transpose of an upper triangular matrix is a lower triangular matrix, i.e., UT = L, and the transpose of a lower triangular matrix is an upper triangular matrix, i.e., LT = U.
• The determinant of a triangular matrix of any order is equal to the product of the principal diagonal elements.
• The inverse of a triangular matrix will also be a triangular matrix.
• A triangular matrix is invertible if and only if all elements of the principal diagonal are non-zero.
• When two triangular matrices are multiplied, the resultant matrix is also triangular.
• When two upper (lower) triangular matrices are multiplied, the resultant matrix is also an upper (lower) triangular matrix.
• When two upper (lower) triangular matrices are added, the resultant matrix is also an upper (lower) triangular matrix.

Also, Check

## Solved Examples on Triangular Matrix

Example 1: Calculate the determinant of the matrix given below. Solution:

We can notice that the given matrix is an upper triangular matrix.

We know that the determinant of an upper triangular matrix of any order is equal to the product of the principal diagonal elements.

So, |A| = 1 × 7 × 8 = 56

Hence, the determinant of the given matrix is 56.

Example 2: Prove the inverse of the inverse of a lower triangular matrix will also be a lower triangular matrix.

Solution:

Let us consider a lower triangular matrix of order “2 × 2,” to prove the inverse of the inverse of a lower triangular matrix will also be a lower triangular matrix. |L| = 5 × 8
= 40  We can see the inverse matrix is also a lower triangular matrix.

Hence, proved.

Example 3: Prove that the transpose of an upper triangular matrix is a lower triangular matrix.

Solution:

To prove that the transpose of an upper triangular matrix is a lower triangular matrix, let us consider an upper triangular matrix. Now, We can notice that the resultant matrix is a lower triangular matrix.

Hence proved.

Example 4: Find the values of “a” and “b” in the given matrix P, if P is a unit lower triangular matrix. Solution:

We know that a lower triangular matrix is referred to as a unit lower triangular matrix if all the elements of the principal diagonal are one.

So, 2a + 5 = 1

2a = 1 − 5 = −4

a = −4/2 = −2

3b − 2 = 1

3b = 1 + 2 = 3

b = 3/3
= 1

Hence, the values of “a” and “b” are −2 and 1 respectively.

## FAQs on Triangular Matrix

### Question 1: What is meant by a triangular matrix?

A triangular matrix is a special case of a square matrix where all elements above or below the principal diagonal are zeros.

### Question 2: What is an upper triangular matrix?

An upper triangular matrix is a square matrix, whose all elements below the principal diagonal are zeros. A square matrix “A = [aij]” is said to be an upper triangular matrix when aij = 0 for all i > j.

### Question 3: What is the determinant of an upper triangular matrix?

The determinant of an upper triangular matrix of any order is equal to the product of the principal diagonal elements.

### Question 4: What is meant by a lower triangular matrix?

A lower triangular matrix is a square matrix, whose all elements above the principal diagonal are zeros.