Linear Algebra: LU Decomposition

Click For Summary
SUMMARY

The discussion focuses on the LU decomposition of the matrix M = [[3, 1, 6], [-6, 0, -16], [0, 8, -17]] using a shortcut method from a YouTube video. The user successfully derived the U matrix as [[3, 1, 6], [0, 2, -4], [0, 0, -1]], but encountered discrepancies in the L matrix, resulting in L = [[1, 0, 0], [-2, 1, 0], [4, 8, 1]], which did not satisfy M = LU. The discussion emphasizes the importance of systematically applying row reductions to ensure accurate results in LU decomposition.

PREREQUISITES
  • Understanding of LU decomposition
  • Familiarity with matrix row reduction techniques
  • Knowledge of matrix multiplication
  • Basic linear algebra concepts
NEXT STEPS
  • Review the systematic approach to LU decomposition
  • Learn about the relationship between L and U matrices in LU decomposition
  • Study the implications of row operations on matrix transformations
  • Explore additional resources on LU decomposition methods, including video tutorials
USEFUL FOR

Students and professionals in mathematics, particularly those studying linear algebra, as well as educators seeking to clarify LU decomposition techniques and methods.

Master1022
Messages
590
Reaction score
116
Homework Statement
Find the LU Decomposition of the matrix below
Relevant Equations
M = LU
Here is the initial matrix M:
M = \begin{bmatrix} 3 & 1 & 6 \\ -6 & 0 & -16 \\ 0 & 8 & -17 \end{bmatrix}

I have used the shortcut method outlined in this youtube video: LU Decomposition Shortcut Method.

Here are the row reductions that I went through in order to get my U matrix:
1. R_3 - 8 R_1
= \begin{bmatrix} 3 & 1 & 6 \\ -6 & 0 & -16 \\ -24 & 0 & -65 \end{bmatrix}
2. R_3 - 4 R_2
= \begin{bmatrix} 3 & 1 & 6 \\ -6 & 0 & -16 \\ 0 & 0 & -1 \end{bmatrix}
3. R_2 + 2 R_1
U = \begin{bmatrix} 3 & 1 & 6 \\ 0 & 2 & -4 \\ 0 & 0 & -1 \end{bmatrix}

This yields the correct U matrix, however, I get a slightly different L matrix to the answer. My L matrix is:
L = \begin{bmatrix} 1 & 0 & 0 \\ -2 & 1 & 0 \\ 4 & 8 & 1 \end{bmatrix}

In the answer, the final row reads 0, 4, 1.

Why would this be the case?

Any help is greatly appreciated.
 
Physics news on Phys.org
Master1022 said:
Why would this be the case?
Have you checked that M=LU?
 
DrClaude said:
Have you checked that M=LU?

Thanks for your response. I figured that it doesn't (my LU doesn't equal M) if my answer is wrong. However, I was wondering why using that method seemed to lead me to the wrong answer?
 
Master1022 said:
Thanks for your response. I figured that it doesn't (my LU doesn't equal M) if my answer is wrong. However, I was wondering why using that method seemed to lead me to the wrong answer?
That's how to say because you presented only how you got U, not L.
 
DrClaude said:
That's how to say because you presented only how you got U, not L.

Sure, the way I got L was by looking at the row reduction reduction used to turn a given element into a 0 (e.g. R_1 - 4 R_2) and placing the opposite of the multiplier (e.g. we had -4, so we put +4) in the corresponding place in the L matrix.

For my L matrix, step 1 led to element (3,2); step 2 led to element (3,1); step 3 led to element (2,1).
 
The method presented in the video only works if you go systematically, eliminating first the zero in the first column of the second row, and so on. Otherwise, you need to keep track of all the transformation steps.
 
  • Like
Likes   Reactions: Master1022
DrClaude said:
The method presented in the video only works if you go systematically, eliminating first the zero in the first column of the second row, and so on. Otherwise, you need to keep track of all the transformation steps.
Oh I see, thank you for your reponse.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
2
Views
2K
Replies
6
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K