try ai
Popular Science
Edit
Share
Feedback
  • Wallis Integrals

Wallis Integrals

SciencePediaSciencePedia
  • Wallis integrals obey a simple recurrence relation, Wn=n−1nWn−2W_n = \frac{n-1}{n} W_{n-2}Wn​=nn−1​Wn−2​, which allows any integral in the sequence to be derived from the first two terms.
  • Through a variable substitution, Wallis integrals can be expressed in terms of the Beta and Gamma functions, which reveals the fundamental constant Γ(12)=π\Gamma(\frac{1}{2}) = \sqrt{\pi}Γ(21​)=π​.
  • The asymptotic formula for Wallis integrals, Wn∼π2nW_n \sim \sqrt{\frac{\pi}{2n}}Wn​∼2nπ​​, is a powerful tool that helps derive the constant 2π\sqrt{2\pi}2π​ in Stirling's approximation.
  • These integrals are not just a mathematical curiosity but serve as essential building blocks in physics and engineering, appearing in the study of Legendre polynomials, Bessel functions, and even random matrix theory.

Introduction

The Wallis integrals, defined by the simple-looking expression ∫0π/2sin⁡n(x) dx\int_0^{\pi/2} \sin^n(x) \, dx∫0π/2​sinn(x)dx, represent a classic topic in calculus that holds surprisingly deep connections across the mathematical landscape. While easily stated, these integrals harbor a rich inner world of patterns, relationships, and elegant properties. The knowledge gap they address is not one of scarcity but of synthesis; their true power is revealed not in their isolated calculation, but in the web of connections they form to other fundamental concepts. This article serves as a guide to this interconnected world, revealing how a humble trigonometric integral becomes a key to unlocking profound mathematical truths and describing physical reality.

The journey begins in the first chapter, "Principles and Mechanisms," where we will dissect the integral's internal machinery. We will uncover its recursive nature, build a bridge to the powerful Gamma and Beta functions, and examine its behavior at infinity to derive one of the most famous formulas in mathematics. Following this, the chapter on "Applications and Interdisciplinary Connections" will broaden our horizons, showing how Wallis integrals emerge as a recurring motif in advanced analysis, classical mechanics, and even the esoteric domains of quantum physics. Through this exploration, we will see that the Wallis integral is far more than a textbook exercise—it is a fundamental constant of the mathematical universe.

Principles and Mechanisms

Having met the Wallis integrals, let's now embark on a journey to truly understand them. Like a physicist studying a new particle, we won't be content with just its name; we want to know how it behaves, how it interacts with others, and what secrets it holds about the universe it inhabits. Our exploration will reveal a landscape of surprising patterns, deep connections, and a remarkable unity that ties together disparate corners of mathematics.

A Hidden Pattern: The Recurrence Relation

Let's begin with the definition itself: Wn=∫0π/2sin⁡n(x) dxW_n = \int_0^{\pi/2} \sin^n(x) \, dxWn​=∫0π/2​sinn(x)dx. One could, in principle, compute this for each integer nnn by brute force, but a scientist always looks for a shortcut, a hidden pattern. The tool for this kind of detective work in calculus is often ​​integration by parts​​. It allows us to trade one integral for another, hopefully a simpler one.

If we apply this technique to WnW_nWn​, splitting sin⁡n(x)\sin^n(x)sinn(x) into sin⁡(x)\sin(x)sin(x) and sin⁡n−1(x)\sin^{n-1}(x)sinn−1(x), a little bit of algebraic magic happens. We discover a wonderfully simple relationship connecting an integral to its "grandparent" two steps down the line:

Wn=n−1nWn−2W_n = \frac{n-1}{n} W_{n-2}Wn​=nn−1​Wn−2​

This is a ​​recurrence relation​​, and it's tremendously powerful. It tells us we don't need to perform an infinite number of integrals. We only need to calculate the first two, the "progenitors" of the family. The rest follow automatically. The first two are simple enough: W0=∫0π/21 dx=π2W_0 = \int_0^{\pi/2} 1 \, dx = \frac{\pi}{2}W0​=∫0π/2​1dx=2π​ W1=∫0π/2sin⁡(x) dx=[−cos⁡(x)]0π/2=1W_1 = \int_0^{\pi/2} \sin(x) \, dx = [-\cos(x)]_0^{\pi/2} = 1W1​=∫0π/2​sin(x)dx=[−cos(x)]0π/2​=1

