Cookmath

LU and LDU factorization

LU records elimination: U contains the reduced triangular system and L stores the multipliers. Row exchanges lead to PA=LU. LDU separates nonzero pivots into a diagonal matrix.

What you will learn

Work through one complete example

Fill in the reasoning

Objective 1: Track elimination multipliers

Objective 2: Multiply L and U to verify

Objective 3: Account for permutations and LDU

A common mistake

An LU factorization without permutations is not guaranteed for every square matrix.

Review first

Continue learning

Linear maps and matrix factorizations · Rank factorization A=CR

Interactive diagnosis and practice load in the learning app. You can read these lesson notes without JavaScript.