constants of integration (was Re: sqrt(x)*sqrt(x))



-----maxima-bounces at math.utexas.edu wrote: -----

>?Maxima?does?not?know?that?integrate(x,x)?=?x^2/2+C.??

There is an obscure way to get a constant of integration, but it's not
all that useful or robust, I think:

 (%i1) integrate(x = 1,x);
 (%o1) x^2/2=x+%c1

Bugs:

 (%i2) integrate(%c2 = 1,%c2);
 (%o2) %c2^2/2=2*%c2

 (%i3) integrate(x = 0,x);
 (%o3) x^2/2=%c3+integrate(0,x)

 (%i4) expand(%,0,0);
 (%o4) x^2/2=%c3

--Barton