- #1
aaronfue
- 122
- 0
Homework Statement
Use LU factorization with partial pivoting for the following set of equations:
3x1 - 2x2 + x3 = -10
2x1 + 6x2 - 4x3 = 44
-8x1 - 2x2 + 5x3 = -26
The Attempt at a Solution
I made an attempt to solve this problem, but my answer was wrong compared to the book. There was an additional partial pivot after setting elements 21 & 31 equal to zero. I just would like to know why?
The following is what I got for my L and U matrices:
U=
[ -8 -2 5 ]
[ 0 5.5 -3.25]
[ 0 0 1.25]
L=
[1 0 0]
[.25 1 0]
[.775 0.5 1]