-X / 2 dX

they should have covered the relation between sine and coine as derivatives of each other.