Linear Algebra: LU Decomposition

Click For Summary

Homework Help Overview

The discussion revolves around the LU decomposition of a given matrix M, specifically focusing on the process of obtaining the U and L matrices through row reduction techniques. Participants are exploring the implications of their calculations and the correctness of their results.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the steps taken to derive the U matrix and the corresponding L matrix. Questions arise regarding the discrepancies between the calculated L matrix and the expected result, as well as the validity of the LU decomposition method used.

Discussion Status

Some participants have provided insights into the potential reasons for the discrepancies in the L matrix, suggesting that the method used may require a more systematic approach. There is an ongoing exploration of the relationship between the matrices M, L, and U.

Contextual Notes

There is mention of a video tutorial that outlines a shortcut method for LU decomposition, which may influence the participants' understanding and application of the method. The discussion also highlights the importance of tracking transformation steps during the decomposition process.

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 ·
Replies
2
Views
2K
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
2
Views
2K
Replies
6
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K