Main diagonal of a square matrix

The main diagonal of a square matrix of order n consists of elements where the row and column indices are equal. In other words, $$ a_{11} , \ a_{22} , \ a_{33} , \ ... , \ a_{nn} . $$

This diagonal stretches from the top-left corner of the matrix to the bottom-right corner.

The main diagonal

Note: The main diagonal applies only to square matrices, which have the same number of rows and columns.

Example

Consider a square matrix of order n=3, which means it has three rows and three columns.

An illustration of the main diagonal in a square matrix:

This illustration shows the main diagonal in a 3x3 matrix.

The elements on the main diagonal are as follows:

$$ a_{11} = 1 $$

$$ a_{22} = 3 $$

$$ a_{33} = 2 $$

and so forth.

 
 

Please feel free to point out any errors or typos, or share suggestions to improve these notes. English isn't my first language, so if you notice any mistakes, let me know, and I'll be sure to fix them.

FacebookTwitterLinkedinLinkedin
knowledge base

Matrices (linear algebra)