Integrate root

Bugs

Modérateur : xcasadmin

nenad.miksa
Messages : 11
Inscription : mar. août 04, 2015 8:17 am

Integrate root

Message par nenad.miksa » mar. août 25, 2015 3:04 pm

If I integrate expression that contains fraction power, I get weird result:

Code : Tout sélectionner

0>> normal(integrate((1) / (root(3, (x)^(2))), x))
Warning, integration of abs or sign assumes constant sign by intervals (correct if the argument is real):
Check [abs(x)]
3*(x*sign(x))^(1/3)/sign(x)
1>> version()
"giac 1.2.0-19, (c) B. Parisse and R. De Graeve, Institut Fourier, Universite de Grenoble I"
I am confused with this warning and result. Shouldn't result be

Code : Tout sélectionner

(3x) / root(3, x^2)
i.e. without signum function? (Wolfram alpha returns this)

Is there a way to tell integrate to use only real domain and prevent it to output sign(x) in result?

parisse
Messages : 5739
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: Integrate root

Message par parisse » mer. août 26, 2015 1:47 pm

You can run assume(x>0) if you don't want the sign(x).

nenad.miksa
Messages : 11
Inscription : mar. août 04, 2015 8:17 am

Re: Integrate root

Message par nenad.miksa » mer. août 26, 2015 2:00 pm

Thanks, you are very helpful.

Répondre