MatheramaMatherama
← Definite Integration
Definite Integration·Section 11·16 min read

Definite Integral Reduction Formulas and Walli's Theorem

In indefinite integration, a reduction formula keeps track of a complicated algebraic or trigonometric boundary term at every step. In definite integration, something far cleaner happens: when we choose natural limits like [0,π/4][0, \pi/4], [0,π/2][0, \pi/2], [0,1][0, 1], or [0,∞)[0, \infty), the boundary terms either vanish completely or collapse to simple numbers.

As a result, a definite integral InI_n depending on an integer parameter nn satisfies a pure numerical recurrence relation—relating InI_n directly to In−1I_{n-1} or In−2I_{n-2}. We can then step nn down to a trivial base case, telescope sums, or even extract limits as n→∞n \to \infty without ever finding an antiderivative!

Across definite integration, these recurrences come from two main engines:

  1. Identities and Telescoping Differences, where In+In−2I_n + I_{n-2} or In−In−1I_n - I_{n-1} simplifies the integrand before integrating.
  2. Definite Integration by Parts, where the boundary term [uv]ab\big[u v\big]_a^b vanishes or becomes a constant.

Tangent and Cotangent Powers on Quarter-Period Intervals§

(Note: Let us evaluate these on their standard quarter-period intervals where tan⁡x\tan x and cot⁡x\cot x run between 00 and 11.)

Definite Reduction for Tangent Powers§

For integers n≥0n \ge 0, define:

In=∫0π/4tan⁡nx dxI_n = \int_0^{\pi/4} \tan^n x\,dx

For n≥2n \ge 2, add InI_n and In−2I_{n-2} together and factor out tan⁡n−2x\tan^{n-2} x:

In+In−2=∫0π/4tan⁡n−2x(tan⁡2x+1)dx=∫0π/4tan⁡n−2xsec⁡2x dxI_n + I_{n-2} = \int_0^{\pi/4} \tan^{n-2} x \left(\tan^2 x + 1\right) dx = \int_0^{\pi/4} \tan^{n-2} x \sec^2 x\,dx

Since ddx(tan⁡x)=sec⁡2x\frac{d}{dx}(\tan x) = \sec^2 x, the integral evaluates immediately:

In+In−2=[tan⁡n−1xn−1]0π/4=1n−1(n≥2)I_n + I_{n-2} = \left[ \frac{\tan^{n-1} x}{n - 1} \right]_0^{\pi/4} = \frac{1}{n - 1} \qquad (n \ge 2)

Notice how clean this is: there is no +C+C and no variable expression left—just a single number 1n−1\frac{1}{n - 1}.

Definite Reduction for Cotangent Powers§

For integers n≥0n \ge 0, define:

Jn=∫π/4π/2cot⁡nx dxJ_n = \int_{\pi/4}^{\pi/2} \cot^n x\,dx

By King's Rule on [0,π/2][0, \pi/2] (or substituting x=π2−tx = \frac{\pi}{2} - t), cot⁡(π2−t)=tan⁡t\cot(\frac{\pi}{2} - t) = \tan t and the interval [π/4,π/2][\pi/4, \pi/2] maps to [0,π/4][0, \pi/4]. Hence Jn=InJ_n = I_n for every n≥0n \ge 0, and it satisfies the exact same recurrence:

Jn+Jn−2=1n−1(n≥2)J_n + J_{n-2} = \frac{1}{n - 1} \qquad (n \ge 2)

Examples: Tangent and Cotangent Reductions§

Example 1: Evaluating High Powers Step by Step

Evaluate I5=∫0π/4tan⁡5x dxI_5 = \int_0^{\pi/4} \tan^5 x\,dx and I6=∫0π/4tan⁡6x dxI_6 = \int_0^{\pi/4} \tan^6 x\,dx.

Solution: First compute the two base cases:

I0=∫0π/41 dx=π4,I1=∫0π/4tan⁡x dx=[ln⁡(sec⁡x)]0π/4=12ln⁡2I_0 = \int_0^{\pi/4} 1\,dx = \frac{\pi}{4}, \qquad I_1 = \int_0^{\pi/4} \tan x\,dx = \Big[ \ln(\sec x) \Big]_0^{\pi/4} = \frac{1}{2}\ln 2

Using In=1n−1−In−2I_n = \frac{1}{n-1} - I_{n-2} for odd powers:

I3=12−I1=12−12ln⁡2I_3 = \frac{1}{2} - I_1 = \frac{1}{2} - \frac{1}{2}\ln 2 I5=14−I3=14−(12−12ln⁡2)=12ln⁡2−14I_5 = \frac{1}{4} - I_3 = \frac{1}{4} - \left(\frac{1}{2} - \frac{1}{2}\ln 2\right) = \frac{1}{2}\ln 2 - \frac{1}{4}

And for even powers:

I2=1−I0=1−π4,I4=13−I2=π4−23,I6=15−I4=1315−π4I_2 = 1 - I_0 = 1 - \frac{\pi}{4}, \qquad I_4 = \frac{1}{3} - I_2 = \frac{\pi}{4} - \frac{2}{3}, \qquad I_6 = \frac{1}{5} - I_4 = \frac{13}{15} - \frac{\pi}{4}

Example 2: A Recurrence Sum

Let In=∫0π/4tan⁡nx dxI_n = \int_0^{\pi/4} \tan^n x\,dx for n≥0n \ge 0. Evaluate ∑n=120n(In−1+In+1)\sum_{n=1}^{20} n (I_{n-1} + I_{n+1}).

Solution: Replacing nn by n+1n + 1 in In+In−2=1n−1I_n + I_{n-2} = \frac{1}{n - 1} gives In+1+In−1=1nI_{n+1} + I_{n-1} = \frac{1}{n}. Multiplying by nn yields n(In−1+In+1)=1n(I_{n-1} + I_{n+1}) = 1 for every n≥1n \ge 1. Therefore:

∑n=120n(In−1+In+1)=∑n=1201=20\sum_{n=1}^{20} n (I_{n-1} + I_{n+1}) = \sum_{n=1}^{20} 1 = 20

Example 3: Sandwiching a Limit via Definite Reduction

Using In=∫0π/4tan⁡nx dxI_n = \int_0^{\pi/4} \tan^n x\,dx, prove that lim⁡n→∞nIn=12\lim_{n \to \infty} n I_n = \frac{1}{2}.

Solution: On the open interval (0,π/4)(0, \pi/4), we have 0<tan⁡x<10 < \tan x < 1, so tan⁡n+2x<tan⁡nx<tan⁡n−2x\tan^{n+2} x < \tan^n x < \tan^{n-2} x for n≥2n \ge 2. Integrating over [0,π/4][0, \pi/4] preserves the strict inequality:

In+2<In<In−2I_{n+2} < I_n < I_{n-2}

Adding InI_n to all parts and applying the reduction formula:

2In<In+In−2=1n−1and1n+1=In+2+In<2In2 I_n < I_n + I_{n-2} = \frac{1}{n - 1} \qquad \text{and} \qquad \frac{1}{n + 1} = I_{n+2} + I_n < 2 I_n

