Determinant calculation of 6x6 matrix

Determinant calculation of 6x6 matrix - Messages

#1 Posted: 11/6/2014 4:24:32 AM
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 KiB) downloaded 151 time(s).
#2 Posted: 11/6/2014 5:40:19 AM
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 11/6/2014 5:58:00 AM, Davide Carpi 11/6/2014 6:51:00 AM, Martin Kraska 11/6/2014 6:53:00 AM
#3 Posted: 11/6/2014 6:44:55 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Maxima gives the exact answer.
detmaxima.sm (6 KiB) downloaded 79 time(s).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Mike Kaganski 11/6/2014 7:20:00 AM
  • New Posts New Posts
  • No New Posts No New Posts