Computing determinants: Allowed shortcuts?

In summary: If you apply those operations to the original matrix, you will get either an upper triangular matrix or a lower triangular matrix. In summary, the process of computing determinants for an n x n matrix involves expanding by rows or columns, using the coefficients as determinants for lower order matrices, until you reach a 2x2 matrix from which you can solve for the determinant. It is also possible to use row operations to reduce the matrix to a triangular form and then calculate the determinant as the product of the numbers on the diagonal. However, using diagonals as coefficients is not allowed and can lead to incorrect results. The sign of each coefficient also plays a role in the determinant calculation.
  • #1
MrMultiMedia
9
0
I had a question about computing determinants and just was wondering what was allowed. So I know that for an n x n matrix, you can go across a row and choose the matrix element as your determinant coefficient for the (n-1) x (n-1) determinant and you go across the row and do this until you're finished with the row. I also know that this process is recursive until you get down to 2x2 from which point you work your way out of this nested maze of determinants you've created for yourself and found the determinant.

I also know that you can go down a column and use its matrix elements as coefficients instead of going down the row. This is useful if there are more zeros down the column than across the row and it simplifies the calculation.

I am aware that the sign of the coefficient depends on its location in the matrix. The top left element is positive and the rest of the signs are arranged like a checkerboard; no same signs have edges touching.

What I wanted to know is, if instead of using the rows or columns as the coefficients for your lower order determinants, could you use diagonals? If you got the signs correct, canceled out the row and column that it's in and used the remaining matrix elements for your lower order matrix. Could you do this to find the determinant? I do realize that if you used the diagonal, all the coefficients would have the same sign. But does this matter? Is this against the rules? As long as every row or every column is represented, it shouldn't matter right? Or is that incorrect?
 
Physics news on Phys.org
  • #2
Hey, you can compute determinants like so. What I think you are suggesting can be generalized by Laplace's formula.
 
  • #3
No, you cannot use diagonals. That should have been clear if you had looked at some simple examples.
For example, the determinant
[tex]\left|\begin{array}{cc}3 & 1 \\ 2 & 3\end{array}\right|= 3(3)- 1(2)= 7[/tex]

If you "expand by the first column" you get 3(3)- 2(1)= 7. If you "expand by the second column" you get -1(2)+ 3(3)= 7. If you "expand by the first row" you get 3(3)- 1(2)= 7. If you "expand by the second row" you get -2(1)+ 3(3)= 7.

But if you "expand by the diagonal" you get 3(3)- 3(3)= 0.

One good method of finding a determinant is to "row reduce" to a triangular matrix. The determinant of a triangular matrix is, of course, the product of the numbers on the diagonal.

There are three row operations:
1) Swap two rows. That will multiply the determinant by -1.
2) Add a multiple of one row to another. That does not change the determinant.
3) Multiply a row by a number. That will multiply the determinant by by that number.

For example, I can easily reduce the matrix
[tex]\begin{bmatrix}3 & 1 \\ 2 & 3\end{bmatrix}[/tex]
to a triangular matrix by adding -2/3 times the first row to the second:
[tex]\begin{bmatrix}3 & 1 \\ 2- (2/3)(3) & 3- (2/3)(1)\end{bmatrix}= \begin{bmatrix} 3 & 1 \\0 & 7/3 \end{bmatrix}[/tex]
Which is very easily seen to have determinant 3(7/3)= 7.

A slightly more difficult example is
[tex]\begin{bmatrix} 2 & 1 & 3 \\ 1 & 1 & 2 \\ 0 & 1 & 1\end{bmatrix}[/tex]
There is already a 0 in the first column, third row, so we can get the first column in the form we want by adding -1/2 to the second row:
[tex]\begin{bmatrix} 2 & 1 & 3 \\ 1- 1 & 1- 1/2 & 2- 3/2 \\ 0 & 1 & 1\end{bmatrix}= \begin{bmatrix}2 & 1 & 3 \\ 0 & 1/2 & 1/2 \\ 0 & 1 & 1\end{bmatrix}[/tex]
and then add -2 times the second row to the third row to get
[tex]\begin{bmatrix}2 & 1 & 3 \\ 0 & 1/2 & 1/2 \\ 0 & 1- 2(1/2) & 1- 2(1/2)\end{bmatrix}= \begin{bmatrix}2 & 1 & 3 \\ 0 & 1/2 & 1/2 \\ 0 & 0 & 0\end{bmatrix}[/tex]

Since the only row operations used were "add a multiple of one row to another", the determinant of the original matrix is exactly the same as the determinant of this "upper triangular matrix" which is obviously 2(1/2)(0)= 0.

If, in the row operations, you "swap rows" an odd number of times, you multiply the determinant of the final triangular matrix by -1. If you multiply a row by a number, nou have to divide the determinant of the final trianguar matrix by that number.
 
Last edited by a moderator:

Related to Computing determinants: Allowed shortcuts?

1. What are the allowed shortcuts for computing determinants?

The allowed shortcuts for computing determinants include the cofactor expansion method, row reduction method, and using the properties of determinants such as linearity, scaling, and row operations.

2. Can I use shortcuts for computing determinants in all types of matrices?

Yes, the shortcuts for computing determinants can be used in any type of square matrix, including 2x2, 3x3, and larger matrices.

3. Are there any disadvantages to using shortcuts for computing determinants?

One potential disadvantage of using shortcuts for computing determinants is that they may not be as straightforward or intuitive as the traditional method of expanding along a row or column. They may also not work for non-square matrices or matrices with complex numbers.

4. How do I know which shortcut to use for computing a determinant?

The shortcut you use for computing a determinant will depend on the specific matrix you are working with. It is important to understand the properties of determinants and how they can be applied to different types of matrices in order to determine the most efficient shortcut to use.

5. Can shortcuts for computing determinants help save time?

Yes, shortcuts for computing determinants can save time compared to the traditional method of expanding along a row or column. This is especially true for larger matrices where the traditional method can become very time-consuming.

Similar threads

  • Linear and Abstract Algebra
Replies
15
Views
4K
  • Precalculus Mathematics Homework Help
Replies
1
Views
603
Replies
13
Views
2K
  • Precalculus Mathematics Homework Help
Replies
32
Views
966
  • Linear and Abstract Algebra
Replies
3
Views
2K
  • Linear and Abstract Algebra
Replies
1
Views
1K
  • Linear and Abstract Algebra
Replies
6
Views
1K
  • Linear and Abstract Algebra
Replies
4
Views
1K
  • Linear and Abstract Algebra
Replies
5
Views
1K
  • Linear and Abstract Algebra
Replies
1
Views
1K
Back
Top