Option (B) is correct.
Explanation: Reduce each power of i by writing the exponent as a multiple of 4 plus a remainder, since i4=1.
i10=i8×i2=−1
i7=i4×i3=−i
i6=i4×i2=−1
Now substitute x=i.
f(i)=i10−3i7+2i6+i−5
=(−1)−3(−i)+2(−1)+i−5
=−1+3i−2+i−5=−8+4i
Why the other options are wrong
- (A) −8−2i takes i7=i, so −3i7 becomes −3i. Since 7=4+3, i7=i3=−i and −3i7=3i.
- (C) −6+4i takes i10=1 because 10 is even. An even power of i equals 1 only when the exponent is a multiple of 4; here 10=8+2, so i10=−1.
- (D) −4+4i takes i6=1. Since 6=4+2, i6=i2=−1, so the term 2i6 is −2, not 2.