Section7.4Polynomials and Lagrange's Theorem

We've seen several times in this chapter that although one can have theorems of various kinds for congruences, polynomials seems to behave very nicely — even to the point of allowing us to prove statements about the integer output of polynomials!

At the same time, it's clear that for good behavior, there is no substitute for prime moduli; the theorems in the previous section really confirm this. So how can we combine polynomials and prime modulus?

We already saw this wasn't true for general moduli. We got as many as \(2^{k+2}\) solutions to \(x^2-1\equiv 0\) for moduli that looked like \(8p_1 p_2\cdots p_k\), after all, when we would expect only two with Lagrange's Theorem.

In any case, this means that whatever the solution to the \(x^2\pm 1\) problems are mod (\(p\)), there cannot be more than 2 solutions to them there! Which means if we have solutions, we have all of them. This proves to be quite useful to keep things from going crazy when we are trying to investigate congruences; if we keep the modulus prime, we will be okay.

Of course, we also might not even get all the solutions possible in theory. As we can see here, we might not even get two in some instances of a quadratic polynomial.

Maybe that's not so surprising, since we don't have zeros of \(x^2+1\) over the real numbers either. Could there be connections or parallels?