SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
1
LU Decomposition
 LU Decomposition is another method to solve a set of
 simultaneous linear equations

 In linear algebra, the LU decomposition is a matrix
 decomposition which writes a matrix as the product of
 a lower triangular matrix and an upper triangular
 matrix. The product sometimes includes a
 permutation matrix as well. This decomposition is
 used in numerical analysis to solve systems of linear
 equations or calculate the determinat.
                                                         2
Method
 For most non-singular matrix [A] that one could
 conduct Naïve Gauss Elimination forward elimination
 steps, one can always write it as   [A] = [L][U]
where
[L] = lower triangular matrix
[U] = upper triangular matrix




                                                       3
Operation mode
     If solving a set of linear equations   [A][X] = [C]
                     If [A] = [L][U] then   [L][U][X] = [C]
                           Multiply by      [L]-1
                         Which gives        [L]-1[L][U][X] = [L]-1[C]
Remember [L]-1[L] = [I] which leads to      [I][U][X] = [L]-1[C]
            Now, if [I][U] = [U] then       [U][X] = [L]-1[C]
                              Now, let      [L]-1[C]=[Z]
                       Which ends with      [L][Z] = [C] (1)
                                  and       [U][X] = [Z] (2)




                                                                        4
Way to use
Given [A][X] = [C]



1. Decompose [A] into [L] and [U]
2. Solve [L][Z] = [C] for [Z]
3. Solve [U][X] = [Z] for [X]




                                    5
[A] to [L] and [U]
                1     0 0 u11 u12 u13
 A    LU        21   1 0 0 u 22 u 23
                31  32 1 0        0 u 33

  [U] is the same as the coefficient matrix at the end of the forward
  elimination step.
  [L] is obtained using the multipliers that were used in the forward
  elimination process




                                                                        6
LU Decomposition in linear
equations
 Given the next linear
                                  25   5 1    x1     106.8
 equations system, solve
 by using LU                      64   8 1    x2     177.2
 decomposition                   144 12 1     x3     279.2

   Using the procedure for finding the [L] and [U] matrices

                       1     0    0 25        5       1
     A     L U       2.56    1    0    0      4.8    1.56
                     5.76 3.5 1        0      0      0.7


                                                              7
1        0     0 z1         106.8
Set [L][Z] = [C]   2.56      1     0 z2         177.2
                   5.76 3.5 1 z 3               279.2




                   z1     10
 Solve for [Z]     2.56 z1       z2    177.2
                   5.76 z1       3.5 z 2   z3    279.2


                                                         8
Completing the substitution to solve [Z]


z1 106.8
                                                  z1   106.8
z2   177.2 2.56 z1
     177.2 2.56 106.8                    Z        z2   96.21
      96.2                                        z3   0.735
z3   279.2 5.76 z1 3.5 z 2
     279.2 5.76 106.8        3.5 96.21
     0.735



                                                               9
Set [U][X] = [Z]
                         25        5                1   x1   106.8
                         0         4.8          1.56    x2   96.21
                         0         0           0.7      x3   0.735
Solve for [X]
The 3 equations become       25a1 5a2 a3 106.8
                             4.8a2 1.56a3    96.21
                                    0.7a3   0.735




                                                                     10
From the 3rd equation   Substituting in a3 and using the
                        second equation
 0.7 a3   0.735              4.8a2 1.56 a3    96 .21
          0.735                 96.21 1.56a3
     a3                 a2
            0.7                      4.8
     a3   1.050                 96.21 1.56 1.050
                        a2
                                       4.8
                        a2    19.70


                                                           11
25 a1 5a2    a3 106 .8

Substituting in a3 and a2 using         106.8 5a2 a3
                                  a1
the first equation                            25
                                        106.8 5 19.70 1.050
                                                 25
                                        0.2900



                                       a1     0.2900
Hence the Solution Vector is:          a2      19.70
                                       a3      1.050

                                                              12
BIBLIOGRAPHY

•http://numericalmethods.eng.usf.edu/topics/lu_decomposi
tion.html
•http://en.wikipedia.org/wiki/LU_decomposition




                                                           13

More Related Content

