#### bug in algebraic symbolic integration in maple v.4 and maple v.5 (26.9.97)

##### luca ciotti

I found a very strange bug in the symbolic integration routine in MapleV4, working with a very simple algebraic function:

a result obviously wrong.

Three important facts must be noticed :

1)The previous result is obtained when the exponent 3/2 is replaced by 5/2, 7/2, 9/2 etc, but NOT for EVEN exponents

2)Most strange, CORRECT result is obtained when the symbolic constant A (or any other symbolic constant) is REPLACED in the deﬁnition of f with a NUMBER, i.e., this strange behavior is present ONLY when the numerator of f is SYMBOLIC.

3)I found the IDENTICAL behavior in MapleV.3

Both the versions of Maple I’m using are under Unix.

It is corrected with Maple 6. (U. Klein)

I found your posting interesting. In this response I ﬁrst present my ﬁndings concerning the computations you report, then present a diﬀerent approach to the problem that appears to be more promising. You should be able to copy either Maple session directly into a Maple worksheet (R4).

I do not obtain the result that you report. I, too, am working with Release 4 on UNIX (Solaris). While my results are diﬀerent, they are not what you might expect. Here’s what I found:

For additional information on Maple’s evaluation of this integral you might insert the command:

before the int command. The extra output will provide some insight into Maple’s processing. In this case it appears that the problem is divided into two elliptic integrals that converge only under certain conditions. While the conditions are displayed in the userinfo, they do not appear to be carried forward with the result.

The ”even” exponents are not as much of a problem because of the elimination of one of the square roots from the denominator. These roots are likely to be the ultimate source of the diﬃculties for this problem.

In fact, the repeated occurrence of sqrt(1+x^2) suggests a substitution that might yield a more tractable formulation of the problem. The changevar command from Maple’s student package can be used (WITH CAUTION - it’s not a problem here, but I seem to remember that changevar can become confused, e.g., limits of integration for non-monotone substitutions) to complete the change of variables.

I hope you have found this useful and informative.

##### Ferdinand Gleisberg (30.9.97)

With

the correct result is obtained !

Ferdinand Gleisberg.

##### Willard, Daniel, Dr., DUSA-OR (30.9.97)

Would it work better if you deﬁned f as f:=x-> etc?