Question 1206899: solve using gauss-jordan elimination
x+y+z=7
x-y+3z=21
5x+y+z=23 Found 3 solutions by MathLover1, ikleyn, math_tutor2020:Answer by MathLover1(20850) (Show Source):
I have written the matrix into table form to separate each item. Normally the grid lines aren't present in a matrix. Imagine that a vertical line separates the 4th column from the left 3x3 block of values.
The 3x3 block of values are the coefficients of the left hand sides.
The 4th column represents the right hand sides of the system of equations.
The pivot of the first column is found in the first row.
Typically the pivot value is set to 1 or the goal is to get it to 1.
Let's zero out everything below this pivot.
1
1
1
7
0
-2
2
14
R2 - R1 --> R2
5
1
1
23
1
1
1
7
0
-2
2
14
0
-4
-4
-12
R3 - 5*R1 --> R3
We'll then transform the value in the 2nd row 2nd column into 1.
Multiply everything in the second row by -1/2 = -0.5
1
1
1
7
0
1
-1
-7
-0.5*R2 --> R2
0
-4
-4
-12
Then we zero out everything in the 2nd column except for the pivot.
1
0
2
14
R1 - R2 --> R1
0
1
-1
-7
0
-4
-4
-12
1
0
2
14
0
1
-1
-7
0
0
-8
-40
R3 + 4*R2 --> R3
Follow similar steps for the 3rd column. The goal is to get a diagonal of 1's if possible and zero everything else out in that 3x3 block of numbers.
After doing all that row reduction, we've gone from this matrix
to this matrix
Therefore x = 4, y = -2, z = 5 is the solution to the system.
In other words (x,y,z) = (4,-2,5) which represents the single point of intersection of the planes x+y+z=7, x-y+3z=21, and 5x+y+z=23
I'll leave the verification for the student to do.
Here is a step-by-step calculator that is very useful to row reduce matrices http://www.math.odu.edu/~bogacki/lat/
It is called "linear algebra toolkit".
Click the "Enter" link and then go to "Row operation calculator". Let me know if you have any questions about this calculator.