With these two starting values and our recurrence relation, we can find any WnW_nWn​. For example, W2=12W0=π4W_2 = \frac{1}{2}W_0 = \frac{\pi}{4}W2​=21​W0​=4π​, and W3=23W1=23W_3 = \frac{2}{3}W_1 = \frac{2}{3}W3​=32​W1​=32​. This recurrence leads to the famous product formulas for the Wallis integrals. But even more elegantly, this simple rule hides another gem. If we look at the product of two adjacent terms, say for an even index 2m2m2m and an odd one 2m−12m-12m−1, their complicated product formulas collapse into something astonishingly simple:

W2mW2m−1=π4mW_{2m} W_{2m-1} = \frac{\pi}{4m}W2m​W2m−1​=4mπ​

Isn't that something? Two rather complicated expressions conspire to produce a result of beautiful simplicity. This is often a clue that we are on the trail of a deeper truth.

A Bridge to a New World: The Gamma Function Connection

Recurrence relations are great, but a mathematician always dreams of a "closed form"— a single, direct formula for WnW_nWn​. To find it, we must do something that often leads to breakthroughs in science: embed our specific problem into a much larger, more general framework.

Let us introduce two titans of mathematical analysis: the ​​Gamma function​​, Γ(z)\Gamma(z)Γ(z), which generalizes the factorial to non-integer numbers, and the ​​Beta function​​, B(x,y)B(x,y)B(x,y), defined by a different kind of integral. They are themselves related by the profound identity B(x,y)=Γ(x)Γ(y)Γ(x+y)B(x, y) = \frac{\Gamma(x)\Gamma(y)}{\Gamma(x+y)}B(x,y)=Γ(x+y)Γ(x)Γ(y)​.

At first glance, these seem to have nothing to do with our integral of sin⁡n(x)\sin^n(x)sinn(x). But with a clever change of disguise, a substitution of variables, a startling connection is revealed. If we let t=sin⁡2(x)t = \sin^2(x)t=sin2(x), our Wallis integral is miraculously transformed into the form of a Beta function:

Wn=12B(n+12,12)W_n = \frac{1}{2} B\left(\frac{n+1}{2}, \frac{1}{2}\right)Wn​=21​B(2n+1​,21​)

We have built a bridge from our specific problem to a whole new world. And now we can use the "master key" that connects the Beta and Gamma functions to write:

Wn=12Γ(n+12)Γ(12)Γ(n+22)W_n = \frac{1}{2} \frac{\Gamma\left(\frac{n+1}{2}\right)\Gamma\left(\frac{1}{2}\right)}{\Gamma\left(\frac{n+2}{2}\right)}Wn​=21​Γ(2n+2​)Γ(2n+1​)Γ(21​)​

This is the direct formula we were looking for! It expresses any Wallis integral in terms of the more fundamental Gamma function. Now, a curious mind might ask: what is the value of Γ(12)\Gamma(\frac{1}{2})Γ(21​)? Let's turn the tables. Instead of using the formula to find WnW_nWn​, let's use a known WnW_nWn​ to find something out about the Gamma function. We know with certainty that W0=π/2W_0 = \pi/2W0​=π/2. Let's plug n=0n=0n=0 into our new formula:

W0=π2=12Γ(12)Γ(12)Γ(1)W_0 = \frac{\pi}{2} = \frac{1}{2} \frac{\Gamma\left(\frac{1}{2}\right)\Gamma\left(\frac{1}{2}\right)}{\Gamma(1)}W0​=2π​=21​Γ(1)Γ(21​)Γ(21​)​

Since the Gamma function generalizes the factorial, we know Γ(1)=(1−1)!=0!=1\Gamma(1) = (1-1)! = 0! = 1Γ(1)=(1−1)!=0!=1. The equation simplifies dramatically, and we are left with a spectacular result:

[Γ(12)]2=π  ⟹  Γ(12)=π\left[\Gamma\left(\frac{1}{2}\right)\right]^2 = \pi \quad \implies \quad \Gamma\left(\frac{1}{2}\right) = \sqrt{\pi}[Γ(21​)]2=π⟹Γ(21​)=π​

This is beautiful. Our innocent investigation of ∫sin⁡n(x) dx\int \sin^n(x) \, dx∫sinn(x)dx has led us straight to a fundamental constant of the mathematical universe. Armed with this knowledge, we can now compute any Wallis integral with ease. For example, to find W8W_8W8​, we just plug in n=8n=8n=8 and use the properties of the Gamma function to evaluate the expression.

The View from Infinity: Asymptotic Behavior

