Dirichlet integral

From HandWiki
Short description: Integral of sin(x)/x from 0 to infinity.
Peter Gustav Lejeune Dirichlet

In mathematics, there are several integrals known as the Dirichlet integral, after the German mathematician Peter Gustav Lejeune Dirichlet, one of which is the improper integral of the sinc function over the positive real line:

[math]\displaystyle{ \int_0^\infty \frac{\sin x}{x} \,dx = \frac{\pi}{2}. }[/math]

This integral is not absolutely convergent, meaning [math]\displaystyle{ \left| \frac{\sin x}{x} \right| }[/math] has infinite Lebesgue or Riemann improper integral over the positive real line, so the sinc function is not Lebesgue integrable over the positive real line. The sinc function is, however, integrable in the sense of the improper Riemann integral or the generalized Riemann or Henstock–Kurzweil integral.[1][2] This can be seen by using Dirichlet's test for improper integrals.

It is a good illustration of special techniques for evaluating definite integrals, particularly when it is not useful to directly apply the fundamental theorem of calculus due to the lack of an elementary antiderivative for the integrand, as the sine integral, an antiderivative of the sinc function, is not an elementary function. In this case, the improper definite integral can be determined in several ways: the Laplace transform, double integration, differentiating under the integral sign, contour integration, and the Dirichlet kernel.

Evaluation

Laplace transform

Let [math]\displaystyle{ f(t) }[/math] be a function defined whenever [math]\displaystyle{ t \geq 0. }[/math] Then its Laplace transform is given by [math]\displaystyle{ \mathcal{L} \{f(t)\} = F(s) = \int_{0}^{\infty} e^{-st} f(t) \,dt, }[/math] if the integral exists.[3]

A property of the Laplace transform useful for evaluating improper integrals is [math]\displaystyle{ \mathcal{L} \left [ \frac{f(t)}{t} \right] = \int_{s}^{\infty} F(u) \, du, }[/math] provided [math]\displaystyle{ \lim_{t \to 0} \frac{f(t)}{t} }[/math] exists.

In what follows, one needs the result [math]\displaystyle{ \mathcal{L}\{\sin t\} = \frac{1}{s^2 + 1}, }[/math] which is the Laplace transform of the function [math]\displaystyle{ \sin t }[/math] (see the section 'Differentiating under the integral sign' for a derivation) as well as a version of Abel's theorem (a consequence of the final value theorem for the Laplace transform).

Therefore, [math]\displaystyle{ \begin{align} \int_{0}^{\infty} \frac{\sin t}{t} \, dt &= \lim_{s \to 0} \int_{0}^{\infty} e^{-st} \frac{\sin t}{t} \, dt = \lim_{s \to 0} \mathcal{L} \left [ \frac{\sin t}{t} \right] \\[6pt] &= \lim_{s \to 0} \int_{s}^{\infty} \frac{du}{u^2 + 1} = \lim_{s \to 0} \arctan u \Biggr|_{s}^{\infty} \\[6pt] &= \lim_{s \to 0} \left[ \frac{\pi}{2} - \arctan (s)\right] = \frac{\pi}{2}. \end{align} }[/math]

Double integration

Evaluating the Dirichlet integral using the Laplace transform is equivalent to calculating the same double definite integral by changing the order of integration, namely, [math]\displaystyle{ \left( I_1 = \int_0^\infty \int _0^\infty e^{-st} \sin t \,dt \,ds \right) = \left( I_2 = \int_0^\infty \int _0^\infty e^{-st} \sin t \,ds \,dt \right), }[/math] [math]\displaystyle{ \left( I_1 = \int_0^\infty \frac{1}{s^2 + 1} \,ds = \frac{\pi}{2} \right) = \left( I_2 = \int_0^\infty \frac{\sin t}{t} \,dt \right), \text{ provided } s \gt 0. }[/math] The change of order is justified by the fact that for all [math]\displaystyle{ s \gt 0 }[/math], the integral is absolutely convergent.

