Divide:
x4 + x2 + 1 by x2 + x + 1
We have,
(x4 + x2 + 1) / (x2 + x + 1)
By using long division method
∴ (x4 + x2 + 1) / (x2 + x + 1) = x2 – x + 1