Step 1: Use the double angle identity for sine, sin2x=2sinxcosx, to rewrite the integrand.
∫cosxsin2xdx=∫cosx2sinxcosxdx
Step 2: Simplify the integrand by canceling out cosx.
∫2sinxdx
Step 3: Integrate the simplified expression. The integral of sinx is −cosx.
2∫sinxdx=2(−cosx)+C
Step 4: Write the final answer.
−2cosx+C
The final answer is −2cosx+C.