Integrals of Trigonometric Functions- Methods and Examples
What Trigonometric Integrals Actually Are
Trigonometric integrals are antiderivatives that involve sine, cosine, tangent, and their reciprocal functions. You encounter them when the function you're integrating contains trig terms—either alone or multiplied by other expressions.
Most students struggle with these because they try to memorize formulas. Don't. The real skill is recognizing patterns and choosing the right identity to simplify the integrand.
This guide cuts through the theory and gives you the actual methods you'll use.
Basic Trig Integrals You Must Know
Before tackling complex problems, these fundamentals need to be automatic:
- ∫sin(x)dx = -cos(x) + C
- ∫cos(x)dx = sin(x) + C
- ∫sec²(x)dx = tan(x) + C
- ∫csc²(x)dx = -cot(x) + C
- ∫sec(x)tan(x)dx = sec(x) + C
- ∫csc(x)cot(x)dx = -csc(x) + C
If these aren't instant for you, drill them until they are. Everything else builds on this foundation.
The Three Methods That Actually Work
Forget the textbook classification systems. In practice, you'll use one of these three approaches:
1. Direct Substitution
This works when your integrand is a composition—something like sin(u)·u' where u is a function of x. The u' term appears as a coefficient or can be manufactured.
Example: ∫cos(3x)dx
Set u = 3x, so du = 3dx, meaning dx = du/3.
∫cos(u)·(du/3) = (1/3)∫cos(u)du = (1/3)sin(u) + C = (1/3)sin(3x) + C
2. Trig Identity Simplification
This is where most people fail. The trick is converting products or powers into sums that you can integrate term-by-term.
Power-reduction identities:
- sin²(x) = (1 - cos(2x))/2
- cos²(x) = (1 + cos(2x))/2
- sin(x)cos(x) = sin(2x)/2
Example: ∫sin²(x)dx
= ∫(1 - cos(2x))/2 dx = ½∫dx - ½∫cos(2x)dx
= x/2 - (1/4)sin(2x) + C
3. u-Substitution with Identity Matching
When you see tan(x) or sec(x) with powers, substitution often works after rewriting in terms of sin and cos.
Example: ∫tan(x)dx
= ∫sin(x)/cos(x)dx
Set u = cos(x), du = -sin(x)dx, so -du = sin(x)dx
= ∫(-du)/u = -ln|u| + C = -ln|cos(x)| + C = ln|sec(x)| + C
Handling Higher Powers: The Strategy
When you see sinⁿ(x) or cosⁿ(x) where n ≥ 2, use power-reduction formulas. For mixed products like sinᵐ(x)cosⁿ(x), you need a different approach:
- If m is odd: factor out one sin(x), convert the rest using sin²(x) = 1 - cos²(x), then substitute u = cos(x)
- If n is odd: same logic with cos(x) and u = sin(x)
- If both m and n are even: use power-reduction on both, expand, and simplify
Example: ∫sin³(x)cos²(x)dx
m = 3 (odd), so factor sin(x): sin³(x) = sin²(x)·sin(x) = (1 - cos²(x))·sin(x)
= ∫(1 - cos²(x))·cos²(x)·sin(x)dx
Set u = cos(x), du = -sin(x)dx:
= ∫(1 - u²)·u²·(-du) = -∫(u² - u⁴)du = -u³/3 + u⁵/5 + C
= -cos³(x)/3 + cos⁵(x)/5 + C
Product of Secants and Tangents
∫secᵐ(x)tanⁿ(x)dx follows similar rules:
- If n is odd: factor out sec(x)tan(x), convert remaining tan²(x) to sec²(x) - 1
- If m is even: factor out sec²(x), convert remaining secᵐ⁻²(x) to tan expressions
- If both conditions apply: either method works
Example: ∫sec³(x)dx
This requires integration by parts:
Let u = sec(x), dv = sec²(x)dx
Then du = sec(x)tan(x)dx, v = tan(x)
∫sec³(x)dx = sec(x)tan(x) - ∫sec(x)tan²(x)dx
= sec(x)tan(x) - ∫sec(x)(sec²(x) - 1)dx
= sec(x)tan(x) - ∫sec³(x)dx + ∫sec(x)dx
Move ∫sec³(x)dx to the left side:
2∫sec³(x)dx = sec(x)tan(x) + ln|sec(x) + tan(x)|
∫sec³(x)dx = ½sec(x)tan(x) + ½ln|sec(x) + tan(x)| + C
This is a standard result worth memorizing.
Method Comparison Table
| Method | Best When | Key Move |
|---|---|---|
| Direct Substitution | Linear argument (ax + b) | Set u = argument |
| Power Reduction | Powers ≥ 2, even exponents | Use sin² = (1-cos2x)/2 |
| Odd Power Extraction | sinᵐ(x)cosⁿ(x) with one odd | Factor out one trig term |
| Identity Rewriting | tan, cot, sec, csc present | Convert to sin/cos |
| Integration by Parts | sec³(x), mixed products with no clear pattern | Break down the integral |
Getting Started: A Practical Workflow
When you face a trig integral, run through this checklist:
- Check for basic forms first. If it matches a fundamental integral, you're done.
- Look at the argument. If it's not just x, try u-substitution with u = argument.
- Count the powers. Even powers signal power-reduction. Odd powers mean extraction strategy.
- Identify mixed products. sin-cos products, sec-tan products—these need the extraction approach.
- When stuck, convert everything to sin and cos. This often reveals a path forward.
Common Pitfalls to Avoid
- Forcing u-substitution when the integrand doesn't have the derivative of u as a factor
- Forgetting the chain rule coefficient when doing u-substitution
- Mixing up reduction formulas for sin² vs sin³
- Not checking your answer by differentiating the result
Final Word
Trig integrals are pattern recognition problems. You get better by doing problems, not by reading about them. Start with basic forms, move to products, then tackle higher powers. After 20-30 practice problems, the approaches become obvious.
The formulas in this article cover 90% of what you'll encounter in calculus courses. Master these and you'll handle whatever your professor throws at you.