The next question a physicist would ask is: what happens when things get big? What is the behavior of WnW_nWn​ for very, very large nnn? Let's try to get a feel for it. The function sin⁡n(x)\sin^n(x)sinn(x) is always less than 1 for xxx in (0,π/2)(0, \pi/2)(0,π/2). As nnn gets huge, this value is crushed towards zero everywhere except where sin⁡(x)\sin(x)sin(x) is very close to 1, namely near x=π/2x = \pi/2x=π/2. To make life easier, let's consider the equivalent integral ∫0π/2cos⁡n(x)dx\int_0^{\pi/2} \cos^n(x) dx∫0π/2​cosn(x)dx, which has the same value. Here, the action is all concentrated near x=0x=0x=0.

Near x=0x=0x=0, we know that cos⁡(x)≈1−x22\cos(x) \approx 1 - \frac{x^2}{2}cos(x)≈1−2x2​. For large nnn, this approximation is excellent, and we can further approximate this by the exponential form exp⁡(−x2/2)\exp(-x^2/2)exp(−x2/2). So, for huge n=2kn=2kn=2k, our integral looks like:

W2k=∫0π/2cos⁡2k(x) dx≈∫0∞exp⁡(−kx2)dxW_{2k} = \int_0^{\pi/2} \cos^{2k}(x) \, dx \approx \int_0^{\infty} \exp\left(-k x^2\right) dxW2k​=∫0π/2​cos2k(x)dx≈∫0∞​exp(−kx2)dx

The integral on the right is a ​​Gaussian integral​​, the famous bell curve, whose value is well known. The result is a simple and elegant ​​asymptotic formula​​ that describes the behavior of Wallis integrals for large nnn:

Wn∼π2nW_n \sim \sqrt{\frac{\pi}{2n}}Wn​∼2nπ​​

This tells us that the value of the integral slowly vanishes as nnn goes to infinity. This is not just a curiosity; it's a powerful computational tool. For instance, if you're asked to find a tricky limit like lim⁡n→∞n∫01(1−x2)ndx\lim_{n \to \infty} \sqrt{n} \int_0^1 (1-x^2)^n dxlimn→∞​n​∫01​(1−x2)ndx, a quick substitution reveals the integral is just W2n+1W_{2n+1}W2n+1​. Using our asymptotic formula makes the limit calculation downright trivial. This formula also tells us that the ratio of consecutive terms, Wn+1/WnW_{n+1}/W_nWn+1​/Wn​, must approach 1 as nnn grows infinite, a fact that can be proven rigorously.

Unifying Giants: Deriving Stirling's Constant

We now arrive at a moment of grand synthesis. We have found two different ways to view the Wallis integrals for large even indices, W2nW_{2n}W2n​:

  1. ​​The Exact View (from recurrence):​​ W2n=(2n)!4n(n!)2π2W_{2n} = \frac{(2n)!}{4^n(n!)^2}\frac{\pi}{2}W2n​=4n(n!)2(2n)!​2π​
  2. ​​The Approximate View (from integration):​​ W2n∼π4nW_{2n} \sim \sqrt{\frac{\pi}{4n}}W2n​∼4nπ​​

On the other hand, there is another famous asymptotic formula, one of the most important in all of science: ​​Stirling's approximation​​ for the factorial, which states that for large nnn:

n!∼Cn(ne)nn! \sim C \sqrt{n} \left(\frac{n}{e}\right)^nn!∼Cn​(en​)n

For a long time, the value of the constant CCC was a mystery. But we are now in a unique position to find it. The logic is simple, and breathtaking. Let's take the unknown Stirling formula and plug it into our first, exact expression for W2nW_{2n}W2n​. After a flurry of cancellations, the expression for W2nW_{2n}W2n​ becomes an asymptotic formula that involves the unknown constant CCC.

The result of this substitution is: W2n∼π22CnW_{2n} \sim \frac{\pi \sqrt{2}}{2C\sqrt{n}}W2n​∼2Cn​π2​​.

Now, we have two different asymptotic expressions for the very same quantity, W2nW_{2n}W2n​. They must be equal.

π4n=π22Cn\sqrt{\frac{\pi}{4n}} = \frac{\pi \sqrt{2}}{2C\sqrt{n}}4nπ​​=2Cn​π2​​

Look at this equation! The n\sqrt{n}n​ on both sides cancels, and we are left with a simple algebraic equation for the mysterious constant CCC. The solution is inescapable:

C=2πC = \sqrt{2\pi}C=2π​

Think about what we have just done. We started with a simple integral. By following our nose, exploring its patterns, and connecting it to other ideas, we have used it as a lever to determine a fundamental constant in Stirling's formula, a result of monumental importance. This is the true nature of science: not a collection of isolated facts, but a deeply interconnected web of ideas. A humble integral, when viewed with insight and curiosity, can reveal the secrets of giants.

