A reduction formula writes an integral that depends on a whole number n in terms of the same kind of integral with a smaller n. It is found by integration by parts or by an identity. Repeating it brings a hard integral down to an easy one. For ∫xnexdx, ∫sinnxdx, ∫tannxdx and ∫(lnx)ndx the formulas are short, and the definite integral of sinnx from 0 to 2π has a famous form.
This is the first lesson of Integration in Depth: Reduction Formulas and Limits of Sums, free for everyone to read.
What you will be able to do
derive a reduction formula by integration by parts or by an identity;
apply a reduction formula again and again until an easy integral is left;
use the Wallis integrals ∫0π/2sinnxdx and their products of fractions.
An integral with a whole number in it
Suppose you need ∫x5exdx. Integration by parts works, but it has to be used five times. A better plan is to find one rule that connects the integral with xn to the integral with xn−1. Then you apply the rule five times, and you never repeat the derivation.
Call the integral In. A reduction formula is a rule that gives In from In−1, or from In−2. It reduces the number n. You stop at a case that you can do directly, such as I0 or I1.
The first example: xnex
Let In=∫xnexdx. Take u=xn and dv=exdx. Then du=nxn−1dx and v=ex. By parts,
In=xnex−nIn−1,I0=ex+C.
For n=3 the chain is I3=x3ex−3I2, I2=x2ex−2I1 and I1=xex−I0. Putting them together gives
I3=ex(x3−3x2+6x−6)+C.
Powers of sine, cosine and tangent
Take In=∫sinnxdx with n≥2. Write sinnx=sinn−1x⋅sinx and use parts with u=sinn−1x and dv=sinxdx. Then du=(n−1)sinn−2xcosxdx and v=−cosx. After replacing cos2x by 1−sin2x, we get
In=−nsinn−1xcosx+nn−1In−2.
For cosine the same steps give ∫cosnxdx=ncosn−1xsinx+nn−1∫cosn−2xdx.
For tangent we use an identity instead. Write tannx=tann−2x(sec2x−1). Then
∫tannxdx=n−1tann−1x−∫tann−2xdx,n≥2.
For the logarithm, take u=(lnx)n and dv=dx. Then ∫(lnx)ndx=x(lnx)n−n∫(lnx)n−1dx.
The Wallis integrals
Over [0,2π] the boundary term of the sine formula is zero, because cos2π=0 and sin0=0. Let Wn=∫0π/2sinnxdx. Then
Wn=nn−1Wn−2,W0=2π,W1=1.
The same numbers come from ∫0π/2cosnxdx, because the reflection x→2π−x swaps sine and cosine. Here are the first few values.
W2=4π, W3=32, W4=163π, W5=158, W6=325π.
For an even n the chain ends at W0, so π appears. For an odd n it ends at W1, and the answer is a fraction.
Three curves on the interval from 0 to pi over 2, each the graph of sine x raised to a power: the power 1 in blue, the power 3 in orange and the power 8 in green. All three start at 0 and reach height 1 at pi over 2. The higher the power, the closer the curve hugs the x-axis and the more sharply it rises at the end, so the area under it is smaller. The areas are written beside the curves: 1, two thirds and 0.4295.
Over [0,π] the area is twice as large, because of the symmetry of the sine curve. So ∫0πsinnxdx=2Wn for every n. For an even n, the integral over [0,2π] is four times Wn.
Worked examples
Example 1. Find ∫0π/2sin6xdx.
Use Wn=nn−1Wn−2 three times: W6=65W4=65×43W2=65×43×21W0.
With W0=2π this is 4815×2π=325π.
Example 2. Find ∫0πsin5xdx.
∫0πsin5xdx=2W5=2×54×32×1=1516.
Example 3. Find ∫01x3exdx with the reduction formula.
For [0,1] the formula is Jn=e−nJn−1, because xnex equals e at x=1 and 0 at x=0 for n≥1. Also J0=e−1.
J1=e−(e−1)=1. J2=e−2. J3=e−3(e−2)=6−2e.
Practise with new numbers
Try it in Python
The program builds Wn from W0 and W1 with the reduction formula, and checks every value by adding thin strips.
Common mistakes
Stopping the chain too early. Keep going down by 2 until you reach W0 or W1.
Starting from the wrong end. An even n ends at W0=2π, and an odd n ends at W1=1.
Using the Wallis formula without the limits. The boundary term vanishes only over [0,2π].
A sign slip in the tangent formula. It is n−1tann−1x−In−2, with a minus.
Forgetting the factor n in xnex. The formula is In=xnex−nIn−1.
Remember these
A reduction formula connects In with In−1 or In−2. Use it repeatedly.
∫xnexdx=xnex−n∫xn−1exdx.
Wn=nn−1Wn−2 for ∫0π/2sinnxdx, with W0=2π and W1=1.
∫tannxdx=n−1tann−1x−∫tann−2xdx.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Find ∫0π/2cos7xdx.
Use the reduction formula to find ∫x2exdx.
Show that ∫0πsin2xdx=2π.
Let Tn=∫0π/4tannxdx. Show that Tn+Tn−2=n−11.
Does Wn grow or fall as n grows? Why?
References
OpenStax, Calculus Volume 2, Chapter 3, sections 3.1 Integration by Parts and 3.2 Trigonometric Integrals.
Liked this lesson? There is more
Integration in Depth: Reduction Formulas and Limits of Sums is a Standard course. It adds 2 more lessons, practice and tests on top of the free chapter.
12Problems2Python Labs1Question Set1Mock Test
Symmetry tricks and limits of sums: Reflections turn hard integrals into easy ones: add an integral to its own reflected copy and the integrand often collapses. Harder cases use ∫0πxf(sinx)dx
,
∫−aa1+exf(x)dx
and logarithms of trigonometric functions. A sum of the form
n1∑f(nr)
becomes the integral
∫01f(x)dx
as
n→∞
, and this gives exact values for many limits.
Inequalities between integrals and integrals with variable limits: If f≤g on [a,b], then ∫abf≤∫abg. This lets us trap an integral between two numbers without finding an antiderivative. When the upper or lower limit of an integral depends on x, Leibniz's rule gives the derivative: dxd∫g(x)h(x)f(t)dt=f(h(x))h′(x)−f(g(x))g′(x). It also helps with limits that have the form 00, and with equations that have an integral in them.