integrate 1/x



Because integrate(1/x,x) = log(abs(x)) is OK on either the negative or
positive
real axis, but it is not OK in the complex plane. There is a switch that
controls
this, however.

 (%i199) integrate(1/x,x);
 (%o199) log(x)

 (%i200) integrate(1/x,x), logabs : true;
 (%o200) log(abs(x))

If you want logabs to be true, do

 (%i201) logabs : true;
 (%o201) true

Barton

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

>why?don't?Maxima?gives?log(abs(x))?
>
>(%i49)?integrate(1/x,x);
>(%o49)?log(x)
>
>Best?regards
>
>Pere
>_______________________________________________
>Maxima?mailing?list
>Maxima at math.utexas.edu
>http://www.math.utexas.edu/mailman/listinfo/maxima