Maths WorkshopMaths problems with full solutions
Exercise 1111Algebra › PolynomialsL1Added 3 Nov 2026

Divisibility of polynomials

#divisibility#roots#factorisation

Statement

Show that (X−1)2(X-1)^2 divides P(X)=Xn−nX+n−1P(X)=X^n-nX+n-1 for every n≥1n\ge1.

Hint

Show P(1)=0P(1)=0 and P′(1)=0P'(1)=0.

Show solutionHide solution

Solution

Value at 11. P(1)=1−n+n−1=0P(1)=1-n+n-1=0.

Derivative. P′(X)=nXn−1−nP'(X)=nX^{n-1}-n, so P′(1)=n−n=0P'(1)=n-n=0.

Conclusion. P(1)=P′(1)=0P(1)=P'(1)=0, so 11 is a root of multiplicity at least 22, i.e. (X−1)2∣P(X)(X-1)^2\mid P(X).

Factor form. P(X)=(X−1)2Q(X)P(X)=(X-1)^2 Q(X) with QQ of degree n−2n-2.