Wallis' integrals
In mathematics, and more precisely in analysis, the Wallis integrals constitute a family of integrals introduced by John Wallis.[src]
In mathematics, and more precisely in analysis, the Wallis integrals constitute a family of integrals introduced by John Wallis.[src] W_n = \int_0^{\frac{\pi}{2}} \sin^n x \,dx, or equivalently, W_n = \int_0^{\frac{\pi}{2}} \cos^n x \,dx.[src] The first few terms of this sequence are: The sequence (W_n) is decreasing and has positive terms.[src] In fact, for all n \geq 0: W_n > 0, because it is an integral of a non-negative continuous function which is not identically zero; W_n - W_{n+1} = \int_0^{\frac{\pi}{2}} \sin^n x\,dx - \int_0^{\frac{\pi}{2}} \sin^{n+1} x\,dx = \int_0^{\frac{\pi}{2}} (\sin^n x)(1 - \sin x )\,dx > 0, again because the last integral is of a non-negative continuous function.[src] Since the sequence (W_n) is decreasing and bounded below by 0, it converges to a non-negative limit.[src] Indeed, the limit is zero (see below).[src] ==Recurrence relation== By means of integration by parts, a reduction formula can be obtained.[src] Using the identity \sin^2 x = 1 - \cos^2 x , we have for all n \geq 2 , \begin{align} \int_0^{\frac{\pi}{2}} \sin^n x \,dx &= \int_0^{\frac{\pi}{2}} (\sin^{n-2} x) (1-\cos^2 x) \,dx \\ &= \int_0^{\frac{\pi}{2}} \sin^{n-2} x \,dx - \int_0^{\frac{\pi}{2}} \sin^{n-2} x \cos^2 x \,dx.[src] \qquad\text{Equation (1)} \end{align} Integrating the second integral by parts, with: v'(x)=\cos (x) \sin^{n-2}(x) , whose anti-derivative is v(x) = \frac{1}{n-1} \sin^{n-1}(x) u(x)=\cos (x) , whose derivative is u'(x) = - \sin(x), we have: \int_0^{\frac{\pi}{2}} \sin^{n-2} x \cos^2 x \,dx = \left[ \frac{\sin^{n-1} x}{n-1} \cos x \right]_0^{\frac{\pi}{2}} + \frac{1}{n-1}\int_0^{\frac{\pi}{2}} \sin^{n-1} x \sin x \,dx = 0 + \frac{1}{n-1} W_n.[src] Substituting this result into equation (1) gives W_n = W_{n-2} - \frac{1}{n-1} W_n, and thus W_n = \frac{n-1}{n} W_{n-2}, \qquad\text{Equation (2)} for all n \geq 2.[src] This is a recurrence relation giving W_n in terms of W_{n-2} .[src] This, together with the values of W_0 and W_1, give us two sets of formulae for the terms in the sequence (W_n) , depending on whether n is odd or even: W_{2p}=\frac{2p-1}{2p} \cdot \frac{2p-3}{2p-2} \cdots \frac{1}{2} W_0 = \frac{(2p-1)!!}{(2p)!!} \cdot \frac{\pi}{2} = \frac{(2p)!}{2^{2p} (p!)^2} \cdot \frac{\pi}{2}, W_{2p+1}=\frac{2p}{2p+1} \cdot \frac{2p-2}{2p-1} \cdots \frac{2}{3} W_1 = \frac{(2p)!!}{(2p+1)!!} = \frac{2^{2p}(p!)^2}{(2p+1)!}.[src] \Beta(x,y)= \int_0^1 t^{x-1}(1-t)^{y-1}\,dt =\frac{\Gamma(x)\Gamma(y)}{\Gamma(x+y)} for Euler integral of the second kind: the Gamma function: \Gamma(z) = \int_0^\infty t^{z-1} e^{-t}\,dt for .[src] If we make the following substitution inside the Beta function: \quad \left\{\begin{matrix} t = \sin^2 u \\ 1-t = \cos^2 u \\ dt = 2\sin u\cos u du\end{matrix}\right., we obtain: \Beta(a,b)= 2\int_0^{\frac{\pi}{2}} \sin^{2a-1} u\cos^{2b-1} u\,du, so this gives us the following relation to evaluate the Wallis integrals: W_n = \frac{1}{2} \Beta\left(\frac{n+1}{2},\frac{1}{2}\right)=\frac{\Gamma\left(\tfrac{n+1}{2}\right)\Gamma\left(\tfrac{1}{2}\right)}{2\,\Gamma\left(\tfrac{n}{2}+1\right)}.[src] So, for odd n , writing n = 2p+1 , we have: W_{2p+1} whereas for even n , writing n = 2p and knowing that \Gamma\left(\tfrac{1}{2}\right)=\sqrt{\pi} , we get : W_{2p} = \frac{(2p)![src] }{ 2^{2\,p} \; (p!)^2 } \cdot \frac{\pi}{2}.[src] W_n \sim \sqrt{\frac{\pi}{2\, n}}\quad (and consequently \lim_{n \rightarrow \infty} \sqrt n\,W_n=\sqrt{\pi /2} ).[src] W_{2p} \sim \sqrt{\frac{\pi}{4p}} = \frac{\sqrt{\pi}}{2\sqrt{p}} (equation (3)) Expanding W_{2p} and using the formula above for the factorials, we get \begin{align} W_{2p} &= \frac{(2p)!}{2^{2p}(p!)^2}\cdot\frac{\pi}{2} \\ &\sim \frac{C \left(\frac{2p}{e}\right)^{2p} \sqrt{2p}}{2^{2p}C^2\left(\frac{p}{e}\right)^{2p}\left(\sqrt{p}\right)^2}\cdot\frac{\pi}{2} \\ &= \frac{\pi}{C\sqrt{2p}}.[src] \text{ (equation (4))} \end{align} From (3) and (4), we obtain by transitivity: \frac{\pi}{C\sqrt{2p}} \sim \frac{\sqrt{\pi}}{2\sqrt{p}}.[src] Solving for C gives C = \sqrt{2\pi}.[src] In other words, n![src] \sim \sqrt{2\pi n} \left(\frac{n}{e}\right)^n.[src] W_{2p} \sim \sqrt{\frac{\pi}{4p}} = \frac{1}{2}\sqrt{\frac{\pi}{p}}.[src] Expanding W_{2p} and using the formula above for double factorials, we get: W_{2p} = \frac{(2p-1)!!}{(2p)!!} \cdot \frac{\pi}{2} \sim \frac{1}{2}\sqrt{\frac{\pi}{p}}.[src] Simplifying, we obtain: \frac{(2p-1)!!}{(2p)!!} \sim \frac{1}{\sqrt{\pi \, p}}, or \frac{(2p)!!}{(2p-1)!!} \sim \sqrt{\pi\, p}.[src] In fact, letting u/n=t , the first inequality (in which t \in [0,1] ) is equivalent to 1-t\leqslant e^{-t} ; whereas the second inequality reduces to e^{-t}\leqslant (1+t)^{-1} , which becomes e^t\geqslant 1+t .[src] These 2 latter inequalities follow from the convexity of the exponential function (or from an analysis of the function t \mapsto e^t -1 -t ).[src] Letting u=x^2 and making use of the basic properties of improper integrals (the convergence of the integrals is obvious), we obtain the inequalities: \int_0^{\sqrt n}(1-x^2/n)^n dx \leqslant \int_0^{\sqrt n} e^{-x^2} dx \leqslant \int_0^{+\infty} e^{-x^2} dx \leqslant \int_0^{+\infty} (1+x^2/n)^{-n} dx for use with the sandwich theorem (as n \to \infty ).[src] The first and last integrals can be evaluated easily using Wallis' integrals.[src] For the first one, let x=\sqrt n\, \sin\,t (t varying from 0 to \pi /2 ).[src] Then, the integral becomes \sqrt n \,W_{2n+1} .[src] For the last integral, let x=\sqrt n\, \tan\, t (t varying from 0 to \pi /2 ).[src] Then, it becomes \sqrt n \,W_{2n-2} .[src] As we have shown before, \lim_{n\rightarrow +\infty} \sqrt n\;W_n=\sqrt{\pi /2} .[src] So, it follows that \int_0^{+\infty} e^{-x^2} dx = \sqrt{\pi} /2 .[src] Remark: There are other methods of evaluating the Gaussian integral.[src] Some of them are more direct.[src]
38 sentences · 38 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Wallis' integrals." encyclopegia.org, 2025, https://encyclopegia.org/wiki/wallis-integrals. Accessed 30 November 2026.
Chicago
"Wallis' integrals." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/wallis-integrals.
APA
encyclopegia.org. (2025). Wallis' integrals. Retrieved November 30, 2026, from https://encyclopegia.org/wiki/wallis-integrals
Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON