0

Does $\displaystyle \int_0^{\infty} \frac{e^x \sin{x}}{x} \, dx \tag*{}$ converge?

Since $\lim_{x \to 0} \frac{\sin{x}}{x} = 1$, the integrand has a removable discontinuity at $x = 0$. Hence, we only need to investigate convergence of the integral at $\infty$. Noting that $\sin{x}$ attains positive and negative values, we break up the integral accordingly. $\begin{align*} \displaystyle \int_0^{\infty} \frac{e^x \sin{x}}{x} \, dx &= \sum_{n=0}^{\infty} \int_{n\pi}^{(n+1)\pi} \frac{e^x \sin{x}}{x} \, dx\\ &= \displaystyle \sum_{n=0}^{\infty} \int_0^{\pi} \frac{e^{t + n \pi} \sin(t + n \pi)}{t + n \pi} \, dt, \text{ via } x = t + n \pi\\ &= \displaystyle \sum_{n=0}^{\infty} (-1)^n e^{n \pi} \int_0^{\pi} \frac{e^t \sin{t}}{t + n \pi} \, dt. \end{align*} \tag*{}$ The upshot of the calculation above is that we have rewritten the improper integral in question as an alternating series (in which the integrals are each positive and finite)! Now, we apply the Alternating Series Test to show that the series (and thus the improper integral) diverges. In particular, we show that $\displaystyle \lim_{n \to \infty} e^{n \pi} \int_0^{\pi} \frac{e^t \sin{t}}{t + n \pi} \, dt = \infty. \tag*{}$ To see this, note that since $t \geq 0$, $\displaystyle e^{n \pi} \int_0^{\pi} \frac{e^t \sin{t}}{t + n \pi} \, dt \geq e^{n \pi} \int_0^{\pi} \frac{e^t \sin{t}}{0 + n \pi} \, dt = \frac{e^{n \pi}}{n \pi} J, \tag*{}$ where $J = \int_0^{\pi} e^t \sin{t} \, dt$ is a constant. Since by L’Hopital’s Rule we have $\displaystyle \lim_{n \to \infty} \frac{e^{n \pi}}{n \pi} J = \infty, \tag*{}$ the desired claim about the limit follows.

Hence, we conclude that $\displaystyle \int_0^{\infty} \frac{e^x \sin{x}}{x} \, dx \tag*{}$ is divergent.

I get the opposite and Wolfram alpha too. Excuse my poor English. Many thanks.

  • The integral you've provided certainly does not converge. Related: https://math.stackexchange.com/questions/159836/int-0-infty-frace-x-sinxx-dx-evaluate-integral/159852 – Chickenmancer Jun 25 '20 at 15:28
  • I think they mean $$ e^{n\pi} \int_0^\pi \frac{e^t \sin t}{t+n\pi}; dt \ge e^{n\pi} \int_0^\pi \frac{e^t \sin t}{\pi+n\pi}; dt $$ – Robert Israel Jun 25 '20 at 16:34
  • Why did you remove so much content, and now have a title that makes no sense? Please don’t do that, especially if you’ve already received responses. – Arturo Magidin Jun 26 '20 at 00:04

2 Answers2

4

Note that the direction of the inequality should be $$\displaystyle e^{n \pi} \int_0^{\pi} \frac{e^t \sin{t}}{t + n \pi} \, dt \leq e^{n \pi} \int_0^{\pi} \frac{e^t \sin{t}}{0 + n \pi} \, dt = \frac{e^{n \pi}}{n \pi} J, \tag*{}$$

2

It is enough to note that on the interval $[(n+1/6)\pi, (n+5/6)\pi]$, $|\sin(x)| \ge 1/2$, so $$ \left| \int_{(n+1/6)\pi}^{(n+5/6)\pi} \frac{e^x\sin(x)}{x}\; dx \right| > \frac{e^{n\pi}}{3 (n+5/6)} \to \infty\ \text{as}\ n \to \infty$$

Robert Israel
  • 470,583