Combining both bounds gives:

12(n+1)<In<12(n−1)\frac{1}{2(n + 1)} < I_n < \frac{1}{2(n - 1)}

Multiplying by nn:

n2(n+1)<nIn<n2(n−1)\frac{n}{2(n + 1)} < n I_n < \frac{n}{2(n - 1)}

As n→∞n \to \infty, both outer bounds approach 12\frac{1}{2}. By the Sandwich Theorem, lim⁡n→∞nIn=12\lim_{n \to \infty} n I_n = \frac{1}{2}.


Secant and Cosecant Powers on Definite Intervals§

When we integrate powers of sec⁡x\sec x or csc⁡x\csc x on [0,π/4][0, \pi/4] or [π/4,π/2][\pi/4, \pi/2], definite integration by parts produces a clean numerical recurrence.

Definite Reduction for Secant Powers§

For integers n≥1n \ge 1, define:

In=∫0π/4sec⁡nx dxI_n = \int_0^{\pi/4} \sec^n x\,dx

For n≥2n \ge 2, split sec⁡nx=sec⁡n−2x⋅sec⁡2x\sec^n x = \sec^{n-2} x \cdot \sec^2 x and integrate by parts with u=sec⁡n−2xu = \sec^{n-2} x and dv=sec⁡2x dxdv = \sec^2 x\,dx (so v=tan⁡xv = \tan x):

In=[sec⁡n−2xtan⁡x]0π/4−(n−2)∫0π/4sec⁡n−2xtan⁡2x dxI_n = \Big[ \sec^{n-2} x \tan x \Big]_0^{\pi/4} - (n - 2)\int_0^{\pi/4} \sec^{n-2} x \tan^2 x\,dx

At x=π/4x = \pi/4, sec⁡(π/4)=2\sec(\pi/4) = \sqrt{2} and tan⁡(π/4)=1\tan(\pi/4) = 1; at x=0x = 0, tan⁡0=0\tan 0 = 0. Replace tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1:

In=(2)n−2−(n−2)(In−In−2)I_n = (\sqrt{2})^{n-2} - (n - 2)(I_n - I_{n-2})

Collecting InI_n on the left gives:

(n−1)In=(2)n−2+(n−2)In−2(n≥2)(n - 1)I_n = (\sqrt{2})^{n-2} + (n - 2)I_{n-2} \qquad (n \ge 2)

Definite Reduction for Cosecant Powers§

Similarly, for Jn=∫π/4π/2csc⁡nx dxJ_n = \int_{\pi/4}^{\pi/2} \csc^n x\,dx, substituting x=π2−tx = \frac{\pi}{2} - t shows Jn=InJ_n = I_n, so:

(n−1)Jn=(2)n−2+(n−2)Jn−2(n≥2)(n - 1)J_n = (\sqrt{2})^{n-2} + (n - 2)J_{n-2} \qquad (n \ge 2)

Example 4: Evaluating Odd Secant Powers on Zero to Pi/4

Evaluate I3=∫0π/4sec⁡3x dxI_3 = \int_0^{\pi/4} \sec^3 x\,dx and I5=∫0π/4sec⁡5x dxI_5 = \int_0^{\pi/4} \sec^5 x\,dx.

Solution: Start with I1=∫0π/4sec⁡x dx=[ln⁡∣sec⁡x+tan⁡x∣]0π/4=ln⁡(2+1)I_1 = \int_0^{\pi/4} \sec x\,dx = \big[\ln|\sec x + \tan x|\big]_0^{\pi/4} = \ln(\sqrt{2} + 1).

For n=3n = 3:

2I3=(2)1+1⋅I1  ⟹  I3=2+ln⁡(2+1)22 I_3 = (\sqrt{2})^1 + 1 \cdot I_1 \implies I_3 = \frac{\sqrt{2} + \ln(\sqrt{2} + 1)}{2}

For n=5n = 5:

4I5=(2)3+3I3=22+32+3ln⁡(2+1)2  ⟹  I5=72+3ln⁡(2+1)84 I_5 = (\sqrt{2})^3 + 3 I_3 = 2\sqrt{2} + \frac{3\sqrt{2} + 3\ln(\sqrt{2} + 1)}{2} \implies I_5 = \frac{7\sqrt{2} + 3\ln(\sqrt{2} + 1)}{8}

Sine and Cosine Powers: Walli's Theorem§

The most celebrated definite reduction formula governs powers of sin⁡x\sin x and cos⁡x\cos x on [0,π/2][0, \pi/2], where the boundary term vanishes identically.

Single-Power Reduction on the Quarter Period§

For integers n≥0n \ge 0, define:

Wn=∫0π/2sin⁡nx dx=∫0π/2cos⁡nx dxW_n = \int_0^{\pi/2} \sin^n x\,dx = \int_0^{\pi/2} \cos^n x\,dx

