Nepedia
Back to Discover
Independent Reader
🔢

LU decomposition

math Maturity 7-9 Next article →

Imagine you have a big grid of numbers. We call this a matrix. Sometimes, it is easier to solve math puzzles if we split that grid into two smaller parts. This is called LU decomposition.

We split the grid into a lower triangular matrix and an upper triangular matrix. In the lower part, all numbers above the main diagonal are zero. In the upper part, all numbers below the diagonal are zero. This method was introduced by Tadeusz Banachiewicz in 1938.

Banachiewicz's 1938 paper p. 394
Banachiewicz's 1938 paper p. 394

Computers use this way to solve systems of equations. It also helps them find a matrix's determinant. Sometimes, the split does not work right away. This can happen if a number in the diagonal is zero. To fix this, we swap the rows. This is called pivoting.

When we swap rows, we use a permutation matrix. This helps the computer stay accurate and avoid errors. We can even use a special version called LUP decomposition. This uses pivoting to make sure the math stays stable and correct.

169 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (3)
File:LDU decomposition of Walsh 16.svg
LDU decomposition of Walsh 16.svg
LU decomposition.pdf
File:Banachiewicz's 1938 paper p. 394.jpg
Banachiewicz's 1938 paper p. 394.jpg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.