bug in elliptic integral, Maple 6 to Maple 8 (28.8.01)

James R. FitzSimons

What did I do wrong? Maple 6 did not give me an answer.

Robert Israel (29.8.01)

You’ve run into a bug in Maple’s evaluation of elliptic integrals. Note, however, that if you wanted a numerical answer, you should use ”Int” instead of ”int”. The answer I get is -20.69727045+41.02175888*I.

The way it is now, ”int” is called first to do the integration in closed form, and then (if that didn’t run into the bug) ”evalf” would evaluate the result. With evalf(Int(...)), numerical integration would be used with no attempt to integrate symbolically.

Maple 7 didn’t return the error message, but it also didn’t return any answer in a reasonable time, so I’m not sure if the bug has been fixed.

Maple 8 returns: Error, (in gcdex) invalid arguments (U. Klein)

Jim FitzSimons (29.8.01)

Robert, thank you, I did want the closed form solution first. Maple usually runs faster that way when the results are 64 digits. George’s algorithms are very good. I have my own algorithms for symbolic and numerical evaluation using symmetric ellpitic integrals.


I did not program them using Maple yet. Maybe somebody better at using Maple will do it.

See also: bug in integration 3 (U. Klein)