The integral of sin(2x)cos(2x) is -(cos(4x))/8 + C. The double-angle identity sin(2A) = 2 sin(A)cos(A) turns sin(2x)cos(2x) into (1/2)sin(4x), which integrates in one step.
∫sin2xcos2xdx=−8cos4x+C
Collapse the product with a double angle
The identity sin2A=2sinAcosA turns a product of sine and cosine into a single sine at twice the angle. With A=2x, the factor sin2xcos2x is half of sin4x.
sin2xcos2x=21sin4x
One sine at a stretched angle is far easier to integrate than a product.
Integrate the single sine
Integrate 21sin4x, dividing by the inner coefficient 4 because dxdcos4x=−4sin4x.
∫21sin4xdx=21⋅(−4cos4x)+C=−8cos4x+C
Differentiating −8cos4x gives −81⋅(−sin4x)⋅4=21sin4x=sin2xcos2x, back to the start.
The mistake students make
A common attempt substitutes u=sin2x, giving du=2cos2xdx and the answer 4sin22x+C. That is also correct, but it looks nothing like −8cos4x, so students often assume one of them is wrong. The two differ only by a constant, since 4sin22x=81−cos4x.
Two right answers, one constant apart
Antiderivatives are unique only up to +C. 4sin22x and −8cos4x describe the same family; expanding the first with sin2θ=21−cos2θ shows the gap is the constant 81.
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
Is -(cos 4x)/8 the only correct answer?
No. Substituting u=sin2x gives 4sin22x+C, and u=cos2x gives −4cos22x+C. All three agree once the arbitrary constant absorbs the fixed difference between them.
Where does the 8 in the denominator come from?
From two halvings: the identity contributes 21, and integrating sin4x divides by the inner coefficient 4. Together 21⋅41=81.
Does the same trick work for sin 3x cos 3x?
Yes. sin3xcos3x=21sin6x, so the integral is −12cos6x+C. Any sinkxcoskx becomes 21sin2kx.