What is the correct notation and the correct solution?

61 Views Asked by At

My Question is,

Which one is a correct notation and a correct solution?

$$2x+2 \mod (x^2-x-2)=2x+2$$

Or, $$\text{RemainderPolynomial} [2x+2,x^2-x-2,x]=2x+2$$

If, both are correct why the remainder must equal to $2x+2$ ? Must we accept $x≥5$? Because, for only $x≥5$ we have, $2x+2<x^2-x-2$. Isn't it? I have a trouble the understand this.