Why a Recurrence Helps
Integrals of higher powers of cosecant can look increasingly complicated: each extra factor of \(\csc x\) raises the power but does not provide an obvious substitution. The reduction formula offers a systematic alternative. It replaces an integral involving \(\csc^n x\) with a cotangent term and an integral whose cosecant power is lower by two.
For odd powers, repeatedly lowering the exponent eventually reaches \(\int \csc x\,dx\). The final answer therefore contains cotangent-cosecant products and a logarithm. The purpose here is to carry out that recurrence accurately, including the signs and coefficients at each step.
Notation and the Base Integral
For a positive integer \(n\), write \(I_n\) for an antiderivative of \(\csc^n x\). All formulas below apply on an interval that does not contain a point \(k\pi\), where \(k\) is an integer, because cosecant is undefined at those points. Recurrence formulas for antiderivatives are understood up to an additive constant.
The odd-power recurrence needs the base integral \(I_1\). On any interval where \(\csc x\) is defined, an antiderivative is
To check it, use \((\csc x)'=-\csc x\cot x\) and \((\cot x)'=-\csc^2 x\). Then
The logarithm is well-defined on each such interval: \(\csc x-\cot x=(1-\cos x)/\sin x\), and neither numerator nor denominator vanishes at a point where \(\csc x\) is defined.
The Cosecant-Power Recurrence
For integers \(n\ge 3\), the reduction formula is
The formula reduces the exponent by two. Its stated range matters: for \(n\ge3\), the lower index \(n-2\) is a positive integer, so the integral on the right is defined using the notation above. The separate even-power case \(I_2=\int\csc^2 x\,dx=-\cot x\) follows directly from \((\cot x)'=-\csc^2 x\); it is not needed to reduce odd powers.
Why the Recurrence Works
For \(n\ge3\), write \(\csc^n x=\csc^{n-2}x\,\csc^2x\) and use integration by parts with \(u=\csc^{n-2}x\) and \(dv=\csc^2x\,dx\). Then \(v=-\cot x\) and \(du=-(n-2)\csc^{n-2}x\cot x\,dx\). Thus
The second equality uses \(\cot^2x=\csc^2x-1\). Collect the \(I_n\) terms on the left:
Dividing by \(n-1\), which is nonzero for \(n\ge3\), gives the stated recurrence. This derivation also explains the two essential features of the formula: the cotangent-cosecant term comes from integration by parts, and the remaining integral has its exponent reduced by two.
Worked Example: Integrating \(\csc^3 x\)
Worked Example: Integrating \(\csc^3 x\)
Apply the recurrence at \(n=3\). The lower power is \(I_1\), whose antiderivative is the logarithm above:
Check by differentiating. The product rule gives \((\csc x\cot x)'=-\csc x\cot^2x-\csc^3x\), so
The last equality uses \(\cot^2x=\csc^2x-1\); the terms involving \(\csc x\) cancel.
Worked Example: Integrating \(\csc^5 x\)
Worked Example: Integrating \(\csc^5 x\)
Reduce first from \(n=5\) to \(n=3\), then substitute the result for \(I_3\):
For a derivative check, use \((\csc^m x\cot x)'=-m\csc^m x\cot^2x-\csc^{m+2}x\). Differentiating the displayed expression and replacing \(\cot^2x\) by \(\csc^2x-1\) gives
In the final line, the \(\csc^3x\) terms and the \(\csc x\) terms cancel, while the \(\csc^5x\) coefficients sum to one.
Worked Example: Integrating \(\csc^7 x\)
Worked Example: Integrating \(\csc^7 x\)
Apply the recurrence once for \(I_7\), then insert the expression for \(I_5\):
To check, differentiate each term. The cotangent-cosecant products give
The logarithmic term differentiates to \(\frac{5}{16}\csc x\). Adding all four derivatives cancels the \(\csc^5x\), \(\csc^3x\), and \(\csc x\) terms, leaving \(I_7'=\csc^7x\), as required.
A Reliable Recurrence Procedure
For any odd exponent \(n\ge3\), the same sequence of steps applies. At each stage, retain the exponent, the denominator, and the coefficient multiplying the lower integral. Continue until \(I_1\) appears; only then insert the logarithmic antiderivative.
For a current odd exponent \(m\ge3\), replace \(I_m\) by \(-\csc^{m-2}x\cot x/(m-1)+(m-2)I_{m-2}/(m-1)\).
Continue with \(m-2\), multiplying every term from the next application by the coefficient already attached to that lower integral.
When the remaining integral is \(I_1\), replace it with \(\ln|\csc x-\cot x|\).
Use \(\cot^2x=\csc^2x-1\) to simplify the derivative and verify that only the original power remains.
Common Pitfall: Using an Undefined Base Case
A tempting but careless statement is to claim that the recurrence applies for every integer \(n\ge2\) while defining \(I_n\) only for positive integers. At \(n=2\), the right side contains \(I_{n-2}=I_0\), but \(I_0\) has not been defined. For example, substituting \(n=2\) would produce
which uses an undefined symbol even though its coefficient is zero. Do not use that as the recurrence's base case. State the recurrence for \(n\ge3\), as done here; handle \(I_2\) separately as \(I_2=-\cot x+C\). For odd powers, the recurrence reaches \(I_1\), so no \(I_0\) term is needed.
A second practical safeguard is to check the signs as well as the powers. The first term in the recurrence has a minus sign, and the logarithmic term in the odd-power answers has a positive coefficient. Differentiation is an efficient way to detect a sign error: an incorrect sign will generally prevent the lower powers from cancelling.
Why the Method Matters
The recurrence turns a whole family of integrals into a repeatable calculation. Rather than trying to invent a new substitution for each odd power, reduce the exponent in controlled steps and rely on one base integral. This also makes the structure of the answers predictable: each reduction contributes a cotangent-cosecant product, and the final \(I_1\) contributes the logarithm.
The coefficients require attention because each lower integral is multiplied by the factor \((n-2)/(n-1)\). When substituting a previously reduced expression, that factor multiplies every term in it. Writing intermediate lines, as in the examples, prevents lost factors and makes the derivative check straightforward.
Check Your Understanding
Use the recurrence and the derivative identities stated above to answer these questions.
- What is the valid index range for the cosecant-power recurrence as stated here, and why is \(n=2\) excluded?
- Which lower-power integral appears when reducing \(I_7\), and what is the next exponent to reduce?
- Write the recurrence step for \(I_5\) before substituting an expression for \(I_3\).
- What base antiderivative completes the recurrence for an odd cosecant power?
- Which identity helps simplify the derivative when checking a proposed antiderivative?