In the Solomon paper L for C4 (OCR), theres the following question:
Evaluate
(with limits b = pi/3, and a = 0)
∫ Sin2x.Cosx dx
In the markscheme they've solved it as:
∫2Sinx.Cos²x dx
Which i assume they got from expanding Sin2x = 2SinxCosx
And they then jump to:
[(-2/3).Cos³x] with the limits from above.
I assume what they've done here is use a substitution of u=Cosx, so du/dx = -Sinx, so the integral becomes:
∫(2Sinx.u²) / -sinx = ∫ -2u² du = [ (-2/3)u³ ] = [ (-2/3)Cos³x ]
However i confused myself here thinking it wasnt correct to integrate Cos²x like this, as i thought that when integrating cos²x and sin²x, i had to use the double angle identities.
So is what i've done here the correct way to solve it, even though i didnt think it was correct maths to integrate cos²x this way? And whats the best way for me to identify which integration method to use on this sort of question? (I thought i had to integrate this by parts when i first saw it).