Euclidean domain · Exercise-EUCLIDEAN-DOMAIN-005

Step-by-step solved exercise: Polynomials and fields

In \(\displaystyle \mathbb{Q}[x]\), what is the greatest common divisor of \(\displaystyle x^3-1\) and \(\displaystyle x^2-1\)?

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. Divide x³ − 1 by x² − 1: the quotient is x and the remainder is x − 1.

    \[\displaystyle x^3-1 = x(x^2-1) + (x-1)\]
  2. Divide x² − 1 by x − 1: the remainder is zero.

    \[\displaystyle x^2-1=(x+1)(x-1)\]
  3. The last nonzero remainder is x − 1, which is already monic.

    \[\displaystyle \gcd(x^3-1,x^2-1)=x-1\]

Answer

\(\displaystyle x - 1\)

🎯 Build my path to this exercise