Applications and Interdisciplinary Connections

After a journey through the intricate machinery of the Wallis integrals—their recursive nature, their surprising link to π\piπ, and their elegant asymptotic behavior—it is only natural to ask: What are they for? Are they merely a clever curiosity, a beautiful piece of clockwork isolated in the museum of mathematics? The answer, you will be delighted to find, is a resounding no. These integrals are not an endpoint; they are a gateway. They are a recurring motif, a connecting thread that weaves through surprisingly diverse fields of science and engineering, often appearing unexpectedly to provide a key insight or a crucial computational tool.

In this chapter, we will explore this wider world. We will see how these simple-looking integrals of sine and cosine powers form the backbone of advanced analysis, help us understand the behavior of indispensable special functions, and even describe the physical world, from the mundane balancing of a metal plate to the exotic statistics of enormous random matrices. Let us begin our tour.

A Master Key in the Analyst's Toolkit

Before we venture into the physical world, we must first appreciate the role of Wallis integrals within mathematics itself. Here, they are not just an example; they are a fundamental building block. Their most immediate family is the illustrious lineage of special functions. As we've seen, Wallis-type integrals are, in essence, a special case of the Beta function, which is itself defined in terms of the even more fundamental Gamma function. This relationship, ∫0π/2sin⁡p(θ)cos⁡q(θ) dθ=12B(p+12,q+12)\int_0^{\pi/2} \sin^p(\theta) \cos^q(\theta) \, d\theta = \frac{1}{2} B\left(\frac{p+1}{2}, \frac{q+1}{2}\right)∫0π/2​sinp(θ)cosq(θ)dθ=21​B(2p+1​,2q+1​), is a dictionary that translates problems of trigonometry into the powerful language of Gamma functions, a language spoken throughout all of higher mathematics.

This role as a building block becomes even more apparent when we study the infinite. Consider constructing a power series ∑anxn\sum a_n x^n∑an​xn where the coefficients are not simple numbers, but are themselves the Wallis integrals, an=∫0π/2(sin⁡t)ndta_n = \int_0^{\pi/2} (\sin t)^n dtan​=∫0π/2​(sint)ndt. A physicist might see this as a system whose response at each order is governed by one of these integrals. A natural first question for an analyst is: for which values of xxx does this sum even make sense? What is its radius of convergence? The answer, it turns out, is a beautifully simple R=1R=1R=1. The proof rests on the subtle fact that the value of the integral ana_nan​ is squeezed between a value that shrinks slowly and another that shrinks slowly—and the limit of an1/na_n^{1/n}an1/n​ is pinned to exactly one. The very nature of the Wallis sequence dictates the analytic behavior of the function it generates.

The story continues when we consider series whose terms are the Wallis integrals themselves. The alternating series ∑n=1∞(−1)nIn\sum_{n=1}^\infty (-1)^n I_n∑n=1∞​(−1)nIn​ presents a delicate question. We know the terms InI_nIn​ march steadily toward zero, which is enough to guarantee that the series, with its alternating signs, converges. But does it converge absolutely? That is, does ∑In\sum I_n∑In​ converge? Here, the asymptotic behavior we studied earlier, In∼π2nI_n \sim \sqrt{\frac{\pi}{2n}}In​∼2nπ​​, becomes the star of the show. Since this is much like the divergent harmonic series ∑1n\sum \frac{1}{\sqrt{n}}∑n​1​, the series of absolute values diverges. The conclusion is that the alternating series is conditionally convergent—it stands on a knife's edge, its convergence a direct consequence of the precise rate at which (cos⁡x)n(\cos x)^n(cosx)n vanishes when integrated.

This "building block" nature is perhaps best demonstrated by an elegant technique for evaluating otherwise intractable integrals. Imagine you are faced with a beast like I(a)=∫0π/2ln⁡(1+asin⁡2x)sin⁡2xdxI(a) = \int_0^{\pi/2} \frac{\ln(1+a \sin^2 x)}{\sin^2 x} dxI(a)=∫0π/2​sin2xln(1+asin2x)​dx. The direct approach is hopeless. But we can use the Taylor series for the logarithm, ln⁡(1+u)=u−u2/2+u3/3−…\ln(1+u) = u - u^2/2 + u^3/3 - \dotsln(1+u)=u−u2/2+u3/3−…, substituting u=asin⁡2xu = a \sin^2 xu=asin2x. This transforms the complicated integrand into an infinite sum of simpler terms: powers of sin⁡x\sin xsinx multiplied by coefficients. By integrating this series term-by-term—a move that must be mathematically justified but is often valid—the problem is reduced to summing a series where each term contains a Wallis integral. The Wallis integrals have allowed us to trade one impossible integral for an infinite sum of solvable ones.

