- #1
Hiero
- 322
- 68
Homework Statement
[/B]
Evaluate ##\int_0^∞ \frac{\tan^{-1}(\pi x) - \tan^{-1}x}{x}dx ##
2. Relevant information
This problem comes after a chapter on “multiple integrals” and so, in this context, I realized we could rewrite the single integral as a double integral:
$$ \int_0^∞ \int_1^{\pi} \frac{dydx}{1+(xy)^2} $$
Then we can reverse the boundaries (make it dxdy) and we nicely get an answer of π*ln(π)/2
The Attempt at a Solution
That is a truly clever solution... but I’m pretty sure if it were not for the context of this problem (being at the end of a chapter on “multiple integrals”) I am 99% sure I would not have thought of that beautiful approach.
If I came across that integral “in the wild” I would try to solve it directly, so I thought I would try that and see how it works out... spoiler: it didn’t work out.
My first attempt deals with the first and second term separately, but we soon realize that this leads to infinity minus infinity.
My next idea was to express the integrand as an infinite polynomial, then integrate term by term.
If we use the fact that ##\tan^{-1}(kx) = \int_0^x \frac{kdt}{1+(kt)^2}## and the fact that ##\frac{1}{1-z} = \Sigma_{n=0}^∞ [z^n]## then we get: ##\tan^{-1}(kx) = \Sigma_{n=0}^∞[(-1)^n\frac{x^{2n+1}}{2n+1}k^{2n+1}]## and we therefore get:
$$ \frac{\tan^{-1}(\pi x) - \tan^{-1}x}{x} = \Sigma_{n=0}^∞[(-1)^n\frac{x^{2n}}{2n+1}(\pi^{2n+1}-1)]$$
Now we can integrate term by term to express the original integral as an infinite series:
$$\int \frac{\tan^{-1}(\pi x) - \tan^{-1}x}{x}dx = C + \Sigma_{n=0}^∞[(-1)^n\frac{x^{2n+1}}{(2n+1)^2}(\pi^{2n+1}-1)]$$
At the lower bound, x=0, all of the terms in the sum are zero (except of course for C, the constant of integration).
Now for the upper bound, we evaluate at (say) t and take the limit as t → ∞. But the thing about this sum is that it is divergent for x > 1/π ... yet this sum represents the integral of both terms...
At this point (if I came across this problem “in the wild”) I would conclude that the integral truly is divergent... but our beautiful solution using double integrals (and the book) says otherwise.
What’s going on here? Why am I getting a divergent answer?Much thanks to those who take the time to follow all this!