For a complex number to be purely imaginary, its real part must be zero.
Let us rationalize: multiply numerator and denominator by the conjugate of the denominator.
1−2icosθ1+icosθ×1+2icosθ1+2icosθ=1+4cos2θ(1+icosθ)(1+2icosθ)
Expanding the numerator:
(1)(1)+(1)(2icosθ)+(icosθ)(1)+(icosθ)(2icosθ)
=1+2icosθ+icosθ+2i2cos2θ
=1+3icosθ−2cos2θ
=(1−2cos2θ)+3icosθ
For the expression to be purely imaginary, the real part must be zero:
1−2cos2θ=0
cos2θ=21
cosθ=±21
We also need to verify the imaginary part is non-zero, i.e., cosθ=0, which is satisfied.
The values of θ in [−π,2π]:
cosθ=21: θ=−4π,4π,47π
cosθ=−21: θ=43π,−43π,45π
Sum = −4π+4π+47π+43π+(−43π)+45π
=0+47π+43π−43π+45π=47π+5π=412π=3π
The correct answer is Option 1 (3π)