Maths WorkshopMaths problems with full solutions
Exercise 1873Algebra › Rings and fieldsL1Added 3 Nov 2026

GCD in $\mathbb{R}[X]$

#GCD#Euclidean algorithm#Bézout

Statement

Compute gcd⁡(X3−1,X2−1)\gcd(X^3-1,X^2-1) in R[X]\mathbb{R}[X], and find U,VU,V with U(X)(X3−1)+V(X)(X2−1)=gcd⁡U(X)(X^3-1)+V(X)(X^2-1)=\gcd.

Hint

Euclidean algorithm: divide X3−1X^3-1 by X2−1X^2-1.

Show solutionHide solution

Solution

Division. X3−1=(X2−1)X+(X−1)X^3-1=(X^2-1)X+(X-1).

Division. X2−1=(X−1)(X+1)+0X^2-1=(X-1)(X+1)+0.

GCD. X−1X-1.

Bézout. X−1=(X3−1)−X(X2−1)X-1=(X^3-1)-X(X^2-1). So U=−XU=-X, V=1V=1.

Conclusion. gcd⁡=X−1\gcd=X-1, and −X(X3−1)+1(X2−1)=X−1-X(X^3-1)+1(X^2-1)=X-1.