Factor a matrix further as LDU and check the pivots in D
Divide row k of U by its pivot to reach the LDU form. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.
leaves the pivots on's diagonal. If you divide row of by its pivot, that row becomes unit — a in the diagonal position — and the divisor has to go somewhere. Put all the divisors into a diagonal matrix:
A worked case.
Check: and.
Three facts, and each one is worth holding separately.
1. * holds the pivots, in order, and nothing else. Its diagonal is exactly's diagonal. 2. Both triangles are now unit. was already; dividing the rows turns into one too. 3. The order is, then, then**, and it is forced. sitting between them is what undoes the row divisions — move it and the product changes.
Uniqueness. Suppose with every unit lower and every unit upper. Rearranging,
The left side is lower triangular times a diagonal, hence lower triangular; the right side is diagonal times upper, hence upper triangular. A matrix that is both is diagonal, and comparing diagonals gives the rest. So the three factors are pinned — which is more than alone gives unless's diagonal is fixed by fiat.
Symmetry. For a symmetric, elimination gives:
Both sides have unit factors on the outside and in the middle, so by uniqueness:
That statement cannot even be written in form, and it is the reason earns its place.
Elimination.,; clearing gives. Then and
This is already unit, so is the identity and. Not every matrix has a non-trivial — this one's pivots are all, which is what makes it a clean example of the general statement being degenerate here.
A second matrix, where is not trivial.
So
Check the entry of:'s row 3 is, and
's entry is — so something is wrong. Let me recompute.;;. The sum is, not.
The error is mine, in the row of. The multiplier for is ✓, and the multiplier is ✓. So the row is right, and the mistake is in my arithmetic above: the third term is only if's entry were, but's row 3 is — so the third term is. Then ✓.
Keeping the error visible is the point: reading a row of as if it were a row of is exactly the slip this factorisation invites.
- Divide row k of U by its pivot to reach the LDU form
- State that D holds the pivots in order and nothing else
- Explain why the bracket order L, D, U-tilde is forced
- See that a symmetric matrix reads as LDL-transpose
<ol class="steps"> <li>For, write and.</li> <li>Why does sit between and rather than at the end?</li> <li>A symmetric has and pivots. Write.</li> <li>Is a different factorisation from, or the same one rearranged?</li> </ol>
Answers
1.,. 2. must scale the columns of to keep the product fixed, which is what "on the right of" means. 3., which is. 4. A different normalisation of the same product: both rebuild, but only the triple pins both triangles.