chiqititaa
New member
- Joined
- Mar 12, 2024
- Messages
- 1
Hi all!
So I'm trying to wrap my head around gaussian elimination and found myself stuck on the very first problem I encountered, I was hoping to get some help to clear it up.
Solve the system of equations:
⎩⎪⎪⎨⎪⎪⎧x1+2x2−x3=62x1−x2+x3=1−x1+x2−2x3=3
After writing this as a augmented matrix I multiply row 1 with -2 and 1, and add that to row 2 and 3 respectively, giving me:
⎝⎛1002−53−33−36−119⎠⎞
I then multiply row 2 with -1/5 and add it to itself to make -5 (middle, row 2) into 1. I also multiply row 3 with -1 and add it to itself to make 3 (middle, row 3) into 0. This gives me the matrix:
⎝⎛100210−1−3/536−11/5−9⎠⎞
When trying to solve for x3 though, I get x3=-3 when it should be x3=-2. I would be very grateful for any help, thank you!
So I'm trying to wrap my head around gaussian elimination and found myself stuck on the very first problem I encountered, I was hoping to get some help to clear it up.
Solve the system of equations:
⎩⎪⎪⎨⎪⎪⎧x1+2x2−x3=62x1−x2+x3=1−x1+x2−2x3=3
After writing this as a augmented matrix I multiply row 1 with -2 and 1, and add that to row 2 and 3 respectively, giving me:
⎝⎛1002−53−33−36−119⎠⎞
I then multiply row 2 with -1/5 and add it to itself to make -5 (middle, row 2) into 1. I also multiply row 3 with -1 and add it to itself to make 3 (middle, row 3) into 0. This gives me the matrix:
⎝⎛100210−1−3/536−11/5−9⎠⎞
When trying to solve for x3 though, I get x3=-3 when it should be x3=-2. I would be very grateful for any help, thank you!