(The two integrals are equal by King's Rule: sin⁡(π2−x)=cos⁡x\sin(\frac{\pi}{2} - x) = \cos x.)

For n≥2n \ge 2, write sin⁡nx=sin⁡n−1x⋅sin⁡x\sin^n x = \sin^{n-1} x \cdot \sin x and integrate by parts with u=sin⁡n−1xu = \sin^{n-1} x and dv=sin⁡x dxdv = \sin x\,dx (so v=−cos⁡xv = -\cos x):

Wn=[−sin⁡n−1xcos⁡x]0π/2+(n−1)∫0π/2sin⁡n−2xcos⁡2x dxW_n = \Big[ -\sin^{n-1} x \cos x \Big]_0^{\pi/2} + (n - 1)\int_0^{\pi/2} \sin^{n-2} x \cos^2 x\,dx

Because n−1≥1n - 1 \ge 1, the boundary term sin⁡n−1xcos⁡x\sin^{n-1} x \cos x is 00 at both x=0x = 0 and x=π/2x = \pi/2. Replacing cos⁡2x=1−sin⁡2x\cos^2 x = 1 - \sin^2 x gives:

Wn=(n−1)(Wn−2−Wn)  ⟹  Wn=n−1nWn−2(n≥2)W_n = (n - 1)(W_{n-2} - W_n) \implies W_n = \frac{n - 1}{n} W_{n-2} \qquad (n \ge 2)

Area decay of sin^n x from 0 to pi/2 as n increases

Unrolling this recurrence down to W0=∫0π/21 dx=π2W_0 = \int_0^{\pi/2} 1\,dx = \frac{\pi}{2} (for even nn) or W1=∫0π/2sin⁡x dx=1W_1 = \int_0^{\pi/2} \sin x\,dx = 1 (for odd nn) gives Walli's Formula:

∫0π/2sin⁡nx dx=∫0π/2cos⁡nx dx=(n−1)(n−3)(n−5)⋯n(n−2)(n−4)⋯⋅K\int_0^{\pi/2} \sin^n x\,dx = \int_0^{\pi/2} \cos^n x\,dx = \frac{(n - 1)(n - 3)(n - 5)\cdots}{n(n - 2)(n - 4)\cdots} \cdot K

where:

K={π2,if n is even1,if n is oddK = \begin{cases} \dfrac{\pi}{2}, & \text{if } n \text{ is even} \\[6pt] 1, & \text{if } n \text{ is odd} \end{cases}

The Combined Product: General Walli's Theorem§

Now consider the two-parameter family for integers m,n≥0m, n \ge 0:

Im,n=∫0π/2sin⁡mxcos⁡nx dxI_{m, n} = \int_0^{\pi/2} \sin^m x \cos^n x\,dx

Derivation

Assume m≥2m \ge 2. Group one factor of sin⁡x\sin x with cos⁡nx\cos^n x:

Im,n=∫0π/2sin⁡m−1x⏟u⋅(cos⁡nxsin⁡x) dx⏟dvI_{m, n} = \int_0^{\pi/2} \underbrace{\sin^{m-1} x}_{u} \cdot \underbrace{(\cos^n x \sin x)\,dx}_{dv}

Then du=(m−1)sin⁡m−2xcos⁡x dxdu = (m - 1)\sin^{m-2} x \cos x\,dx and v=−cos⁡n+1xn+1v = -\frac{\cos^{n+1} x}{n + 1}. Integrating by parts:

Im,n=[−sin⁡m−1xcos⁡n+1xn+1]0π/2+m−1n+1∫0π/2sin⁡m−2xcos⁡n+2x dxI_{m, n} = \left[ -\frac{\sin^{m-1} x \cos^{n+1} x}{n + 1} \right]_0^{\pi/2} + \frac{m - 1}{n + 1} \int_0^{\pi/2} \sin^{m-2} x \cos^{n+2} x\,dx

Since m−1≥1m - 1 \ge 1 and n+1≥1n + 1 \ge 1, the boundary term vanishes at both 00 and π/2\pi/2. Writing cos⁡n+2x=cos⁡nx(1−sin⁡2x)\cos^{n+2} x = \cos^n x (1 - \sin^2 x) gives:

Im,n=m−1n+1(Im−2,n−Im,n)  ⟹  (m+n)Im,n=(m−1)Im−2,nI_{m, n} = \frac{m - 1}{n + 1} (I_{m-2, n} - I_{m, n}) \implies (m + n)I_{m, n} = (m - 1)I_{m-2, n}

Hence:

Im,n=m−1m+nIm−2,n(m≥2)I_{m, n} = \frac{m - 1}{m + n} I_{m-2, n} \qquad (m \ge 2)

By symmetry (Im,n=In,mI_{m, n} = I_{n, m} via King's Rule), whenever n≥2n \ge 2:

Im,n=n−1m+nIm,n−2(n≥2)I_{m, n} = \frac{n - 1}{m + n} I_{m, n-2} \qquad (n \ge 2)

Unrolling Both Exponents: Walli's Theorem

Stepping mm down by 22's until it hits 00 or 11, and then stepping nn down by 22's until it hits 00 or 11, produces a denominator that starts at m+nm + n and steps down by 22 at every stage:

∫0π/2sin⁡mxcos⁡nx dx=[(m−1)(m−3)⋯][(n−1)(n−3)⋯](m+n)(m+n−2)(m+n−4)⋯⋅K\int_0^{\pi/2} \sin^m x \cos^n x\,dx = \frac{\big[(m - 1)(m - 3)\cdots\big]\big[(n - 1)(n - 3)\cdots\big]}{(m + n)(m + n - 2)(m + n - 4)\cdots} \cdot K

where:

K={π2,if both m and n are even1,otherwise (at least one of m,n is odd)K = \begin{cases} \dfrac{\pi}{2}, & \text{if both } m \text{ and } n \text{ are even} \\[6pt] 1, & \text{otherwise (at least one of } m, n \text{ is odd)} \end{cases}

(If m≤1m \le 1, take the factor (m−1)(m−3)⋯(m - 1)(m - 3)\cdots as 11; likewise if n≤1n \le 1.)

Notice why K=π2K = \frac{\pi}{2} only when both mm and nn are even: the four possible terminal base cases Ir,sI_{r, s} (r,s∈{0,1}r, s \in \{0, 1\}) are I0,0=π2I_{0,0} = \frac{\pi}{2}, I1,0=1I_{1,0} = 1, I0,1=1I_{0,1} = 1, and I1,1=12I_{1,1} = \frac{1}{2} (where the 12\frac{1}{2} already comes from the final denominator factor 1+1=21 + 1 = 2, leaving K=1K = 1).


Examples: Walli's Theorem in Action§

Example 5: Direct and Substituted Walli's Integrals

Evaluate:

  1. ∫0π/2sin⁡6xcos⁡4x dx\int_0^{\pi/2} \sin^6 x \cos^4 x\,dx
  2. ∫01x4(1−x2)3/2 dx\int_0^1 x^4 (1 - x^2)^{3/2}\,dx
  3. ∫02ax32ax−x2 dx(a>0)\int_0^{2a} x^3 \sqrt{2ax - x^2}\,dx \quad (a > 0)

Solution:

(1) Both m=6m = 6 and n=4n = 4 are even, so m+n=10m + n = 10 and K=π2K = \frac{\pi}{2}:

∫0π/2sin⁡6xcos⁡4x dx=(5⋅3⋅1)(3⋅1)10⋅8⋅6⋅4⋅2⋅π2=453840⋅π2=3π512\int_0^{\pi/2} \sin^6 x \cos^4 x\,dx = \frac{(5 \cdot 3 \cdot 1)(3 \cdot 1)}{10 \cdot 8 \cdot 6 \cdot 4 \cdot 2} \cdot \frac{\pi}{2} = \frac{45}{3840} \cdot \frac{\pi}{2} = \frac{3\pi}{512}

(2) Substitute x=sin⁡θx = \sin\theta, so dx=cos⁡θ dθdx = \cos\theta\,d\theta and θ\theta runs from 00 to π/2\pi/2:

∫01x4(1−x2)3/2 dx=∫0π/2sin⁡4θcos⁡4θ dθ=(3⋅1)(3⋅1)8⋅6⋅4⋅2⋅π2=3π256\int_0^1 x^4 (1 - x^2)^{3/2}\,dx = \int_0^{\pi/2} \sin^4\theta \cos^4\theta\,d\theta = \frac{(3 \cdot 1)(3 \cdot 1)}{8 \cdot 6 \cdot 4 \cdot 2} \cdot \frac{\pi}{2} = \frac{3\pi}{256}

(3) Complete the square: 2ax−x2=a2−(x−a)22ax - x^2 = a^2 - (x - a)^2. Substitute x=2asin⁡2θx = 2a\sin^2\theta, so dx=4asin⁡θcos⁡θ dθdx = 4a\sin\theta\cos\theta\,d\theta, 2ax−x2=2asin⁡θcos⁡θ\sqrt{2ax - x^2} = 2a\sin\theta\cos\theta, and θ∈[0,π/2]\theta \in [0, \pi/2]:

∫02ax32ax−x2 dx=64a5∫0π/2sin⁡8θcos⁡2θ dθ=64a5⋅(7⋅5⋅3⋅1)(1)10⋅8⋅6⋅4⋅2⋅π2=7πa58\int_0^{2a} x^3 \sqrt{2ax - x^2}\,dx = 64a^5 \int_0^{\pi/2} \sin^8\theta \cos^2\theta\,d\theta = 64a^5 \cdot \frac{(7 \cdot 5 \cdot 3 \cdot 1)(1)}{10 \cdot 8 \cdot 6 \cdot 4 \cdot 2} \cdot \frac{\pi}{2} = \frac{7\pi a^5}{8}

Example 6: Combining Queen's Rule and Even/Odd Symmetry with Walli's Theorem

Evaluate ∫−π/2πsin⁡4xcos⁡5x dx\int_{-\pi/2}^{\pi} \sin^4 x \cos^5 x\,dx.

Solution: Split the interval at 00 and π/2\pi/2, or use periodicity/symmetry carefully:

∫−π/2πsin⁡4xcos⁡5x dx=∫−π/2π/2sin⁡4xcos⁡5x dx+∫π/2πsin⁡4xcos⁡5x dx\int_{-\pi/2}^{\pi} \sin^4 x \cos^5 x\,dx = \int_{-\pi/2}^{\pi/2} \sin^4 x \cos^5 x\,dx + \int_{\pi/2}^{\pi} \sin^4 x \cos^5 x\,dx

On [−π/2,π/2][-\pi/2, \pi/2], sin⁡4xcos⁡5x\sin^4 x \cos^5 x is an even function, so the first integral equals 2∫0π/2sin⁡4xcos⁡5x dx2\int_0^{\pi/2} \sin^4 x \cos^5 x\,dx.

On [π/2,π][\pi/2, \pi], shift by −π/2-\pi/2 (replace xx with x+π/2x + \pi/2): sin⁡(x+π/2)=cos⁡x\sin(x + \pi/2) = \cos x and cos⁡(x+π/2)=−sin⁡x\cos(x + \pi/2) = -\sin x, so:

∫π/2πsin⁡4xcos⁡5x dx=−∫0π/2cos⁡4xsin⁡5x dx=−∫0π/2sin⁡4xcos⁡5x dx\int_{\pi/2}^{\pi} \sin^4 x \cos^5 x\,dx = -\int_0^{\pi/2} \cos^4 x \sin^5 x\,dx = -\int_0^{\pi/2} \sin^4 x \cos^5 x\,dx

Adding the two pieces leaves just one copy:

∫−π/2πsin⁡4xcos⁡5x dx=∫0π/2sin⁡4xcos⁡5x dx=(3⋅1)(4⋅2)9⋅7⋅5⋅3⋅1⋅1=8315\int_{-\pi/2}^{\pi} \sin^4 x \cos^5 x\,dx = \int_0^{\pi/2} \sin^4 x \cos^5 x\,dx = \frac{(3 \cdot 1)(4 \cdot 2)}{9 \cdot 7 \cdot 5 \cdot 3 \cdot 1} \cdot 1 = \frac{8}{315}

Example 7: A Hidden Combinatorial Identity from Walli's Theorem

Prove that for every positive integer nn:

∫0π/2sin⁡2nx dx=122n(2nn)π2\int_0^{\pi/2} \sin^{2n} x\,dx = \frac{1}{2^{2n}} \binom{2n}{n} \frac{\pi}{2}

and deduce that ∫0π/2sin⁡nxcos⁡nx dx=2−n∫0π/2sin⁡nx dx\int_0^{\pi/2} \sin^n x \cos^n x\,dx = 2^{-n} \int_0^{\pi/2} \sin^n x\,dx.

Solution: From Walli's Formula for 2n2n (even):

∫0π/2sin⁡2nx dx=(2n−1)(2n−3)⋯12n(2n−2)⋯2⋅π2\int_0^{\pi/2} \sin^{2n} x\,dx = \frac{(2n - 1)(2n - 3)\cdots 1}{2n(2n - 2)\cdots 2} \cdot \frac{\pi}{2}

Multiply both numerator and denominator by 2n(2n−2)⋯2=2nn!2n(2n - 2)\cdots 2 = 2^n n!:

=(2n)!(2nn!)2⋅π2=122n(2nn)π2= \frac{(2n)!}{(2^n n!)^2} \cdot \frac{\pi}{2} = \frac{1}{2^{2n}} \binom{2n}{n} \frac{\pi}{2}

For the second identity, write sin⁡xcos⁡x=sin⁡(2x)2\sin x \cos x = \frac{\sin(2x)}{2}:

∫0π/2sin⁡nxcos⁡nx dx=12n∫0π/2sin⁡n(2x) dx\int_0^{\pi/2} \sin^n x \cos^n x\,dx = \frac{1}{2^n} \int_0^{\pi/2} \sin^n(2x)\,dx

By the scaling property (2x=t2x = t, multiplying limits by 22 and dividing by 22):

=12n+1∫0πsin⁡nt dt= \frac{1}{2^{n+1}} \int_0^{\pi} \sin^n t\,dt

Since sin⁡(π−t)=sin⁡t\sin(\pi - t) = \sin t, Queen's Rule on [0,π][0, \pi] gives ∫0πsin⁡nt dt=2∫0π/2sin⁡nt dt\int_0^\pi \sin^n t\,dt = 2\int_0^{\pi/2} \sin^n t\,dt, leaving:

∫0π/2sin⁡nxcos⁡nx dx=2−n∫0π/2sin⁡nx dx\int_0^{\pi/2} \sin^n x \cos^n x\,dx = 2^{-n} \int_0^{\pi/2} \sin^n x\,dx

Telescoping Trigonometric Quotients§

A rich class of definite integral reductions involves quotients with sin⁡x\sin x or sin⁡2x\sin^2 x in the denominator. Here, integration by parts does not help at all. Instead, we compute the difference In−In−1I_n - I_{n-1} so that a sum-to-product identity cancels the denominator!

Family 1: Even Multiples in the Numerator§

For integers n≥1n \ge 1, define:

In=∫0π/2sin⁡(2nx)sin⁡x dxI_n = \int_0^{\pi/2} \frac{\sin(2nx)}{\sin x}\,dx

Subtract In−1I_{n-1} from InI_n (taking I0=0I_0 = 0):

In−In−1=∫0π/2sin⁡(2nx)−sin⁡(2(n−1)x)sin⁡x dxI_n - I_{n-1} = \int_0^{\pi/2} \frac{\sin(2nx) - \sin\big(2(n - 1)x\big)}{\sin x}\,dx

Using sin⁡A−sin⁡B=2cos⁡(A+B2)sin⁡(A−B2)\sin A - \sin B = 2\cos\left(\frac{A + B}{2}\right)\sin\left(\frac{A - B}{2}\right):

sin⁡(2nx)−sin⁡((2n−2)x)=2cos⁡((2n−1)x)sin⁡x\sin(2nx) - \sin\big((2n - 2)x\big) = 2\cos\big((2n - 1)x\big)\sin x

The sin⁡x\sin x denominator cancels cleanly:

In−In−1=∫0π/22cos⁡((2n−1)x) dx=[2sin⁡((2n−1)x)2n−1]0π/2=2(−1)n−12n−1I_n - I_{n-1} = \int_0^{\pi/2} 2\cos\big((2n - 1)x\big)\,dx = \left[ \frac{2\sin\big((2n - 1)x\big)}{2n - 1} \right]_0^{\pi/2} = \frac{2(-1)^{n-1}}{2n - 1}

Summing from k=1k = 1 to nn:

In=2(1−13+15−17+⋯+(−1)n−12n−1)I_n = 2\left(1 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \cdots + \frac{(-1)^{n-1}}{2n - 1}\right)

Family 2: Odd Multiples in the Numerator (An Exact Invariant)§

Now replace 2nx2nx with the odd multiple (2n−1)x(2n - 1)x for integers n≥1n \ge 1:

Jn=∫0π/2sin⁡((2n−1)x)sin⁡x dxJ_n = \int_0^{\pi/2} \frac{\sin\big((2n - 1)x\big)}{\sin x}\,dx

Compute Jn+1−JnJ_{n+1} - J_n:

Jn+1−Jn=∫0π/2sin⁡((2n+1)x)−sin⁡((2n−1)x)sin⁡x dx=∫0π/22cos⁡(2nx) dxJ_{n+1} - J_n = \int_0^{\pi/2} \frac{\sin\big((2n + 1)x\big) - \sin\big((2n - 1)x\big)}{\sin x}\,dx = \int_0^{\pi/2} 2\cos(2nx)\,dx

Integrating directly:

Jn+1−Jn=[sin⁡(2nx)n]0π/2=sin⁡(nπ)−0n=0J_{n+1} - J_n = \left[ \frac{\sin(2nx)}{n} \right]_0^{\pi/2} = \frac{\sin(n\pi) - 0}{n} = 0

Since Jn+1=JnJ_{n+1} = J_n for every n≥1n \ge 1, the integral is completely independent of nn:

Jn=J1=∫0π/21 dx=π2for all n≥1J_n = J_1 = \int_0^{\pi/2} 1\,dx = \frac{\pi}{2} \qquad \text{for all } n \ge 1

Family 3: Squared Sine Quotients§

Next, for integers n≥0n \ge 0, define:

Kn=∫0π/2sin⁡2(nx)sin⁡2x dxK_n = \int_0^{\pi/2} \frac{\sin^2(nx)}{\sin^2 x}\,dx

Subtract Kn−1K_{n-1} from KnK_n for n≥1n \ge 1:

Kn−Kn−1=∫0π/2sin⁡2(nx)−sin⁡2((n−1)x)sin⁡2x dxK_n - K_{n-1} = \int_0^{\pi/2} \frac{\sin^2(nx) - \sin^2\big((n - 1)x\big)}{\sin^2 x}\,dx

Using sin⁡2A−sin⁡2B=sin⁡(A+B)sin⁡(A−B)\sin^2 A - \sin^2 B = \sin(A + B)\sin(A - B):

Kn−Kn−1=∫0π/2sin⁡((2n−1)x)sin⁡xsin⁡2x dx=∫0π/2sin⁡((2n−1)x)sin⁡x dx=JnK_n - K_{n-1} = \int_0^{\pi/2} \frac{\sin\big((2n - 1)x\big)\sin x}{\sin^2 x}\,dx = \int_0^{\pi/2} \frac{\sin\big((2n - 1)x\big)}{\sin x}\,dx = J_n

By Family 2, Jn=π2J_n = \frac{\pi}{2} for every n≥1n \ge 1! Therefore Kn−Kn−1=π2K_n - K_{n-1} = \frac{\pi}{2}, which telescopes from K0=0K_0 = 0 to give:

Kn=∫0π/2sin⁡2(nx)sin⁡2x dx=nπ2(n≥0)K_n = \int_0^{\pi/2} \frac{\sin^2(nx)}{\sin^2 x}\,dx = \frac{n\pi}{2} \qquad (n \ge 0)

Applying the scaling and half-angle identities unlocks two more classic families on [0,π][0, \pi]:

  1. Cosine Difference Quotient: Let Ln=∫0π1−cos⁡(nx)1−cos⁡x dxL_n = \int_0^\pi \frac{1 - \cos(nx)}{1 - \cos x}\,dx. Using 1−cos⁡θ=2sin⁡2(θ/2)1 - \cos\theta = 2\sin^2(\theta/2) and scaling x=2tx = 2t:
Ln=∫0πsin⁡2(nx/2)sin⁡2(x/2) dx=2∫0π/2sin⁡2(nt)sin⁡2t dt=2Kn=nπL_n = \int_0^\pi \frac{\sin^2(nx/2)}{\sin^2(x/2)}\,dx = 2 \int_0^{\pi/2} \frac{\sin^2(nt)}{\sin^2 t}\,dt = 2 K_n = n\pi
  1. Full Half-Period Sine Quotient: Let Mn=∫0πsin⁡(nx)sin⁡x dxM_n = \int_0^\pi \frac{\sin(nx)}{\sin x}\,dx. Subtracting Mn−Mn−2=∫0π2cos⁡((n−1)x) dx=0M_n - M_{n-2} = \int_0^\pi 2\cos\big((n - 1)x\big)\,dx = 0 (n≥2n \ge 2) reduces everything to M0=0M_0 = 0 and M1=πM_1 = \pi:
∫0πsin⁡(nx)sin⁡x dx={π,if n is odd0,if n is even\int_0^\pi \frac{\sin(nx)}{\sin x}\,dx = \begin{cases} \pi, & \text{if } n \text{ is odd} \\ 0, & \text{if } n \text{ is even} \end{cases}

Advanced Examples in Quotient Reduction§

Example 8: Using a Second-Order Trigonometric Difference

For a fixed parameter α∈(0,π)\alpha \in (0, \pi) and integers n≥0n \ge 0, evaluate:

Pn=∫0πcos⁡(nx)−cos⁡(nα)cos⁡x−cos⁡α dxP_n = \int_0^\pi \frac{\cos(nx) - \cos(n\alpha)}{\cos x - \cos\alpha}\,dx

Solution: First check the base cases: P0=0P_0 = 0 and P1=∫0π1 dx=πP_1 = \int_0^\pi 1\,dx = \pi.

Now form the three-term combination Pn+1+Pn−1−2cos⁡α PnP_{n+1} + P_{n-1} - 2\cos\alpha\, P_n for n≥1n \ge 1:

Pn+1+Pn−1−2cos⁡α Pn=∫0π[cos⁡((n+1)x)+cos⁡((n−1)x)−2cos⁡αcos⁡(nx)]−[cos⁡((n+1)α)+cos⁡((n−1)α)−2cos⁡αcos⁡(nα)]cos⁡x−cos⁡α dxP_{n+1} + P_{n-1} - 2\cos\alpha\, P_n = \int_0^\pi \frac{\big[\cos((n+1)x) + \cos((n-1)x) - 2\cos\alpha\cos(nx)\big] - \big[\cos((n+1)\alpha) + \cos((n-1)\alpha) - 2\cos\alpha\cos(n\alpha)\big]}{\cos x - \cos\alpha}\,dx

Recall the identity cos⁡((n+1)θ)+cos⁡((n−1)θ)=2cos⁡(nθ)cos⁡θ\cos\big((n+1)\theta\big) + \cos\big((n-1)\theta\big) = 2\cos(n\theta)\cos\theta. Thus the second bracket vanishes identically, and the first bracket equals 2cos⁡(nx)(cos⁡x−cos⁡α)2\cos(nx)(\cos x - \cos\alpha). Cancelling cos⁡x−cos⁡α\cos x - \cos\alpha gives:

Pn+1+Pn−1−2cos⁡α Pn=∫0π2cos⁡(nx) dx=[2sin⁡(nx)n]0π=0P_{n+1} + P_{n-1} - 2\cos\alpha\, P_n = \int_0^\pi 2\cos(nx)\,dx = \left[ \frac{2\sin(nx)}{n} \right]_0^\pi = 0

Hence Pn+1=2cos⁡α Pn−Pn−1P_{n+1} = 2\cos\alpha\, P_n - P_{n-1}. Computing the first few terms:

  • P0=0P_0 = 0
  • P1=π=πsin⁡αsin⁡αP_1 = \pi = \pi \frac{\sin\alpha}{\sin\alpha}
  • P2=2πcos⁡α=πsin⁡(2α)sin⁡αP_2 = 2\pi\cos\alpha = \pi \frac{\sin(2\alpha)}{\sin\alpha}

Assuming Pk=πsin⁡(kα)sin⁡αP_k = \pi \frac{\sin(k\alpha)}{\sin\alpha} for k≤nk \le n, induction gives:

Pn+1=π2sin⁡(nα)cos⁡α−sin⁡((n−1)α)sin⁡α=πsin⁡((n+1)α)sin⁡αP_{n+1} = \pi \frac{2\sin(n\alpha)\cos\alpha - \sin\big((n-1)\alpha\big)}{\sin\alpha} = \pi \frac{\sin\big((n+1)\alpha\big)}{\sin\alpha}

Therefore, for every integer n≥0n \ge 0:

Pn=πsin⁡(nα)sin⁡αP_n = \pi \frac{\sin(n\alpha)}{\sin\alpha}

Example 9: Alternating Series with Cosine-Weighted Quotients

Evaluate Sn=∫0π/2sin⁡(2nx)cos⁡xsin⁡x dxS_n = \int_0^{\pi/2} \frac{\sin(2nx)\cos x}{\sin x}\,dx for n≥1n \ge 1.

Solution: Write sin⁡(2nx)cos⁡x=12[sin⁡((2n+1)x)+sin⁡((2n−1)x)]\sin(2nx)\cos x = \frac{1}{2}\big[\sin\big((2n+1)x\big) + \sin\big((2n-1)x\big)\big]:

Sn=12∫0π/2sin⁡((2n+1)x)sin⁡x dx+12∫0π/2sin⁡((2n−1)x)sin⁡x dx=12Jn+1+12JnS_n = \frac{1}{2} \int_0^{\pi/2} \frac{\sin\big((2n + 1)x\big)}{\sin x}\,dx + \frac{1}{2} \int_0^{\pi/2} \frac{\sin\big((2n - 1)x\big)}{\sin x}\,dx = \frac{1}{2} J_{n+1} + \frac{1}{2} J_n

By Family 2, Jn+1=Jn=π2J_{n+1} = J_n = \frac{\pi}{2} for all n≥1n \ge 1, so:

Sn=12(π2)+12(π2)=π2S_n = \frac{1}{2}\left(\frac{\pi}{2}\right) + \frac{1}{2}\left(\frac{\pi}{2}\right) = \frac{\pi}{2}

Definite Algebraic, Exponential, and Logarithmic Reductions§

Outside trigonometry, definite limits like [0,1][0, 1] and [0,∞)[0, \infty) make integration-by-parts recurrences collapse into some of the most illuminating formulas in mathematics.

1. Logarithmic Powers and Factorials§

For m≥0m \ge 0 and integers n≥0n \ge 0, define:

In=∫01xm(ln⁡x)n dxI_n = \int_0^1 x^m (\ln x)^n\,dx

For n≥1n \ge 1, integrate by parts with u=(ln⁡x)nu = (\ln x)^n and dv=xm dxdv = x^m\,dx:

In=[xm+1m+1(ln⁡x)n]01−nm+1∫01xm(ln⁡x)n−1 dxI_n = \left[ \frac{x^{m+1}}{m + 1} (\ln x)^n \right]_0^1 - \frac{n}{m + 1} \int_0^1 x^m (\ln x)^{n-1}\,dx

Because lim⁡x→0+xm+1(ln⁡x)n=0\lim_{x \to 0^+} x^{m+1}(\ln x)^n = 0 and ln⁡1=0\ln 1 = 0, the boundary term vanishes completely:

In=−nm+1In−1I_n = -\frac{n}{m + 1} I_{n-1}

Stepping down to I0=∫01xm dx=1m+1I_0 = \int_0^1 x^m\,dx = \frac{1}{m + 1} yields:

∫01xm(ln⁡x)n dx=(−1)nn!(m+1)n+1\int_0^1 x^m (\ln x)^n\,dx = \frac{(-1)^n n!}{(m + 1)^{n+1}}

In particular, setting m=0m = 0 gives the integral representation of the factorial:

∫01(−ln⁡x)n dx=n!\int_0^1 (-\ln x)^n\,dx = n!

2. Polynomial-Exponential Reduction on the Unit Interval§

Define:

In=∫01xnex dx(n≥0)I_n = \int_0^1 x^n e^x\,dx \qquad (n \ge 0)

Integrating by parts with u=xnu = x^n and dv=ex dxdv = e^x\,dx:

In=[xnex]01−n∫01xn−1ex dx=e−nIn−1(n≥1)I_n = \Big[ x^n e^x \Big]_0^1 - n \int_0^1 x^{n-1} e^x\,dx = e - n I_{n-1} \qquad (n \ge 1)

With I0=e−1I_0 = e - 1, this generates I1=1I_1 = 1, I2=e−2I_2 = e - 2, I3=6−2eI_3 = 6 - 2e, I4=9e−24I_4 = 9e - 24, and so on.


3. Infinite-Interval Rational Reduction and Walli's Connection§

For integers n≥1n \ge 1 and a>0a > 0, define the improper definite integral:

In=∫0∞dx(x2+a2)nI_n = \int_0^\infty \frac{dx}{(x^2 + a^2)^n}

For n≥2n \ge 2, split 1=(x2+a2)−x2a21 = \frac{(x^2 + a^2) - x^2}{a^2} inside In−1I_{n-1}:

In−1=∫0∞x2+a2(x2+a2)n dx=∫0∞x2(x2+a2)n dx+a2InI_{n-1} = \int_0^\infty \frac{x^2 + a^2}{(x^2 + a^2)^n}\,dx = \int_0^\infty \frac{x^2}{(x^2 + a^2)^n}\,dx + a^2 I_n

Evaluate the first term by parts with u=xu = x and dv=x dx(x2+a2)ndv = \frac{x\,dx}{(x^2 + a^2)^n} (so v=−12(n−1)(x2+a2)n−1v = -\frac{1}{2(n - 1)(x^2 + a^2)^{n-1}}):

∫0∞x2(x2+a2)n dx=[−x2(n−1)(x2+a2)n−1]0∞+12(n−1)In−1=12(n−1)In−1\int_0^\infty \frac{x^2}{(x^2 + a^2)^n}\,dx = \left[ -\frac{x}{2(n - 1)(x^2 + a^2)^{n-1}} \right]_0^\infty + \frac{1}{2(n - 1)} I_{n-1} = \frac{1}{2(n - 1)} I_{n-1}

The boundary term vanishes at both 00 and ∞\infty (since 2(n−1)≥2>12(n - 1) \ge 2 > 1). Solving for InI_n gives:

In=2n−32(n−1)a2In−1(n≥2)I_n = \frac{2n - 3}{2(n - 1)a^2} I_{n-1} \qquad (n \ge 2)

Starting from I1=∫0∞dxx2+a2=π2aI_1 = \int_0^\infty \frac{dx}{x^2 + a^2} = \frac{\pi}{2a}, we get:

∫0∞dx(x2+a2)n=(2n−3)(2n−5)⋯1(2n−2)(2n−4)⋯2⋅π2a2n−1\int_0^\infty \frac{dx}{(x^2 + a^2)^n} = \frac{(2n - 3)(2n - 5)\cdots 1}{(2n - 2)(2n - 4)\cdots 2} \cdot \frac{\pi}{2 a^{2n - 1}}

(Why does this match Walli's Formula? Substituting x=atan⁡θx = a\tan\theta transforms ∫0∞dx(x2+a2)n\int_0^\infty \frac{dx}{(x^2+a^2)^n} directly into 1a2n−1∫0π/2cos⁡2n−2θ dθ\frac{1}{a^{2n-1}}\int_0^{\pi/2}\cos^{2n-2}\theta\,d\theta!)


4. Two-Parameter Beta Reduction and Shifted Intervals§

For integers m,n≥0m, n \ge 0, define:

B(m,n)=∫01xm(1−x)n dxB(m, n) = \int_0^1 x^m (1 - x)^n\,dx

For n≥1n \ge 1, integrate by parts with u=(1−x)nu = (1 - x)^n and dv=xm dxdv = x^m\,dx:

B(m,n)=[xm+1m+1(1−x)n]01+nm+1∫01xm+1(1−x)n−1 dx=nm+1B(m+1,n−1)B(m, n) = \left[ \frac{x^{m+1}}{m + 1} (1 - x)^n \right]_0^1 + \frac{n}{m + 1} \int_0^1 x^{m+1} (1 - x)^{n-1}\,dx = \frac{n}{m + 1} B(m + 1, n - 1)

Repeating this nn times down to B(m+n,0)=∫01xm+n dx=1m+n+1B(m + n, 0) = \int_0^1 x^{m+n}\,dx = \frac{1}{m + n + 1} yields:

∫01xm(1−x)n dx=m! n!(m+n+1)!\int_0^1 x^m (1 - x)^n\,dx = \frac{m!\, n!}{(m + n + 1)!}

By shifting and scaling (x=a+(b−a)tx = a + (b - a)t), for any real numbers a<ba < b:

∫ab(x−a)m(b−x)n dx=(b−a)m+n+1m! n!(m+n+1)!\int_a^b (x - a)^m (b - x)^n\,dx = (b - a)^{m + n + 1} \frac{m!\, n!}{(m + n + 1)!}

Advanced Mixed Examples§

Example 10: Rational Recurrence, Sandwich Bounds, and the Alternating Harmonic Series

Let In=∫01xn1+x dxI_n = \int_0^1 \frac{x^n}{1 + x}\,dx for integers n≥0n \ge 0.

  1. Find a reduction relation between InI_n and In−1I_{n-1}.
  2. Prove that lim⁡n→∞nIn=12\lim_{n \to \infty} n I_n = \frac{1}{2}.
  3. Deduce the alternating harmonic series ∑k=1∞(−1)k−1k=ln⁡2\sum_{k=1}^\infty \frac{(-1)^{k-1}}{k} = \ln 2.

Solution:

(1) Add InI_n and In−1I_{n-1}:

In+In−1=∫01xn−1(x+1)1+x dx=∫01xn−1 dx=1n(n≥1)I_n + I_{n-1} = \int_0^1 \frac{x^{n-1}(x + 1)}{1 + x}\,dx = \int_0^1 x^{n-1}\,dx = \frac{1}{n} \qquad (n \ge 1)

(2) On (0,1)(0, 1), we have xn+1<xn<xn−1x^{n+1} < x^n < x^{n-1}, so In+1<In<In−1I_{n+1} < I_n < I_{n-1}. Therefore:

2In<In+In−1=1nand1n+1=In+1+In<2In2 I_n < I_n + I_{n-1} = \frac{1}{n} \qquad \text{and} \qquad \frac{1}{n + 1} = I_{n+1} + I_n < 2 I_n

Thus:

n2(n+1)<nIn<12\frac{n}{2(n + 1)} < n I_n < \frac{1}{2}

By the Sandwich Theorem, lim⁡n→∞nIn=12\lim_{n \to \infty} n I_n = \frac{1}{2}.

(3) Notice that I0=∫0111+x dx=ln⁡2I_0 = \int_0^1 \frac{1}{1 + x}\,dx = \ln 2. Unrolling Ik−1+Ik=1kI_{k-1} + I_k = \frac{1}{k} with alternating signs:

∑k=1n(−1)k−1k=∑k=1n(−1)k−1(Ik−1+Ik)=I0+(−1)n−1In=ln⁡2+(−1)n−1In\sum_{k=1}^n \frac{(-1)^{k-1}}{k} = \sum_{k=1}^n (-1)^{k-1} (I_{k-1} + I_k) = I_0 + (-1)^{n-1} I_n = \ln 2 + (-1)^{n-1} I_n

Since 0<In<12n→00 < I_n < \frac{1}{2n} \to 0 as n→∞n \to \infty, taking the limit gives ∑k=1∞(−1)k−1k=ln⁡2\sum_{k=1}^\infty \frac{(-1)^{k-1}}{k} = \ln 2.


Example 11: Binomial Powers and a Combinatorial Sum

For integers n≥0n \ge 0 and p≥1p \ge 1, evaluate In=∫01(1−xp)n dxI_n = \int_0^1 (1 - x^p)^n\,dx. Then deduce the value of ∑k=0n(−1)k2k+1(nk)\sum_{k=0}^n \frac{(-1)^k}{2k + 1} \binom{n}{k}.

Solution: For n≥1n \ge 1, integrate by parts with u=(1−xp)nu = (1 - x^p)^n and dv=dxdv = dx (so v=xv = x):

In=[x(1−xp)n]01+np∫01xp(1−xp)n−1 dxI_n = \Big[ x(1 - x^p)^n \Big]_0^1 + np \int_0^1 x^p (1 - x^p)^{n-1}\,dx

Write xp=1−(1−xp)x^p = 1 - (1 - x^p) inside the integral:

In=np∫01(1−xp)n−1 dx−np∫01(1−xp)n dx=np In−1−np InI_n = np \int_0^1 (1 - x^p)^{n-1}\,dx - np \int_0^1 (1 - x^p)^n\,dx = np\, I_{n-1} - np\, I_n

Solving for InI_n gives In=npnp+1In−1I_n = \frac{np}{np + 1} I_{n-1}. With I0=1I_0 = 1, this unrolls to:

In=n! pn(p+1)(2p+1)⋯(np+1)I_n = \frac{n!\, p^n}{(p + 1)(2p + 1)\cdots(np + 1)}

Setting p=2p = 2:

∫01(1−x2)n dx=2n n!3⋅5⋅7⋯(2n+1)=22n(n!)2(2n+1)!\int_0^1 (1 - x^2)^n\,dx = \frac{2^n\, n!}{3 \cdot 5 \cdot 7 \cdots (2n + 1)} = \frac{2^{2n} (n!)^2}{(2n + 1)!}

On the other hand, expanding (1−x2)n=∑k=0n(−1)k(nk)x2k(1 - x^2)^n = \sum_{k=0}^n (-1)^k \binom{n}{k} x^{2k} and integrating term by term on [0,1][0, 1] gives:

∑k=0n(−1)k2k+1(nk)=22n(n!)2(2n+1)!\sum_{k=0}^n \frac{(-1)^k}{2k + 1} \binom{n}{k} = \frac{2^{2n} (n!)^2}{(2n + 1)!}

Example 12: Shifted Beta Integral Without Expansion

Evaluate ∫14(x−1)3(4−x)4 dx\int_1^4 (x - 1)^3 (4 - x)^4\,dx.

Solution: Using the shifted Beta reduction formula ∫ab(x−a)m(b−x)n dx=(b−a)m+n+1m! n!(m+n+1)!\int_a^b (x - a)^m (b - x)^n\,dx = (b - a)^{m + n + 1} \frac{m!\, n!}{(m + n + 1)!} with a=1a = 1, b=4b = 4, m=3m = 3, and n=4n = 4:

∫14(x−1)3(4−x)4 dx=(4−1)3+4+13! 4!8!=38⋅6⋅2440320=6561280\int_1^4 (x - 1)^3 (4 - x)^4\,dx = (4 - 1)^{3 + 4 + 1} \frac{3!\, 4!}{8!} = 3^8 \cdot \frac{6 \cdot 24}{40320} = \frac{6561}{280}

Summary of Definite Integral Reduction Formulas§

Definite Integral Reduction Formula Closed Form / Base Case
In=∫0π/4tan⁡nx dxI_n = \int_0^{\pi/4} \tan^n x\,dx In+In−2=1n−1I_n + I_{n-2} = \frac{1}{n - 1} I0=π4,  I1=12ln⁡2I_0 = \frac{\pi}{4},\; I_1 = \frac{1}{2}\ln 2
In=∫0π/4sec⁡nx dxI_n = \int_0^{\pi/4} \sec^n x\,dx (n−1)In=(2)n−2+(n−2)In−2(n - 1)I_n = (\sqrt{2})^{n-2} + (n - 2)I_{n-2} I1=ln⁡(2+1),  I2=1I_1 = \ln(\sqrt{2} + 1),\; I_2 = 1
Wn=∫0π/2sin⁡nx dxW_n = \int_0^{\pi/2} \sin^n x\,dx Wn=n−1nWn−2W_n = \frac{n - 1}{n} W_{n-2} Walli's Formula (W0=π2,  W1=1W_0 = \frac{\pi}{2},\; W_1 = 1)
Im,n=∫0π/2sin⁡mxcos⁡nx dxI_{m,n} = \int_0^{\pi/2} \sin^m x \cos^n x\,dx Im,n=m−1m+nIm−2,nI_{m,n} = \frac{m - 1}{m + n} I_{m-2, n} Walli's Product Formula
In=∫0π/2sin⁡(2nx)sin⁡x dxI_n = \int_0^{\pi/2} \frac{\sin(2nx)}{\sin x}\,dx In−In−1=2(−1)n−12n−1I_n - I_{n-1} = \frac{2(-1)^{n-1}}{2n - 1} In=2∑k=1n(−1)k−12k−1I_n = 2\sum_{k=1}^n \frac{(-1)^{k-1}}{2k - 1}
Jn=∫0π/2sin⁡((2n−1)x)sin⁡x dxJ_n = \int_0^{\pi/2} \frac{\sin((2n-1)x)}{\sin x}\,dx Jn+1−Jn=0J_{n+1} - J_n = 0 Jn=π2J_n = \frac{\pi}{2} for all n≥1n \ge 1
Kn=∫0π/2sin⁡2(nx)sin⁡2x dxK_n = \int_0^{\pi/2} \frac{\sin^2(nx)}{\sin^2 x}\,dx Kn−Kn−1=π2K_n - K_{n-1} = \frac{\pi}{2} Kn=nπ2K_n = \frac{n\pi}{2}
In=∫01xm(ln⁡x)n dxI_n = \int_0^1 x^m (\ln x)^n\,dx In=−nm+1In−1I_n = -\frac{n}{m + 1} I_{n-1} In=(−1)nn!(m+1)n+1I_n = \frac{(-1)^n n!}{(m + 1)^{n+1}}
In=∫0∞dx(x2+a2)nI_n = \int_0^\infty \frac{dx}{(x^2 + a^2)^n} In=2n−32(n−1)a2In−1I_n = \frac{2n - 3}{2(n - 1)a^2} I_{n-1} I1=π2aI_1 = \frac{\pi}{2a}
B(m,n)=∫01xm(1−x)n dxB(m, n) = \int_0^1 x^m (1 - x)^n\,dx B(m,n)=nm+1B(m+1,n−1)B(m, n) = \frac{n}{m + 1} B(m + 1, n - 1) m! n!(m+n+1)!\frac{m!\, n!}{(m + n + 1)!}
In=∫01(1−xp)n dxI_n = \int_0^1 (1 - x^p)^n\,dx In=npnp+1In−1I_n = \frac{np}{np + 1} I_{n-1} n! pn(p+1)(2p+1)⋯(np+1)\frac{n!\, p^n}{(p + 1)(2p + 1)\cdots(np + 1)}
Section 11 of 15 · Definite Integration

Mark this section complete when you have worked through its proofs.