PPTX
Lu Decomposition
PPTX
Gauss jordan and Guass elimination method
PPTX
Jacobi iteration method
PPTX
Gaussian Elimination Method
PPT
Null space, Rank and nullity theorem
PPTX
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
PPTX
LU FACTORIZATION METHOD
PPTX
System of linear equations
Lu Decomposition
Gauss jordan and Guass elimination method
Jacobi iteration method
Gaussian Elimination Method
Null space, Rank and nullity theorem
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
LU FACTORIZATION METHOD
System of linear equations

What's hot (20)

PDF
Linear transformations and matrices
PPTX
Gauss jordan
PPTX
presentation on Euler and Modified Euler method ,and Fitting of curve
PDF
Interpolation with Finite differences
PPTX
Newton's Backward Interpolation Formula with Example
PPT
Z transfrm ppt
PDF
Gram schmidt orthogonalization | Orthonormal Process
PPTX
Maths-->>Eigenvalues and eigenvectors
PPT
NUMERICAL METHODS -Iterative methods(indirect method)
PPT
Simplex Method
PDF
Interpolation Methods
PPTX
GAUSS ELIMINATION METHOD
PPT
Duality
PPTX
Jacobi method
PDF
Matlab solved problems
PPTX
trapezoidal and simpson's 1/3 and 3/8 rule
PDF
Linear Programming (graphical method)
PDF
Fixed point iteration
PPT
Eigenvalues and Eigenvectors
PPTX
Euler and runge kutta method
Linear transformations and matrices
Gauss jordan
presentation on Euler and Modified Euler method ,and Fitting of curve
Interpolation with Finite differences
Newton's Backward Interpolation Formula with Example
Z transfrm ppt
Gram schmidt orthogonalization | Orthonormal Process
Maths-->>Eigenvalues and eigenvectors
NUMERICAL METHODS -Iterative methods(indirect method)
Simplex Method
Interpolation Methods
GAUSS ELIMINATION METHOD
Duality
Jacobi method
Matlab solved problems
trapezoidal and simpson's 1/3 and 3/8 rule
Linear Programming (graphical method)
Fixed point iteration
Eigenvalues and Eigenvectors
Euler and runge kutta method
Ad

Similar to Lu decomposition (20)

DOC
Solution of System of Linear Equations
PDF
Jacobi and gauss-seidel
PPT
Operational research
PPTX
Some methods for small systems of equations solutions
PPTX
คณิตศาสตร์ 60 เฟรม กาญจนรัตน์
PPTX
คณิตศาสตร์ 60 เฟรม กาญจนรัตน์
PPTX
XLSX
Metodos especiales ejercicio en clase
XLSX
Metodos especiales ejercicio en clase
 
XLSX
Metodos especiales ejercicio en clase
 
XLSX
Metodos especiales ejercicio en clase
 
