LU Decomposition
LU Decomposition
2 8 1 1 1 0 0 0 2 8 1 1
4 13 3 1 2 1 0 0 0 3 1 3
A
2 5 3 3 1 1 1 0 0 0 1 1
6 18 1 1 3 2 4 1 0 0 0 2
2. This will yield the equation:
(LU)x = b.
1 0 0 0 2 8 1 1 x1 1
2
1 0 0 0 3 1 3 x2 0
1 1 1 0 0 0 1 1 x3 2
3 2 4 1 0 0 0 2 x4 1
L U b
and Ly = b
1 0 0 0 y1 1
2
1 0 0 y2 0
1 1 1 0 y3 2
3 2 4 1 y4 1
y1 1 y1 1
2 y1 y2 0 y2 2
y1 y2 y3 6 y3 3
3 y1 2 y2 4 y3 y4 1 y4 12
4. Take the values for y and solve the equation Ux=y for x. This
will give the solution to the system Ax = b.
2 8 1 1 x1 1
0 3 1 3 x 2
2
0 0 1 1 x3 3
0 0 0 2 x4 12
http://www.monografias.com/trabajos45/descomposi
cion-lu/descomposicion-lu.shtml