JoeCMath

Upper, Lower, and Diagonal Matrices

Simple overview of upper or lower triangular matrices as well as diagonal matrices.

Main Diagonal

Consider the following $3\times 3$ matrix

\[A= \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}\]

the main diagonal runs from the upper-left entry to the lower-right entry:

\[1,\ 5,\ 9\]

All of the following definitions stem from understanding what the main diagonal is in a square matrix.

Watch this section: main diagonal definitions at 0:00.

Upper Triangular Matrices

An upper triangular matrix has zeros below the main diagonal.

The entries on the diagonal and above the diagonal can be nonzero.

Consider the following matrix

\[\begin{bmatrix} 1 & 5 & 6 \\ 0 & 2 & 7 \\ 0 & 0 & 3 \end{bmatrix}\]

Every entry below our main diagonal is zero, and so this matrix is an upper triangular matrix (our nonzero values live in the upper triangle of the matrix).

Watch this section: upper triangular matrix definitions at 0:19.

Lower Triangular Matrices

A lower triangular matrix has zeros above the main diagonal.

The entries on the diagonal and below the diagonal can be nonzero.

Consider the following matrix

\[\begin{bmatrix} 1 & 0 & 0 \\ 5 & 2 & 0 \\ 6 & 7 & 3 \end{bmatrix}\]

Every entry above our main diagonal is zero, and so this matrix is a lower triangular matrix (our nonzero values live in the lower triangle of the matrix).

Watch this section: lower triangular matrix definitions at 0:37.

Diagonal Matrices

To be a diagonal matrix, every entry off the main diagonal must be zero (a matrix must be both upper and lower triangular).

Consider the following matrix

\[\begin{bmatrix} 1 & 0 & 0 \\ 0 & 2 & 0 \\ 0 & 0 & 3 \end{bmatrix}\]

Because all the off-diagonal entries are zero, this is a diagonal matrix.

Watch this section: diagonal matrix definitions at 1:21.

Timestamp Guide

Section Video
Main diagonal definitions 0:00
Upper triangular matrix definitions 0:19
Lower triangular matrix definitions 0:37
Upper and lower relationship with nonzero entries 0:57
Diagonal matrix definitions 1:21
Walkthrough classifying example matrix 1:40
Practice classifying four examples 2:14
Null matrix classification 3:34

After recognizing special matrix shapes, it is natural to keep building matrix vocabulary: