Reduction Formulae for Integrals: Sine and Cosine Powers, Wallis’s Rule, tan, sec, xⁿeᵃˣ and 1/(x² + a²)ⁿ

The integral calculus unit of JEE Main names reduction formulae, and the calculus chapters teach substitution, parts and partial fractions but never build a reduction formula. A reduction formula writes an integral Iₙ with a parameter n in terms of Iₙ₋₁ or Iₙ₋₂, so that a power of any size is reached by repeating one step. This chapter derives the six that matter, applies Wallis’s rule for definite integrals over [0, π/2], and works each with an example. Every result was checked with sympy.
Overview

1. The Idea: Integration by Parts Turned Into a Recurrence

2 min read · 4 parts

Integrating by parts splits Iₙ into a boundary term plus a multiple of a simpler integral of the same family. For Iₙ = ∫sinⁿx dx, write sinⁿx = sinⁿ⁻¹x · sin x, take sinⁿ⁻¹x as the first function and sin x as the second: Iₙ = −sinⁿ⁻¹x cos x + (n − 1)∫sinⁿ⁻²x cos²x dx. Replace cos²x by 1 − sin²x, and the right side contains Iₙ again, so the equation is solved for Iₙ: nIₙ = −sinⁿ⁻¹x cos x + (n − 1)Iₙ₋₂. The skill is the same every time: choose the split so that the integral reappears, then collect.

The six reduction formulae
IntegralReduction formula
∫sinⁿx dxIₙ = −sinⁿ⁻¹x cos x/n + ((n − 1)/n) Iₙ₋₂
∫cosⁿx dxIₙ = cosⁿ⁻¹x sin x/n + ((n − 1)/n) Iₙ₋₂
∫tanⁿx dxIₙ = tanⁿ⁻¹x/(n − 1) − Iₙ₋₂
∫secⁿx dxIₙ = secⁿ⁻²x tan x/(n − 1) + ((n − 2)/(n − 1)) Iₙ₋₂
∫xⁿeᵃˣ dxIₙ = xⁿeᵃˣ/a − (n/a) Iₙ₋₁
∫dx/(x² + a²)ⁿIₙ = x/(2a²(n − 1)(x² + a²)ⁿ⁻¹) + ((2n − 3)/(2a²(n − 1))) Iₙ₋₁
🧠 Which step does the formula take?
The trigonometric ones step down by 2 (n to n − 2) because the identity sin² + cos² = 1 removes two powers at a time; the exponential and the quadratic ones step down by 1. Knowing the step also tells you the base cases needed: two for the steps of 2 (n = 0 and 1), one for the steps of 1.
Reduction formula for ∫sinⁿx dx
  1. Split sinⁿx = sinⁿ⁻¹x · sin x
  2. Integrate by partsLeaves ∫sinⁿ⁻²x cos²x dx
  3. Replace cos²x by 1 − sin²xIₙ reappears on the right
  4. Collect IₙnIₙ = −sinⁿ⁻¹x cos x + (n − 1)Iₙ₋₂
Choose the split so that the integral reappears, then collect.
Steps of 2 versus steps of 1
Step down by 2
  • sin, cos, tan, sec powers
  • sin² + cos² = 1 removes two powers
  • Two base cases: n = 0 and 1
Step down by 1
  • xⁿeᵃˣ and 1/(x² + a²)ⁿ
  • Exponential and quadratic families
  • One base case

Integrating by parts splits Iₙ into a boundary term plus a multiple of a simpler integral of the same family. For Iₙ = ∫sinⁿx dx, write sinⁿx = sinⁿ⁻¹x · sin x, take sinⁿ⁻¹x as the first…

2. Definite Integrals over [0, π/2]: Wallis’s Rule

1 min read · 1 part

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).

∫₀^(π/2) sinᵐx cosⁿx dx: is there a π/2?
Check m and n
  • 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

1 min read

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²)ⁿ

1 min read

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

1 min read · 2 parts
Evaluating by Wallis's rule
IntegralWorkingValue
∫₀π/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) × π/25π/32
∫₀π/2 sin⁴x cos²x dx(3 × 1 × 1)/(6 × 4 × 2) × π/2π/32
∫₀π sin⁴x dx2 × ∫₀π/2 sin⁴x dx = 2 × 3π/163π/8
⚠️ The factor π/2 appears when both exponents are even
Wallis's rule for ∫₀π/2 sinᵐx cosⁿx dx gives a product of descending odd or even numbers, and the extra π/2 appears only when both m and n are even. If either is odd the result is a rational number. When the limits are 0 to π rather than 0 to π/2, use symmetry: for even total power the integral doubles, and for sinⁿx with odd n it also doubles, whereas sinⁿx cosᵐx over 0 to π vanishes when m is odd.

