There was an embedded image, but clearly that didn't work. >> integrate(1/(1-z),(z,0,z))
was the command. I used a picture to show that you get an imaginary term as part of the return value On Friday, February 13, 2015 at 4:11:54 PM UTC-7, Aaron Meurer wrote: > > > > On Fri, Feb 13, 2015 at 3:42 PM, Ian Bell <ian.h...@gmail.com > <javascript:>> wrote: > >> I am trying to do an integration like this: >> > > Was there supposed to be something here? It's just showing up as empty > space for me. > > Aaron Meurer > > >> >> >> >> Ultimately the result I should be able to get is -log(1-z) >> >> Manual integration shows that you can integrate(1/(1-z),z) -> -log(z-1), >> evaluation at the limits yields -log(z-1) - (-log(-1)) which you can >> simplify to -log(1-z). How can I tell sympy to delay evaluation until >> after it has done the simplification? I guess that it first does log(-1), >> which it isn't happy about... >> >> Ian >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to sympy+un...@googlegroups.com <javascript:>. >> To post to this group, send email to sy...@googlegroups.com <javascript:> >> . >> Visit this group at http://groups.google.com/group/sympy. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sympy/fdbada4e-6ba0-4de5-835f-5121aaa022ce%40googlegroups.com >> >> <https://groups.google.com/d/msgid/sympy/fdbada4e-6ba0-4de5-835f-5121aaa022ce%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/eb4c6b07-b09f-427b-9445-aa316c950cf4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.