I am trying to do this integration
![]()
which should turn into -log(1-z), but I can't figure out how to make it do that. Manually we can do indefinite integral to get -log(z-1), substitute limits to get -log(z-1)-(-log(-1)), combine to get -log(1-z). But sympy insists on the result being imaginary. I see why, but the simplification should remove the log(-1), right?
Ian