Dashboard

Featured nodes

Roots

  • Public root

Templates

  • Test template
  • iCorps template
  • Guanyu's Latex template
  • Ivar's latex template
  • Family Tree template
  • Latex template
  • Router template

Trees

  • Public trees

Orphans

  • Browse orphan nodes
Related nodes

Parents1

  • Basic terminology and notation

Siblings11
  • Sort by title
  • Sort by date

  • Definition of matrix
  • Notation for entry of matrix
  • Definition of size of a matrix
  • Definition of m by n matrix
  • Notation for the set of m by n matrices
  • Definition of square matrix
  • Definition of the (main) diagonal of a matrix
  • Definition of diagonal matrix
  • Definition of identity matrix
  • Definition of 0 matrix
  • Definition of equality of matrices
Knowenβ
  • Help
    • Welcome to Knowen!
    • Edit test node (no login required)
    • Create new test node (no login required)
  • Not logged in
    • Sign in
    • Sign up

History & Comments

Back

Fill content

Description:Added definition of main diagonal
# Definition of the (main) diagonal of a matrix

Put content here**Definition:** The **main diagonal** (or simply **diagonal**) of a matrix $A = (a_{ij})$ is the set of entries $a_{ii}$ where the row and column indices are equal:
⏎
$$\text{diag}(A) = \{a_{11}, a_{22}, a_{33}, \ldots\}$$
⏎
For an $m \times n$ matrix, the main diagonal consists of entries where $i = j$, running from the upper-left corner to the lower-right corner.
⏎
**Example:** For
$$A = \begin{pmatrix} \mathbf{1} & 2 & 3 \\ 4 & \mathbf{5} & 6 \\ 7 & 8 & \mathbf{9} \end{pmatrix}$$
the main diagonal entries are $1, 5, 9$.
⏎
The **trace** of a square matrix is the sum of its diagonal entries: $\text{tr}(A) = \sum_i a_{ii}$.

# Parents

* Basic terminology and notation
Sign in to add a new comment

Contact us or leave feedback

© KTree Inc. 2026