Unexpected result calculating the determinant of a singular matrix (42S)
10-25-2019, 11:00 PM
Post: #28
 Valentin Albillo Senior Member Posts: 1,100 Joined: Feb 2015
RE: Unexpected result calculating the determinant of a singular matrix (42S)
(10-24-2019 06:34 AM)Werner Wrote:
(10-23-2019 11:06 PM)Valentin Albillo Wrote:  I can't try and find a counterexample to what you state because I don't have an HP48-whatever to check if my attempts work or not so I'll take your word for it.

Suppose you calculate the determinants using Cramer's rule. The intermediate products would then be no larger than 100^7 = 1e14, the final result being 1 - so you'll lose at most 14 digits. I think ;-)

Not necessarily. For a 7x7 matrix with 2-digit integer elements each individual intermediate product would be no longer than 7x2 = 14 digits, that's correct, but to compute the determinant you're adding up many such products and thus the result can wildly exceed 14 digits, so if you're using just 15 digits for the intermediate terms and final result you're likely to lose them all and then some.

Regards and have a nice weekend.
V.

All My Articles & other Materials here:  Valentin Albillo's HP Collection

 « Next Oldest | Next Newest »

 Messages In This Thread Unexpected result calculating the determinant of a singular matrix (42S) - Dave Britten - 10-21-2019, 01:54 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Valentin Albillo - 10-21-2019, 02:24 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Dave Britten - 10-21-2019, 02:30 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Valentin Albillo - 10-21-2019, 02:36 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Thomas Okken - 10-21-2019, 03:11 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Valentin Albillo - 10-21-2019, 04:23 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - pinkman - 10-21-2019, 07:39 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Moggul - 10-21-2019, 08:41 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Thomas Okken - 10-21-2019, 11:37 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Valentin Albillo - 10-21-2019, 10:33 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - John Keith - 10-21-2019, 11:58 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - ttw - 10-21-2019, 12:48 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - John Keith - 10-21-2019, 06:12 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Dave Britten - 10-21-2019, 01:49 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Thomas Okken - 10-21-2019, 03:06 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Claudio L. - 10-21-2019, 04:46 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Thomas Okken - 10-21-2019, 05:54 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - toml_12953 - 10-21-2019, 06:00 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - ttw - 10-21-2019, 07:10 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Werner - 10-22-2019, 06:12 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Thomas Okken - 10-22-2019, 11:11 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Valentin Albillo - 10-23-2019, 04:50 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Werner - 10-23-2019, 07:01 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Valentin Albillo - 10-23-2019, 11:06 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Werner - 10-24-2019, 06:34 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Valentin Albillo - 10-25-2019 11:00 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Paul Dale - 10-22-2019, 09:23 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Werner - 10-22-2019, 12:13 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Werner - 10-28-2019, 08:29 AM

User(s) browsing this thread: 1 Guest(s)