How To Solve For The Determinant Of A 4-By-4 Matrix
Matrices help solve simultaneous equations and are most often found in problems related to electronics, robotics, statics, optimization, linear programming and genetics. It is best to use computers to solve a large system of equations. However, you can solve for the determinant of a 4-by-4 matrix by replacing the values in the rows and using the "upper triangular" form of matrices. This states that the determinant of the matrix is the product of the numbers in the diagonal when everything below the diagonal is a 0.
Step 1
Write down the rows and columns of the 4-by-4 matrix — between to vertical lines — to find the determinant. For example:
Row 1 |1 2 2 1| Row 2 |2 7 5 2| Row 3 |1 2 4 2| Row 4 |-1 4 -6 3|
Step 2
Replace the second row to create a 0 in the first position, if possible. The rule states that (row j) + or – (C row i) will not change the determinant of the matrix, where "row j" is any row in the matrix, "C" is a common factor and "row i" is any other row in the matrix. For the example matrix, (row 2) – (2 row 1) will create a 0 in the first position of row 2. Subtract the values of row 2, multiplied by each number in row 1, from each corresponding number in row 2. The matrix becomes:
Row 1 |1 2 2 1| Row 2 |0 3 1 0| Row 3 |1 2 4 2| Row 4 |-1 4 -6 3|
Step 3
Replace the numbers in the third row to create a 0 in both the first and second positions, if possible. Use a common factor of 1 for the example matrix, and subtract the values from the third row. The example matrix becomes:
Row 1 |1 2 2 1| Row 2 |0 3 1 0| Row 3 |0 0 2 1| Row 4 |-1 4 -6 3|
Step 4
Replace the numbers in the fourth row to get zeroes in the first three positions, if possible. In the example problem the last row has -1 in the first position and the first row has a 1 in the corresponding position, so add the multiplied values of the first row to the corresponding values of the last row to get a zero in the first position. The matrix becomes:
Row 1 |1 2 2 1| Row 2 |0 3 1 0| Row 3 |0 0 2 1| Row 4 |0 6 -4 4|
Step 5
Replace the numbers in the fourth row again to get zeroes in the remaining positions. For the example, multiply the second row by 2 and subtract the values from those of the last row to convert the matrix to an "upper triangular" form, with only zeroes below the diagonal. The matrix now reads:
Row 1 |1 2 2 1| Row 2 |0 3 1 0| Row 3 |0 0 2 1| Row 4 |0 0 -6 4|
Step 6
Replace the numbers in the fourth row again to get zeroes in the remaining positions. Multiply the values in the third row by 3, then add them to the corresponding values in the last row to get the final zero below the diagonal in the example matrix. The matrix now reads:
Row 1 |1 2 2 1| Row 2 |0 3 1 0| Row 3 |0 0 2 1| Row 4 |0 0 0 7|
Step 7
Multiply the numbers in the diagonal to solve for the determinant of the 4-by-4 matrix. In this case, multiply 132*7 to find a determinant of 42.
TL;DR (Too Long; Didn't Read)
You may also use the rule of lower triangular to solve matrices. This rule states that the determinant of the matrix is the product of the numbers in the diagonal when everything above the diagonal is a 0.
Cite This Article
MLA
Callwood, Kenrick. "How To Solve For The Determinant Of A 4-By-4 Matrix" sciencing.com, https://www.sciencing.com/solve-determinant-4by4-matrix-8684834/. 24 April 2017.
APA
Callwood, Kenrick. (2017, April 24). How To Solve For The Determinant Of A 4-By-4 Matrix. sciencing.com. Retrieved from https://www.sciencing.com/solve-determinant-4by4-matrix-8684834/
Chicago
Callwood, Kenrick. How To Solve For The Determinant Of A 4-By-4 Matrix last modified March 24, 2022. https://www.sciencing.com/solve-determinant-4by4-matrix-8684834/