Main diagonal

From Linear

Definition

The main diagonal or principal diagonal of a square matrix is defined as the set of positions (and corresponding entries) in the matrix where the row and column index are equal. Explicitly, suppose is a natural number and is a square matrix. The main diagonal of is the collection of entries:

In cases where there is no ambiguity, the main diagonal is simply referred to as the diagonal.