Calculating Matrix Determinant of 4x4: Different Answers

Click For Summary
The discussion revolves around calculating the determinant of a 4x4 matrix, where one participant obtained a determinant of 6 while an online calculator provided a result of 2. The confusion arises from the use of an inappropriate formula for a 3x3 matrix, which led to the incorrect calculation. Participants suggest using the cofactor method and Gaussian elimination for accurate results, emphasizing the importance of selecting the right approach for 4x4 matrices. Ultimately, the discrepancy in answers is attributed to a mistake in row reduction during the calculation process.
sibiryk
Messages
32
Reaction score
0
I have a matrix 4x4:

1,2,3,4
2,6,6,6
0,0,1,13
0,0,0,1

I need to find determinant. I am getting det=6.
When I use online matrix calculator it gives me det=2.

I tried reduce second row (2 row - 1(1 row)) and I got det=2

I'm confused. Why calculator gives me different answer?
 
Physics news on Phys.org
So, by what method did you get 6, and why do you think the method is appropriate?
 
You forgot to answer the second half of my question. :smile: Why do you think that formula is appropriate for your problem?

(Or, to put it differently, when is that formula applicable, and is your problem one of those times?)
 
Actually I'm not sure about that. Do you want to say that this formula is not aplicatable for 4x4 matrix?
 
I didn't want to say it -- I was hoping that it would be obvious from the fact that the matrix in (10) is a 3x3 matrix, and that you would see it for yourself. :-p

I suspect, despite the fact you have not said this is what you've done, that you attempted to make up your own generalization of that formula to 4x4 matrices, and got it wrong.

(Incidentally, the text preceeding formula (10), of which (10) is an example, does describe a correct way to compute a determinant, but it's not a practical method)
 
My suggestion is (if you are going to use the cofactor method) that you take the determinant across the bottom row. It has the most zeroes and you will find it easiest to compute.

\det{A}=\sum_{j=1}^{4}\left(-1\right)^{j+4}\det{A_{4j}}

...where det(A4j) is the determinant of the matrix after deleting row 4 and column j.
 
From this point, the easiest method to find this determinant would be with a gaussian elimination. It would take only one operation...
 
Indeed, that is what made sibiryk's post so puzzling! According to him he did it one way and got an answer of 6, then row-reduce the matrix to a triangular form- which gave an answer of 2, the same as he got from the calculator and was wondering why the calculator said 2!
 
  • #10
Yes, I was talking about gaussian elimination and I made a mistake.
It was suppouse to be (2nd row -2(1st row)).

Thank you guys very much!
 

Similar threads

Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
9K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 20 ·
Replies
20
Views
3K
Replies
1
Views
2K
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K