The Cotangent Analogue of the Secant Method
For integrals of the form \(\int\cot^mx\,\csc^{2k}x\,dx\), the cotangent plays the role that the tangent played with even powers of secant. The key fact is \(\frac{d}{dx}\cot x=-\csc^2x\), so \(\csc^2x\,dx=-du\) when \(u=\cot x\). Since the integrand has an even power of cosecant, one factor \(\csc^2x\) can be reserved for \(du\), and the remaining \(\csc^{2k-2}x=(\csc^2x)^{k-1}\) can be written as a polynomial in \(\cot x\) with the identity \(\csc^2x=1+\cot^2x\).
The only new feature compared with the tangent case is the minus sign in the derivative of the cotangent. It must be tracked in every step.
Deriving the Substitution
Write \(\csc^{2k}x=\csc^2x\cdot(\csc^2x)^{k-1}=\csc^2x\,(1+\cot^2x)^{k-1}\). With \(u=\cot x\) and \(du=-\csc^2x\,dx\),
The integrand on the right is a polynomial, so expand and integrate term by term. For \(k=1\) the factor \((1+u^2)^{0}\) is just \(1\) and the integral is \(-\frac{u^{m+1}}{m+1}\).
Checking by Differentiation
To check \(-\frac{\cot^{m+1}x}{m+1}\), differentiate: the power rule gives \(-\cot^mx\), and the chain rule multiplies by \(\frac{d}{dx}\cot x=-\csc^2x\). The two minus signs cancel and the result is \(\cot^mx\csc^2x\). For higher \(k\), differentiate each polynomial term the same way.
Worked Examples
Worked Example: Cotangent Squared Times Cosecant to the Fourth
Find \(\int\cot^2x\csc^4x\,dx\).
Reserve \(\csc^2x\,dx=-du\) and write the other cosecant squared as \(1+u^2\). Then the integral is
Both terms carry the overall minus sign. Forgetting it is the single most common error on this topic.
Worked Example: Odd Power of Cotangent
Find \(\int\cot x\csc^4x\,dx\).
With \(u=\cot x\), the integral becomes \(-\int u(1+u^2)\,du=-\bigl(\frac{u^2}{2}+\frac{u^4}{4}\bigr)\). Therefore
The parity of \(m\) does not matter in this method, since only the even power of cosecant is used to set up the substitution.
Worked Example: Cosecant to the Fourth Alone
Find \(\int\csc^4x\,dx\).
Here \(m=0\), so the integral is \(-\int(1+u^2)\,du\):
This is the exact analogue of \(\int\sec^4x\,dx=\tan x+\frac{\tan^3x}{3}+C\), with the signs reversed.
Worked Example: A Definite Integral
Evaluate \(\int_{\pi/4}^{\pi/2}\cot^2x\csc^4x\,dx\).
The antiderivative is \(G(x)=-\frac{\cot^3x}{3}-\frac{\cot^5x}{5}\). At \(x=\frac\pi2\), \(\cot x=0\), so \(G=0\). At \(x=\frac\pi4\), \(\cot x=1\), so \(G=-\frac13-\frac15=-\frac{8}{15}\). Hence
The result is positive, as it must be: the integrand is positive on the interval.
A Reliable Procedure
Check that \(\csc^{2k}x\) with \(k\ge1\) is present.
Set aside \(\csc^2x\,dx\), which becomes \(-du\).
Replace \(\csc^2x\) by \(1+\cot^2x\) and \(\cot x\) by \(u\).
Expand and integrate term by term, keeping the overall minus sign.
Replace \(u\) by \(\cot x\) and differentiate.
Common Mistakes
The first mistake is the lost sign: \(\int\csc^2x\,dx=-\cot x+C\), not \(+\cot x\). The second is to use \(\csc^2x=1-\cot^2x\) or to confuse the identity with \(\sec^2x=1+\tan^2x\); the correct cosecant identity is \(\csc^2x=1+\cot^2x\). The third is to reserve too many factors, such as \(\csc^4x\), which cannot be written as a derivative of a single function of \(\cot x\).
Finally, for definite integrals note that \(\cot x\) is undefined at \(x=0\) and \(x=\pi\). The interval of integration must lie within one interval \((n\pi,(n+1)\pi)\), or the integral is improper.
Quick Reference
| Integrand | Antiderivative |
|---|---|
| \(\csc^2x\) | \(-\cot x\) |
| \(\cot^3x\csc^2x\) | \(-\frac{\cot^4x}{4}\) |
| \(\csc^4x\) | \(-\cot x-\frac{\cot^3x}{3}\) |
| \(\cot^2x\csc^4x\) | \(-\frac{\cot^3x}{3}-\frac{\cot^5x}{5}\) |
Practice Problems with Answers
Try each problem before reading the answer. Every answer below was checked by differentiation or by numerical integration.
- Find an antiderivative of \(\cot^2x\csc^4x\). Hint: remember the overall minus sign. Answer: \(-\frac{\cot^3x}{3}-\frac{\cot^5x}{5}\)
- Find an antiderivative of \(\cot x\csc^4x\). Hint: use \(u=\cot x\) and expand \(u(1+u^2)\). Answer: \(-\frac{\cot^2x}{2}-\frac{\cot^4x}{4}\)
- Evaluate \(\int_{\pi/4}^{\pi/2}\cot^2x\csc^4x\,dx\). Hint: \(\cot\frac\pi2=0\) and \(\cot\frac\pi4=1\). Answer: \(\frac{8}{15}\)
- Evaluate \(\int_{\pi/4}^{\pi/2}\csc^4x\,dx\). Hint: use \(-\cot x-\frac{\cot^3x}{3}\). Answer: \(\frac43\)
Worked Example: Between π/6 and π/3
Evaluate \(\int_{\pi/6}^{\pi/3}\cot x\csc^4x\,dx\).
Let \(G(x)=-\frac{\cot^2x}{2}-\frac{\cot^4x}{4}\). At \(x=\frac\pi3\), \(\cot x=\frac{1}{\sqrt3}\), so \(\cot^2x=\frac13\) and \(\cot^4x=\frac19\); then \(G=-\frac16-\frac1{36}=-\frac{7}{36}\). At \(x=\frac\pi6\), \(\cot x=\sqrt3\), so \(\cot^2x=3\) and \(\cot^4x=9\); then \(G=-\frac32-\frac94=-\frac{15}{4}\). Therefore
The cotangent decreases as \(x\) increases, so the bottom endpoint contributes the larger magnitude. This is a good place to confirm that the result is positive: the integrand is positive throughout \((\frac\pi6,\frac\pi3)\).
Comparison with the Secant Case
| Feature | Tangent and secant | Cotangent and cosecant |
|---|---|---|
| Reserved differential | \(\sec^2x\,dx=du\) | \(\csc^2x\,dx=-du\) |
| Substitution | \(u=\tan x\) | \(u=\cot x\) |
| Identity | \(\sec^2x=1+\tan^2x\) | \(\csc^2x=1+\cot^2x\) |
| Result for the fourth power | \(\tan x+\frac{\tan^3x}{3}\) | \(-\cot x-\frac{\cot^3x}{3}\) |
The two families are mirror images. The sign difference comes entirely from the fact that cotangent is a decreasing function whose derivative is negative, while tangent is increasing. Knowing one family gives the other by changing the function names and attaching minus signs.
Interpreting the Result
On \((0,\pi)\) the integrand \(\cot^mx\csc^{2k}x\) is positive for even \(m\) and has the sign of \(\cot x\) for odd \(m\). The antiderivative is a decreasing function of \(\cot x\), which itself decreases from \(+\infty\) to \(-\infty\) across the interval, so the antiderivative as a function of \(x\) increases when the integrand is positive. Near \(x=0\) and \(x=\pi\) the integrals grow without bound, because \(\csc x\) becomes infinite. This is the reason the endpoints \(0\) and \(\pi\) must be avoided in definite integrals.
A Numerical Spot Check
Test \(\int_{\pi/4}^{\pi/2}\csc^4x\,dx=\frac43\) with the trapezoid rule on one interval. The heights are \(\csc^4\frac\pi4=4\) and \(\csc^4\frac\pi2=1\). The estimate is \(\frac{\pi}{4}\cdot\frac{4+1}{2}\approx1.963\), which is higher than \(\frac43\approx1.333\) because the integrand is convex and decreasing. Using two intervals, with midpoint height \(\csc^4\frac{3\pi}{8}\approx1.3726\), the estimate drops to \(\frac{\pi}{8}\bigl(\frac{4+1.373}{2}+\frac{1.373+1}{2}\bigr)\approx1.521\), moving toward the exact value as expected.
What Happens with an Odd Power of Cosecant
The method above requires an even power of cosecant. If the cosecant power is odd and the cotangent power is odd, a different pairing is used: reserve \(\csc x\cot x\,dx=-d(\csc x)\) and set \(u=\csc x\). For example, \(\int\cot^3x\csc^3x\,dx\) is solved by writing \(\cot^2x=\csc^2x-1\) and substituting \(u=\csc x\). That case belongs to a later tutorial. For now, the rule is simple: look at the power of cosecant first. An even power signals the cotangent substitution, and an odd power with an odd cotangent signals the cosecant substitution.
Keeping this decision rule in mind prevents the common error of forcing \(u=\cot x\) onto an integrand where it produces a leftover factor that is not a polynomial in \(u\).
Where This Fits in the Course
This tutorial belongs to the module “Tangent and Secant Powers”. The tutorial just before it is “Derivative Identities Behind Cotangent And Cosecant Integrals,” and the one that follows is “Odd Cotangent Powers Paired With Cosecant Factors.” It mirrors the secant method and completes the family of even-power trigonometric substitutions, so the techniques here carry over almost unchanged once the signs are tracked carefully.
Check Your Understanding
Use the method and examples above to answer these questions.
- Why is \(\csc^2x\,dx\) equal to \(-du\) when \(u=\cot x\)?
- Rewrite \(\csc^4x\) as \(\csc^2x\) times a function of \(\cot x\).
- Evaluate \(\int_{\pi/4}^{\pi/2}\csc^4x\,dx\).
- Why must a definite integral of \(\cot x\) avoid \(x=0\) and \(x=\pi\)?
- Differentiate \(-\frac{\cot^3x}{3}-\frac{\cot^5x}{5}\) and confirm the integrand.