Ma · Mathematics

Should the Lower Triangle of an Upper-Triangular Matrix Be Blank?

Published By the 9to5Science editorial team

At a glance

  1. 1. Identify the triangle

    Entries below the main diagonal are the lower-triangular part of a matrix.

  2. 2. Use zeros

    For an upper-triangular matrix, every entry below the diagonal equals zero.

  3. 3. Show the pattern

    Write the zeros explicitly, or state clearly that any blank positions represent zeros.

Advertisement

An upper-triangular matrix is not a matrix with missing entries below the diagonal. It is a square matrix whose entries below the main diagonal are all zero. You may leave those positions visually blank in a diagram, but only if you explicitly say that the blanks represent zeros.

What “upper triangular” means

For a square matrix A=(aij)A=(a_{ij}), the main diagonal consists of the entries a11,a22,…,anna_{11},a_{22},\ldots,a_{nn}. The matrix is upper triangular when

aij=0whenever i>j.a_{ij}=0 \quad\text{whenever } i>j.

The condition i>ji>j selects positions below the main diagonal. Entries on the diagonal and above it can be any values. For example,

A=(2−14035007)A=\begin{pmatrix} 2 & -1 & 4 \\ 0 & 3 & 5 \\ 0 & 0 & 7 \end{pmatrix}

is upper triangular. The one zero in the second row and the two zeros in the third row are required by the definition; the other entries are unrestricted.

Are blank positions acceptable?

A matrix has an entry at every row-column position. So, if you write a matrix with empty cells, those cells do not automatically mean zero under standard notation. They could be read as omitted information, a formatting mistake, or an incomplete matrix.

For example, this schematic form is clear only when its convention is stated:

(a11a12a13blanka22a23blankblanka33)\begin{pmatrix} a_{11} & a_{12} & a_{13} \\ \text{blank} & a_{22} & a_{23} \\ \text{blank} & \text{blank} & a_{33} \end{pmatrix}

If you want the blanks to stand for zeros, say so in the surrounding text or use a notation key. In ordinary mathematical writing, it is safer to display the zeros directly:

(a11a12a130a22a2300a33).\begin{pmatrix} a_{11} & a_{12} & a_{13} \\ 0 & a_{22} & a_{23} \\ 0 & 0 & a_{33} \end{pmatrix}.

You can also define the pattern in words or by the condition aij=0a_{ij}=0 for i>ji>j, then use a compact schematic display if the exact entries are not important.

A worked example

Consider

B=(16−2048003).B=\begin{pmatrix} 1 & 6 & -2 \\ 0 & 4 & 8 \\ 0 & 0 & 3 \end{pmatrix}.

Check the entries below the diagonal: b21=0b_{21}=0, b31=0b_{31}=0, and b32=0b_{32}=0. Therefore BB is upper triangular. The diagonal entries 1,4,31,4,3 and the entries above the diagonal can be nonzero.

By contrast,

C=(16−2048053)C=\begin{pmatrix} 1 & 6 & -2 \\ 0 & 4 & 8 \\ 0 & 5 & 3 \end{pmatrix}

is not upper triangular because c32=5c_{32}=5 lies below the main diagonal and is nonzero. A single nonzero entry below the diagonal is enough to violate the definition.

Common mistakes

  • Confusing blank with zero: Blank cells are not standard shorthand for zero unless the convention is stated.
  • Checking the wrong side: For an upper-triangular matrix, zeros go below the main diagonal. A lower-triangular matrix instead has zeros above it.
  • Assuming diagonal entries must be nonzero: They may be zero. If every diagonal entry is zero as well as every entry below it, the matrix is called strictly upper triangular.
  • Treating an incomplete display as a matrix: If entries have been omitted, clarify whether they are zeros or simply unknown. Unknown entries below the diagonal do not establish that a matrix is upper triangular.

When the display is meant to communicate the matrix itself, write zeros explicitly. When it is only a diagram of a known pattern, blanks can be used as a visual shortcut after you define what they mean.

References

  1. Linear Algebra Done Right — Sheldon Axler

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.