Maths WorkshopMaths problems with full solutions
Exercise 1842Number theory › PrimesM1Added 3 Nov 2026

Primes and polynomial irreducibility

#irreducibility#primes#polynomial

Statement

Show that if pp is prime, then X2−2X^2-2 is irreducible over Fp\mathbb{F}_p iff 22 is a quadratic non-residue mod pp.

Hint

A quadratic is reducible iff it has a root, i.e. iff 22 is a square mod pp.

Show solutionHide solution

Solution

Root condition. X2−2X^2-2 has a root in Fp\mathbb{F}_p iff 22 is a QR mod pp.

Irreducibility. A quadratic over a field is irreducible iff it has no root. So X2−2X^2-2 is irreducible iff 22 is a QNR mod pp.

Examples. p=3p=3: 22 is QNR, irreducible. p=7p=7: 22 is QR (32=9≡23^2=9\equiv2), reducible: X2−2=(X−3)(X+3)(mod7)X^2-2=(X-3)(X+3)\pmod7.

Conclusion. The irreducibility is governed by the Legendre symbol (2p)\left(\frac{2}{p}\right).