Reduction Formulae for Integrals: Sine and Cosine Powers, Wallis’s Rule, tan, sec, xⁿeᵃˣ and 1/(x² + a²)ⁿ
2. Definite Integrals over [0, π/2]: Wallis’s Rule
Over [0, π/2] the boundary term −sinⁿ⁻¹x cos x/n vanishes at both ends (sin 0 = 0 and cos π/2 = 0) for n ≥ 2, so Iₙ = ((n − 1)/n) Iₙ₋₂, with I₀ = π/2 and I₁ = 1. The same holds for cosⁿx, which has the same integral by the substitution x → π/2 − x. Unwinding gives Wallis’s rule: Iₙ = [(n − 1)(n − 3)…]/[n(n − 2)…] × (π/2 if n is even, 1 if n is odd). Worked. ∫₀^(π/2) sin⁶x dx = (5/6)(3/4)(1/2)(π/2) = 5π/32; ∫₀^(π/2) sin⁵x dx = (4/5)(2/3) = 8/15; ∫₀^(π/2) sin⁸x dx = 35π/256.
For the product, ∫₀^(π/2) sinᵐx cosⁿx dx = [(m − 1)(m − 3)…][(n − 1)(n − 3)…]/[(m + n)(m + n − 2)…], multiplied by π/2 only when both m and n are even. Worked. For m = 4, n = 2 the numerator is (3 · 1)(1) = 3 and the denominator 6 · 4 · 2 = 48, with both even, so the value is (3/48)(π/2) = π/32. For m = 3, n = 4 one index is odd, so there is no π/2: (2)(3 · 1)/(7 · 5 · 3 · 1) = 6/105 = 2/35. Over [0, π] the results change by symmetry: ∫₀^π sinⁿx dx = 2∫₀^(π/2) sinⁿx dx for every n (so sin⁷ gives 32/35), whereas ∫₀^π cosⁿx dx is 0 for odd n and twice the half-range value for even n (cos⁴ gives 3π/8).
- Both evenMultiply by π/2: m = 4, n = 2 gives π/32
- Either oddNo π/2: m = 3, n = 4 gives 2/35
Over [0, π/2] the boundary term −sinⁿ⁻¹x cos x/n vanishes at both ends (sin 0 = 0 and cos π/2 = 0) for n ≥ 2, so Iₙ = ((n − 1)/n) Iₙ₋₂, with I₀ = π/2 and I₁ = 1. The same holds for cosⁿx…
3. Tangent and Secant Powers
For tangent, write tanⁿx = tanⁿ⁻²x(sec²x − 1) and integrate the first part by the substitution t = tan x, giving Iₙ = tanⁿ⁻¹x/(n − 1) − Iₙ₋₂. Worked. ∫tan⁴x dx = tan³x/3 − ∫tan²x dx = tan³x/3 − (tan x − x) = tan³x/3 − tan x + x + C. For secant, integrating secⁿ⁻²x · sec²x by parts gives Iₙ = secⁿ⁻²x tan x/(n − 1) + ((n − 2)/(n − 1)) Iₙ₋₂, whose base cases are ∫sec x dx = ln|sec x + tan x| and ∫sec²x dx = tan x. Worked. ∫sec³x dx = ½ sec x tan x + ½ ln|sec x + tan x| + C, a result worth remembering outright, since it appears in the area of a parabolic segment and the arc length of a parabola.
For tangent, write tanⁿx = tanⁿ⁻²x(sec²x − 1) and integrate the first part by the substitution t = tan x, giving Iₙ = tanⁿ⁻¹x/(n − 1) − Iₙ₋₂. Worked. ∫tan⁴x dx = tan³x/3 − ∫tan²x dx =…
4. xⁿeᵃˣ, (ln x)ⁿ and 1/(x² + a²)ⁿ
For Iₙ = ∫xⁿeᵃˣ dx, parts with xⁿ as the first function gives Iₙ = xⁿeᵃˣ/a − (n/a) Iₙ₋₁, and the base is I₀ = eᵃˣ/a. Worked. For a = 1, n = 3: I₃ = x³eˣ − 3I₂, I₂ = x²eˣ − 2I₁, I₁ = xeˣ − eˣ, so ∫x³eˣ dx = eˣ(x³ − 3x² + 6x − 6) + C. The definite version with a = −1 and limits 0 to ∞ gives ∫₀^∞ xⁿe⁻ˣ dx = n!, so the value for n = 4 is 24. Likewise ∫(ln x)ⁿ dx = x(ln x)ⁿ − n∫(ln x)ⁿ⁻¹dx, so ∫(ln x)² dx = x(ln x)² − 2x ln x + 2x + C.
For Iₙ = ∫dx/(x² + a²)ⁿ the formula is Iₙ = x/[2a²(n − 1)(x² + a²)ⁿ⁻¹] + [(2n − 3)/(2a²(n − 1))] Iₙ₋₁, with I₁ = (1/a) tan⁻¹(x/a). Worked. For a = 1, n = 2: ∫dx/(x² + 1)² = x/[2(x² + 1)] + ½ tan⁻¹x + C, and over [0, 1] the value is 1/4 + π/8 = 0.6427. This integral appears whenever a rational function has a repeated quadratic factor, and a trigonometric substitution x = a tan θ does the same job at greater length.
For Iₙ = ∫xⁿeᵃˣ dx, parts with xⁿ as the first function gives Iₙ = xⁿeᵃˣ/a − (n/a) Iₙ₋₁, and the base is I₀ = eᵃˣ/a. Worked. For a = 1, n = 3: I₃ = x³eˣ − 3I₂, I₂ = x²eˣ − 2I₁, I₁ = xeˣ −…
Wallis Values Computed
| Integral | Working | Value |
|---|---|---|
| ∫₀π/2 sin⁵x dx | (4 × 2)/(5 × 3 × 1), odd power so no π | 8/15 |
| ∫₀π/2 cos⁶x dx | (5 × 3 × 1)/(6 × 4 × 2) × π/2 | 5π/32 |
| ∫₀π/2 sin⁴x cos²x dx | (3 × 1 × 1)/(6 × 4 × 2) × π/2 | π/32 |
| ∫₀π sin⁴x dx | 2 × ∫₀π/2 sin⁴x dx = 2 × 3π/16 | 3π/8 |
Evaluating by Wallis's rule
Tangent Powers by Reduction, Worked
Worked example. For Iₙ = ∫₀π/4 tanⁿx dx the reduction is Iₙ + Iₙ₋₂ = 1/(n − 1), obtained by writing tanⁿx = tanⁿ⁻²x (sec²x − 1). With I₀ = π/4 this gives I₂ = 1 − π/4, and then I₄ = 1/3 − I₂ = π/4 − 2/3. The recurrence converts a trigonometric integral into simple arithmetic, which is the whole use of a reduction formula: you never integrate the high power directly, you step down by two.
Worked example. For Iₙ = ∫₀π/4 tanⁿx dx the reduction is Iₙ + Iₙ₋₂ = 1/(n − 1), obtained by writing tanⁿx = tanⁿ⁻²x (sec²x − 1). With I₀ = π/4 this gives I₂ = 1 − π/4, and then I₄ = 1/3 −…
Key takeaways
- A reduction formula comes from integrating by parts so that the integral reappears; the trigonometric ones step by 2 and the exponential and quadratic ones by 1.
- Over [0, π/2], ∫sinⁿ = ∫cosⁿ = ((n − 1)/n) times the n − 2 value, with I₀ = π/2 and I₁ = 1; the result for sin⁶ is 5π/32 and for sin⁵ is 8/15.
- For sinᵐ cosⁿ over [0, π/2] use Wallis’s product rule and multiply by π/2 only when both m and n are even.
- ∫tanⁿ = tanⁿ⁻¹/(n − 1) − ∫tanⁿ⁻²; ∫sec³x dx = ½ sec x tan x + ½ ln|sec x + tan x|.
- ∫xⁿeᵃˣ steps down by one with factor n/a, giving ∫₀^∞ xⁿe⁻ˣ dx = n!; the 1/(x² + a²)ⁿ formula lowers n by one.
- In Wallis's rule the factor π/2 appears only when both exponents are even; otherwise the value is rational.
- For tangent powers Iₙ + Iₙ₋₂ = 1/(n − 1) on [0, π/4]; start from I₀ = π/4 or I₁ = (ln 2)/2.
Practice questions (24)
Attempt each one before opening the answer. Every explanation names the tempting wrong option as well as the right one, because that is where marks are lost.
The value of ∫₀^(π/2) sin⁵x dx is:
Show answer
Answer: A — 8/15
By Wallis’s rule I₅ = (4/5)(2/3) = 8/15, with no π/2 since n is odd. The value 5π/32 belongs to sin⁶x, the even power.The value of ∫₀^(π/2) sin⁶x dx is:
Show answer
Answer: A — 5π/32
I₆ = (5/6)(3/4)(1/2)(π/2) = 5π/32, the factor π/2 being present because 6 is even. The 5/16 drops that factor.The reduction formula for Iₙ = ∫sinⁿx dx is:
Show answer
Answer: A — −sinⁿ⁻¹x cos x/n + ((n − 1)/n) Iₙ₋₂
Parts gives nIₙ = −sinⁿ⁻¹x cos x + (n − 1)Iₙ₋₂. The sign on the boundary term is negative for sine and positive for the cosine version, which is the usual slip.
Show the other 21 questions
∫₀^(π/2) sin⁴x cos²x dx equals:
Show answer
Answer: A — π/32
Both indices are even, so the value is (3 · 1)(1)/(6 · 4 · 2) × π/2 = (3/48)(π/2) = π/32. Leaving out the π/2 gives 1/16, not an option, and π/16 doubles the correct value.∫₀^(π/2) sin³x cos⁴x dx equals:
Show answer
Answer: A — 2/35
One index is odd, so no π/2: (2)(3 · 1)/(7 · 5 · 3 · 1) = 6/105 = 2/35. Direct substitution u = cos x confirms ∫(1 − u²)u⁴ du from 0 to 1 = 1/5 − 1/7 = 2/35.∫₀^π sin⁷x dx equals:
Show answer
Answer: A — 32/35
Over [0, π], sin⁷x is symmetric about π/2, so the value is twice 16/35 = 32/35, where 16/35 = (6/7)(4/5)(2/3) is the half-range value. Zero is the answer for cos⁷x, not sin⁷x.∫tan⁴x dx equals:
Show answer
Answer: A — tan³x/3 − tan x + x + C
I₄ = tan³x/3 − I₂ and I₂ = tan x − x, so I₄ = tan³x/3 − tan x + x + C. The signs alternate because each step subtracts Iₙ₋₂.∫x³eˣ dx equals:
Show answer
Answer: A — eˣ(x³ − 3x² + 6x − 6) + C
I₃ = x³eˣ − 3I₂, I₂ = x²eˣ − 2I₁, I₁ = xeˣ − eˣ, which collect to eˣ(x³ − 3x² + 6x − 6): the signs alternate and the coefficients are 1, 3, 6, 6, the falling factorials. The last option is the (x − 1)³ pattern, which is wrong.The value of ∫₀^∞ x⁴e⁻ˣ dx is:
Show answer
Answer: A — 24
Repeated reduction with a = −1 gives ∫₀^∞ xⁿe⁻ˣ dx = n × the n − 1 value, so the value is 4! = 24. The 120 is 5!, from taking n = 5.∫₀¹ dx/(1 + x²)² equals:
Show answer
Answer: A — 1/4 + π/8
The antiderivative is x/[2(x² + 1)] + ½ tan⁻¹x, which at x = 1 gives 1/4 + π/8 and at 0 gives 0. The π/4 is the value of ∫₀¹ dx/(1 + x²) with the power 1, not 2.The value of ∫₀π/2 sin⁵x dx is:
Show answer
Answer: A — 8/15
For an odd power the Wallis product is (4 × 2)/(5 × 3) = 8/15 with no π. The values with π belong to even powers, and 2/3 is the sin³x integral.The value of ∫₀π/2 sin⁴x cos²x dx is:
Show answer
Answer: A — π/32
Both exponents are even, so the value is (3 × 1 × 1)/(6 × 4 × 2) × π/2 = (3/48)(π/2) = π/32.The value of ∫₀π/4 tan²x dx is:
Show answer
Answer: A — 1 − π/4
tan²x = sec²x − 1, so the integral is [tan x − x] from 0 to π/4 = 1 − π/4. The value π/4 − 1 has the opposite sign and is negative, impossible for a positive integrand.The value of ∫₀^(π/2) sin²x dx is:
Show answer
Answer: A — π/4
By Wallis's rule (n even) the integral is (1/2)(π/2) = π/4. The answer π/2 is the integral of the constant 1 over the interval, ignoring that sin²x averages ½.The value of ∫₀^(π/2) cos³x dx is:
Show answer
Answer: A — 2/3
By Wallis's rule for odd n: (2/3)(1) = 2/3, the same as ∫sin³x over [0, π/2]. The π-containing options belong to even powers.The value of ∫₀^(π/2) sin x cos x dx is:
Show answer
Answer: A — 1/2
sin x cos x = ½ sin 2x, so the integral is ½[−cos 2x/2]₀^(π/2) = ½ × 1 = 1/2 (also [sin²x/2]₀^(π/2) = 1/2). The answer 1 forgets the ½ of the double-angle form.∫ tan x dx equals:
Show answer
Answer: A — −ln|cos x| + C
tan x = sin x/cos x, and with u = cos x the integral is −ln|cos x| + C = ln|sec x| + C. The sign slip ln|cos x| is the common error; sec²x is the derivative of tan x.The value of ∫₀^∞ x²e⁻ˣ dx is:
Show answer
Answer: A — 2
The reduction ∫₀^∞ xⁿe⁻ˣ dx = n! gives 2! = 2 (Γ(3) = 2). The value 1 is ∫₀^∞ e⁻ˣ dx or ∫₀^∞ xe⁻ˣ dx, and the integral converges because e⁻ˣ beats any power.The value of ∫₀^(π/2) sin⁴x dx is:
Show answer
Answer: A — 3π/16
Wallis (n = 4, even): (3/4)(1/2)(π/2) = 3π/16. 3π/8 is the value over [0, π] (twice as much), and 3/8 loses the π that every even power carries.The value of ∫₀^(π/2) sin⁷x dx is:
Show answer
Answer: A — 16/35
Wallis (n = 7, odd): (6/7)(4/5)(2/3) = 48/105 = 16/35. 32/35 is the value over [0, π] (twice as much), and 8/15 is the n = 5 value.The value of ∫₀^(π/2) sin²x cos²x dx is:
Show answer
Answer: A — π/16
sin²x cos²x = ¼ sin²2x, so the integral is ¼ × ∫₀^(π/2) sin²2x dx = ¼ × π/4 = π/16 (also Wallis: (1 × 1)/(4 × 2) × π/2 = π/16). π/8 forgets the ¼ factor of the double-angle form.The value of ∫₀^(π/4) tan³x dx is:
Show answer
Answer: A — (1 − ln 2)/2
Reduction: ∫tan³x dx = tan²x/2 − ∫tan x dx = tan²x/2 + ln|cos x|, so over [0, π/4] it is 1/2 + ln(1/√2) = 1/2 − (ln 2)/2 = (1 − ln 2)/2 ≈ 0.153. The answer 1/2 drops the logarithmic part, and (1 + ln 2)/2 has the wrong sign on it.The value of ∫₀¹ x²eˣ dx is:
Show answer
Answer: A — e − 2
The reduction gives ∫x²eˣ dx = eˣ(x² − 2x + 2) + C, so over [0, 1] it is e(1) − 2 = e − 2 ≈ 0.718. e/3 is the "power-rule" guess x³/3 times eˣ; the answer e would drop the lower-limit value 2.The value of ∫₀^(π/2) cos⁸x dx is:
Show answer
Answer: A — 35π/256
Wallis (n = 8, even): (7/8)(5/6)(3/4)(1/2)(π/2) = 105/384 × π/2 = 35π/256. 35π/128 would result from using π instead of π/2 as the final factor; 105π/256 is a slip in the arithmetic of the product.