Generalising ∫ sin²(tan x)/x² dx to Even Powers

Why the tangent inside the sine drops out, two independent proofs of the closed form for every even power, and the cases where both proofs stop working.

Binary Buddies · 5 min read · 8 views

The integral ∫₀^∞ sin²(tan x)/x² dx evaluates to π/2. A Math Stack Exchange question asks the obvious follow-up: what happens when the square becomes an arbitrary even power? For natural n, define

I_n = ∫₀^∞ sin^(2n)(tan x) / x² dx

The answer is a closed form, I_n = π/2^(2n−1) · C(2n−2, n−1). This piece covers the two routes the thread offers, the asker's Lobachevsky reduction and an answerer's Fourier-series argument. It also covers what the two routes have in common, and where each one stops working. The tan inside the sine looks like the hard part of these definite integrals. Both derivations show it is not.

Step one: Lobachevsky removes the tangent

The question opens by splitting the integrand as sin^(2n)(tan x)/sin²x times sin²x/x². The Lobachevsky integral formula replaces ∫₀^∞ f(x)·sin²x/x² dx with ∫₀^(π/2) f(x) dx. It applies when f is π-periodic and symmetric under x → π − x. Here f(x) = sin^(2n)(tan x)/sin²x. Both tan and sin² have period π. Because tan(π − x) = −tan x and the power is even, the symmetry holds.

The rest of the reduction is a single substitution, carried out in the question's working:

∫₀^(π/2) sin^(2n)(tan x)/sin²x dx
= ∫₀^(π/2) sin^(2n)(tan x)/tan²x · sec²x dx
= ∫₀^∞ sin^(2n)(y)/y² dy,   y = tan x

So the original problem reduces to the classical ∫₀^∞ sin^(2n)y / y² dy. The tangent has gone, and what remains is a standard trigonometric integral.

Step two: the general sin^m / x^n formula

The asker had already derived, in an earlier post, a closed form for ∫₀^∞ sin^m x / x^n dx when m and n have the same parity:

π (−1)^((m−n)/2) / (2^m (n−1)!) · Σ_{k=0}^{⌊(m−1)/2⌋} (−1)^k C(m,k) (m−2k)^(n−1)

Set m = 2n and n = 2. The sign becomes (−1)^(n−1) and the factorial is 1!. The sum runs over k = 0 … n−1, and the factor (2n − 2k) pulls out a 2. The question then collapses the sum in two moves. The first gives πn/(4^n(2n−1)) · C(2n,n). Since C(2n,n) = 2(2n−1)/n · C(2n−2,n−1), the second simplifies this to π/2^(2n−1) · C(2n−2,n−1).

Substituting small cases is a quick sanity check. n = 1 gives π/2, which is the original result. n = 2 gives π/8 · 2 = π/4, and n = 3 gives π/32 · 6 = 3π/16. Each matches the known value of ∫₀^∞ sin^(2n)y/y² dy.

A second route: Fourier series and a cosecant identity

An answer to the question reaches the same result without Lobachevsky. It starts from the power-reduction expansion, written in a deliberate form:

sin^(2n) t = 1/2^(2n−1) · Σ_{k=1}^{n} (−1)^(k+1) C(2n, n−k) (1 − cos 2kt)

Writing each term as 1 − cos 2kt, rather than separating out the constant, matters. Each piece is then individually integrable against 1/x² near zero. Since the sum is finite, it can be taken outside the integral. That reduces everything to F(a) = ∫₀^∞ (1 − cos(a tan x))/x² dx for a > 0.

To evaluate F(a), the answer splits (0, ∞) at the poles of tan. Fix t > 0 and let u = arctan t. The points with |tan x| = t are u, mπ + u and mπ − u for m ≥ 1. Collecting their 1/x² weights gives the series Σ_{m∈ℤ} 1/(u + mπ)², which equals csc²u. That identity turns F(a) into ∫₀^(π/2) (1 − cos(a tan u)) csc²u du. Integration by parts against −cot u has vanishing boundary terms, and the substitution t = tan u then leaves a ∫₀^∞ sin(at)/t dt = πa/2.

Putting F(2k) = πk back into the sum gives I_n = π/2^(2n−1) · Σ (−1)^(k+1) k C(2n, n−k). The answer states that this equals the same boxed closed form. For n = 2 the sum is 4 − 2 = 2 = C(2,1).

What the two derivations share

Both routes rely on the same mechanism: the tangent drops out entirely. The answer's preimage argument shows this most directly. Since csc²(arctan t) = (1 + t²)/t² and dx = dt/(1 + t²), the combined weight is exactly 1/t². Take any even function g with enough integrability to justify the rearrangement. For such g, the same steps give ∫₀^∞ g(tan x)/x² dx = ∫₀^∞ g(t)/t² dt. The answer handles this through integration by parts, but the cancellation is already present before that step. This is arguably the broader generalisation the asker was looking for. The even power of sine is one choice of g among many.

The two routes also converge on the same combinatorial step. The question reduces to Σ (−1)^k C(2n,k)(n−k) and the answer to Σ (−1)^(k+1) k C(2n,n−k). Both are alternating weighted binomial sums that collapse to a single central-type coefficient. The analysis in each route is short. Most of the work is in the combinatorial identity.

The closed form also shows how I_n behaves for large n. Since C(2n−2, n−1) grows like 4^(n−1)/√(π(n−1)), I_n decays roughly like √π/(2√n). Higher powers of sine concentrate on narrower peaks, so the integral shrinks, but only at the rate of an inverse square root.

Where this approach does not fit

  • Odd powers. With sin^(2n+1), the symmetry f(π − x) = f(x) fails, because tan(π − x) = −tan x flips the sign. The Lobachevsky step therefore does not apply. The general formula also requires m and n to share parity, which m odd with n = 2 violates. For n = 0, sin(tan x)/x² behaves like 1/x at the origin and diverges.
  • Other powers of x. Both proofs depend on the denominator being exactly x². Lobachevsky's formula is built on sin²x/x², and the answer's key identity is the sum of 1/(u + mπ)². Replacing x² with x^p removes the identity each route relies on.
  • Hypotheses at the poles. Near x = π/2, sin^(2n)(tan x) stays bounded but oscillates without limit, so f is not continuous there. The usual statement of Lobachevsky's formula assumes continuity. Applying it here is formally convenient, but the step needs a separate justification, such as an approximation argument. The preimage argument has the same issue: rearranging over infinitely many branches needs a convergence check, and the derivation does not supply one.

In practice, check the parity and the exponent of x before reaching for either method. If the integrand is even in tan x and the weight is 1/x², the tangent can be substituted away. Outside those conditions, neither derivation tells you anything.

  • #Fourier series
  • #Integration
  • #Lobachevsky integral formula
  • #calculus
  • #definite-integrals
  • #trigonometric-integrals

Comments

Add a comment
Sign in with Google to join the conversation