PPTX
PDF
Roots of polynomials
PPTX
Alg II 3-5 Sytems Three Variables
PPTX
Alg II Unit 3-5-sytemsthreevariables
PPTX
Numerical solution of system of linear equations
PDF
M A T H E M A T I C A L M E T H O D S J N T U M O D E L P A P E R{Www
PDF
LU_decomposition_HELM required for engineering
PDF
Lesson 9: Gaussian Elimination
PPTX
Systems of 3 Equations in 3 Variables
Solution of System of Linear Equations
Jacobi and gauss-seidel
Operational research
Some methods for small systems of equations solutions
คณิตศาสตร์ 60 เฟรม กาญจนรัตน์
คณิตศาสตร์ 60 เฟรม กาญจนรัตน์
Metodos especiales ejercicio en clase
Metodos especiales ejercicio en clase
 
Metodos especiales ejercicio en clase
 
Metodos especiales ejercicio en clase
 
Roots of polynomials
Alg II 3-5 Sytems Three Variables
Alg II Unit 3-5-sytemsthreevariables
Numerical solution of system of linear equations
M A T H E M A T I C A L M E T H O D S J N T U M O D E L P A P E R{Www
LU_decomposition_HELM required for engineering
Lesson 9: Gaussian Elimination
Systems of 3 Equations in 3 Variables
Ad

Recently uploaded (20)

PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Cell Types and Its function , kingdom of life
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Classroom Observation Tools for Teachers
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Business Ethics Teaching Materials for college
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Insiders guide to clinical Medicine.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Basic Mud Logging Guide for educational purpose
Cell Types and Its function , kingdom of life
STATICS OF THE RIGID BODIES Hibbelers.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Cell Structure & Organelles in detailed.
O7-L3 Supply Chain Operations - ICLT Program
Classroom Observation Tools for Teachers
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
PPH.pptx obstetrics and gynecology in nursing
Business Ethics Teaching Materials for college
Abdominal Access Techniques with Prof. Dr. R K Mishra
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Insiders guide to clinical Medicine.pdf

Lu decomposition

  • 1. 1
  • 2. LU Decomposition  LU Decomposition is another method to solve a set of simultaneous linear equations In linear algebra, the LU decomposition is a matrix decomposition which writes a matrix as the product of a lower triangular matrix and an upper triangular matrix. The product sometimes includes a permutation matrix as well. This decomposition is used in numerical analysis to solve systems of linear equations or calculate the determinat. 2
  • 3. Method  For most non-singular matrix [A] that one could conduct Naïve Gauss Elimination forward elimination steps, one can always write it as [A] = [L][U] where [L] = lower triangular matrix [U] = upper triangular matrix 3
  • 4. Operation mode If solving a set of linear equations [A][X] = [C] If [A] = [L][U] then [L][U][X] = [C] Multiply by [L]-1 Which gives [L]-1[L][U][X] = [L]-1[C] Remember [L]-1[L] = [I] which leads to [I][U][X] = [L]-1[C] Now, if [I][U] = [U] then [U][X] = [L]-1[C] Now, let [L]-1[C]=[Z] Which ends with [L][Z] = [C] (1) and [U][X] = [Z] (2) 4
  • 5. Way to use Given [A][X] = [C] 1. Decompose [A] into [L] and [U] 2. Solve [L][Z] = [C] for [Z] 3. Solve [U][X] = [Z] for [X] 5
  • 6. [A] to [L] and [U] 1 0 0 u11 u12 u13 A LU  21 1 0 0 u 22 u 23  31  32 1 0 0 u 33 [U] is the same as the coefficient matrix at the end of the forward elimination step. [L] is obtained using the multipliers that were used in the forward elimination process 6
  • 7. LU Decomposition in linear equations Given the next linear 25 5 1 x1 106.8 equations system, solve by using LU 64 8 1 x2 177.2 decomposition 144 12 1 x3 279.2 Using the procedure for finding the [L] and [U] matrices 1 0 0 25 5 1 A L U 2.56 1 0 0 4.8 1.56 5.76 3.5 1 0 0 0.7 7
  • 8. 1 0 0 z1 106.8 Set [L][Z] = [C] 2.56 1 0 z2 177.2 5.76 3.5 1 z 3 279.2 z1 10 Solve for [Z] 2.56 z1 z2 177.2 5.76 z1 3.5 z 2 z3 279.2 8
  • 9. Completing the substitution to solve [Z] z1 106.8 z1 106.8 z2 177.2 2.56 z1 177.2 2.56 106.8 Z z2 96.21 96.2 z3 0.735 z3 279.2 5.76 z1 3.5 z 2 279.2 5.76 106.8 3.5 96.21 0.735 9
  • 10. Set [U][X] = [Z] 25 5 1 x1 106.8 0 4.8 1.56 x2 96.21 0 0 0.7 x3 0.735 Solve for [X] The 3 equations become 25a1 5a2 a3 106.8 4.8a2 1.56a3 96.21 0.7a3 0.735 10
  • 11. From the 3rd equation Substituting in a3 and using the second equation 0.7 a3 0.735 4.8a2 1.56 a3 96 .21 0.735 96.21 1.56a3 a3 a2 0.7 4.8 a3 1.050 96.21 1.56 1.050 a2 4.8 a2 19.70 11
  • 12. 25 a1 5a2 a3 106 .8 Substituting in a3 and a2 using 106.8 5a2 a3 a1 the first equation 25 106.8 5 19.70 1.050 25 0.2900 a1 0.2900 Hence the Solution Vector is: a2 19.70 a3 1.050 12