Chapter 16 Solving Quadratic Congruences
ΒΆExample 16.0.1.
The presence of the square root in the general formula does not mean every solution requires irrational numbers. Often there are solutions of simpler types.
We can solve x2β5x+4=0 over the positive integers fairly easily, as
The equation 4x2+4x+1=0 requires us to move to the rational numbers (Q), since
On the other hand, sometimes we need to even go beyond the real numbers. The solutions of something like x2+5x+5=0 will still be real, as the radical in the quadratic formula gives β52β4β 1β 5=β5. But solving x2+5x+7=0 requires
which only makes sense in the complex numbers C (recall Definition 14.1.2).
Example 16.0.2.
Since x2β5x+4=(xβ4)(xβ1), we should be able to solve it as a congruence for any n, but we might wonder whether the other examples would have solutions always since they don't have integer solutions.
Consider 4x2+4x+1β‘0 (mod 5); this is equivalent to βx2βx+1β‘0, and simple guess and check reveals that xβ‘2 is a solution!
We leave it to the reader to check that x2+5x+5β‘0 has a (very) simple solution if considered modulo n=5. Perhaps most interestingly, x2+5x+7β‘0 (mod n) has solutions for no fewer than four different n<20. (See Exercise 16.8.1.)