AP Calculus AB and BC
Integral of sin x / cos^3 x: Two Minus Signs Cancel
The integral of sin x over cos cubed x is secant squared x over 2, plus C. Substituting u equals cos x brings a minus sign from du, and the power rule on u to the negative three brings a second one, so the two cancel and the answer comes out positive.
Substitute, and track both minus signs
Take . Then , so and the whole integral picks up a minus sign before the power rule is applied at all.
Putting back gives , and since , the finished form is .
Why the answer is positive
Two negatives appear and they cancel: one from , one from the power rule dividing by . Handle only one of them and the sign of the whole answer flips.
A graph check settles it in seconds. On the integrand is positive, so any antiderivative must be increasing there. climbs on that interval; falls, so the negative version is out.
A sign check worth building into your habits
Pick an interval where the integrand is clearly positive, here 0 to pi over 2, and ask whether your antiderivative is increasing on it. A flipped global sign shows up immediately, and this costs less time than redoing the substitution.
The mistakes students make
The first is the sign error the problem is built to catch. The other two come from mishandling the negative exponent or reaching for a log.
- Answering , which is what you get by applying the minus from and forgetting that the power rule supplies a second one.
- Moving the exponent the wrong way and writing , which leads to . The exponent goes up to , not down to .
- Answering on the grounds that the integrand is a fraction. The derivative of is , nowhere near the on top.
Every answer on this page is machine checked
An automated test differentiates the antiderivative above and confirms it returns the integrand. A wrong sign or a missing factor fails the build, so it cannot reach you.
Frequently asked questions
What is the integral of sin x / cos^3 x?
The antiderivative is , which is normally written .
I got tan^2(x)/2 instead. Is that wrong?
No. Rewriting the integrand as and substituting gives that form, and since the two answers differ by . The constant of integration absorbs the difference, so both are correct.
Why does the minus sign disappear?
Because there are two of them. contributes one and the power rule on contributes another, and a product of two negatives is positive.