LDU Decomposition

Chapter 5 Mathematics for AI

Chapter 5: Square Matrix and LU Decomposition — LDU Decomp ($A = LDU$)

From the book

Chapter 5: Square Matrix and LU Decomposition. In the chapter mind map this icon labels LDU Decomp ($A = LDU$). The discussion below is excerpted and lightly edited from § Theorem: LDU Decomposition in Mathematics for AI and Machine Learning.

For any $A \in \mathbb{R}^{N \times N}$ with LU decomposition $A=LU$, $u_{nn} \ne 0$ for $n

where $L \in \mathbb{R}^{N \times N}$ is a lower triangular matrix with unit diagonal, $D \in \mathbb{R}^{N \times N}$ is a diagonal matrix, and $U \in \mathbb{R}^{N \times N}$ is an upper triangular matrix with unit diagonal.

It follows from LU by factoring $U = DU'$, where $D$ holds the diagonal of $U$ and $U'$ is $U$ with each row divided by its diagonal entry (if $u_{N-1,N-1}=0$, set $u'_{N-1,N-1}=1$).

What this drawing shows

What you see. Represents a matrix split into lower-triangular, diagonal, and upper-triangular factors.

In the mind map. Chapter 5 — LDU Decomp (). See From the book above for definitions, figures, and worked examples.

Where to read next

Open Chapter 5 companion →

Read the full definitions, figures, and worked examples in Chapter 5: Square Matrix and LU Decomposition — see the mind-map node LDU Decomp ().

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