To evaluate In=∫0π/2cosnxdxI_{n}=\int_{0}^{\pi/2}\cos^{n}x\,dx for integers n≠0.n\neq 0.
Solution. First we find:
We shall prove the recurrence relation
note that we go down two steps from nn to n-2n-2. We integrate by parts, obtaining
Find ∫cos2xsinxdx\int\cos^{2}x\sin x\,dx.