Using substitution with $u=\sin{x}$, The integral of $\sin{x}\cos{x}$ is equal to $\frac{1}{2}\sin^2{x}$. This is the solution I require.
However, why is it that when I use the double angle formula $\sin{2x} = 2\sin{x} \cos{x}$, and integrate $\frac{1}{2}\sin{2x}$, I get a completely different answer of $-\frac{1}{4}\cos{2x}$ even though $\sin{2x} = 2\sin{x} \cos{x}$.