The determinant of a matrix is frequently used in calculus, linear algebra, and advanced geometry. Finding the determinant of a matrix can be confusing at first, but it gets easier once you do it a few times.
Steps
-
Write your 3 x 3 matrix. We'll start with a 3 x 3 matrix A, and try to find its determinant |A|. Here's the general matrix notation we'll be using, and our example matrix: [1] X Research source
-
Choose a single row or column. This will be your reference row or column. You'll get the same answer no matter which one you choose. For now, just pick the first row. Later, we'll give some advice on how to choose the easiest option to calculate.
- Let's choose the first row of our example matrix A. Circle the 1 5 3. In general terms, circle a 11 a 12 a 13 .
Advertisement -
Cross out the row and column of your first element. Look at the row or column you circled and select the first element. Draw a line through its row and column. You should be left with four numbers. We'll treat these as a 2 x 2 matrix. [2] X Research source
- In our example, our reference row is 1 5 3. The first element is in row 1 and column 1. Cross out all of row 1 and column 1. Write the remaining elements as a 2 x 2 matrix :
-
1 5 3
24 7
46 2
-
Find the determinant of the 2 x 2 matrix. Remember, the matrix has a determinant of ad - bc . You may have learned this by drawing an X across the 2 x 2 matrix. Multiply the two numbers connected by the \ of the X. Then subtract the product of the two numbers connected by the /. Use this formula to calculate the determinate of the matrix you just found. [3] X Research source
- In our example, the determinant of the matrix = 4 * 2 - 7 * 6 = -34 .
- This determinant is called the minor of the element we chose in our original matrix. [4] X Research source In this case, we just found the minor of a 11 .
-
Multiply the answer by your chosen element. Remember, you selected an element from your reference row (or column) when you decided which row and column to cross out. Multiply this element by the determinant you just calculated for the 2x2 matrix. [5] X Research source
- In our example, we selected a 11 , which had a value of 1. Multiply this by -34 (the determinant of the 2x2) to get 1*-34 = -34 .
-
Determine the sign of your answer. Next, you'll multiply your answer either by 1 or by -1 to get the cofactor of your chosen element. Which you use depends on where the element was placed in the 3x3 matrix. Memorize this simple sign chart to track which element causes which:
- +
- +
- + -
+ - + - Since we chose a 11 , marked with a +, we multiply the number by +1. (In other words, leave it alone.) The answer is still -34 .
- Alternatively, you can find the sign with the formula (-1) i+j , where i and j are the element's row and column. [6] X Research source
- +
- +
-
Repeat this process for the second element in your reference row or column. Return to the original 3x3 matrix, with the row or column you circled earlier. Repeat the same process with this element: [7] X Research source
- Cross out the row and column of that element. In our case, select element a 12 (with a value of 5). Cross out row one (1 5 3) and column two .
- Treat the remaining elements as a 2x2 matrix. In our example, the matrix is
- Find the determinant of this 2x2 matrix. Use the ad - bc formula. (2*2 - 7*4 = -24)
- Multiply by the chosen element of the 3x3 matrix. -24 * 5 = -120
- Determine whether to multiply by -1. Use the sign chart or the (-1) ij formula. We chose element a 12 , which is - on the sign chart. We must change the sign of our answer: (-1)*(-120) = 120 .
-
Repeat with the third element. You have one more cofactor to find. Calculate i for the third term in your reference row or column. Here's a quick rundown of how you'd calculate the cofactor of a 13 in our example:
- Cross out row 1 and column 3 to get
- Its determinant is 2*6 - 4*4 = -4.
- Multiply by element a 13 : -4 * 3 = -12.
- Element a 13 is + on the sign chart, so the answer is -12 .
-
Add your three results together. This is the final step. You've calculated three cofactors, one for each element in a single row or column. Add these together and you've found the determinant of the 3x3 matrix.
- In our example the determinant is -34 + 120 + -12 = 74 .
-
Pick the reference with the most zeroes. Remember, you can pick any row or column as your reference. You'll get the same answer no matter which you pick. If you pick a row or column with zeros, you only need to calculate the cofactor for the nonzero elements. Here's why: [8] X Research source
- Let's say you pick row 2, with elements a 21 , a 22 , and a 23 . To solve this problem, we'll be looking at three different 2x2 matrices. Let's call them A 21 , A 22 , and A 23 .
- The determinant of the 3x3 matrix is a 21 |A 21 | - a 22 |A 22 | + a 23 |A 23 |.
- If terms a 22 and a 23 are both 0, our formula becomes a 21 |A 21 | - 0*|A 22 | + 0*|A 23 | = a 21 |A 21 | - 0 + 0 = a 21 |A 21 |. Now we only have to calculate the cofactor of a single element.
-
Use row addition to make the matrix easier. If you take the values of one row and add them to a different row, the determinant of the matrix does not change. The same is true of columns. You can do this repeatedly — or multiply the values by a constant before adding — to get as many zeroes in the matrix as possible. This can save you a lot of time.
- For example, say you have a 3 x 3 matrix:
- In order to cancel out the 9 in position a 11 , we can multiply the second row by -3 and add the result to the first. The new first row is [9 -1 2] + [-9 -3 0] = [0 -4 2].
- The new matrix is Try to use the same trick with columns to turn a 12 into a 0 as well.
-
Learn the shortcut for triangular matrices. In these special cases, the determinant is simply the product of the elements along the main diagonal, from a 11 in the top left to a 33 in the lower right. We're still talking about 3x3 matrices, but "triangular" ones have special patterns of nonzero values: [9] X Research source
- Upper triangular matrix: All the non-zero elements are on or above the main diagonal. Everything below is a zero.
- Lower triangular matrix: All the non-zero elements are on or below the main diagonal.
- Diagonal matrix: All the non-zero elements are on the main diagonal. (A subset of the above.)
- You can use the method of minors or the elementary row operations to find the inverse of a 3 x 3 matrix. [10] X Research source
- If you use the latter method to find the inverse of a matrix A, begin by setting up the formula [A | I]. Where I is the 3 x 3 identity matrix. [11] X Research source
- Then, use elementary row operations to reduce the left-hand side of the formula to I. The resulting formula will be [I | A-1], where A-1 is the inverse of A. [12] X Research source
Community Q&A
-
QuestionWhy is the formula for the determinant (b^2-4ac)^(1/2) instead of ad-bc?Community AnswerI think the OP was confused. They were referring to the discriminant, something you use in the quadratic formula. The formula for the determinant is different for every matrix, but for a 3x3 one is very hard to type out. It might be easier to Google it.
-
QuestionHow do I adjoin a matrix?Community AnswerThe adjoint of a square matrix is the transpose of the matrix Cij (cofactor of the original matrix).
-
QuestionWhat is the formula for the determinant?Prem ShahCommunity AnswerThe formula to find the determinant for a quadratic formula is (b^2-4ac), which is all in a square root.
Video
Tips
- This method extends to square matrices of any size. For example, if using this for a 4x4 matrix, your "crossing out" leaves you with a 3x3 matrix, for which you calculate the determinate as described above. Be warned, this gets very tedious by hand!Thanks
- If all elements of a row or column are 0, the determinant of that matrix is 0.Thanks
References
- ↑ https://www.mathsisfun.com/algebra/matrix-determinant.html
- ↑ https://www.hec.ca/en/cams/help/topics/Matrix_determinants.pdf
- ↑ https://www.khanacademy.org/math/precalculus/precalc-matrices/inverting_matrices/v/finding-the-determinant-of-a-2x2-matrix
- ↑ https://people.richland.edu/james/lecture/m116/matrices/determinant.html
- ↑ https://www.purplemath.com/modules/minors.htm
- ↑ http://www.math.rutgers.edu/~cherlin/Courses/250/Lectures/250L12.html
- ↑ http://www.mathcentre.ac.uk/resources/uploaded/sigma-matrices9-2009-1.pdf
- ↑ https://www.hec.ca/en/cams/help/topics/Matrix_determinants.pdf
- ↑ http://mathonline.wikidot.com/triangular-matrices
About This Article
1. Write your 3 x 3 matrix.
2. Choose a single row or column.
3. Cross out the row and column of your first element.
4. Find the determinant of the 2 x 2 matrix.
5. Multiply the answer by your chosen element.
6. Find the sign of your answer (+ or -) using the formula (-1)*(i+j), where i and j are the element's row and column. The formula will tell you whether your answer is positive or negative.
7. Repeat this process for the second element in your reference row or column.
8. Repeat with the third element.
9. Add your three results together.
Reader Success Stories
- "I'm a liberal arts math student in college and my teacher didn't have time to post a review for the exam tomorrow. I really just needed a practice problem to see if I knew how to find the determinant of a 3x3, and luckily this article gave me exactly that." ..." more