MHB LU Factorization - Solve with Carter Barker

  • Thread starter Thread starter cbarker1
  • Start date Start date
  • Tags Tags
    Factorization
cbarker1
Gold Member
MHB
Messages
345
Reaction score
23
Dear Everyone,
I have some trouble with LU-Factorization. The problem work is below:
Original Matrix

First row- 3,0,1
2nd row- 6,1,1
3rd row- -3,1,0

Elementary Matrix 1
1st- 1,0,0
2nd- 0,1,0
3rd- 0,0,1
Switch R1 to R3

1st- 0,0,1
2nd- 0,1,0
3rd- 1,0,0​

The row operation:
Interchange R1 and R3

1st- -3,1,0
2nd- 6,1,1
3rd- 3,0,1

Elementary 2
1st- 1,0,0
2nd- 0,1,0
3rd- 0,0,1

Multiply -1/3R1

1st- -1/3,0,0
2nd- 0,1,0
3rd- 0,0,1​

The Row Operation
Multiplying -1/3 R1

1st- 1, -1/3, 0
2nd- 6, 1, 1
3rd- 3,0,1

Elementary 3

1st- 1,0,0
2nd- 0,1,0
3rd- 0,0,1

-6R1+R2

1st- 1,0,0
2nd- -6,1,0
3rd- 0,0,1​

The Row Operation
-6R1+R2

1st- 1,-1/3,0
2nd- 0,-1,1
3rd- 3,0,1

Elementary 4
1st-1,0,0
2nd- 0,1,0
3rd- 0,0,1

-3R1+R3
1st-1,0,0
2nd-0,1,0
3rd- -3,0,1


Row Operation
-3R1+R3

1st- 1,-1/3,0
2nd-0, -1, 1
3rd- 0, 1, 1

Elementary 5
1st- 1,0,0
2nd- 0,1,0
3rd- 0, 0,1

R2+R3

1st- 1,0,0
2nd- 0,1,0
3rd- 0,1,1

Row Operation:
R2+R3

1st- 1,-1/3,0
2nd- 0,-1,1
3rd- 0,0,2

Did I make a mistake somewhere? Thank you,

Carter Barker
 
Last edited:
Physics news on Phys.org
Cbarker1 said:
Dear Everyone,

I have some trouble with LU-Factorization. The problem work is below
Elementary Matrix

In first row- 3,0,1
1st- 1,0,0 1st- 0,0,1
2nd row- 6,1,1 2nd- 0,1,0 2nd- 0,1,0 Switch R1 to R3
3rd row- -3,1,0 3rd- 1,0,0
Elementary Matrix
1st- 1,0,0
2nd- 0,1,0
3rd- 0,0,1

1st- 0,0,1
2nd- 0,1,0 Switch R1 to R3

The row operation:
Interchange R1 and R3

1st- -3,1,0 1st- 1,0,0 1st- -1/3,0,0 Multiplying by -1/3 R1
2nd- 6,1,1 2nd- 0,1,0 2nd- 0,1,0
3rd- 3,0,1 3rd- 0,0,1 3rd- 0,0,1

The Row Operation
Multiplying -1/3 R1

1st- 1, -1/3, 0 1st- 1,0,0 1st- 1,0,0 -6R1+R2
2nd- 6, 1, 1 2nd- 0,1,0 2nd- -6,1,0
3rd- 3,0,1 3rd- 0,0,1 3rd- 0,0,1

The Row Operation
-6R1+R2

1st- 1,-1/3,0 1st 1,0,0 1st- 1,0,0 -3R1+R3
2nd- 0,-1,1 2nd 0,1,0 2nd- 0,1,0
3rd- 3,0,1 3rd 0,0,1 3rd- -3,0,1

Row Operation
-3R1+R3

1st- 1,-1/3,0
2nd-0, -1, 1
3rd- 0, -1, 1 Did I made a mistake somewhere? Thank you,

Carter Barker

From what you have written, I can't even tell what your starting matrix that you are trying to find the LU composition of is...
 
Thread 'How to define a vector field?'
Hello! In one book I saw that function ##V## of 3 variables ##V_x, V_y, V_z## (vector field in 3D) can be decomposed in a Taylor series without higher-order terms (partial derivative of second power and higher) at point ##(0,0,0)## such way: I think so: higher-order terms can be neglected because partial derivative of second power and higher are equal to 0. Is this true? And how to define vector field correctly for this case? (In the book I found nothing and my attempt was wrong...

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
13K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K