Substitute , which transforms the integral to
and factoring reduces this to
The inner logarithms differ only by a sign, so that
Using the principal branch of the complex logarithm, we have
and hence
where I assume k is an integer.
5.6m questions
7.3m answers