We need to evaluate ∫−π/2π/2(1+πxx2cosx+1+e(sinx)20231+sin2x)dx.
Evaluate I1=∫−π/2π/21+πxx2cosxdx.
We use the property: for even function f(x) and constant b>0,
∫−aa1+bxf(x)dx=∫0af(x)dx
Here f(x)=x2cosx is even (product of two even functions) and b=π.
I1=∫0π/2x2cosxdx
Using integration by parts twice:
∫x2cosxdx=x2sinx−2∫xsinxdx=x2sinx−2[−xcosx+sinx]
=x2sinx+2xcosx−2sinx
Evaluating from 0 to 2π:
I1=[4π2⋅1+2⋅2π⋅0−2⋅1]−[0]=4π2−2
Evaluate I2=∫−π/2π/21+e(sinx)20231+sin2xdx.
Let g(x)=(sinx)2023. Since 2023 is odd, g(−x)=(−sinx)2023=−g(x), so g is an odd function.
The function h(x)=1+sin2x is even.
Using the same property (with eg(x) playing the role of bx where g is odd):
I2=∫0π/2(1+sin2x)dx
=∫0π/21dx+∫0π/2sin2xdx=2π+4π=43π
(Using ∫0π/2sin2xdx=4π.)
Combine and compare.
I1+I2=4π2−2+43π=4π(π+3)−2
Comparing with 4π(π+a)−2, we get:
a=3
The correct answer is Option (1): 3.