# Identity, Diagonal, Symmetric & Triangular Matrices

Hello. This post will be about certain matrices in their special forms. The matrices covered are identity, diagonal, symmetric and triangular matrices. These topics are typically found in an introduction to linear algebra course. It is assumed that one knows the transpose of a matrix, the inverse of a matrix and matrix multiplication.

Topics

The Identity Matrix

The identity matrix is one of the most important matrices in linear algebra. Recall that linear algebra helps us solve linear systems of equations such as :

The coefficients of the and variables are the entries for a 2 by 2 matrix. When we solve the above linear system we get a form such as and . In matrix form, we represent this with the identity matrix .

In general, a n-by-n identity matrix has the form:

The identity matrix has a lot of neat properties. a few properties will be mentioned here. The inverse of an identity matrix is the identity matrix (). Another neat feature is that the identity matrix is idempotent. That is, .

Diagonal Matrices

Recall that a n by n matrix is of the form:

The main diagonal is from the top left to the bottom right and contains entries .

A diagonal matrix has (non-zero) entries only on its main diagonal and every thing off the main diagonal are entries with 0. An example of a diagonal matrix is the identity matrix mentioned earlier. The diagonal matrix is shown below.

Instead of , you can use the usual .

You may see the notation which is an alternative to displaying the matrix form.

The inverse of the diagonal matrix D is which is still a diagonal matrix but with the reciprocal of the original diagonal entries.

One can show through matrix multiplication that .

A diagonal matrix raised to a power is not too difficult. Each entry is raised to the same exponent as the matrix exponent. Note that is a positive integer.

Symmetric Matrices

Another special type of matrix is the symmetric matrix. If we transpose a matrix by switching the corresponding rows and columns with each other and find out that they are the same, then that matrix is symmetric.

A more formal definition is that a square matrix is symmetric if .

For example if we were to transpose the matrix by switching the first row with the first column and the second row with second column of the matrix A where

we would still end up with the same matrix. The entries of ones off the main diagonal are the same in this case.

In general, a matrix A is symmetric if the entry is the same as where refers to the row number from the top and is the column number from left to right. Entries with are in the main diagonal.

Another example of a symmetric matrix is:

where in the off diagonal entries we have , and

If the matrix is symmetric then the inverse of is symmetric.

Suppose matrices and are symmetric with the same size with being a scalar we then have:

is symmetric.

and are symmetric.

is symmetric.

Triangular Matrices (Lower & Upper Triangular)

We now look at triangular matrices which can be either lower triangular or upper triangular. To start off, we have an example of a lower triangular matrix and an upper triangular matrix (5 by 5 case).

One can notice that in both the lower and upper triangular matrices, we have the main diagonal (row = column ) having non-zero entries. The 5 by 5 case from earlier can be extended to a n-by-n square matrix.

For the lower triangular matrix we have entries above the main diagonal (row less than column ) as zero. Entries on the main diagonal and below can be any number (including zero).

In the upper triangular matrix we have entries below the main diagonal (row greater than column ) as zero. Entries on the main diagonal and above can be any number (including zero).

The transpose of a lower triangular matrix is an upper triangular matrix and the transpose of an upper triangular matrix is a lower triangular matrix. That is, and .

That is a brief overview of identity, diagonal, symmetric and triangular matrices. There are more properties associated with each of these matrices but that would be a bit too much.

Reference: Elementrary Linear Algebra (10th Edition) by Howard Anton.