AI engineering glossary · Linear algebra

What is LU decomposition?

LU decomposition (also called LU factorisation): A factorisation of a square matrix into a lower triangular matrix L and an upper triangular matrix U, usually with row swaps. Once done, many systems with the same matrix and different right sides are solved fast by two triangular solves.

Level: advancedTopic: Linear algebra

LU decomposition: an example

A = L U lets you solve A x = b by first solving L y = b and then U x = y.

Related terms

More Linear algebra terms

Where you learn it

LU decomposition is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.