Evaluate the integral ∫[arctan(ax)−arctan(bx)]/xdx

  • Context:
  • Thread starter Thread starter lfdahl
  • Start date Start date
  • Tags Tags
    Integral
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
lfdahl
Gold Member
MHB
Messages
747
Reaction score
0
Evaluate the integral:

\[ \int_{0}^{\infty}\frac{\arctan(ax)-\arctan(bx)}{x}dx\]

where $a,b \in \mathbb{R}_+$
 
Physics news on Phys.org
It's been a while since I've done one of these challenges. :D Here is my solution.

The answer is $\displaystyle \frac{\pi}{2}\ln\frac{a}{b}$. Note

$$\arctan(ax) - \arctan(bx) = \int_b^a \frac{x}{1 + (tx)^2}\, dt$$

Fubini's theorem allows us to write

$$\int_0^\infty \frac{\arctan(ax) - \arctan(bx)}{x}\, dx = \int_b^a \int_0^\infty \frac{dt}{1 + (tx)^2}\, dx$$

This is justified as

$$\int_1^\infty \frac{dt}{1 + (tx)^2} < \int_1^\infty \frac{dt}{t^2x^2} = \frac{1}{x^2}$$ and $\displaystyle \int_b^a \frac{dx}{x^2} < \infty$.

Now

$$\int_0^\infty \frac{dt}{1 + (tx)^2} = \frac{\arctan(tx)}{x}\bigg|_{t = 0}^\infty = \frac{\pi}{2x}$$ and $\displaystyle\int_b^a \frac{\pi}{2x}\, dx = \frac{\pi}{2}\ln\frac{a}{b}$. Therefore

$$\int_0^\infty \frac{\arctan(ax) - \arctan(bx)}{x}\, dx = \frac{\pi}{2}\ln\frac{a}{b}$$
 
Euge said:
It's been a while since I've done one of these challenges. :D Here is my solution.

The answer is $\displaystyle \frac{\pi}{2}\ln\frac{a}{b}$. Note

$$\arctan(ax) - \arctan(bx) = \int_b^a \frac{x}{1 + (tx)^2}\, dt$$

Fubini's theorem allows us to write

$$\int_0^\infty \frac{\arctan(ax) - \arctan(bx)}{x}\, dx = \int_b^a \int_0^\infty \frac{dt}{1 + (tx)^2}\, dx$$

This is justified as

$$\int_1^\infty \frac{dt}{1 + (tx)^2} < \int_1^\infty \frac{dt}{t^2x^2} = \frac{1}{x^2}$$ and $\displaystyle \int_b^a \frac{dx}{x^2} < \infty$.

Now

$$\int_0^\infty \frac{dt}{1 + (tx)^2} = \frac{\arctan(tx)}{x}\bigg|_{t = 0}^\infty = \frac{\pi}{2x}$$ and $\displaystyle\int_b^a \frac{\pi}{2x}\, dx = \frac{\pi}{2}\ln\frac{a}{b}$. Therefore

$$\int_0^\infty \frac{\arctan(ax) - \arctan(bx)}{x}\, dx = \frac{\pi}{2}\ln\frac{a}{b}$$

Excellent, Euge! Thankyou very much for your participation!:cool: