arXiv:1312.3270v2 [cs.SC] 16 Dec 2013 Misfortunes of a mathematicians’ trio using Computer Algebra Systems: Can we trust? * Antonio J. Dur´ an 1 , Mario P´ erez 2 and Juan L. Varona 3 1 Dpto. de An´ alisis Matem´ atico, Universidad de Sevilla, 41080 Sevilla, Spain email: duran@us.es 2 Dpto. de Matem´ aticas, Universidad de Zaragoza, 50009 Zaragoza, Spain email: mperez@unizar.es 3 Dpto. de Matem´ aticas y Computaci´ on, Universidad de La Rioja, 26004 Logro˜ no, Spain email: jvarona@unirioja.es October 15, 2013 Abstract Computer algebra systems are a great help for mathematical research but sometimes unexpected errors in the software can also badly affect it. As an example, we show how we have detected an error of Mathematica computing determinants of matrices of integer numbers: not only it computes the determinants wrongly, but also it produces different results if one evaluates the same determinant twice. MSC Numbers: 68W30 Introduction Nowadays mathematicians often use computer algebra systems as an assistant in their mathematical research. Mathematicians have the ideas, and tedious computations are left to the computer. Everybody “knows” that computers perform this work better than persons. But, of course, we must trust in the results derived by the powerful computer algebra systems that we use. Currently we are using Mathematica to find examples and counterexamples of some mathematical results that we are working out, with the aim of finding the correct hypothesis and later to build a mathematical proof. Our goal was to improve some results by Karlin and Szeg˝ o [4] related to orthogonal polynomials on the real line. Details are not important, and this is just an example of the use of a computer algebra system by a typical mathematician in research, but let us explain it briefly; it is not necessary to completely understand it, just to see that it was a typical mathematical research with computer algebra as a tool. Our starting point is a discrete positive measure on the real line µ = ∑ n≥0 M n δ an (where δ a denotes a Dirac delta in a, and a n <a n+1 ), having a sequence of orthogonal polynomials {P n } n≥0 (where P n has degree n and positive leading coefficient). Karlin and Szeg˝ o considered in 1961 (see [4]) the l × l Casorati determinants det P n (a k ) P n (a k+1 ) ... P n (a k+l-1 ) P n+1 (a k ) P n+1 (a k+1 ) ... P n+1 (a k+l-1 ) . . . . . . . . . . . . P n+l-1 (a k ) P n+l-1 (a k+1 ) ... P n+l-1 (a k+l-1 ) , n, k ≥ 0. (1) * Partially supported by grants MTM2012-36732-C03-02, MTM2012-36732-C03-03 (Ministerio de Econom´ ıa y Competitivi- dad), FQM-262, FQM-4643, FQM-7276 (Junta de Andaluc´ ıa) and Feder Funds (European Union). 1