Prove the polynomial f(x)=x^2-q is irreducible in F_p[x]?

If p and q are prime numbers such that p is not a quadratic residue mod q. Show that if pq=-1 mod 4 then the polynomial f(x)=x^2-q is irreducible in F_p[x].

A quadratic is irreducible in Fp if and only if it has no roots in Fp (this is also true for cubic polynomials, since, if it factors nontrivially, it factors into a quadratic and a linear polynomial).

There is a relatively straight-forward way to show that if your polynomial factors than q=-1 (mod p), and x^2+1 factors over Fp[x] if and only if p=-1(mod 4).
 
Top