How is the integral of cos(2x) = sinxcosx?

because sin2x = 2sinx cosx

and integral cos(u) du = sin(u)

and d(2x) = 2 dx