How do I calculate the solution of a linear system of equations,
for example
| x+2y-3z= | 1 |
| 3x-2y+z= | 1 |
| x+y+z= | 3 |
First create the matrix of coefficients
- Enter [Matrx] "Edit"
- Select the matrix "1:[A]", or another matrix.
- Enter the dimension of the matrix, in this case 3x3
- Enter in the coefficients:
- 1 [Enter]
- 2 [Enter]
- (-)3 [Enter]
- 3 [Enter]
- (-)2 [Enter]
- 1 [Enter]
- 1 [Enter]
- 1 [Enter]
- 1 [Enter]
- Create the right-hand side matrix (vector) "b"
- [Matrx] "Edit"
- Select matrix "2:" [B]
- Enter in the dimensions, in this case 3x1
- Enter in the coefficients:
- 1 [Enter]
- 1 [Enter]
- 3 [Enter]
- Get back to home screen [2nd] [Quit]
- Find solution by [A]-1[B]
- [Matrx] "Names" "[A]"
- [x-1]
- [Matrx] "Names" "[B]"
- [Enter]
Note: If the matrix does not have an invers, the preferred method
is to reduce it to row-reduced echelon form ("rref")
- Enter in Augmented Matrix
- [Matrx] "Edit" "[C]"
- Enter in dimensions, 4x3
- 1 [Enter]
- 2 [Enter]
- (-)3 [Enter]
- 1 [Enter]
- 3 [Enter]
- (-)2 [Enter]
- 1 [Enter]
- 1 [Enter]
- 1 [Enter]
- 1 [Enter]
- 1 [Enter]
- 3 [Enter]
- Get back to home screen [2nd] [Quit]
- Find rref form of augmented matrix,
by [Matrx] "Math" "rref" [Matrix] "Names" "[C]"