Page 1 sur 1

Integrate bug

Publié : mer. août 12, 2015 11:20 am
par nenad.miksa
Hi,

using Giac version 1.2.0 I am facing wrong results for relatively simple integrals:

Code : Tout sélectionner

0>> integrate(x/(x^50),x)
-1/805306368/(x^2/2)^24
1>> integrate(x/x^50,x)
-1/805306368/(x^2/2)^24
2>> integrate(1/(x^49),x)
-1/(48*x^48)
3>> version()
"giac 1.2.0-19, (c) B. Parisse and R. De Graeve, Institut Fourier, Universite de Grenoble I"
As you can see, calling integrate(1/(x^49),x) works correctly, but integrate(x/(x^50),x) gives completely different result. Shouldn't results be the same? Am I doing something wrong?

Re: Integrate bug

Publié : mer. août 12, 2015 7:43 pm
par parisse
Both results are correct, try normal on the first answer. The system did a change of variable t=x^2/2, explaining the somewhat strange first answer.

Re: Integrate bug

Publié : jeu. août 13, 2015 7:33 am
par nenad.miksa
Thank you for the answer.