Special Substitutions II: Powers of Trigonometric Functions
In our study of substitution, we observed how trigonometric identities simplify algebraic radicals.
Equally important is the reverse challenge: how to evaluate integrals consisting entirely of powers and products of trigonometric functions:
Such integrals occur repeatedly throughout calculus. They arise not only as standalone problems, but very frequently as the culmination of earlier algebraic, trigonometric, or geometric substitutions (such as setting \(x = a\sin\theta\) or \(x = a\tan\theta\)).
The method of evaluation is dictated systematically by the parity (odd or even nature) of the exponents and their algebraic sum.
Powers of Sine and Cosine
We begin with single trigonometric powers:
Case 1: The Exponent is Odd
When \(n = 2k + 1\) is an odd positive integer, we peel off one factor of \(\sin x\) (or \(\cos x\)) to serve as the differential. The remaining even power is then converted using the fundamental identity \(\sin^2 x + \cos^2 x = 1\).
For \(\int \sin^{2k+1} x\,dx\):
Letting \(t = \cos x \implies dt = -\sin x\,dx\), the integrand transforms into a simple polynomial in \(t\).
Similarly, for \(\int \cos^{2k+1} x\,dx\):
Letting \(t = \sin x \implies dt = \cos x\,dx\), the integral again reduces directly to a polynomial.
Example 1
Evaluate:
Solution:
Peel off one factor of \(\sin x\):
Let:
Substitute into the integral:
Returning to \(x\):
Example 2
Evaluate:
Solution:
Separate one factor of \(\cos x\):
Let:
Substitute into the integral:
Integrating term by term:
Returning to \(x\):
Case 2: The Exponent is Even
When \(n = 2k\) is an even positive integer, the substitution method fails: stripping off one factor leaves an odd power that cannot be expressed as a polynomial without square roots.
Instead, we convert even powers into linear multiple-angle terms using the half-angle reduction identities:
Any resulting even powers of \(\cos 2x\) are reduced again by reapplying the formula with doubled arguments, such as:
Example 3
Evaluate:
Solution:
Apply the half-angle reduction formula:
Substitute into the integral:
Example 4
Evaluate:
Solution:
Express \(\sin^4 x\) as the square of \(\sin^2 x\):
Expand the numerator:
Reduce the remaining quadratic term \(\cos^2 2x\):
Substitute this back:
Now integrate term by term:
Products of Powers of Sine and Cosine
We now turn to the general product:
The choice of method depends on whether \(m\) and \(n\) are odd or even.
Case A: At Least One Exponent is Odd
If either exponent is an odd positive integer, we use substitution.
Subcase 1: The power of \(\sin x\) is odd (\(m = 2k + 1\))
Peel off \(\sin x\,dx\) to form the differential, convert the remaining even power of sine to cosine using \(\sin^2 x = 1 - \cos^2 x\), and substitute:
Subcase 2: The power of \(\cos x\) is odd (\(n = 2k + 1\))
Peel off \(\cos x\,dx\) to form the differential, convert the remaining even power of cosine to sine using \(\cos^2 x = 1 - \sin^2 x\), and substitute:
Subcase 3: Both exponents are odd
Either substitution works. In practice, choose to peel off the factor with the smaller exponent to minimize the degree of the binomial expansion.
Example 5
Evaluate:
Solution:
Here the power of \(\sin x\) is odd (\(m = 3\)). Separate one factor of \(\sin x\):
Let:
Substitute into the integral:
Integrating gives:
Returning to \(x\):
Example 6
Evaluate:
Solution:
Both exponents are odd (\(m = 3\) and \(n = 5\)). We peel off the smaller power (\(\sin x\)):
Let:
Substitute into the integral:
Returning to \(x\):
Case B: Both Exponents are Even Non-Negative Integers
When both \(m\) and \(n\) are even non-negative integers (\(m = 2p, n = 2q\)), neither function can provide a single odd factor for substitution.
We must convert both terms to multiple angles using:
Grouping factors into \((\sin x\cos x)\) whenever possible drastically reduces the required algebra.
Example 7
Evaluate:
Solution:
Group the factors using the double-angle identity:
Now apply the half-angle identity to \(\sin^2 2x\):
The integrand becomes:
Integrating directly:
Example 8
Evaluate:
Solution:
Factor out \((\sin x\cos x)^2\):
Convert \(\sin^2 x\) using the half-angle formula:
Split into two separate integrals:
For the first integral:
For the second integral, the factor \(\cos 2x\,dx\) is the differential of \(\sin 2x\):
Combining both results:
The Negative Even Exponent Sum Condition
A particularly important class of integrals occurs when the exponents \(m\) and \(n\) satisfy:
That is, the sum of the exponents of \(\sin x\) and \(\cos x\) is a negative even integer (such as \(-2, -4, -6\)).
Such integrals typically appear when powers of sine and cosine are in the denominator, or as the result of earlier substitutions in fractional and radical problems.
The Tangent Transformation
When \(m + n\) is a negative even integer, we can transform the entire integral into a rational algebraic expression in \(\tan x\):
- Factor out \(\cos^{m+n} x\) from the integrand, or equivalently divide the numerator and denominator by \(\cos^{|m+n|} x\).
- Because \(|m+n|\) is an even positive integer (\(2, 4, 6, \dots\)), at least one factor of \(\sec^2 x\,dx\) is produced to serve as the differential \(d(\tan x)\).
- Any additional even powers of secant are converted to tangents using \(\sec^2 x = 1 + \tan^2 x\).
- Substitute:
(Note: Alternatively, if powers of \(\cot x\) and \(\csc^2 x\) are preferred, one may divide by \(\sin^{|m+n|} x\) and substitute \(t = \cot x\).)
Example 9
Evaluate:
Solution:
In power notation, the integrand is:
Here \(m = -1\) and \(n = -3\), giving:
Since the sum is a negative even integer, divide the numerator and denominator by \(\cos^4 x\):
Let:
Substitute into the integral:
Returning to \(x\):
Example 10
Evaluate:
Solution:
Here \(m = 2\) and \(n = -6\), so:
Decompose the denominator into \(\cos^2 x \cdot \cos^4 x\):
Let:
Substitute into the integral:
Returning to \(x\):
Example 11
Evaluate:
Solution:
Here \(m = -2\) and \(n = -4\), so \(m + n = -6\).
Divide numerator and denominator by \(\cos^6 x\):
Let:
Substitute into the integral:
Split into separate terms:
Returning to \(x\):
Example 12
Evaluate:
Solution:
Here the exponents are fractional: \(m = -3/4\) and \(n = -5/4\).
Summing the exponents:
Because \(m + n = -2\) is a negative even integer, the tangent substitution applies directly.
Divide numerator and denominator by \(\cos^2 x\):
Let:
Substitute into the integral:
Returning to \(x\):
Powers of Tangent and Cotangent
Integrals of pure powers of tangent and cotangent follow a direct algebraic reduction based on the Pythagorean identity:
Factoring out \(\tan^2 x\) gives:
The first term integrates immediately because \(\sec^2 x\,dx = d(\tan x)\):
The remaining term \(-\int \tan^{n-2} x\,dx\) has its power reduced by \(2\). Repeating this reduction eventually terminates in either \(\int 1\,dx = x\) (when \(n\) is even) or \(\int \tan x\,dx = \ln|\sec x| + C\) (when \(n\) is odd).
The exact same logic applies to \(\cot^n x\).
Example 13
Evaluate:
Solution:
Separate a factor of \(\tan^2 x\):
Integrating both terms:
In the first integral, let \(t = \tan x \implies dt = \sec^2 x\,dx\):
The second integral is standard: \(\int \tan x\,dx = \ln|\sec x|\).
Therefore:
Example 14
Evaluate:
Solution:
Peel off \(\tan^2 x\):
Express the remaining \(\tan^2 x\) again as \(\sec^2 x - 1\):
Now integrate term by term:
Example 15
Evaluate:
Solution:
Apply the cotangent identity \(\cot^2 x = \csc^2 x - 1\):
Recall that \(\frac{d}{dx}(\cot x) = -\csc^2 x\):
Powers of Secant and Cosecant
When integrating \(\int \sec^n x\,dx\) or \(\int \csc^n x\,dx\), the behavior splits sharply between even and odd exponents.
Case 1: Even Powers of Secant
When the exponent is an even integer \(n \ge 2\), peel off \(\sec^2 x\,dx\) to serve as the differential \(dt\), and rewrite the remaining even power \(\sec^{2k-2} x\) using \(\sec^2 x = 1 + \tan^2 x\):
Letting \(t = \tan x \implies dt = \sec^2 x\,dx\), the integral becomes a polynomial in \(t\).
Example 16
Evaluate:
Solution:
Separate \(\sec^2 x\):
Let:
Substitute into the integral:
Returning to \(x\):
Case 2: Odd Powers of Secant and Cosecant
When the power is odd, substitution does not work directly. As seen in our study of integration by parts, odd powers must be evaluated using integration by parts by writing:
and setting \(\text{I} = \sec^{2k-1} x\) and \(\text{II} = \sec^2 x\).
Example 17
Evaluate:
Solution:
Decompose the integrand as:
Apply integration by parts:
Applying the product formula:
Use \(\cot^2 x = \csc^2 x - 1\):
Notice that \(\int \csc^3 x\,dx = I\):
Add \(I\) to both sides:
Products of Tangent and Secant
We now examine products of the form:
The strategy is organized around which differential is readily formed:
Case 1: The Exponent of Secant is Even
Peel off \(\sec^2 x\,dx\) to serve as the differential. Convert the remaining even power \(\sec^{n-2} x = (1 + \tan^2 x)^{(n-2)/2}\) to tangents, and substitute:
This method works regardless of whether \(m\) is even, odd, or fractional.
Example 18
Evaluate:
Solution:
The power of secant is even (\(n = 4\)). Separate \(\sec^2 x\,dx\):
Let:
Substitute into the integral:
Returning to \(x\):
(Note: Because the power of tangent is also odd, one could alternatively peel off \(\sec x\tan x\,dx\) and substitute \(t = \sec x\). The resulting antiderivative \(\frac{\sec^6 x}{6} - \frac{\sec^4 x}{4} + C_1\) differs from this one by a purely numerical constant.)
Case 2: The Exponent of Tangent is Odd
Peel off \(\sec x \tan x\,dx\) to serve as the differential. Convert the remaining even power \(\tan^{m-1} x = (\sec^2 x - 1)^{(m-1)/2}\) to secants, and substitute:
Example 19
Evaluate:
Solution:
Here the power of tangent is odd (\(m = 5\)) and \(n \ge 1\). Separate \(\sec x \tan x\,dx\):
Let:
Substitute into the integral:
Integrating term by term:
Returning to \(x\):
Case 3: Tangent is Even and Secant is Odd
If the power of tangent is even and the power of secant is odd (\(m = 2p, n = 2q + 1\)), neither substitution works directly: peeling off \(\sec^2 x\) leaves an odd power of secant (which cannot be expressed in terms of tangent without a radical), while peeling off \(\sec x\tan x\) leaves an odd power of tangent (which cannot be expressed in terms of secant without a radical).
The standard method is to convert all tangents into secants using \(\tan^2 x = \sec^2 x - 1\). The integrand expands into a sum of odd powers of secant, which are integrated by parts.
Example 20
Evaluate:
Solution:
Convert \(\tan^2 x\) to secants:
Split into two integrals:
From our work on cyclic integrals in integration by parts:
The second integral is standard: \(\int \sec x\,dx = \ln|\sec x + \tan x|\).
Subtracting the two results:
Interchanging Between Systems
When products or quotients of \(\tan x\), \(\sec x\), \(\cot x\), or \(\csc x\) appear confusing, fractional, or unbalanced, converting the entire expression into sines and cosines often clears away the complexity immediately:
Example 21
Evaluate:
Solution:
Convert directly into sines and cosines:
Now the numerator is the derivative of \(\sin x\).
Let:
Substitute into the integral:
Returning to \(x\):
Example 22
Evaluate:
Solution:
Convert the denominator into sines and cosines:
The reciprocal inverts:
The Artifice of Inserting Identity Numerators
When an integrand consists of products of \(\sin x\) and \(\cos x\) in the denominator and standard algebraic substitutions seem out of reach, a celebrated technique is to replace the constant \(1\) in the numerator with the Pythagorean identity:
This decomposition splits an intractable fraction into separate, simpler fractions where terms cancel out directly.
Example 23
Evaluate:
Solution:
Replace \(1\) in the numerator with \(\sin^2 x + \cos^2 x\):
Split into two fractions:
Both terms are standard elementary integrals:
Example 24
Evaluate:
Solution:
Replace \(1\) in the numerator with \(\sin^2 x + \cos^2 x\):
Simplify each term:
The first term is \(\sec x\tan x\), and the second term is \(\csc x\):
Integrating:
Example 25
Evaluate:
Solution:
Insert \(1 = \sin^2 x + \cos^2 x\) in the numerator:
For the first integral, replace \(1\) again with \(\sin^2 x + \cos^2 x\):
The second integral \(\int \sin^{-3} x (\cos x\,dx)\) is a direct power of \(\sin x\):
Combining all three parts:
Using the logarithm product rule \(\ln|\sec x| + \ln|\sin x| = \ln\left|\frac{\sin x}{\cos x}\right| = \ln|\tan x|\):