When you get to Core4 Edexcel (I don;t know if the books are the sameish for AQA) you find that the integral of Sin(^2)x dx = the integral of (1/2 - 1/2cos2x)dx as:
Cos2x = 1 - 2Sin(^2)x
So sin(^2)x = 1/2(1 - Cos2x)
So the integral of Sin(^2)dx = (1/2 - 1/2Cos2x)dx = 1/2x - 1/4Sin2x + C
Hope that helps with the Sin(^2)x one