## Encyclopedia > Main diagonal

Article Content

# Main diagonal

In linear algebra, the main diagonal of a square matrix is the diagonal which runs from the top left corner to the bottom right corner. For example, the following matrix has 1s down its main diagonal:

$\begin{bmatrix} 1 & 0 & 0\\ 0 & 1 & 0\\ 0 & 0 & 1\end{bmatrix}$

A matrix like the above in which only the elements of the main diagonal are non-zero is called a diagonal matrix. The sum of the entries on the main diagonal of a matrix is known as the trace of that matrix.

All Wikipedia text is available under the terms of the GNU Free Documentation License

Search Encyclopedia
 Search over one million articles, find something about almost anything!

Featured Article
 Sanskrit language ... A form of Sanskrit called Epic Sanskrit is seen in the Mahaabhaarata and other epics. Vernacular Sanskrit may have developed into the Prakrits (in which, among other ...