L U Decomposition
L U Decomposition
into two triangular matrices, one upper triangular matrix and one lower
triangular matrix, such that the product of these two matrices gives the
original matrix. It was introduced by Alan Turing in 1948, who also created
the turing machine.
This method of factorizing a matrix as a product of two triangular matrices
has various applications such as solution of a system of equations, which
itself is an integral part of many applications such as finding current in a
circuit and solution of discrete dynamical system problems; finding the
inverse of a matrix and finding the determinant of the matrix.
Basically, the L U decomposition method comes handy whenever it is
possible to model the problem to be solved into matrix form. Conversion to
the matrix form and solving with triangular matrices makes it easy to do
calculations in the process of finding the solution.
A square matrix A can be decomposed into two square matrices L and U
such that A = L U where U is an upper triangular matrix formed as a result of
applying Gauss Elimination Method on A; and L is a lower triangular matrix
with diagonal elements being equal to 1.
For A = , we have L
Example:
Solve the following system of equations using LU Decomposition method:
(1)
(2)
we get
Now, by doing
(3)
we get
So, we
have
Exercise:
In the LU decomposition of the matrix
| 2 2 |
| 4 9 |
, if the diagonal elements of U are both 1, then the lower diagonal entry l22
of L is (GATE CS 2015)
(A) 4
(B) 5
(C) 6
(D) 7
For Solution, see http://quiz.geeksforgeeks.org/gate-gate-cs-2015-set-1-
question-28/
This article is compiled by Nishant Arora. Please write comments if you find
anything incorrect, or you want to share more information about the topic
discussed above.