Solve LU Decomposition for Matrix 0 0 1, 1 0 0, 0 1 0

  • Thread starter Thread starter emira
  • Start date Start date
  • Tags Tags
    Decomposition
emira
Messages
7
Reaction score
0

Homework Statement


0 0 1
1 0 0
0 1 0 decompose this matrix using LU decomposition.


Homework Equations





The Attempt at a Solution



I took this matrix and augmented it with a zero (3 by 3) matrix. Then I performed the same row operations on both...the row operations with the purpose of making the matrix I was given an upper triangular matrix, and the zero matrix a lower triangular matrix. I ended up just switching rows twice and got the identity matrix for the upper matrix and got the matrix zero for the lower matrix...so no result. Does anyone know any other method I could use to solve this problem?

Thank you,
emira
 
Physics news on Phys.org
I believe your original LU decomposition is correct. This is a very trivial decomposition, since it is just a permuted identity matrix.
 
But the product of the identity matrix with matrix zero is matrix zero, thus not giving me the matrix i started with. does that it mean the matrix is not decompos-able?
 
Well, I'm not quite sure how you would have learned how to do LU decomposition, but both your upper and lower triangular matrices should have diagonals non-zero, one of which is usually normalized to be all 1's. Furthermore there is a permutation matrix (especially if you're doing anything computational).

For example, if A is the matrix you're trying to put in LU decomposition, then you find L, U and P such that LUP = A.

Thus let A = \begin{bmatrix} 0 & 0 & 1 \\ 1 & 0 & 0 \\ 0 & 1 & 0 \end{bmatrix}

Then L and U are identity, and P = A (the original matrix).

Edit: Obviously, where L is lower triangular, U is upper triangular, and P is a permuted identity matrix
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Replies
6
Views
2K
Replies
2
Views
2K
Replies
5
Views
2K
Replies
5
Views
3K
Replies
3
Views
1K
Replies
8
Views
2K
Replies
6
Views
10K
Back
Top