Diagonal Matrix

Chapter 2 Linear algebra

Chapter 2: Matrix — Transpose ($A^\top$) & Diagonal Matrices (also appears in Ch. 5, Ch. 5)

From the book

Chapter 2: Matrix. In the chapter mind map this icon labels Transpose ($A^\top$) & Diagonal Matrices. The discussion below is excerpted and lightly edited from § Transpose in Mathematics for AI and Machine Learning. Related material also appears in Chapter 5 (Trace & Cyclic Props), Chapter 5 (Determinants & Inverses via LU).

The transpose operation flips a matrix along its main diagonal, converting rows into columns and columns into rows. For a matrix $A \in \mathbb{R}^{M \times N}$, the transpose $A^\top$ is an $N \times M$ matrix where the element at position $(i,j)$ in $A$ becomes the element at position $(j,i)$ in $A^\top$. This operation is fundamental in linear algebra, appearing frequently in matrix operations, inner products, and the formulation of symmetric matrices.

and transposing twice restores the original matrix, i.e., $(A^\top)^\top = A$.

What this drawing shows

What you see. Square matrix whose nonzero structure lies on the main diagonal, representing independent coordinate scaling.

In the mind map. Chapter 2 — Transpose () & Diagonal Matrices. See From the book above for definitions, figures, and worked examples.

Also appears in Ch. 5 (Trace & Cyclic Props); Ch. 5 (Determinants & Inverses via LU).

Where to read next

Open Chapter 2 companion →

Read the full definitions, figures, and worked examples in Chapter 2: Matrix — see the mind-map node Transpose () & Diagonal Matrices.

This concept is also referenced in Chapter 5 (Trace & Cyclic Props); Chapter 5 (Determinants & Inverses via LU).

PNG Icons

Textless (256×256 px)
PNG 256×256 px Copy PNG URL
Textless (64×64 px)
PNG 64×64 px Copy PNG URL
Textless (32×32 px)
PNG 32×32 px Copy PNG URL

Animated GIFs