Differentiation under the integral sign (Feynman's trick)

First rewrite the integral as a function of the additional variable [math]\displaystyle{ s, }[/math] namely, the Laplace transform of [math]\displaystyle{ \frac{\sin t} t. }[/math] So let [math]\displaystyle{ f(s)=\int_0^\infty e^{-st} \frac{\sin t} t \, dt. }[/math]

In order to evaluate the Dirichlet integral, we need to determine [math]\displaystyle{ f(0). }[/math] The continuity of [math]\displaystyle{ f }[/math] can be justified by applying the dominated convergence theorem after integration by parts. Differentiate with respect to [math]\displaystyle{ s\gt 0 }[/math] and apply the Leibniz rule for differentiating under the integral sign to obtain [math]\displaystyle{ \begin{align} \frac{df}{ds} & = \frac{d}{ds}\int_0^\infty e^{-st} \frac{\sin t}{t} \, dt = \int_0^\infty \frac{\partial}{\partial s}e^{-st}\frac{\sin t} t \, dt \\[6pt] & = -\int_0^\infty e^{-st} \sin t \, dt. \end{align} }[/math]

Now, using Euler's formula [math]\displaystyle{ e^{it} = \cos t + i\sin t, }[/math] one can express the sine function in terms of complex exponentials: [math]\displaystyle{ \sin t = \frac{1}{2i} \left( e^{i t} - e^{-it}\right). }[/math]

Therefore, [math]\displaystyle{ \begin{align} \frac{df}{ds} & = -\int_0^\infty e^{-st} \sin t \, dt = -\int_{0}^{\infty} e^{-st} \frac{e^{it} - e^{-it}}{2i} dt \\[6pt] &= -\frac{1}{2i} \int_{0}^{\infty} \left[ e^{-t(s-i)} - e^{-t(s + i)} \right] dt \\[6pt] &= -\frac{1}{2i} \left [ \frac{-1}{s - i} e^{-t (s - i)} - \frac{-1}{s + i} e^{-t (s + i)}\right]_0^{\infty} \\[6pt] &= -\frac{1}{2i} \left[ 0 - \left( \frac{-1}{s - i} + \frac{1}{s + i} \right) \right] = -\frac{1}{2i} \left( \frac{1}{s - i} - \frac{1}{s + i} \right) \\[6pt] &= -\frac{1}{2i} \left( \frac{s + i - (s -i)}{s^2 + 1} \right) = -\frac{1}{s^2 + 1}. \end{align} }[/math]

Integrating with respect to [math]\displaystyle{ s }[/math] gives [math]\displaystyle{ f(s) = \int \frac{-ds}{s^2 + 1} = A - \arctan s, }[/math]

where [math]\displaystyle{ A }[/math] is a constant of integration to be determined. Since [math]\displaystyle{ \lim_{s \to \infty} f(s) = 0, }[/math] [math]\displaystyle{ A = \lim_{s \to \infty} \arctan s = \frac{\pi}{2}, }[/math] using the principal value. This means that for [math]\displaystyle{ s \gt 0 }[/math] [math]\displaystyle{ f(s) = \frac{\pi}{2} - \arctan s. }[/math]

Finally, by continuity at [math]\displaystyle{ s = 0, }[/math] we have [math]\displaystyle{ f(0) = \frac{\pi}{2} - \arctan(0) = \frac{\pi}{2}, }[/math] as before.

Complex contour integration

Consider [math]\displaystyle{ f(z) = \frac{e^{iz}} z. }[/math]


As a function of the complex variable [math]\displaystyle{ z, }[/math] it has a simple pole at the origin, which prevents the application of Jordan's lemma, whose other hypotheses are satisfied.

Define then a new function[4] [math]\displaystyle{ g(z) = \frac{e^{iz}}{z + i\varepsilon}. }[/math]

The pole has been moved to the negative imaginary axis, so [math]\displaystyle{ g(z) }[/math] can be integrated along the semicircle [math]\displaystyle{ \gamma }[/math] of radius [math]\displaystyle{ R }[/math] centered at [math]\displaystyle{ z = 0 }[/math] extending in the positive imaginary direction, and closed along the real axis. One then takes the limit [math]\displaystyle{ \varepsilon \to 0. }[/math]

The complex integral is zero by the residue theorem, as there are no poles inside the integration path [math]\displaystyle{ \gamma }[/math]: [math]\displaystyle{ 0 = \int_\gamma g(z) \,dz = \int_{-R}^R \frac{e^{ix}}{x + i\varepsilon} \, dx + \int_0^\pi \frac{e^{i(Re^{i\theta} + \theta)}}{Re^{i\theta} + i\varepsilon} iR \, d\theta. }[/math]

The second term vanishes as [math]\displaystyle{ R }[/math] goes to infinity. As for the first integral, one can use one version of the Sokhotski–Plemelj theorem for integrals over the real line: for a complex-valued function f defined and continuously differentiable on the real line and real constants [math]\displaystyle{ a }[/math] and [math]\displaystyle{ b }[/math] with [math]\displaystyle{ a \lt 0 \lt b }[/math] one finds [math]\displaystyle{ \lim_{\varepsilon \to 0^+} \int_a^b \frac{f(x)}{x \pm i \varepsilon} \,dx = \mp i \pi f(0) + \mathcal{P} \int_a^b \frac{f(x)}{x} \,dx, }[/math]

where [math]\displaystyle{ \mathcal{P} }[/math] denotes the Cauchy principal value. Back to the above original calculation, one can write [math]\displaystyle{ 0 = \mathcal{P} \int \frac{e^{ix}}{x} \, dx - \pi i. }[/math]

By taking the imaginary part on both sides and noting that the function [math]\displaystyle{ \sin(x)/x }[/math] is even, we get [math]\displaystyle{ \int_{-\infty}^{+\infty} \frac{\sin(x)}{x} \,dx = 2 \int_0^{+\infty} \frac{\sin(x)}{x} \,dx. }[/math]

Finally, [math]\displaystyle{ \lim_{\varepsilon \to 0} \int_\varepsilon^\infty \frac{\sin(x)}{x} \, dx = \int_0^\infty \frac{\sin(x)}{x} \, dx = \frac \pi 2. }[/math]

Alternatively, choose as the integration contour for [math]\displaystyle{ f }[/math] the union of upper half-plane semicircles of radii [math]\displaystyle{ \varepsilon }[/math] and [math]\displaystyle{ R }[/math] together with two segments of the real line that connect them. On one hand the contour integral is zero, independently of [math]\displaystyle{ \varepsilon }[/math] and [math]\displaystyle{ R; }[/math] on the other hand, as [math]\displaystyle{ \varepsilon \to 0 }[/math] and [math]\displaystyle{ R \to \infty }[/math] the integral's imaginary part converges to [math]\displaystyle{ 2 I + \Im\big(\ln 0 - \ln(\pi i)\big) = 2I - \pi }[/math] (here [math]\displaystyle{ \ln z }[/math] is any branch of logarithm on upper half-plane), leading to [math]\displaystyle{ I = \frac{\pi}{2}. }[/math]

Dirichlet kernel

Consider the well-known formula for the Dirichlet kernel:[5][math]\displaystyle{ D_n(x) = 1 + 2\sum_{k=1}^n \cos(2kx) = \frac{\sin[(2n+1)x]}{\sin(x)}. }[/math]

It immediately follows that:[math]\displaystyle{ \int_0^{\frac{\pi}{2}} D_n(x)\, dx = \frac{\pi}{2}. }[/math]

Define [math]\displaystyle{ f(x) = \begin{cases} \frac{1}{x} - \frac{1}{\sin(x)} & x \neq 0 \\[6pt] 0 & x = 0 \end{cases} }[/math]

Clearly, [math]\displaystyle{ f }[/math] is continuous when [math]\displaystyle{ x \in (0,\pi/2] ; }[/math] to see its continuity at 0 apply L'Hopital's Rule: [math]\displaystyle{ \lim_{x\to 0} \frac{\sin(x) - x}{x\sin(x)} = \lim_{x\to 0} \frac{\cos(x) - 1}{\sin(x) + x\cos(x)} = \lim_{x\to 0} \frac{-\sin(x)}{2\cos(x) - x\sin(x)} = 0. }[/math]

Hence, [math]\displaystyle{ f }[/math] fulfills the requirements of the Riemann-Lebesgue Lemma. This means: [math]\displaystyle{ \lim_{\lambda \to \infty} \int_0^{\pi/2} f(x)\sin(\lambda x)dx = 0 \quad\Longrightarrow\quad \lim_{\lambda \to \infty} \int_0^{\pi/2} \frac{\sin(\lambda x)}{x}dx = \lim_{\lambda \to \infty} \int_0^{\pi/2} \frac{\sin(\lambda x)}{\sin(x)}dx. }[/math]

(The form of the Riemann-Lebesgue Lemma used here is proven in the article cited.)

We would like to compute: [math]\displaystyle{ \begin{align} \int_0^\infty \frac{\sin(t)}{t}dt = & \lim_{\lambda \to \infty} \int_0^{\lambda\frac{\pi}{2}} \frac{\sin(t)}{t}dt \\[6pt] = & \lim_{\lambda \to \infty} \int_0^{\frac{\pi}{2}} \frac{\sin(\lambda x)}{x}dx \\[6pt] = & \lim_{\lambda \to \infty} \int_0^{\frac{\pi}{2}} \frac{\sin(\lambda x)}{\sin(x)}dx \\[6pt] = & \lim_{n\to \infty} \int_0^{\frac{\pi}{2}} \frac{\sin((2n+1)x)}{\sin(x)}dx \\[6pt] = & \lim_{n\to \infty} \int_0^{\frac{\pi}{2}} D_n(x) dx = \frac{\pi}{2} \end{align} }[/math]

However, we must justify switching the real limit in [math]\displaystyle{ \lambda }[/math] to the integral limit in [math]\displaystyle{ n, }[/math] which will follow from showing that the limit does exist.

Using integration by parts, we have: [math]\displaystyle{ \int_a^b \frac{\sin(x)}{x}dx = \int_a^b \frac{d(1-\cos(x))}{x}dx = \left. \frac{1-\cos(x)}{x}\right|_a^b + \int_a^b \frac{1-\cos(x)}{x^2}dx }[/math]

Now, as [math]\displaystyle{ a \to 0 }[/math] and [math]\displaystyle{ b \to \infty }[/math] the term on the left converges with no problem. See the list of limits of trigonometric functions. We now show that [math]\displaystyle{ \int_{-\infty}^{\infty} \frac{1-\cos(x)}{x^2}dx }[/math] is absolutely integrable, which implies that the limit exists.[6]

First, we seek to bound the integral near the origin. Using the Taylor-series expansion of the cosine about zero, [math]\displaystyle{ 1 - \cos(x) = 1 - \sum_{k\geq 0}\frac{{(-1)^{(k+1)}}x^{2k}}{2k!} = \sum_{k\geq 1}\frac{{(-1)^{(k+1)}}x^{2k}}{2k!}. }[/math]

Therefore, [math]\displaystyle{ \left|\frac{1 - \cos(x)}{x^2}\right| = \left|-\sum_{k\geq 0}\frac{x^{2k}}{2(k+1)!}\right| \leq \sum_{k\geq 0} \frac{|x|^k}{k!} = e^{|x|}. }[/math]

Splitting the integral into pieces, we have [math]\displaystyle{ \int_{-\infty}^{\infty}\left|\frac{1-\cos(x)}{x^2}\right|dx \leq \int_{-\infty}^{-\varepsilon} \frac{2}{x^2}dx + \int_{-\varepsilon}^{\varepsilon} e^{|x|}dx + \int_{\varepsilon}^{\infty} \frac{2}{x^2}dx \leq K, }[/math]

for some constant [math]\displaystyle{ K \gt 0. }[/math] This shows that the integral is absolutely integrable, which implies the original integral exists, and switching from [math]\displaystyle{ \lambda }[/math] to [math]\displaystyle{ n }[/math] was in fact justified, and the proof is complete.

See also

References

  1. Bartle, Robert G. (10 June 1996). "Return to the Riemann Integral". The American Mathematical Monthly 103 (8): 625–632. doi:10.2307/2974874. http://math.tut.fi/courses/73129/Bartle.pdf. 
  2. Bartle, Robert G.; Sherbert, Donald R. (2011). "Chapter 10: The Generalized Riemann Integral". Introduction to Real Analysis. John Wiley & Sons. pp. 311. ISBN 978-0-471-43331-6. https://archive.org/details/introductiontore00bart_903. 
  3. Zill, Dennis G.; Wright, Warren S. (2013). "Chapter 7: The Laplace Transform". Differential Equations with Boundary-Value Problems. Cengage Learning. pp. 274-5. ISBN 978-1-111-82706-9. https://archive.org/details/differentialequa00zill_769. 
  4. Appel, Walter. Mathematics for Physics and Physicists. Princeton University Press, 2007, p. 226. ISBN:978-0-691-13102-3.
  5. Chen, Guo (26 June 2009). A Treatment of the Dirichlet Integral Via the Methods of Real Analysis (Report). https://www.math.uchicago.edu/~may/VIGRE/VIGRE2009/REUPapers/ChenGuo.pdf. 
  6. R.C. Daileda. Improper Integrals (Report). http://ramanujan.math.trinity.edu/rdaileda/teach/m4342f10/improper_integrals.pdf. 

External links