Determinants of matrices greater than 3x3

  • Thread starter smize
  • Start date
  • #1
78
1
I am wondering how one would find a the determinant of a 4x4 or greater. This isn't an urgent question, just a curiosity.
 

Answers and Replies

  • #3
AlephZero
Science Advisor
Homework Helper
7,002
293

That is "correct", and an interesting theoretical result, but it's a hopelessly inefficient way to calculate the determinant of a general matrix, because it takes of the order of n! operations for an n x n matrix.

A much more efficient way is to do row operations on the matrix which don't change the value of the determinant (or only multiply it by -1), but systematically change the matrix so that all the entries below the diagonal are zero. The determinant is then just the product of the diagonal terms. In the worst case, that takes about n3 operations. For a 10 x 10 matrix, n3 = 1,000 and n! = about 3.6 million, so one way is about 3600 times faster than the other!
 
  • #4
78
1
A much more efficient way is to do row operations on the matrix which don't change the value of the determinant (or only multiply it by -1), but systematically change the matrix so that all the entries below the diagonal are zero. The determinant is then just the product of the diagonal terms. In the worst case, that takes about n3 operations. For a 10 x 10 matrix, n3 = 1,000 and n! = about 3.6 million, so one way is about 3600 times faster than the other!

By chance, could you give an example of how to do row operations to find the determinant?
 
  • #5
6,054
391
That is "correct", and an interesting theoretical result, but it's a hopelessly inefficient way to calculate the determinant of a general matrix, because it takes of the order of n! operations for an n x n matrix.

Whenever I get to compute a det with n >= 3 MANUALLY, I use this method. Possibly because I remember it by heart. Doing arbitrary n dets most efficiently is a distinctly different matter.
 
  • #6
78
1
Whenever I get to compute a det with n >= 3 MANUALLY, I use this method. Possibly because I remember it by heart. Doing arbitrary n dets most efficiently is a distinctly different matter.

At the moment, it is the ONLY method I have learned. (I am self-teaching myself Multidimensional Mathematics until classes start in 3 weeks).
 

Related Threads on Determinants of matrices greater than 3x3

  • Last Post
Replies
4
Views
9K
Replies
6
Views
1K
  • Last Post
Replies
16
Views
4K
Replies
16
Views
19K
  • Last Post
Replies
12
Views
9K
Replies
1
Views
5K
Replies
4
Views
2K
Replies
8
Views
2K
Replies
21
Views
8K
Replies
8
Views
9K
Top