On the Quadratic Formula Modulo N

From MaRDI portal



Abstract: Let a,b,c, and n be integers, with a nonzero and n at least two. Necessary and sufficient conditions on these parameters are derived which guarantee that all solutions of the congruence [ ax^2+bx+c equiv 0 extrm{mod} n ] are given precisely by the solutions of [ 2axequiv -b+s extrm{mod} n, ] where s varies over all solutions of [ x^2equiv b^2-4ac extrm{mod} n. ] Corollaries of this result are deduced for prime-power moduli and some illustrative examples are also presented.


Everybody knows the quadratic formula to find the roots of the equation \(ax^2+bx+c=0\). Now let \(a,b,c\) and \(n\) be integers, with \(a\) nonzero, and \(n\) at least two. C. F. Gauss in the \textit{Disquisitiones Arithmeticae} (1801) showed that the solutions of the quadratic congruence \(ax^2+bx+c\equiv 0\pmod n\) are obtained as the solutions of \(2ax\equiv -b+s \pmod{4an}\), where \(s\) varies over all the solutions of \(x^2\equiv b^2-4ac \pmod{4an}\) that are pairwise incongruent modulo \(2an\). If one wants an exact analog of the quadratic formula one wants to replace the moduli \(4an\) and \(2an\) above by just \(n\). The author characterizes precisely the quadratic forms for which this quadratic formula modulo \(n\) gives all the solutions of the quadratic congruence. His result is rather complicated to state, but as the author writes the method of proof is entirely elementary and all ingredients needed for this are already contained in the \textit{Disquisitiones}.











This page was built for publication: On the Quadratic Formula Modulo N

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5431888)