Trigonometric Integrals

Trigonometric integrals are integrals that involve products and powers of trigonometric functions such as sine, cosine, tangent, and secant. Rather than applying a single formula, evaluating these integrals requires a strategic use of trigonometric identities to rewrite the integrand into a form that can be integrated directly or by substitution. Mastering these techniques is a cornerstone of integral calculus and prepares students for more advanced methods such as trigonometric substitution and integration by parts. The core idea is transformation: if you encounter an integral like ∫sin⁵(x)cos²(x) dx, you cannot integrate it directly. Instead, you use a Pythagorean identity to peel off one factor, convert it, and then apply a simple u-substitution. The strategy depends on whether the powers of sine and cosine are odd or even, and similar logic applies to integrals involving tangent and secant. Recognizing which identity to apply—and when—is the essential skill this topic develops. Trigonometric integrals appear throughout physics and engineering, particularly in the analysis of waves, oscillations, and electrical circuits. The Fourier series, which decomposes any periodic function into sums of sines and cosines, relies entirely on being able to integrate products of trigonometric functions. By learning these techniques, students gain tools that extend far beyond the calculus classroom into real-world problem solving.

Key takeaways
  • Identify the Powers
  • Odd Power of Sine
  • Odd Power of Cosine
  • Both Powers Even — Use Half-Angle Identities
  • Integrals of Tangent and Secant
  • Back-Substitution

Identify the Powers

Given ∫sinᵐ(x) cosⁿ(x) dx, first check whether m or n is an odd positive integer. The presence of an odd power is your signal to split off one factor and use the Pythagorean identity sin²(x) + cos²(x) = 1.

Odd Power of Sine

If m is odd, write sinᵐ(x) = sinᵐ⁻¹(x) · sin(x). Then replace sinᵐ⁻¹(x) using sin²(x) = 1 − cos²(x), raising it to the appropriate power. Set u = cos(x), so du = −sin(x) dx. The entire integral becomes a polynomial in u, which is easy to integrate term by term.

Odd Power of Cosine

If n is odd, apply the same logic symmetrically: write cosⁿ(x) = cosⁿ⁻¹(x) · cos(x), use cos²(x) = 1 − sin²(x), and substitute u = sin(x), du = cos(x) dx. Again, the result is a polynomial integral in u.

Both Powers Even — Use Half-Angle Identities

When both m and n are even, neither substitution works directly. Instead, use the half-angle (power-reduction) identities: sin²(x) = (1 − cos(2x))/2 and cos²(x) = (1 + cos(2x))/2. Apply these repeatedly to reduce all powers until the integrand contains only first powers of cosines with doubled angles, which integrate immediately.

Integrals of Tangent and Secant

For integrals of the form ∫tanᵐ(x) secⁿ(x) dx, use the identity tan²(x) = sec²(x) − 1. If n is even, save a sec²(x) factor for the differential and express the rest in terms of tan(x). If m is odd, save a sec(x)tan(x) factor and express the rest in terms of sec(x). The key identities are d/dx[tan(x)] = sec²(x) and d/dx[sec(x)] = sec(x)tan(x).

Back-Substitution

After integrating in terms of u, always substitute back to express the answer in terms of the original variable x. Include the constant of integration C, and simplify using trigonometric identities if possible to present the answer in its cleanest form.

The Key Equation

sin⁡2(x)=1−cos⁡(2x)2,cos⁡2(x)=1+cos⁡(2x)2\sin^2(x) = \frac{1 - \cos(2x)}{2}, \quad \cos^2(x) = \frac{1 + \cos(2x)}{2}
  • \sin^2(x) — sine squared (dimensionless): The square of the sine function; cannot be integrated as-is when paired with an even power of cosine.
  • \cos(2x) — cosine of double angle (dimensionless): After applying the identity, the integrand contains cos(2x), whose antiderivative is sin(2x)/2, easily computed by substitution.
  • \cos^2(x) — cosine squared (dimensionless): The square of the cosine function; reduced using the complementary half-angle identity.

Worked Example

Problem. Evaluate ∫sin³(x) cos²(x) dx.

−cos⁡3(x)3+cos⁡5(x)5+C-\frac{\cos^3(x)}{3} + \frac{\cos^5(x)}{5} + C

Answer. Negative cosine cubed over three plus cosine to the fifth over five plus C.

Figure
Diagram
Strategy Map: ∫sinᵐ(x) cosⁿ(x) dxIs m odd?(power of sin)YESNOUse u = cos(x)sin²= 1−cos², save sin(x)dxIs n odd?(power of cos)YESNOUse u = sin(x)cos²= 1−sin², save cos(x)dxBoth Even:Use half-angle identitiessin²=(1−cos2x)/2Integrate polynomial in u,then back-substitute to get answer in x
Origins · 1 minGottfried Wilhelm Leibniz and how this was discovered
GW
Gottfried Wilhelm Leibniz
1646–1716 · German

Leibniz independently developed calculus alongside Newton and introduced the notation ∫ for the integral sign (from the Latin 'summa') and dx for differentials. His notation is the one universally used today, making expressions like ∫sin²(x) dx natural and manipulable. His systematic approach to transforming integrands via substitution laid the conceptual groundwork for techniques such as trigonometric integrals. Leibniz invented one of the first mechanical calculators, the Stepped Reckoner, capable of performing all four arithmetic operations—remarkable for the seventeenth century.

  • U-Substitution — Trigonometric integrals with odd powers always reduce to polynomial integrals via u-substitution after applying a Pythagorean identity, so mastery of u-substitution is a prerequisite.
  • Trigonometric Substitution — Trigonometric substitution uses trig functions to simplify integrals with square roots of quadratics; evaluating the resulting integrals requires the same trigonometric integral techniques covered here.
  • Trigonometric Identities — The Pythagorean identity sin²(x) + cos²(x) = 1 and the half-angle identities are the algebraic engine driving every strategy in this topic.
  • Integration by Parts — Some trigonometric integrals, such as ∫x sin(x) dx or reduction formulas for high powers, require integration by parts in combination with trigonometric identities.