How to Solve Simultaneous Equations.
Simultaneous Linear Equations
-
Write your equations in standard form. Create the augmented matrix from the coefficients and equation solutions:
x + y + z = 6
x + 2y + 2z = 11
2x + 3y - 4z = 3 -
Multiply the first row by a constant factor and subtract those values from the second row. Choose a factor that will leave a zero in the first position of the second row after the subtraction. Repeat for the third row. In this case, the factor for the operation on the second row is 1, and the factor for the operation on the third row operation is 2.
-
Multiply the second row by a factor that will set the second term equal to 1. In this case, the factor is -1.
-
Multiply the second row by a factor and subtract those values from the third row as before. For this example, the factor is -1.
-
Multiply the third row by a factor that will set the third term equal to 1. In this example, the third row is (0, 0, -7, -14) after the row operations, so a factor of -1/7 should be used. This completes the "forward elimination" portion of the problem.
-
Rewrite the equations using the new coefficients and solutions:
x + y + z = 6
0x + y + z = 5
0x + 0y + z = 2 -
Substitute the known values back into the equations to determine the values of x, y and z. This is called "back substitution":
0x + 0y + z = 2; z = 2
0x + y + 2 = 5; y = 3
x + 3 + 2 = 6; x = 1