We have to evaluate the definite integral
I=∫0π/2sinx+cosxsin3xdx.
The standard trick for integrals of the form ∫0π/2f(sinx,cosx)dx is to use the property
∫0π/2f(x)dx=∫0π/2f(2π−x)dx,
because replacing x by 2π−x merely reverses the limits.
Applying this to our integral, we write
I=∫0π/2sin(2π−x)+cos(2π−x)sin3(2π−x)dx.
Using the co-function identities sin(2π−x)=cosx and cos(2π−x)=sinx, the above becomes
I=∫0π/2cosx+sinxcos3xdx.
Now add the original integral and this new expression:
2I=∫0π/2[sinx+cosxsin3x+sinx+cosxcos3x]dx=∫0π/2sinx+cosxsin3x+cos3xdx.
We recall the algebraic identity for the sum of cubes:
a3+b3=(a+b)(a2−ab+b2).
Putting a=sinx and b=cosx, we have
sin3x+cos3x=(sinx+cosx)(sin2x−sinxcosx+cos2x).
Substituting this into the integral gives
2I=∫0π/2(sin2x−sinxcosx+cos2x)dx.
Next we note the Pythagorean identity sin2x+cos2x=1, so the integrand simplifies to
1−sinxcosx.
Therefore
2I=∫0π/21dx−∫0π/2sinxcosxdx.
The first integral is straightforward:
∫0π/21dx=x0π/2=2π.
For the second integral we use the double-angle identity sinxcosx=21sin2x. Hence
∫0π/2sinxcosxdx=21∫0π/2sin2xdx.
Let u=2x⇒du=2dx⇒dx=2du. When x=0,u=0; when x=2π,u=π. Thus
21∫0π/2sin2xdx=21(21∫0πsinudu)=41[−cosu]0π=41[−cosπ+cos0]=41[−(−1)+1]=41(1+1)=21.
Putting these results together, we find
2I=2π−21=2π−1.
Finally, dividing both sides by 2, we obtain
I=4π−1.
Hence, the correct answer is Option C.