Lably
Skip to content

Diagonal matrix

Matrix whose only nonzero elements are on its main diagonal

  • 6 min read
  • 10 chapters

Related on Lably

Through Linear algebra, Matrix (mathematics) and Square matrix

Definition

As stated above, a diagonal matrix is a matrix in which all off-diagonal entries are zero. That is, the matrix D = (di,j) with n columns and n rows is diagonal if ∀i,j∈{1,2,…,n},i≠j⟹di,j=0.

However, the main diagonal entries are unrestricted.

The term diagonal matrix may sometimes refer to a rectangular diagonal matrix, which is an m-by-n matrix with all the entries not of the form di,i being zero. For example: [10004000−3000]or[100000400000−300]

More often, however, diagonal matrix refers to square matrices, which can be specified explicitly as a square diagonal matrix. A square diagonal matrix is a symmetric matrix, so this can also be called a symmetric diagonal matrix.

The following matrix is square diagonal matrix: [10004000−2]

If the entries are real numbers or complex numbers, then it is a normal matrix as well.

In the remainder of this article we will consider only square diagonal matrices, and refer to them simply as "diagonal matrices".

Sign in to keep reading

9 more chapters are free with a Lably account.

More in Algebra