2
votes
1answer
57 views

Wolfram-Alpha's choice of $k$ in a complex logarithm

I'm puzzling on this complex integral: $$ \int \frac{2ie^{it}}{2e^{it} - 1}dt = \log(2e^{it} -1)$$ The numerator is the derivative of the divisor, so the primitive is the log of the divisor. When ...
0
votes
1answer
328 views

Getting weird integral evaluation from Wolfram Alpha

Check this out. I hand-evaluated this integral and my pretty sure the answer is zero, but Wolfram returns the value $4i\pi$ instead.
1
vote
1answer
111 views

An integral evaluation

I tried my luck with Wolfram Alpha, with $p \in \mathbb{R}$ $$\int_{-\infty}^{\infty} \frac{x^p}{1+x^2} dx = \frac{1}{2} \pi ((-1)^p+1) \sec(\frac{\pi p}{2})$$ for $-1<p<1$, and doesn't exist ...