Decide whether the polynomial
x3 +23x2 + 3x − 5
is irreducible over Q or not
Apply the rational root theorem
let p(x)=a0+a1x+⋯+anxn
then if x=pq written in lowest terms is a root of p(x), it must be that p divides a0and that q divides an
here we have a0=−5, a3=1
the only possible p's are ±1, ±5and the only possible q's are ±1
thus the only possible rational roots are ±1, ±5and we just have to try them all to see if any are actually roots.
p(−1)=14, p(1)=22, p(5)=710, p(−5)=430i.e. none of these are in fact roots and thus p(x) is irreducible over the rational numbers