AP Calculus AB and BC

Integral of sin^3 x: Answer, Proof, and Steps

The integral of sin^3(x) is (cos^3(x))/3 - cos(x) + C. To get it, write sin^3(x) as sin(x)(1 - cos^2(x)) and substitute u = cos(x), which turns the integral into a simple polynomial in u.

sin3xdx=cos3x3cosx+C\int \sin^3 x\,dx = \frac{\cos^3 x}{3}-\cos x + C

Splitting off one sine factor

An odd power of sine always yields to a single substitution. Peel one sinx\sin x aside and rewrite the rest with the Pythagorean identity sin2x=1cos2x\sin^2 x = 1 - \cos^2 x, so every remaining factor is a cosine.

sin3x=sinx(1cos2x)\sin^3 x = \sin x\,(1-\cos^2 x)

Now let u=cosxu = \cos x, so du=sinxdxdu = -\sin x\,dx. The stray sinxdx\sin x\,dx becomes du-du, and the integral turns into a polynomial in uu.

sin3xdx=(1u2)(du)=(u21)du\int \sin^3 x\,dx = \int (1-u^2)\,(-du) = \int (u^2-1)\,du

Finishing the integral

Integrate the polynomial term by term, then put u=cosxu = \cos x back.

(u21)du=u33u+C=cos3x3cosx+C\int (u^2-1)\,du = \frac{u^3}{3} - u + C = \frac{\cos^3 x}{3} - \cos x + C

A quick check: differentiating cos3x3cosx\frac{\cos^3 x}{3} - \cos x gives cos2x(sinx)+sinx=sinx(1cos2x)=sin3x\cos^2 x\cdot(-\sin x) + \sin x = \sin x\,(1-\cos^2 x) = \sin^3 x, the function you started with.

The mistake students make

The tempting shortcut is to treat sin3x\sin^3 x like a power of the variable and write sin4x4\frac{\sin^4 x}{4}, copying the power rule for x3x^3. That rule applies to powers of xx, not powers of a function, and differentiating sin4x4\frac{\sin^4 x}{4} returns sin3xcosx\sin^3 x\cos x, not sin3x\sin^3 x.

Odd power? Save one factor

When sine or cosine appears to an odd power, split off a single factor and substitute for the other function. The leftover even power always converts cleanly through sin2x+cos2x=1\sin^2 x + \cos^2 x = 1.

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 substitute u = cos x instead of u = sin x?

Because the saved factor is sinxdx\sin x\,dx, which is exactly du-du when u=cosxu = \cos x. Choosing u=sinxu = \sin x would need a cosxdx\cos x\,dx to match dudu, and none is available for an odd power of sine.

Does this method work for sin^5 x?

Yes. Save one sinx\sin x and write sin4x=(1cos2x)2\sin^4 x = (1-\cos^2 x)^2, then substitute u=cosxu = \cos x. Every odd power of sine reduces to a polynomial in cosx\cos x the same way.

Is -cos x + (cos^3 x)/3 a different answer?

No. cos3x3cosx\frac{\cos^3 x}{3} - \cos x and cosx+cos3x3-\cos x + \frac{\cos^3 x}{3} are identical, since the order of addition does not matter.