1

I think this question would be with complicated methods in singularity or other kind of methods. I need to solve the integral $$\int_0^\infty\frac{\cos(ax)-\cos(bx)}{x}dx$$ Thanks a lot.

zed111
  • 1,453

1 Answers1

1

Hint: Either use the formula for $\cos A\pm\cos B$, which will ultimately result in an expression

similar to that of Dirichlet's integral, or employ a trick similar to Frullani's integral, namely by

noticing that $~\dfrac{\cos ax-\cos bx}x~=~\displaystyle\int_a^b\sin(tx)~dt,~$ and then switch the order of integration

via Fubini's theorem.

Lucian
  • 48,334
  • 2
  • 83
  • 154