Tangent Powers by Reduction, Worked

1 min read · 1 part

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.

  1. The value of ∫₀^(π/2) sin⁵x dx is:

    1. 8/15
    2. 5π/32
    3. 4/5
    4. 2/3
    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.
  2. The value of ∫₀^(π/2) sin⁶x dx is:

    1. 5π/32
    2. 5/16
    3. 3π/16
    4. π/32
    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.
  3. The reduction formula for Iₙ = ∫sinⁿx dx is:

    1. −sinⁿ⁻¹x cos x/n + ((n − 1)/n) Iₙ₋₂
    2. sinⁿ⁻¹x cos x/n + ((n − 1)/n) Iₙ₋₂
    3. −sinⁿ⁻¹x cos x/n + ((n + 1)/n) Iₙ₋₂
    4. −sinⁿ⁻¹x cos x/(n − 1) + (n/(n − 1)) Iₙ₋₂
    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
  1. ∫₀^(π/2) sin⁴x cos²x dx equals:

    1. π/32
    2. π/16
    3. 3/16
    4. 1/32
    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. ∫₀^(π/2) sin³x cos⁴x dx equals:

    1. 2/35
    2. π/70
    3. 3π/32
    4. 1/35
    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.
  3. ∫₀^π sin⁷x dx equals:

    1. 32/35
    2. 16/35
    3. 0
    4. 64/35
    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.
  4. ∫tan⁴x dx equals:

    1. tan³x/3 − tan x + x + C
    2. tan³x/3 + tan x + x + C
    3. tan⁵x/5 + C
    4. sec⁴x/4 + C
    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ₙ₋₂.
  5. ∫x³eˣ dx equals:

    1. eˣ(x³ − 3x² + 6x − 6) + C
    2. eˣ(x³ + 3x² + 6x + 6) + C
    3. eˣ x⁴/4 + C
    4. eˣ(x³ − 3x² + 3x − 1) + C
    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.
  6. The value of ∫₀^∞ x⁴e⁻ˣ dx is:

    1. 24
    2. 4
    3. 1
    4. 120
    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.
  7. ∫₀¹ dx/(1 + x²)² equals:

    1. 1/4 + π/8
    2. π/4
    3. 1/2 + π/8
    4. π/8
    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.
  8. The value of ∫₀π/2 sin⁵x dx is:

    1. 8/15
    2. 3π/16
    3. 5π/32
    4. 2/3
    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.
  9. The value of ∫₀π/2 sin⁴x cos²x dx is:

    1. π/32
    2. π/16
    3. 3π/32
    4. π/8
    Show answer

    Answer: A — π/32

    Both exponents are even, so the value is (3 × 1 × 1)/(6 × 4 × 2) × π/2 = (3/48)(π/2) = π/32.
  10. The value of ∫₀π/4 tan²x dx is:

    1. 1 − π/4
    2. π/4
    3. 1
    4. π/4 − 1
    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.
  11. The value of ∫₀^(π/2) sin²x dx is:

    1. π/4
    2. π/2
    3. 1/2
    4. 1
    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 ½.
  12. The value of ∫₀^(π/2) cos³x dx is:

    1. 2/3
    2. π/4
    3. 3π/16
    4. 1/3
    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.
  13. The value of ∫₀^(π/2) sin x cos x dx is:

    1. 1/2
    2. 1
    3. π/4
    4. 0
    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.
  14. ∫ tan x dx equals:

    1. −ln|cos x| + C
    2. ln|cos x| + C
    3. sec²x + C
    4. −cot x + C
    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.
  15. The value of ∫₀^∞ x²e⁻ˣ dx is:

    1. 2
    2. 1
    3. 1/2
    4. ∞
    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.
  16. The value of ∫₀^(π/2) sin⁴x dx is:

    1. 3π/16
    2. 3/8
    3. π/4
    4. 3π/8
    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.
  17. The value of ∫₀^(π/2) sin⁷x dx is:

    1. 16/35
    2. 32/35
    3. 8/15
    4. 35/16
    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.
  18. The value of ∫₀^(π/2) sin²x cos²x dx is:

    1. π/16
    2. π/8
    3. 1/8
    4. π/4
    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.
  19. The value of ∫₀^(π/4) tan³x dx is:

    1. (1 − ln 2)/2
    2. 1/2
    3. (1 + ln 2)/2
    4. 1 − ln 2
    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.
  20. The value of ∫₀¹ x²eˣ dx is:

    1. e − 2
    2. e
    3. 2 − e
    4. e/3
    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.
  21. The value of ∫₀^(π/2) cos⁸x dx is:

    1. 35π/256
    2. 35/128
    3. 7π/32
    4. 105π/256
    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.