Determinant calculation of 6x6 matrix

Determinant calculation of 6x6 matrix - Messages

#1 Posted: 2014/11/6 04:24:32
agungsetyod

agungsetyod

0 likes in 2 posts.

Group: User

I calculate determinant of a 6x6 matrix with smath and Excel, but the results are different. Whats the problem?
Question1.sm (3.83 KiB) downloaded 1292 time(s).
#2 Posted: 2014/11/6 05:40:19
Mike Kaganski

Mike Kaganski

184 likes in 434 posts.

Group: User

SMath gives -5.6406E-7
MS Excel/LibreOffice gives -1.7486E-7

If you use some online solvers, they give you other different results:
http://matrix.reshish.com gives -3.497202527569246e-7
http://www.bluebit.gr/matrix-calculator gives 0.000000437150316

...and so on...

Finally, WolframAlpha gives zero.

It is floating-point error side-effect, so this result should not be considered "erroneous"; when doing floating-point math you always should be prepared to such things. See relevant Wikipedia article, and especially this brilliant series: http://randomascii.wordpress.com/category/floating-point/
С уважением, Михаил Каганский
3 users liked this post
ioan92 2014/11/6 05:58:00, Davide Carpi 2014/11/6 06:51:00, Martin Kraska 2014/11/6 06:53:00
#3 Posted: 2014/11/6 06:44:55
Martin Kraska

Martin Kraska

1,353 likes in 2,264 posts.

Group: Moderator

Maxima gives the exact answer.
detmaxima.sm (6.51 KiB) downloaded 1215 time(s).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 users liked this post
Mike Kaganski 2014/11/6 07:20:00
  • New Posts
  • No New Posts