Let
be a quadratic polynomial. We want to factor
over
. First we test whether
is irreducible; if
so, we are done. Otherwise we know that
can be factored
as
where
. We want to find
and
.
It suffices to find a polynomial that splits
.
If
then
splits
. So if
does not split
then we know that
. We may also assume that
(why?)
We start with an easy case. Suppose
. In this case, according to the preceding
exercise,
splits
.
If now
, our next trick is to
consider the polynomials
. Ideally, we want to find
such
that
. Then
splits
and therefore we can factor
. The next exercise
shows that we have an excellent chance of finding
by just picking
it at random.