UTeM BMFR Google Search Engine
Part 1: LU Decomposition used as a method to solve a set of simultaneous linear equations
Posted by BMFRGuru at 7:44 PMWe already studied two numerical methods of finding the solution to simultaneous linear equations – Naïve Gauss Elimination and Gaussian Elimination with Partial Pivoting. Then
For any nonsingular matrix on which one can conduct Naïve Gauss Elimination forward elimination steps
where
Then if one is solving a set of equations
[A] [X] = [C]
then
Multiplying both side by
=
Let
then
(1)
and
(2)
So we can solve equation (1) first for and then use equation (2) to calculate .
This is all exciting but this looks more complicated than the Gaussian elimination techniques!! I know but I cannot tease you any longer. So here we go!
Without proof
In comparison
This has confused me further! Gaussian elimination takes less time than LU Decomposition method and you are trying to convince me then LU Decomposition has its place in solving linear equations! Yes
Remember in trying to find the inverse of the matrix in Chapter 5
So the total computational time required to find the inverse of a matrix using LU decomposition is proportional to .
In comparison
.
For large values of n
Are you now convinced now that LU decomposition has its place in solving systems of equations? We are now ready to answer other questions - how do I find LU matrices for a nonsingular matrix [A] and how do I solve equations (1) and (2).