We know thatx4+x2+1=(x2+x+1)(x2−x+1){∴a=1}x4+x2+11=x2+x+1Ax+B+x2−x+1Cx+D=(x2+x+1)(x2−x+1)1(x2+x+1)(x2−x+1)1=(Ax+B)(x2−x+1)+(Cx+D)(x2+x+1)1=Ax3−Ax2+Ax+Bx2−Bx+B+Cx3+Cx2+Cx+Dx2+Dx+DOn comparing, we getCoefficient of x3=0A+C=0Coefficient of x2=0−A+B+C+D=0Coefficient of x=0A−B+C=0B+D=1From Eqs. (i) and (iv), we getA−C=1and from Eqs. (i) and (v) we get, and from Eqs. (i) and (v) we get,A=21,C=−21So, A+B−C+D=1=2a