Integration of Trig Functions: What Actually Works
Most people memorize the standard table and move on. That table covers maybe 60% of what you'll encounter. The remaining 40% is where things get annoying fast. The basic antiderivatives you need to have locked in are: 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 The one everyone always messes up is the negative sign on sin. You integrate sin and suddenly you have -cos. It's the same logic as differentiating cos gives you -sin, just reversed. If you're second-guessing the sign, differentiate your answer and check if you get back to the original integrand. Takes three seconds and saves you from a whole wrong path.Antiderivative Of Trigonometric Functions in Practice
The sec(x) dx case is where most students hit their first wall. The standard result is ln|sec(x) + tan(x)| + C, but nobody tells you where that comes from, so when you see it in an exam you panic. The trick is multiplying numerator and denominator by (sec(x) + tan(x)). The derivative of sec(x) + tan(x) is sec(x)tan(x) + sec²(x), which is exactly sec(x)(tan(x) + sec(x)). So you get ln|u|/|u|, which collapses to ln|sec(x) + tan(x)|. I learned this the hard way during a midterm when I spent twelve minutes trying to derive it from scratch under pressure. Memorize the result, but know the multiplication trick exists in case you need to reconstruct it. When you hit products like sin(3x)cos(2x) dx, you can't just integrate each piece separately. That doesn't work. You need the product-to-sum identities. sin(A)cos(B) = ½[sin(A+B) + sin(A-B)]. So sin(3x)cos(2x) becomes ½[sin(5x) + sin(x)], and now you can integrate term by term. This identity shows up constantly in Fourier analysis and signal processing, so getting comfortable with it early pays off later. Here's something that trips people up regularly: tan(x) dx. You can rewrite tan(x) as sin(x)/cos(x), which means the integral is -ln|cos(x)| + C, or equivalently ln|sec(x)| + C. Both are correct. I've seen students lose points for writing one form instead of the other on automated grading systems. They're identical, but the system only checks for exact string matches sometimes. Write both forms in your notes so you're covered either way.
The sec³(x) dx integral is the one that shows up in calculus II everywhere and nobody wants to do. Integration by parts on this gives you a recursive equation. You end up with sec³(x) dx = ½ sec(x)tan(x) + ½ ln|sec(x) + tan(x)| + C. It's not intuitive. It just is. Set u = sec(x), dv = sec²(x) dx, work through the parts, and you'll find the original integral reappears on the right side. Move it over, divide by 2, done. When I was working on a finite element analysis project a few years back, I ran into an integral involving sin²(x)cos(x) over a non-symmetric interval. Power-reduction formulas saved me. sin²(x) = (1 - cos(2x))/2 and cos²(x) = (1 + cos(2x))/2. Breaking those down turned a messy polynomial-trig hybrid into something you can integrate term by term. Without those identities, you'd be looking at several pages of substitution nonsense. With them, it takes maybe four lines. One counter-intuitive thing: sin²(x) dx and cos²(x) dx don't require u-substitution at all. They require the double angle identity. U-substitution would lead you nowhere useful here. The power-reduction approach is the right tool, and it's easy to overlook because your instinct says "trig function, try substitution." Don't fall for that trap.
Another thing that isn't obvious: 1/(1 + sin(x)) dx. A lot of people try rationalizing the denominator immediately, which works, but it's not the only path. You can also use the Weierstrass substitution t = tan(x/2), which converts any rational trig expression into a rational function of t. It's more mechanical but it always works, even when the elegant tricks don't. The downside is it often produces longer algebra. I default to rationalizing the denominator for this particular integral, but I keep Weierstrass in my back pocket for when nothing else is cooperating. Watch out for (1 - sin²(x)) dx. That simplifies to |cos(x)| dx, not just cos(x) dx. The absolute value matters when your limits of integration cross a point where cos(x) changes sign. Ignore it and your answer will be wrong on any interval containing /2 or 3/2. This came up in a physics problem I had once involving work done by a varying force, and I lost points because I forgot the absolute value. The definite integral over [0, ] of |cos(x)| is 2, not 0. The unabsolved version would give you 0, which is physically meaningless in that context. For inverse trig functions integrated directly, like arcsin(x) dx, use integration by parts with u = arcsin(x) and dv = dx. You get x·arcsin(x) + (1 - x²) + C. The resulting integral after parts is x/(1-x²) dx, which is a straightforward u-sub. The pattern repeats for arccos, arctan, and the others. Just remember that arcsin and arccos are defined only on [-1, 1], so any antiderivative you write involving them carries that domain restriction with it.
Get the Full Details
![Antiderivative Of Trig Functions [Integration of Trig]](https://trigidentities.net/wp-content/uploads/2023/02/Antiderivative-Of-Trig-Functions.jpg)
There's no single formula that handles every Antiderivative Of Trigonometric Functions problem you'll encounter. The ones that seem hardest usually just need the right identity applied first, followed by something standard. If you're staring at an integral and nothing obvious works, your first move should be rewriting the integrand in a different form, not reaching for integration by parts immediately. Rewrite first, integrate second. That order saves time.