AP Calculus AB and BC
Integral of sin(x)cos^2(x): Answer and Proof
The integral of sin(x)cos^2(x) is -cos^3(x)/3 + C. Substituting u = cos x gives du = -sin x dx, so the integral becomes the negative of the integral of u^2 du, which is -u^3/3. Differentiating -cos^3(x)/3 returns sin(x)cos^2(x).
Substituting u = cos x
One factor of sits beside a power of , and is what the derivative of produces up to sign. Let the cosine be the new variable.
The minus sign travels with the substitution and stays in the final answer.
Track the sign at the substitution step
Writing once, in a line of its own, is what keeps the minus sign from disappearing later.
Checking by differentiating
Differentiate with the chain rule. Two negatives appear and cancel.
One minus sign comes from the antiderivative and the other from , so the integrand comes back positive.
The mistakes students make
- Dropping the minus sign and answering . Differentiating that gives , the negative of the integrand.
- Choosing . Then consumes only one cosine and leaves a stray that cannot be written in terms of .
- Answering by splitting the product and then applying the power rule to each trig factor. Two rules break at once: is not , and the reverse power rule needs the variable itself raised to a power, so , not .
- Using the identity first. It is legal but creates extra work that substitution avoids.
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
Why is u = cos x the right choice and not u = sin x?
Because sine appears to an odd power. Peeling off one for leaves only even powers of cosine, and every remaining factor becomes . With an unmatched survives.
What is the integral of sin(x)cos^2(x) from 0 to pi/2?
.
How does this extend to other powers of sine and cosine?
When sine has an odd power, save one for and set . When cosine has an odd power, save one and set . When both powers are even, use the half-angle identities.