The method you pick depends on the exponents. Odd powers, even powers and mixed products each call for a different identity. This article walks through those cases with the worked examples that appear in the sources, so you can see why each step is chosen. [1], [2]
Why these integrals are worth learning
The OpenStax text notes that trigonometric integrals are an important part of trigonometric substitution, a technique that converts algebraic expressions that are hard to integrate into expressions involving trigonometric functions. It also says these integrals appear frequently when studying polar, cylindrical and spherical coordinate systems later in the course. [1]
When a plain substitution already works
The Lamar University notes start from an integral that is already doable: the integral of cos x times sin^5 x. Because the cosine is present, the substitution u = sin x turns it into the integral of u^5 du, giving (1/6) sin^6 x + c. [2]
The same notes then ask what happens when the cosine is missing, as in the integral of sin^5 x. The earlier substitution no longer fits, so the integrand must be reshaped first. That contrast is the motivation for everything that follows. [2]
Odd powers: peel off one factor and use the Pythagorean identity
For sin^5 x, the Lamar notes split the integrand into sin^4 x times sin x, then rewrite sin^4 x as (sin^2 x)^2. Using sin^2 x = 1 - cos^2 x leaves an expression in cos x multiplied by a single sin x, which is exactly the form a substitution handles. [2]
Even powers: power-reducing identities
When only even powers of sine and cosine appear, there is no single leftover factor to substitute. OpenStax says the identities sin^2 x = 1/2 - (1/2) cos(2x) and cos^2 x = 1/2 + (1/2) cos(2x) are invaluable here. It calls them power-reducing identities and says they follow from the double-angle identity cos(2x) = cos^2 x - sin^2 x together with cos^2 x + sin^2 x = 1. [1]
OpenStax's worked example is the integral of sin^2 x. Substituting the identity gives the integral of (1/2 - (1/2) cos(2x)) dx, which evaluates to (1/2)x - (1/4) sin(2x) + C. [1]
The Lamar notes show that products with both exponents even may need a series of half-angle or double-angle formulas, and that larger exponents need more of them. In the example of sin^2 x cos^2 x, one route reduces to (1/8) times the integral of 1 - cos(4x), giving (1/8)x - (1/32) sin(4x) + c. The notes remark that this route is not appreciably easier than another, just less messy. [2]
The Lamar notes also warn that different valid methods often produce different-looking answers, but the answers differ by no more than a constant. [2]
Tangent and secant, and integration by parts
For products of tangents and secants the same logic applies with a different identity. The OpenStax exercise list includes the identity sec^2 x - 1 = tan^2 x as a fill-in item, and the Lamar notes use the relation between tangent and secant, and note that cosecant and cotangent products work the same way via 1 + cot^2 x = csc^2 x. [1], [2]
The integral of sec^3 x is the standout case. The Lamar notes choose integration by parts with u = sec x and dv = sec^2 x dx, giving sec x tan x minus the integral of sec x tan^2 x. They then rewrite the tangents in terms of secants. The original integral reappears, and the notes explain you move it to the left side and divide by its coefficient, a trick first met in integration by parts. [2]
OpenStax also lists reduction formulas as a tool for these integrals, with an exercise applying one to the integral of sec^5 x. [1]
A practical way to choose a method
Taken together, the sources suggest a short decision routine: look for a function and its derivative sitting together for a substitution; if a sine or cosine has an odd power, peel off one factor and use the Pythagorean identity; if all relevant powers are even, apply power-reducing identities; and if substitution stalls, consider integration by parts. This routine is a synthesis of the sources rather than a rule stated verbatim in any one of them. [1], [2]
The UC Davis problem set is a useful practice resource: it lists many trigonometric integrals, notes that many use u-substitution, and marks a later group that require integration by parts. [3]
Limits of this explanation
Check any antiderivative by differentiating it before relying on it.
