Jump to content

User:Djmvfb/cs228/LU-Decomposition of aMatrix

From Wikipedia, the free encyclopedia

Suppose that, for matrices AX=B, the coefficient matrix A can be written as the product of a lower triangular matrix and an upper triangular matrix. I.E.


Suppose we can do this above (Matrix multiplication is a tricky subject, kids).
Then the solution of the system can proceed as:


Let Y=UX.
Thus,


But! Solving LY=B is solving a system in reducing form -- solving it only involves back substitution. This requires a computation complexity of .
To solve this system, we are looking at a computational complexity:

There really is not much gain in efficiency with one system solved, however the efficiency for many systems is quite efficient.

So we need to solve for Y in LY=B. Is that what we wanted? No! We want X!
But Y=UX or UX=Y.
So, we know U and Y. U is the upper triangular. Its a breeze with back-substitution.