The Signature of Symmetry in the Physical World

Mathematics is the language of nature, and special functions are its grammar. It is no surprise, then, that the Wallis integrals, being so fundamental, appear in the description of physical phenomena, often as a signature of underlying symmetries.

Let's start with a tangible, classical problem from mechanics. Imagine a thin, uniform plate cut into the shape of an astroid, bounded by the curve x2/3+y2/3=L2/3x^{2/3} + y^{2/3} = L^{2/3}x2/3+y2/3=L2/3 in the first quadrant. Where is its balancing point, its center of mass? To find it, one must calculate the total area and the "first moments" of area. These calculations require integrating functions over the astroid's shape. Through a clever change of variables that traces the curve's generation (think of a ladder sliding down a wall), these area integrals transform into integrals of powers of sine and cosine—our familiar Wallis-type integrals. The geometric properties of this elegant shape are encoded in the values of these trigonometric integrals.

The connections become deeper when we look at the special functions that govern physics. Take the Legendre polynomials, Pn(x)P_n(x)Pn​(x), which are indispensable in fields from electrostatics to quantum mechanics, describing, for instance, how the electric potential of a charge distribution behaves far away. It turns out there is a startlingly direct connection between these polynomials and Wallis integrals. The value of an even-indexed Legendre polynomial at the origin, P2m(0)P_{2m}(0)P2m​(0), is given by a formula that is, up to a simple factor, identical to the formula for the even-indexed Wallis integral, W2mW_{2m}W2m​. This is no coincidence; both quantities arise from underlying combinatorial and symmetry properties related to expansions in trigonometry.

The same pattern holds for other titans of mathematical physics. The period of a simple pendulum is constant only for small swings. For large swings, the calculation involves a "complete elliptic integral," so named because it also calculates the circumference of an ellipse. This integral, E(k)=∫0π/21−k2sin⁡2ϕ dϕE(k) = \int_0^{\pi/2} \sqrt{1 - k^2 \sin^2\phi} \, d\phiE(k)=∫0π/2​1−k2sin2ϕ​dϕ, where kkk depends on the maximum swing angle, is notoriously difficult. But for small to moderate swings, we can approximate it by expanding the square root into a power series. What do we get? A series in powers of k2k^2k2, where the coefficient of each term is—you guessed it—a Wallis integral.

This theme echoes yet again with Bessel functions, the solutions to problems with cylindrical symmetry, like the vibrations of a drumhead or the propagation of electromagnetic waves in a coaxial cable. To understand how these functions behave, one might need to evaluate an integral like ∫0π/2J1(zsin⁡θ)dθ\int_0^{\pi/2} J_1(z \sin\theta) d\theta∫0π/2​J1​(zsinθ)dθ. The path to a solution is once again to expand the Bessel function J1J_1J1​ into its power series. Each term in the series contains a power of sin⁡θ\sin\thetasinθ, and integrating term-by-term reduces the problem to an infinite sum involving the Wallis integrals for odd powers.

Finally, let's take a leap into a thoroughly modern and abstract realm: random matrix theory. Physicists study the energy levels of complex quantum systems, like large atomic nuclei, whose behavior is too complicated to predict exactly. A powerful idea is to model the system's Hamiltonian operator as a matrix filled with random numbers. The statistical properties of the eigenvalues of this matrix, which correspond to the energy levels, then reveal universal truths about such complex systems. For a large class of these random matrices, the density of eigenvalues follows the beautiful Wigner semicircle distribution. To characterize the "shape" of this distribution, we compute its moments. The fourth moment, for instance, which measures the "tailedness," requires calculating an integral of x4x^4x4 weighted by the semicircle function R2−x2\sqrt{R^2 - x^2}R2−x2​. A trigonometric substitution transforms this directly into a Wallis-type integral. Thus, the very same integral that helps balance a plate and approximates a pendulum's swing also characterizes the statistical behavior of quantum chaos.

From pure analysis to classical mechanics and on to the frontiers of theoretical physics, the Wallis integrals have shown their utility and their unifying power. They are a testament to the interconnectedness of mathematical ideas, a simple pattern of sines and cosines that echoes in the structure of series, the geometry of shapes, and the laws of the universe.