[Maxima] Integration question (definite integral)

Rupert Swarbrick rupert.swarbrick at lineone.net
Tue Aug 21 06:16:24 CDT 2007


On Tue, 21 Aug 2007 13:05:14 +0200
max.e.brown at gmail.com wrote:
> When I ask for a definite integral, I get
> 
> -8<-----------
> (%i2) integrate(cot(x), x, 0, %pi/2);
> Is  sin(x)  positive, negative, or zero?
> 
> pos;
> Is  cos(x)  positive, negative, or zero?
> 
> zero;
> Integral is divergent
> --------------
> 
> Why do I need to specify wether things are positive?
> 
> I would have thought that log(sin(%pi/2)) - log(sin(0)) is rather
> simple to evaluate... is there some obvious complication that I am not
> seeing?
> 
> Thanks,
> 
> Max

Well, log(sin(0)) = log(0) = -infinity, so maybe Maxima's right?

Rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : http://www.math.utexas.edu/pipermail/maxima/attachments/20070821/8ea0868b/attachment-0001.pgp 


More information about the Maxima mailing list