Integration bugsMaking mistakes with MapleMisunderstandingsIntrinsic limitations

Intrinsic limitations

Completely automating mathematics is a vain goal. There will always be problems in which one has to worry about round-off errors, choices of branch cuts, and so forth.

Round-off

Whenever floating-point numbers are involved in a calculation, Maple has the potential to return nonsense due to round-off errors. 

Exercise: Is pi an algebraic number?

A student executed the following commands and concluded that pi satisfies a polynomial equation with integral coefficients.
restart:
p:=x->3-16*x+10*x^2+12*x^3+2*x^4-x^5+2*x^6
      +22*x^7-12*x^8+9*x^9-10*x^10-7*x^11+3*x^12:
evalf(p(Pi));
                   0

What went wrong?

Branches

Square roots and other fractional powers are always problematical: which of the two possible square roots should Maple take?

Exercise

On 28 May 1998, John McKay started a thread in the newsgroup sci.math.symbolic about simplifying the expression -(-1)2/9 - (-1)8/9 + (-1)5/9. Here is what Maple 7 does:

evalf(-(-1)^(2/9)-(-1)^(8/9)+(-1)^(5/9));
                          -9        -9
                    -.2 10   + .1 10   I                

while Maple 6 reports the answer "0.+0.*I". Whether or not 0 is the "correct" answer generated considerable discussion in the newsgroup. How does Maple get its answer? In what sense is this answer the right one? What do you think of the value -3 as an answer?


logo The Math 696 course pages were last modified April 5, 2005.
These pages are copyright © 1995-2005 by Harold P. Boas. All rights reserved.
 
Integration bugsMaking mistakes with MapleMisunderstandingsIntrinsic limitations