Given ,
x=1+2i
Putx=1+2i,inx3+x2−x+22
We get
x3+x2−x+22=(1+2i)3+(1+2i)2−(1+2i)+22
=13+8i3+3.122i+3.1.(2i)2+(12+4i2+4i)+22
=23+8i3+16i2+10i
i=√−i
=23+8i.i2+16i2+10i
=23+8i(−1)+16(−1)+10i
=23−8i−16+10i
=7+2i