integrate(1/(1-x))
- Subject: integrate(1/(1-x))
- From: Barton Willis
- Date: Sun, 1 May 2011 11:07:00 -0500
-----maxima-bounces at math.utexas.edu wrote: -----
>Introducing?abs()?in?this?answer?is?done?in?order?to?get?around?the?fact?
>that students?don't?always?know?as?much?about?complex?numbers?as?Maxima.
>
>RJF
If I recall correctly, definite integration sets logabs to true--this causes bugs:
(%i1) f : partfrac(1/((x+%i) * (x-%i)),x);
(%o1) %i/(2*(x+%i))-%i/(2*(x-%i))
Wrong:
(%i2) integrate(f,x,0,1);
(%o2) 0
Correct:
(%i6) integrate(f,x), logabs : false$
(%i7) rectform(subst(x=1,%) - subst(x=0,%));
(%o7) %pi/4
--Barton